The default style is Standard. Change the style to SGML using the drop-down style list.
Drop-down styles list: SGML
|
Copy and paste the following text or type in your own.
![]() | Cutting and pasting from other documents |
---|---|
You could copy and paste the text from a browser or a text editor. If so, paste 'as paragraphs' using LyX's 'Paste External Selection' command: Edit -> Paste External Selection -> as Paragraphs |
<!-- newbiedoc-lyx-reference.en.lyx, newbiedoc-lyx-reference.en.sgml, Copyright (c) 2002 your name, your email address, newbieDoc project, http://newbiedoc.sourceforge.net. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license can be found at http://www.fsf.org/copyleft/fdl.html. -->
Menu bar: Edit -> Paste External Selection -> as Paragraphs
|
If you call this project build-template.en , save the lyx file as build-template.en.lyx .
Menu bar: File -> Save -> build-template.en -> Save
|
Export the file to DocBook and render the resulting SGML file.
Menu bar: File -> Export -> DocBook
|
<!-- newbiedoc-lyx-reference.en.lyx, newbiedoc-lyx-reference.en.sgml, Copyright (c) 2002 your name, your email address, newbieDoc project, http://newbiedoc.sourceforge.net. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license can be found at http://www.fsf.org/copyleft/fdl.html. --> |
$ sgmltools -b onehtml -s newbiedoc-onehtml.dsl build-template.en.sgml |
Drop-down styles list: PageHeader LyX main window: Page Header: Your text |
This will usually be the same text as the page header.
Drop-down styles list: Title LyX main window: Title: Your text |
Drop-down styles list: Firstname LyX main window: Author's first name: Your first name |
Drop-down styles list: Surname LyX main window: Author's surname: Your surname |
![]() | The order matters |
---|---|
The Affiliation style is like a wrapper. You must add Affiliation after you have entered its contents (Email). |
Drop-down styles list: Email LyX main window: Author's email: your-address@example.com |
LyX main window: Author's surname: Your surname | Author's email: your-address@example.com |
Select Affiliation from the drop-down list of styles.
Drop-down styles list: Affiliation
|
Author's email now appears underneath Affiliation, address
LyX main window: Affiliation, address Author's email: your-address@example.com |
![]() | The order matters |
---|---|
The revision details must be entered first, then they are wrapped in Revision number. There may be more than one Revision number. They must all be wrapped in Revision history. |
Drop-down styles list: Date LyX main window: Revision date: today's date |
Drop-down styles list: Initials LyX main window: Reviser's initials: your initials |
Drop-down styles list: RevisionRemark LyX main window: Revision remark: A meaningful comment |
LyX main window: Author's email: your-address@example.com | Revision date: today's date |
Drop-down styles list: Revision
|
The Revision details now look like this:
LyX main window: Revision (number): 0.01 Revision date: today's date Reviser's initials: you Revision remark: A meaningful comment |
LyX main window: Author's email: your-address@example.com | Revision (number): 0.01 |
Select RevisionHistory from the drop-down list of styles.
Drop-down styles list: RevisionHistory
|
Your fully wrapped Revision history looks like this.
LyX main window: Revision history Revision (number): 0.01 Revision date: today's date Reviser's initials: you Revision remark: A meaningful comment |
Position the insertion point at the end of your Revision remark comment.
Drop-down styles list: Abstract LyX main window: Abstract: Your summary text (one paragraph only) |