Re: error when noun style is not used in title environment

2004-11-08 Thread Herbert Voss
Ben Hourigan wrote:
I've been trying to get a quotation to appear on a separate page after 
the title page in a document I just started, and was frustrated to find 
that, while using what appeared to be the exact same series of commands, 
the new document returned errors when I attempted to view the PDF.

With any text between the date environment and the \mainmatter command 
or the next environment, Lyx would consider \mainmatter or the \part 
environment to be undefined commands.

After some experimentation I discovered an odd solution. If I used the 
noun style in the title environment, the following commands would be 
recognised correctly.

I'm curious to find out what's causing this behaviour. I've attached 
mimimal sample files. Works.lyx uses the noun style in the title 
environment, Error.lyx does not. Try to export to PDF using View  PDF 
(pdflatex).
the command \noun is not defined.
In preamble \let\noun\textsc solves the problem.
Herbert

--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book
\begin_preamble
\hyphenation{fa-vour-a-ble Lo-gi-co-Phil-o-soph-ic-us there-of Trac-ta-tus  
vid-e-o-games Vid-e-o-games}
%
\fancyhead{}
\fancyfoot[C]{\thepage}
\fancyhead[CE]{\noun{\leftmark}}
\fancyhead[CO]{\noun{\rightmark}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\let\noun\textsc
\end_preamble
\language british
\inputencoding auto
\fontscheme newcent
\graphics default
\paperfontsize 11
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
frontmatter 
\end_inset 


\layout Title

Title
\layout Author

Author
\layout Date

Then -- 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
today
\end_inset 


\layout Quote
\added_space_top vfill* \added_space_bottom vfill* 
Lorem ipsum dolor sit amet.
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
mainmatter
\end_inset 


\layout Part

Title
\the_end


Re: error when noun style is not used in title environment

2004-11-08 Thread Herbert Voss
Ben Hourigan wrote:
I've been trying to get a quotation to appear on a separate page after 
the title page in a document I just started, and was frustrated to find 
that, while using what appeared to be the exact same series of commands, 
the new document returned errors when I attempted to view the PDF.

With any text between the date environment and the \mainmatter command 
or the next environment, Lyx would consider \mainmatter or the \part 
environment to be undefined commands.

After some experimentation I discovered an odd solution. If I used the 
noun style in the title environment, the following commands would be 
recognised correctly.

I'm curious to find out what's causing this behaviour. I've attached 
mimimal sample files. Works.lyx uses the noun style in the title 
environment, Error.lyx does not. Try to export to PDF using View  PDF 
(pdflatex).
the command \noun is not defined.
In preamble \let\noun\textsc solves the problem.
Herbert

--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book
\begin_preamble
\hyphenation{fa-vour-a-ble Lo-gi-co-Phil-o-soph-ic-us there-of Trac-ta-tus  
vid-e-o-games Vid-e-o-games}
%
\fancyhead{}
\fancyfoot[C]{\thepage}
\fancyhead[CE]{\noun{\leftmark}}
\fancyhead[CO]{\noun{\rightmark}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\let\noun\textsc
\end_preamble
\language british
\inputencoding auto
\fontscheme newcent
\graphics default
\paperfontsize 11
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
frontmatter 
\end_inset 


\layout Title

Title
\layout Author

Author
\layout Date

Then -- 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
today
\end_inset 


\layout Quote
\added_space_top vfill* \added_space_bottom vfill* 
Lorem ipsum dolor sit amet.
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
mainmatter
\end_inset 


\layout Part

Title
\the_end


Re: error when noun style is not used in title environment

2004-11-08 Thread Herbert Voss
Ben Hourigan wrote:
I've been trying to get a quotation to appear on a separate page after 
the title page in a document I just started, and was frustrated to find 
that, while using what appeared to be the exact same series of commands, 
the new document returned errors when I attempted to view the PDF.

With any text between the date environment and the \mainmatter command 
or the next environment, Lyx would consider \mainmatter or the \part 
environment to be undefined commands.

After some experimentation I discovered an odd solution. If I used the 
noun style in the title environment, the following commands would be 
recognised correctly.

I'm curious to find out what's causing this behaviour. I've attached 
mimimal sample files. Works.lyx uses the noun style in the title 
environment, Error.lyx does not. Try to export to PDF using View > PDF 
(pdflatex).
the command \noun is not defined.
In preamble \let\noun\textsc solves the problem.
Herbert

--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book
\begin_preamble
\hyphenation{fa-vour-a-ble Lo-gi-co-Phil-o-soph-ic-us there-of Trac-ta-tus  
vid-e-o-games Vid-e-o-games}
%
\fancyhead{}
\fancyfoot[C]{\thepage}
\fancyhead[CE]{\noun{\leftmark}}
\fancyhead[CO]{\noun{\rightmark}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\let\noun\textsc
\end_preamble
\language british
\inputencoding auto
\fontscheme newcent
\graphics default
\paperfontsize 11
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
frontmatter 
\end_inset 


\layout Title

Title
\layout Author

Author
\layout Date

Then -- 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
today
\end_inset 


\layout Quote
\added_space_top vfill* \added_space_bottom vfill* 
Lorem ipsum dolor sit amet.
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
mainmatter
\end_inset 


\layout Part

Title
\the_end


error when noun style is not used in title environment

2004-11-06 Thread Ben Hourigan
I've been trying to get a quotation to appear on a separate page after 
the title page in a document I just started, and was frustrated to find 
that, while using what appeared to be the exact same series of 
commands, the new document returned errors when I attempted to view the 
PDF.

With any text between the date environment and the \mainmatter command 
or the next environment, Lyx would consider \mainmatter or the \part 
environment to be undefined commands.

After some experimentation I discovered an odd solution. If I used the 
noun style in the title environment, the following commands would be 
recognised correctly.

I'm curious to find out what's causing this behaviour. I've attached 
mimimal sample files. Works.lyx uses the noun style in the title 
environment, Error.lyx does not. Try to export to PDF using View  PDF 
(pdflatex).

I'm using LyX/Aqua 1.3.5.
Ben


Error.lyx
Description: Binary data


Works.lyx
Description: Binary data


error when noun style is not used in title environment

2004-11-06 Thread Ben Hourigan
I've been trying to get a quotation to appear on a separate page after 
the title page in a document I just started, and was frustrated to find 
that, while using what appeared to be the exact same series of 
commands, the new document returned errors when I attempted to view the 
PDF.

With any text between the date environment and the \mainmatter command 
or the next environment, Lyx would consider \mainmatter or the \part 
environment to be undefined commands.

After some experimentation I discovered an odd solution. If I used the 
noun style in the title environment, the following commands would be 
recognised correctly.

I'm curious to find out what's causing this behaviour. I've attached 
mimimal sample files. Works.lyx uses the noun style in the title 
environment, Error.lyx does not. Try to export to PDF using View  PDF 
(pdflatex).

I'm using LyX/Aqua 1.3.5.
Ben


Error.lyx
Description: Binary data


Works.lyx
Description: Binary data


error when noun style is not used in title environment

2004-11-06 Thread Ben Hourigan
I've been trying to get a quotation to appear on a separate page after 
the title page in a document I just started, and was frustrated to find 
that, while using what appeared to be the exact same series of 
commands, the new document returned errors when I attempted to view the 
PDF.

With any text between the date environment and the \mainmatter command 
or the next environment, Lyx would consider \mainmatter or the \part 
environment to be undefined commands.

After some experimentation I discovered an odd solution. If I used the 
noun style in the title environment, the following commands would be 
recognised correctly.

I'm curious to find out what's causing this behaviour. I've attached 
mimimal sample files. Works.lyx uses the noun style in the title 
environment, Error.lyx does not. Try to export to PDF using View > PDF 
(pdflatex).

I'm using LyX/Aqua 1.3.5.
Ben


Error.lyx
Description: Binary data


Works.lyx
Description: Binary data