mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
DocBook: update test cases.
This commit is contained in:
parent
6a0e93f162
commit
1a86e26841
@ -105,12 +105,12 @@ diese Wörter geschweift einklammern<!-- } -->
|
||||
</informalexample>
|
||||
<para>oder verwenden Sie die Glossen-Option <emphasis>ex</emphasis>:</para>
|
||||
<para>Mein Luftkissenfahrzeug ist voller Aale</para>
|
||||
<bridgehead renderas="sect2">Tipps & Tricks</bridgehead>
|
||||
<bridgehead renderas="sect3">Seitenumbrüche innerhalb von Glossen vermeiden</bridgehead>
|
||||
<bridgehead renderas='sect2'>Tipps & Tricks</bridgehead>
|
||||
<bridgehead renderas='sect3'>Seitenumbrüche innerhalb von Glossen vermeiden</bridgehead>
|
||||
<para>In der Standardeinstellung können innerhalb von Glossen Seiten umbrochen werden, was natürlich nicht erwünscht ist. Um dies zu umgehen, können Sie in <emphasis role='sans'>Dokument⇒Einstellungen…⇒Dokumentklasse⇒Klassenoptionen⇒Benutzerdefiniert</emphasis> die Option <emphasis>noglossbreaks</emphasis> eingeben; dies wird die meisten Umbrüche verhindern. Wenn trotzdem welche vorkommen, können Sie Glossen in Boxen packen (über <emphasis role='sans'>Einfügen⇒Box⇒Rahmenlos</emphasis>).</para>
|
||||
<bridgehead renderas="sect3">Fußnoten in Glossen</bridgehead>
|
||||
<bridgehead renderas='sect3'>Fußnoten in Glossen</bridgehead>
|
||||
<para>Sie können zwar eine Fußnote in eine <emphasis>Glosse</emphasis> einfügen, dies führt aber zu einem LaTeX-Fehler. Wenn Sie Fußnoten benötigen, schreiben Sie an der Stelle, an der das Fußnotenzeichen erscheinen soll, im TeX-Modus <code>\footnotemark</code> in die Glosse. Direkt nach (und außerhalb) der Glosse schreiben Sie, ebenfalls im TeX-Modus,<code> \footnotetext{Die Fußnote ...}</code>. Sollten Sie mehrere Fußnoten brauchen, geben Sie einfach mehrere dieser Befehlspaare ein.</para>
|
||||
<bridgehead renderas="sect3">Glossen (und Beispiele) in Beamer-Präsentationen</bridgehead>
|
||||
<bridgehead renderas='sect3'>Glossen (und Beispiele) in Beamer-Präsentationen</bridgehead>
|
||||
<para>Wenn Sie das Linguistik-Modul in einer Beamer-Präsentation verwenden wollen, beachten Sie bitte folgendes:</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
@ -54,6 +54,7 @@
|
||||
</m:mrow>
|
||||
</m:math>
|
||||
</informalequation>
|
||||
|
||||
<para>See <xref linkend="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz" />.</para>
|
||||
<para>Also, a formula with an user-defined macro that outputs well in LaTeX but cannot in MathML: <inlineequation>
|
||||
<alt role='tex'>\testmacro</alt>
|
||||
@ -112,8 +113,8 @@
|
||||
<title>I am the fourth section and I deal with formatting. </title>
|
||||
<para>The following paragraph should be code. </para>
|
||||
<para><programlisting>I am some code.
|
||||
I am a second line of code.
|
||||
</programlisting>I am no more code. </para>
|
||||
I am a second line of code. </programlisting>
|
||||
I am no more code. </para>
|
||||
<para>This line has inline code. <code>This has typewriter font</code><footnote>
|
||||
<para>I repeat that in a footnote.</para>
|
||||
</footnote>. </para>
|
||||
@ -214,21 +215,25 @@ I am a second line of code.
|
||||
<section>
|
||||
<title>I am the eight section and I deal with star sections</title>
|
||||
<bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
|
||||
<bridgehead renderas="sect1">Star section (sect1)</bridgehead>
|
||||
<bridgehead renderas="sect2">Star subsection (sect2)</bridgehead>
|
||||
<bridgehead renderas="sect3">Star subsubsection (sect3)</bridgehead>
|
||||
<bridgehead renderas="sect4">Star paragraph (sect4)</bridgehead>
|
||||
<bridgehead renderas="sect5">Star subparagraph (sect5)</bridgehead>
|
||||
<bridgehead renderas='sect1'>Star section (sect1)</bridgehead>
|
||||
<bridgehead renderas='sect2'>Star subsection (sect2)</bridgehead>
|
||||
<bridgehead renderas='sect3'>Star subsubsection (sect3)</bridgehead>
|
||||
<bridgehead renderas='sect4'>Star paragraph (sect4)</bridgehead>
|
||||
<bridgehead renderas='sect5'>Star subparagraph (sect5)</bridgehead>
|
||||
</section>
|
||||
<bibliography>
|
||||
<title>References</title>
|
||||
<biblioentry xml:id="article">
|
||||
<title>The title of the work</title><volumenum>4</volumenum><artpagenums>201-213</artpagenums><bibliomisc role="type">article</bibliomisc>
|
||||
<title>The title of the work</title>
|
||||
<volumenum>4</volumenum>
|
||||
<artpagenums>201-213</artpagenums>
|
||||
<bibliomisc role="type">article</bibliomisc>
|
||||
<pubdate>1993</pubdate>
|
||||
<biblioset relation="journal">
|
||||
<title>The name of the journal</title>
|
||||
</biblioset>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Peter</firstname>
|
||||
<surname>Adams</surname>
|
||||
@ -239,12 +244,16 @@ I am a second line of code.
|
||||
<bibliomisc role="note">An optional note</bibliomisc>
|
||||
</biblioentry>
|
||||
<biblioentry xml:id="book">
|
||||
<title>The title of the work</title><volumenum>4</volumenum><edition>3</edition><bibliomisc role="type">book</bibliomisc>
|
||||
<title>The title of the work</title>
|
||||
<volumenum>4</volumenum>
|
||||
<edition>3</edition>
|
||||
<bibliomisc role="type">book</bibliomisc>
|
||||
<publisher>
|
||||
<publishername>The name of the publisher</publishername>
|
||||
<address>The address</address></publisher>
|
||||
<pubdate>1993</pubdate>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Peter</firstname>
|
||||
<surname>Babington</surname>
|
||||
@ -254,9 +263,11 @@ I am a second line of code.
|
||||
<bibliomisc role="note">An optional note</bibliomisc>
|
||||
</biblioentry>
|
||||
<biblioentry xml:id="booklet">
|
||||
<title>The title of the work</title><bibliomisc role="type">booklet</bibliomisc>
|
||||
<title>The title of the work</title>
|
||||
<bibliomisc role="type">booklet</bibliomisc>
|
||||
<pubdate>1993</pubdate>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Peter</firstname>
|
||||
<surname>Caxton</surname>
|
||||
@ -265,12 +276,15 @@ I am a second line of code.
|
||||
</authorgroup>
|
||||
</biblioentry>
|
||||
<biblioentry xml:id="conference">
|
||||
<title>The title of the work</title><artpagenums>213</artpagenums><bibliomisc role="type">conference</bibliomisc>
|
||||
<title>The title of the work</title>
|
||||
<artpagenums>213</artpagenums>
|
||||
<bibliomisc role="type">conference</bibliomisc>
|
||||
<publisher>
|
||||
<publishername>The publisher</publishername>
|
||||
</publisher>
|
||||
<pubdate>1993</pubdate>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Peter</firstname>
|
||||
<surname>Draper</surname>
|
||||
@ -279,12 +293,15 @@ I am a second line of code.
|
||||
</authorgroup>
|
||||
</biblioentry>
|
||||
<biblioentry xml:id="inbook">
|
||||
<title>The title of the work</title><artpagenums>201-213</artpagenums><bibliomisc role="type">inbook</bibliomisc>
|
||||
<title>The title of the work</title>
|
||||
<artpagenums>201-213</artpagenums>
|
||||
<bibliomisc role="type">inbook</bibliomisc>
|
||||
<publisher>
|
||||
<publishername>The name of the publisher</publishername>
|
||||
</publisher>
|
||||
<pubdate>1993</pubdate>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Peter</firstname>
|
||||
<surname>Eston</surname>
|
||||
@ -293,7 +310,11 @@ I am a second line of code.
|
||||
</authorgroup>
|
||||
</biblioentry>
|
||||
<biblioentry xml:id="incollection">
|
||||
<title>The title of the work</title><volumenum>4</volumenum><edition>3</edition><artpagenums>201-213</artpagenums><bibliomisc role="type">incollection</bibliomisc>
|
||||
<title>The title of the work</title>
|
||||
<volumenum>4</volumenum>
|
||||
<edition>3</edition>
|
||||
<artpagenums>201-213</artpagenums>
|
||||
<bibliomisc role="type">incollection</bibliomisc>
|
||||
<publisher>
|
||||
<publishername>The name of the publisher</publishername>
|
||||
<address>The address of the publisher</address></publisher>
|
||||
@ -301,7 +322,8 @@ I am a second line of code.
|
||||
<biblioset relation="book">
|
||||
<title>The title of the book</title>
|
||||
</biblioset>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Peter</firstname>
|
||||
<surname>Farindon</surname>
|
||||
@ -311,12 +333,15 @@ I am a second line of code.
|
||||
<bibliomisc role="note">An optional note</bibliomisc>
|
||||
</biblioentry>
|
||||
<biblioentry xml:id="small">
|
||||
<title>A small paper</title><volumenum>-1</volumenum><bibliomisc role="type">article</bibliomisc>
|
||||
<title>A small paper</title>
|
||||
<volumenum>-1</volumenum>
|
||||
<bibliomisc role="type">article</bibliomisc>
|
||||
<pubdate>1997</pubdate>
|
||||
<biblioset relation="journal">
|
||||
<title>The journal of small papers</title>
|
||||
</biblioset>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<surname>Freely</surname>
|
||||
<othername role="suffix">I. P.</othername>
|
||||
@ -332,9 +357,11 @@ I am a second line of code.
|
||||
<bibliomisc role="note">to appear</bibliomisc>
|
||||
</biblioentry>
|
||||
<biblioentry xml:id="Gro60">
|
||||
<title>Éléments de géométrie algébrique</title><bibliomisc role="type">book</bibliomisc>
|
||||
<title>Éléments de géométrie algébrique</title>
|
||||
<bibliomisc role="type">book</bibliomisc>
|
||||
<pubdate>1960</pubdate>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Alexander</firstname>
|
||||
<surname>Grothendieck</surname>
|
||||
@ -343,12 +370,15 @@ I am a second line of code.
|
||||
</authorgroup>
|
||||
</biblioentry>
|
||||
<biblioentry xml:id="big">
|
||||
<title>A big paper</title><volumenum>MCMXCVII</volumenum><bibliomisc role="type">article</bibliomisc>
|
||||
<title>A big paper</title>
|
||||
<volumenum>MCMXCVII</volumenum>
|
||||
<bibliomisc role="type">article</bibliomisc>
|
||||
<pubdate>7991</pubdate>
|
||||
<biblioset relation="journal">
|
||||
<title>The journal of big papers</title>
|
||||
</biblioset>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Hugh</firstname>
|
||||
<surname>Jass</surname>
|
||||
@ -356,4 +386,5 @@ I am a second line of code.
|
||||
</author>
|
||||
</authorgroup>
|
||||
</biblioentry>
|
||||
</bibliography></article>
|
||||
</bibliography>
|
||||
</article>
|
@ -9,13 +9,13 @@
|
||||
<affiliation>
|
||||
<orgname>Astronomy Department, University of California, Berkeley, CA 94720</orgname>
|
||||
</affiliation>
|
||||
<affiliation role="alternate">
|
||||
<affiliation role='alternate'>
|
||||
<orgname>Visiting Astronomer Cerro Tololo Inter-American Observatory.CTIO is operated by AURA Inc. under contract to the National Science Foundation.</orgname>
|
||||
</affiliation>
|
||||
<affiliation role="alternate">
|
||||
<affiliation role='alternate'>
|
||||
<orgname>Society of Fellows, Harvard University.</orgname>
|
||||
</affiliation>
|
||||
<affiliation role="alternate">
|
||||
<affiliation role='alternate'>
|
||||
<orgname>present address: Center for Astrophysics60 Garden Street, Cambridge, MA 02138</orgname>
|
||||
</affiliation>
|
||||
</author>
|
||||
@ -24,10 +24,10 @@
|
||||
<affiliation>
|
||||
<orgname>National Optical Astronomy Observatories, Tucson, AZ 85719</orgname>
|
||||
</affiliation>
|
||||
<affiliation role="alternate">
|
||||
<affiliation role='alternate'>
|
||||
<orgname>Visiting Programmer, Space Telescope Science Institute</orgname>
|
||||
</affiliation>
|
||||
<affiliation role="alternate">
|
||||
<affiliation role='alternate'>
|
||||
<orgname>Patron, Alonso's Bar and Grill</orgname>
|
||||
</affiliation>
|
||||
<email>aastex-help@aas.org</email>
|
||||
@ -37,7 +37,7 @@
|
||||
<affiliation>
|
||||
<orgname>Space Telescope Science Institute, Baltimore, MD 21218</orgname>
|
||||
</affiliation>
|
||||
<affiliation role="alternate">
|
||||
<affiliation role='alternate'>
|
||||
<orgname>Patron, Alonso's Bar and Grill</orgname>
|
||||
</affiliation>
|
||||
</author>
|
||||
@ -249,7 +249,8 @@
|
||||
</m:mrow>
|
||||
</m:mrow>
|
||||
</m:math>
|
||||
</informalequation> where <inlineequation>
|
||||
</informalequation>
|
||||
where <inlineequation>
|
||||
<alt role='tex'>p</alt>
|
||||
<m:math>
|
||||
|
||||
@ -516,7 +517,8 @@
|
||||
</m:mtr>
|
||||
</m:mtable>
|
||||
</m:math>
|
||||
</informalequation> giving
|
||||
</informalequation>
|
||||
giving
|
||||
<informalequation>
|
||||
<alt role='tex'>\hat{a}=\left(\begin{array}{cc}
|
||||
0 & (\hat{a})_{+}\\
|
||||
@ -595,14 +597,16 @@
|
||||
</m:mrow>
|
||||
</m:mrow>
|
||||
</m:math>
|
||||
</informalequation> The spinors are expressed in terms of two-component Weyl spinors as
|
||||
</informalequation>
|
||||
The spinors are expressed in terms of two-component Weyl spinors as
|
||||
<informalequation>
|
||||
<alt role='tex'>u=\left(\begin{array}{c}
|
||||
(u)_{-}\\
|
||||
(u)_{+}
|
||||
\end{array}\right),v={\textbf{(}}\vdag_{+}{\textbf{,}}\vdag_{-}{\textbf{)}}.</alt>
|
||||
<mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
|
||||
</informalequation></para>
|
||||
</informalequation>
|
||||
</para>
|
||||
<para>The Weyl spinors are given in terms of helicity eigenstates <inlineequation>
|
||||
<alt role='tex'>\chi_{\lambda}(p)</alt>
|
||||
<m:math>
|
||||
@ -720,7 +724,8 @@ v(p,\lambda)_{\pm} & = & \pm\lambda(E\mp\lambda|{\textbf{p}}|)^{1/2}\chi
|
||||
</m:mtr>
|
||||
</m:mtable>
|
||||
</m:math>
|
||||
</informalequation></section>
|
||||
</informalequation>
|
||||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<title>Floating material and so forth</title>
|
||||
@ -763,7 +768,8 @@ v(p,\lambda)_{\pm} & = & \pm\lambda(E\mp\lambda|{\textbf{p}}|)^{1/2}\chi
|
||||
</m:mrow>
|
||||
</m:mrow>
|
||||
</m:math>
|
||||
</informalequation> where
|
||||
</informalequation>
|
||||
where
|
||||
<informalequation>
|
||||
<alt role='tex'>d_{1}=\sqrt{\left(\begin{array}{c}
|
||||
\frac{x_{1}}{R_{maj}}\end{array}\right)^{2}+\left(\begin{array}{c}
|
||||
@ -931,7 +937,8 @@ v(p,\lambda)_{\pm} & = & \pm\lambda(E\mp\lambda|{\textbf{p}}|)^{1/2}\chi
|
||||
</m:mrow>
|
||||
</m:mrow>
|
||||
</m:math>
|
||||
</informalequation></para>
|
||||
</informalequation>
|
||||
</para>
|
||||
<para>In these expressions <inlineequation>
|
||||
<alt role='tex'>x_{0}</alt>
|
||||
<m:math>
|
||||
|
@ -39,7 +39,8 @@
|
||||
</m:mrow>
|
||||
</m:mrow>
|
||||
</m:math>
|
||||
</informalequation><section>
|
||||
</informalequation>
|
||||
<section>
|
||||
<title>I am the first subsection</title>
|
||||
<para>I am the only paragraph of the first subsection. </para>
|
||||
</section>
|
||||
@ -56,11 +57,11 @@
|
||||
<section>
|
||||
<title>I am the third section and I deal with star sections</title>
|
||||
<bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
|
||||
<bridgehead renderas="sect1">Star section (sect1)</bridgehead>
|
||||
<bridgehead renderas="sect2">Star subsection (sect2)</bridgehead>
|
||||
<bridgehead renderas="sect3">Star subsubsection (sect3)</bridgehead>
|
||||
<bridgehead renderas="sect4">Star paragraph (sect4)</bridgehead>
|
||||
<bridgehead renderas="sect5">Star subparagraph (sect5)</bridgehead>
|
||||
<bridgehead renderas='sect1'>Star section (sect1)</bridgehead>
|
||||
<bridgehead renderas='sect2'>Star subsection (sect2)</bridgehead>
|
||||
<bridgehead renderas='sect3'>Star subsubsection (sect3)</bridgehead>
|
||||
<bridgehead renderas='sect4'>Star paragraph (sect4)</bridgehead>
|
||||
<bridgehead renderas='sect5'>Star subparagraph (sect5)</bridgehead>
|
||||
</section>
|
||||
<bibliography>
|
||||
<title>References</title>
|
||||
|
@ -86,6 +86,10 @@
|
||||
|
||||
\begin_body
|
||||
|
||||
\begin_layout Title
|
||||
Document title
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\series bold
|
||||
|
@ -2,5 +2,6 @@
|
||||
<!-- This DocBook file was created by LyX 2.4.0dev
|
||||
See http://www.lyx.org/ for more information -->
|
||||
<article xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
|
||||
<title>Document title</title>
|
||||
<para><emphasis role='bold'>Fett</emphasis> <emphasis>hervorgehoben</emphasis> <code>monospace</code><emphasis role='underline'> unterstrichen.</emphasis></para>
|
||||
</article>
|
Loading…
Reference in New Issue
Block a user