chrislale@users.sourceforge.net
Revision History | ||
---|---|---|
Revision 0.01 | 15 April 2004 | Revised by: cl |
Initial release |
If you want to get writing straight away you should look at the quick guide to writing newbieDoc articles using lyx. The quick guide explains how to install the software that you need, how to write a simple article using lyx and how to derive an HTML page from a lyx file.
This article describes the features available in the lyx “newbieDoc article (DocBook)” document class.
You will not want to do this very often, if at all. Just use the newbieDoc template as a starting point for your article. However, for the curious, this is how I built the template using the newbieDoc article (DocBook) lyx styles.
Put the licence information in at the top of the lyx document. You need to enter the information inside an SGML comment at the very top, in front of the section title. Choose SGML from the list of styles and enter the text between <!-- and --> tags.
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
|
The resulting SGML file is called build-template.en.sgml. Here is the SGML resulting from an export to 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. --> |
This copyright notice will appear in the SGML document as well as the document. It will not appear in the rendered HTML document. You must include it separately, perhaps in an appendix. You can check this by generating the HTML file from the SGML file using sgmltools.
$ sgmltools -b onehtml -s newbiedoc-onehtml.dsl build-template.en.sgml |
This is a header that will appear on every sheet (except the first page) of a multiple page article. The page header only appears in the title bar of an HTML document with only a single page (eg if you use the “onehtml” backend to sgmltools).
Press the <ENTER> key to start a new style. It will default to the Standard style. Change the style by choosing PageHeader from the drop-down list of styles. Enter your text for the page header.
Drop-down styles list: PageHeader LyX main window: Page Header: Your text |
This will usually be the same text as the page header.
Press the <ENTER> key to start a new style. Change the style by choosing Title from the drop-down list of styles. Enter your text for the article title.
Drop-down styles list: Title LyX main window: Title: Your text |
Press the <ENTER> key to start a new style. First choose Firstname from the drop-down list of styles. Enter your first name.
Drop-down styles list: Firstname LyX main window: Author's first name: Your first name |
Repeat for your surname.
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). |
Press the <ENTER> key to start a new style. First choose Email from the drop-down list of styles. Enter your email address.
Drop-down styles list: Email LyX main window: Author's email: your-address@example.com |
Now add the wrapper. Place the insertion point (vertical, flashing bar) just in front of your email address and press the <ENTER> key. The insertion point appears on a new, blank line between Author's surname and Author's email.
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. |
Move the insertion point to the end of the email address. Press the <ENTER> key. Choose the Date style for the new line and enter the date of the revision.
Drop-down styles list: Date LyX main window: Revision date: today's date |
Move the insertion point to the end of today's date. Press the <ENTER> key. Choose the Initials style for the new line and enter your initials.
Drop-down styles list: Initials LyX main window: Reviser's initials: your initials |
Move the insertion point to the end of your initials. Press the <ENTER> key. Choose the RevisionRemark style for the new line and enter a summary of any changes you have made.
Drop-down styles list: RevisionRemark LyX main window: Revision remark: A meaningful comment |
Now add the wrapper. Place the insertion point (vertical, flashing bar) just to the left of your Date entry, and press the <ENTER> key. The insertion point appears on a new, blank line between Author's email: and Revision date: .
LyX main window: Author's email: your-address@example.com | Revision date: today's date |
Select Revision from the drop-down list of styles and enter a revision number. If this is the first draft of your article you could give it the revision number 0.01.
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 |
Wrap the Revision with Revision history. Place the insertion point just to the left of your Revision entry, and press the <ENTER> key. The insertion point appears on a new, blank line between Author's email: and Revision (number): .
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 |
You can add new revisions later, either above Revision (number), or below Revision remark. Be consistent though. Include Date, Initials and RevisionRemark. Then insert the Revision (number) wrapper at the top of the details.
Position the insertion point at the end of your Revision remark comment.
Press the <ENTER> key to start a new style and choose Abstract from the drop-down list of styles. Enter a summary of your article. You can only have one paragraph in your Abstract.
Drop-down styles list: Abstract LyX main window: Abstract: Your summary text (one paragraph only) |
That's it!
You select the lyx command, paragraph or environment from the drop-down list on the very left of the button bar.
The heading 'Section' above begins a first level section. It is created by the lyx 'Section' command. The 'Section' command takes your typed text and puts it in an SGML container of <title></title> tags. It also creates first level <sect1></sect1> tags to contain the title.
![]() | Note: check for validity. |
---|---|
The <sect1></sect1> tags must also contain at least one another container. You must add this manually using a LyX command (eg 'Subsection') or a Lyx environment/paragraph (eg 'Standard'). |
A 'section' command is usually followed by a Subsection command or by 'Standard' text. Here is the SGML generated by exporting from lyx to DocBook:
1 <sect1> 2 <title> First level section </title> 3 <para> 4 Text added using LyX's 'Standard' 5 paragraph. 6 </para> 7 </sect1> 8 |
The subsection is the next level down.
1 <sect2> 2 <title>Subsection</title> 3 </sect2> 4 |
![]() | Paragraphs |
---|---|
Do not confuse this “Paragraph” (which is a heading) with “Standard” (which is a paragraph of text). |
These lyx commands illustrate the hierarchy of article sections.
This is 'Standard' text within the fifth level section.
Here is the SGML generated from the previous 'Subsection'. It is slightly edited to make it easier to read:
1 <sect3> 2 <title>Subsubsection</title> 3 <sect4> 4 <title>Paragraph</title> 5 <sect5> 6 <title>Subparagraph.</title> 7 <para> 8 This is 'Standard' text within the fifth level heading. 9 </para> 10 </sect5> 11 </sect4> 12 </sect3> 13 </sect2> 14 |
It is best to avoid using the 'Paragraph' and 'Subparagraph' commands.
Paragraphs are simple. You use lyx's 'Standard' paragraph. Pressing the <ENTER> key starts another one.
'Standard' follows on by default after certain lyx commands.
Here is the SGML code generated from the two paragraphs above:
1 <para> 2 Paragraphs are simple. You use LyX's 'Standard' 3 paragraph. Pressing the <ENTER> key starts another 4 one. 5 </para> 6 7 <para> 8 'Standard' follows on by default after certain LyX commands. 9 </para> 10 |
The 'Itemize' style produces a bulletted list.
first list item
second list item
third list item
Here is the resulting SGML:
1 <itemizedlist> 2 3 <listitem> 4 <para>first list item</para> 5 </listitem> 6 7 <listitem> 8 <para>second list item</para> 9 </listitem> 10 11 <listitem> 12 <para>third list item</para> 13 </listitem> 14 15 </itemizedlist> 16 |
Do not type the numbers - they are added automatically.
first list item
second list item
third list item
Here is the resulting SGML:
1 <orderedlist> 2 3 <listitem> 4 <para>first list item</para> 5 </listitem> 6 7 <listitem> 8 <para>second list item</para> 9 </listitem> 10 11 <listitem> 12 <para>third list item</para> 13 </listitem> 14 15 </orderedlist> 16 |
Does not render very well with the current CSS style sheet.
The first word you type is highlighted as in a dictionary. The remaining words before the new line are not highlighted.
![]() | Note: Item names with more the one word. |
---|---|
You can protect spaces within an item's name. Use Insert->Special Character->Protected Blank or hold down the CTRL and SHIFT keys while pressing the SPACE BAR. |
list item
list item
list item
Here is the resulting SGML:
1 <variablelist> 2 3 <varlistentry> 4 <term>first</term> 5 <listitem> 6 <para>list item</para> 7 </listitem> 8 </varlistentry> 9 10 <varlistentry> 11 <term>second</term> 12 <listitem> 13 <para>list item</para> 14 </listitem> 15 </varlistentry> 16 17 <varlistentry> 18 <term>third with protected spaces</term> 19 <listitem> 20 <para>list item</para> 21 </listitem> 22 </varlistentry> 23 24 </variablelist> 25 |
lyx's 'Code' environment is useful for snippets of code. It allows you to use multiple spaces to align statements. lyx displays 'Code' in a monospace typewriter font. The text is contained in <programlisting> </programlisting> tags when you export it to DocBook. The DSSSL stylesheet automatically adds line numbers.
Here is an example using the 'Code' style:
1 if (x=y){ 2 $variable=1 3 } else { 4 $variable=0 5 } 6 |
Here is the SGML.
<programlisting> <![CDATA[if (x=y){ ]]><![CDATA[ $variable=1 ]]><![CDATA[} else { ]]><![CDATA[ $variable=0 ]]><![CDATA[} ]]> </programlisting> |
It includes special character data tags, <![CDATA[ and ]]>. The parser ignores all tags within the CDATA container. sgmltools treats anything that you put between the two tags as text - it will not parse it.
Screen is another environment for character data. You can use it for any text that appears on the screen - input or output. Screen is similar to code, but does not have line numbers.
if (x=y){ $variable=1 } else { $variable=0 } |
Here is the generated SGML code:
<screen> <![CDATA[if (x=y){ ]]><![CDATA[ $variable=1 ]]><![CDATA[} else { ]]><![CDATA[ $variable=0 ]]><![CDATA[} ]]> </screen> |
You can use XScreen for any text that is displayed in the X Window System. It is similar to Screen, but it uses a sans-serif font. Some browsers have a problem rendering sans-serif in the printed (paper) document. I am not sure why this is.
If you want to show menu commands on a single line, you can use a hyphen and an angle bracket
Edit -> Paste External Selection -> as Paragraphs |
Here is the generated DocBook SGML. It uses the <synopsis></synopsis> tags instead of <screen></screen>.
<synopsis> <![CDATA[Edit -> Paste External Selection -> as Paragraphs ]]> </synopsis> |
Alternatively, you might prefer to use several lines, perhaps indenting each line to give a visual idea of the menu structure.
Edit Paste External Selection as Paragraphs |
See 'Codes and Screens' in this document and the NewbieDoc DocBook guide.
This comment appears in both the lyx document and the SGML document.
Drop-down styles list: SGML LyX main window: <!-- Text must be contained by "<", "!", "-", "-" and "-", "-", ">". The whole thing must be in the SGML paragraph style. --> |
These comments only appear in the lyx document.
Drop-down styles list: Comment LyX main window: Comment: Your meaningful comment |
You may find lyx note a useful alternative.
![]() | Note: Note style and lyx Note |
---|---|
These are not the same thing! This paragraph uses the 'Note' style from the Drop-down styles list. The Lyx Note is one of lyx's features. It is like a post-it note. |
These comments only appear in the lyx document.
Menu bar: Insert -> Note LyX main window: Your comment is in a bright yellow box. It can be revealed or hidden by a grey tab labelled “note”. |
You can insert HTML <meta NAME="KEYWORD" CONTENT="keyword"> tags which are used by some search engines as evidence of relevance. You must make a separate entry for each keyword. They must be inserted at the head of the lyx document immediately before the abstract.
Drop-down styles list: Keyword LyX main window: Keyword: keyword-1 |
You must add a KeywordSet wrapper immediately above the first Keyword.
Drop-down styles list: KeywordSet LyX main window: Keyword set Keyword: keyword-1 |
You can add more keywords to your keyword set:
Drop-down styles list: KeywordSet LyX main window: Keyword set Keyword: keyword-1 Keyword: keyword-2 |
The SGML code looks like this.
1 <keywordset> 2 <keyword> 3 keyword-1 4 </keyword> 5 <keyword> 6 keyword-2 7 </keyword> 8 </keywordset> 9 |
Inline elements apply to individual characters rather than to whole lyx environments. This is lyx's weakest area.
Emphasised text looks like this. You can can turn emphasis style on or off using the Toggle emphasize button. The button's icon, an exclamation mark, appears depressed when emphasise is on. Turning emphasis on will emphasise the currently selected text. If no text is selected, all text typed after the current insertion point will be emphasised.
Tables are straight-forward. Position the insertion point. Either click on the Insert Table button, or use the Insert drop-down menu:
Menu bar: Insert -> Tabular material... Insert table dialogue: Rows -> (number) -> Columns -> (number) -> OK |
The 'Insert Table' dialogue shows the graphical representation of a table (initially 5x5). Select the table's size in rows and columns. You can do this by typing in the numbers you want, clicking on '+' or '-', or by moving the bottom right-hand corner of the table widget with the mouse.
![]() | Note: Header row. |
---|---|
lyx assumes that the first row contains column headings. lyx shows the header row separated from the rest of the table, but SGML export ignores this. |
Here is a table with 3 rows and 2 columns:
Column heading 1 | Column Heading 2 |
2nd row, 1st column | 2nd row, 2nd column |
3rd row, 1st column | 3rd row, 2nd column |
Here is the SGML:
1 <para> 2 <informaltable> 3 <tgroup cols="2" colsep="1" rowsep="1" 4 <colspec colname="col0" align="center"> 5 <colspec colname="col1" align="center"> 6 7 <tbody> 8 9 <row> 10 <entry align="center" valign="top"> 11 <para>Column heading 1</para> 12 </entry> 13 <entry align="center" valign="top"> 14 <para>Column Heading 2</para> 15 </entry> 16 </row> 17 18 <row> 19 <entry align="center" valign="top"> 20 <para>2nd row, 1st column</para> 21 </entry> 22 <entry align="center" valign="top"> 23 <para>2nd row, 2nd column</para> 24 </entry> 25 </row> 26 27 <row> 28 <entry align="center" valign="top"> 29 <para>3rd row, 1st column</para> 30 </entry> 31 <entry align="center" valign="top"> 32 <para>3rd row, 2nd column</para> 33 </entry> 34 </row> 35 36 </tbody> 37 38 </tgroup> 39 </informaltable> 40 </para> 41 |
You can add and delete rows and columns. Right-click on table for dialogue ...
Lyx: Edit Table dialogue:
|
... or position insertion point and use menu commands.
Menu bar: Edit -> Tabular
|
There are other table attributes, but lyx export to DocBook ignores them.
![]() | Note: Names of external links. |
---|---|
It is a good idea to make the name of an external link identical to the URL. That way, printed copies of the final HTML page still contain the complete URL. |
This link may enable you to jump to your localhost's index page: http://localhost.
The SGML code looks like this:
1 <para> 2 This link may enable you to jump to your 3 localhost's index page:<ulink url="http://localhost">http://localhost</ulink>. 4 </para> 5 |
This link will take you to the newbieDoc home page: http://newbiedoc.sourceforge.net/.
1 <para> 2 This link will take you to the newbieDoc home page: 3 <ulink url="http://newbiedoc.sourceforge.net/"> 4 http://newbiedoc.sourceforge.net/</ulink>. 5 </para> 6 |
Position the insertion point at some point in the text. Use the menu Insert command. Type the Name and the URL into the URL dialogue box.
Menu bar: Insert -> URL... URL dialogue: URL -> http://www.example.net/ Name -> the example website OK |
DocBook no longer supports xref to ANCHOR. However, it does support a link using the “ID” attribute.
The value of attribute "ID" and "LINKEND" attributes must be a single token. This means that you can use alphanumeric characters (letters and numbers) and the hyphen (-). Here are a couple of examples. First the SGML generated by lyx for including IDs in this 'Appendix' and its first 'Section':
1 <appendix id="Appendix-Examples-of-LyX-styles"> 2 <title> 3 Examples of LyX styles used in newbieDoc 4 </title> 5 6 <sect1 id="Golf-links"> 7 <title> 8 Links 9 </title> 10 |
Now the LINKENDs:
The big, fat dog ran around the Section 5.2 all by itself.
1 <para> 2 The big, fat dog ran around the <xref linkend="Golf-links"> 3 all by itself. 4 </para> 5 |
The lazy fox went to Appendix B instead.
1 <para> 2 The lazy fox went to 3 <xref linkend="app-analysis-of-lyx-styles"> instead. 4 </para> 5 |
Firstly, put a label (Insert -> Label... ) just before the first letter of a section heading. DocBook will not accept links to standard text. Type a meaningful label name into the Enter text dialogue box. DocBook will not accept colons (:).
Menu bar: Insert -> Label... LyX: Enter text dialogue: Enter new label to insert -> sec-section-name -> OK |
Secondly, create a cross reference to the label. Put the insertion point at the position in the text where you want to insert the link to the label. From the menu bar choose Insert -> Cross Reference... Select the label from the list in the Cross Reference dialogue box.
Menu bar: Insert -> Cross Reference... Cross Reference dialogue: Reference: -> sec-section-name -> Name: -> text to appear formatted as a link -> OK |
Suppose that you are writing in Spanish. You specify the language of your article in the document layout.
Menu bar: Layout -> Document... Document settings dialogue: Language Language Settings and Quote Style dialogue: Language -> Spanish -> OK |
Now generate the SGML and HTML files to see the result
Menu bar: File -> Export DocBook
|
Look at hello-world.sgml with your text editor. You should see that the article tag now includes 'lang="es"'.
View hello-world.en.html with a web browser. You should see that 'Table of Contents' has been replaced by 'Tabla de contenidos'. Of course, if you are really writing in Spanish you should change the name of the lyx file to hello-world.es.lyx.
lyx is very powerful and flexible in its use of environments. Unfortunately, lyx is rather more limited in the way it handles character styles. The emphasis style adds <emphasis></emphasis> tags to the emphasise text when you export it to DocBook. For other inline elements you must embed the tags directly into your document. Use the TEX button (with a red TEX icon).
The SGML <command></command> tags can be used to surround typed commands or gui menu commands. For instance, you could type
<command>name-of-command</command>
then highlight the <command> tag and format it by clicking on the TEX button. Then format the </command> tag in the same way. Or you could click on the TEX button to insert an ERT frame and type <command> into that. You must look at the lyx source for this section to see what ERT looks like.
The SGML looks like this.
1 <command>name-of-command</command> 2 |
The SGML <filename></filename> tags can be used to contain filenames or text you read from a terminal screen.
<filename>name-of-file</filename>
The SGML looks like this.
1 <filename>name-of-file</filename> 2 |
DocBook only accepts this combination if command tags enclose the filename tags: <command><filename></filename></command>.
For instance, you could type: <command><filename>name-of-command</filename></command> <filename>argument</filename>.
name-of-command argument
The SGML looks like this.
1 <command><filename>name-of-command</filename></command> <filename>argument</filename> 2 |
The SGML <application></application> tags can be used with application name, program name or package name. (This can distinguish the application from the command or filename of the same text.)
For instance, you could type: <application>name-of-application-or-package</application>
name-of-application-or-package
The SGML looks like this.
1 <application>name-of-application-or-package</application> 2 |
At the moment you must use Evil Red Text (ERT) for callouts, citations, graphics, etc. For example, here is the ERT to insert a graphic. (See NewbieDoc Docbook Guide).
<mediaobject> <imageobject> <imagedata fileref="images/newbieDocLogotype.ps" format="ps"> </imageobject> <imageobject> <imagedata fileref="images/newbieDocLogotype.eps" format="eps"> </imageobject> <imageobject> <imagedata fileref="../images/newbieDocLogotype.gif" format="gif"> </imageobject> <textobject> <phrase>Newbiedoc: Docs for & by Debian newbies.</phrase> </textobject> <caption> <para>Newbiedoc: Docs for & by Debian newbies.</para> </caption> </mediaobject> |
1 |
Copyright ©2004 Chris Lale <feedback.chrislale@coolscience.co.uk>. Permission is granted to copy, distribute and/or modify this document with no Invariant Sections, with no Front-Cover texts and with no Back-Cover Texts under the terms of the GNU Free Documentation License, version 1.1 or any later version, published by the Free Software Foundation. A copy of the license can be found at http://www.fsf.org/copyleft/fdl.html.
You can get the latest version of this document from http://newbiedoc.sourceforge.net.
If you find any errors, omissions etc, please let me know via the newbieDoc Discussion list <newbiedoc-discuss@lists.sourceforge.net> or <feedback.chrislale@coolscience.co.uk>.
I have written this document in English. I have used American spellings for some technical terms eg 'program' where these have become widely accepted.
You can find guides to English spelling, punctuation and grammar at http://www.cral.ac.uk/guidelines/.
Three dots ...
if before text, indicates text has been omitted in front of the text
if after text, indicates that following text has been omitted.
if on one line by themselves indicates that lines have been omitted.
A '$' at the start of a line indicates that the rest of the line is input from a normal user. A '#' indicates that the Root user inputs the rest of the line.
Filenames, application names, package names and text displayed by a console or terminal window look like this.
my-file.txt my-directory /my-path/my-directory/ my-application my-package This is some terminal text. |
Filenames, application names, package names and text displayed in an X window look like this.
my-file.txt my-application my-package This is some text in an X window. |
Commands issued from a terminal look like this. Use of the <ENTER> key is implied but not shown.
$ my command |
This example shows a command issued in an X application.
Menu bar: File -> Close
|
Style | File | LatexType | LatexName | LatexParam | Other |
| newbiedoc-docbook.layout |
|
|
| Input nd_stdclass.inc, MaxCounter Counter_Section, NoStyle Part, NoStyle Chapter |
| nd_stdclass.inc |
|
|
| OutputType docbook |
| nd_stdclass.inc |
|
|
| Default: Columns, Sides, SecNumDepth, TocDepth, DefaultStyle. DefaultFont |
| nd_stdclass.inc |
|
|
| Import .inc files |
| nd_stdcounters.inc |
|
|
| Counters for Section etc |
SGML | nd_stdlayouts.inc | Paragraph | "!-- --" | NewLine 0 | |
Screen | nd_stdlayouts.inc | Environment | screen | CDATA | PassThru 1, FreeSpacing 1 |
XScreen | nd_stdlayouts.inc | Environment | synopsis | CDATA | PassThru 1, FreeSpacing 1 |
Standard | nd_stdclass.inc | Paragraph | para |
| LabelType No_Label |
Itemize | nd_stdlists.inc | Item_Environment | itemizedlist |
|
|
Enumerate | nd_stdlists.inc | Item_Environment | orderedlist |
|
|
Description | nd_stdlists.inc | Item_Environment | variablelist |
|
|
Part | nd_stdsections.inc | Command | part | "0|" |
|
Chapter | nd_stdsections.inc | Command | chapter | "1|" |
|
Appendix | nd_stdsections.inc | Command | appendix | "1|" |
|
Section | nd_stdsections.inc | Command | sect1 | “2|” |
|
Subsection | nd_stdsections.inc | Command | sect2 | “3|” |
|
Subsubsection | nd_stdsections.inc | Command | sect3 | “4|” |
|
Paragraph | nd_stdsections.inc | Command | sect4 | “5|” |
|
Subparagraph | nd_stdsections.inc | Command | sect5 | “6|” |
|
Abstract | nd_stdstruct.inc | Command | abstract | "3|para" |
|
PageHeader | nd_stdtitle.inc | Paragraph | title | InTitle 1 | |
Title | nd_stdtitle.inc | Command | articleinfo | “2|” | Labelstring “Title” |
Date | nd_stdtitle.inc | Paragraph | date | Labelstring “Revision date” | |
Header | nd_stdtitle.inc | Paragraph | title | “1|” | Labelstring “Header” |
Firstname | nd_stdtitle.inc | Command | author | “4| firstname” | InTitle 1 |
Surname | nd_stdtitle.inc | Paragraph | surname |
| InTitle 1 |
Affiliation | nd_stdtitle.inc | Command | affiliation | “5|!-- --” | Labelstring “Affiliation, address” |
nd_stdtitle.inc | Command | address | “6|email” | Labelstring “Author's email” | |
Revision | nd_stdtitle.inc | Command | revision | "4|revnumber" |
|
Date | nd_stdtitle.inc | Paragraph | date |
|
|
Initials | nd_stdtitle.inc | Paragraph | authorinitials |
| InTitle 1 |
RevisionRemark | nd_stdtitle.inc | Paragraph | revremark |
| InTitle 1 |
RevisionHistory | nd_stdtitle.inc | Command | revhistory | "3|!-- --" |
|
TipTitle | nd-admonitions.inc | Environment | tip | title | LabelString “Tip Title: “ |
Tip | nd-admonitions.inc | Environment | tip | para | LabelString "Tip: " |
NoteTitle | nd-admonitions.inc | Environment | note | title | LabelString "Note Title: " |
Note | nd-admonitions.inc | Environment | note | para | LabelString "Note: " |
ImportantTitle | nd-admonitions.inc | Environment | important | title | LabelString "Important Title: “ |
Important | nd-admonitions.inc | Environment | important | para | LabelString "Important: “ |
CautionTitle | nd-admonitions.inc | Environment | caution | title | LabelString "Caution Title: “ |
Caution | nd-admonitions.inc | Environment | caution | para | LabelString "Caution: “ |
WarningTitle | nd-admonitions.inc | Environment | warning | title | LabelString "Warning Title: “ |
Warning | nd-admonitions.inc | Environment | warning | para | LabelString "Warning: “ |
Code | nd_lyxmacros.inc | Environment | programlisting | CDATA | PassThru 1 |
Comment | nd_lyxmacros.inc | Paragraph | remark |
|
|
Keyword | nd_extra.inc | Paragraph | keyword |
|
|
KeywordSet | nd_extra.inc | Command | keywordset | "3|!-- --" |
|