]> git.lyx.org Git - features.git/commitdiff
Tutorial.lyx: get rid of unnecessary preamble code
authorUwe Stöhr <uwestoehr@lyx.org>
Wed, 18 May 2016 23:46:09 +0000 (01:46 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Wed, 18 May 2016 23:46:09 +0000 (01:46 +0200)
The aim of the tutorial is to explain how to use LyX and not special LaTeX issues with \frontmatter, non-TeX fonts etc. Therefore the preamble should kept clean.

lib/doc/Tutorial.lyx
lib/doc/de/Tutorial.lyx
lib/doc/es/Tutorial.lyx
lib/doc/fr/Tutorial.lyx
lib/doc/ja/Tutorial.lyx

index 537b10d749be9f99bf24beb93fe5a639be09c484..a20549d426955efeffa6d07d273ab90809042005 100644 (file)
@@ -5,25 +5,6 @@
 \save_transient_properties true
 \origin /systemlyxdir/doc/
 \textclass book
-\begin_preamble
-% DO NOT ALTER THIS PREAMBLE!!!
-%
-%This preamble is designed to ensure that the document prints
-% out as advertised. If you mess with this preamble,
-% parts of the document may not print out as expected.  If you
-% have problems LaTeXing this file, please contact 
-% the documentation team
-% email: lyx-docs@lists.lyx.org
-
-% the pages of the TOC is numbered roman
-% and a pdf-bookmark for the TOC is added
-\let\myTOC\tableofcontents
-\renewcommand\tableofcontents{%
-  \frontmatter
-  \pdfbookmark[1]{\contentsname}{}
-  \myTOC
-  \mainmatter }
-\end_preamble
 \use_default_options false
 \begin_modules
 logicalmkup
index 16e14e61a4ff04cd6b903e3ae6bcc5518ebeb9da..c6374c55d05620c15eaf0f3497508794ac46d5d6 100644 (file)
@@ -5,25 +5,6 @@
 \save_transient_properties true
 \origin /systemlyxdir/doc/de/
 \textclass book
-\begin_preamble
-% DO NOT ALTER THIS PREAMBLE!!!
-%
-%This preamble is designed to ensure that the document prints
-% out as advertised. If you mess with this preamble,
-% parts of the document may not print out as expected.  If you
-% have problems LaTeXing this file, please contact 
-% the documentation team
-% email: lyx-docs@lists.lyx.org
-
-% Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
-% ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
-\let\myTOC\tableofcontents
-\renewcommand\tableofcontents{%
-  \frontmatter
-  \pdfbookmark[1]{\contentsname}{}
-  \myTOC
-  \mainmatter }
-\end_preamble
 \use_default_options false
 \maintain_unincluded_children false
 \language ngerman
index 385c4536fa0f8ab53af63afe5f29622b7565dfd4..9bc47a39db6d9da342d06ce4da075f582cd0513e 100644 (file)
@@ -5,28 +5,6 @@
 \save_transient_properties true
 \origin /systemlyxdir/doc/es/
 \textclass book
-\begin_preamble
-% DO NOT ALTER THIS PREAMBLE!!!
-%
-%This preamble is designed to ensure that the document prints
-% out as advertised. If you mess with this preamble,
-% parts of the document may not print out as expected.  If you
-% have problems LaTeXing this file, please contact 
-% the documentation team
-% email: lyx-docs@lists.lyx.org
-
-% Work around a bug in Babel-Spanish with \lim if non-TeX fonts are used:
-\@ifpackageloaded{fontspec}{\unaccentedoperators}{}
-
-% the pages of the TOC is numbered roman
-% and a pdf-bookmark for the TOC is added
-\let\myTOC\tableofcontents
-\renewcommand\tableofcontents{%
-  \frontmatter
-  \pdfbookmark[1]{\contentsname}{}
-  \myTOC
-  \mainmatter }
-\end_preamble
 \use_default_options false
 \maintain_unincluded_children false
 \language spanish
index 01c37ba39d4fde95446b41223cb7ba9cd2537c1b..682f689329fcc4a7e352a73bbb80feadaed8dbac 100644 (file)
@@ -5,25 +5,6 @@
 \save_transient_properties true
 \origin /systemlyxdir/doc/fr/
 \textclass book
-\begin_preamble
-% DO NOT ALTER THIS PREAMBLE!!!
-%
-%This preamble is designed to ensure that the document prints
-% out as advertised. If you mess with this preamble,
-% parts of the document may not print out as expected.  If you
-% have problems LaTeXing this file, please contact 
-% the documentation team
-% email: lyx-docs@lists.lyx.org
-
-% the pages of the TOC is numbered roman
-% and a pdf-bookmark for the TOC is added
-\let\myTOC\tableofcontents
-\renewcommand\tableofcontents{%
-  \frontmatter
-  \pdfbookmark[1]{\contentsname}{}
-  \myTOC
-  \mainmatter }
-\end_preamble
 \use_default_options false
 \maintain_unincluded_children false
 \language french
index c2dbf028500bec683958935776cf7892fe378653..f17064353163a2c37da1ece425f9c745555f087e 100644 (file)
@@ -5,26 +5,6 @@
 \save_transient_properties true
 \origin /systemlyxdir/doc/ja/
 \textclass jsbook
-\begin_preamble
-% DO NOT ALTER THIS PREAMBLE!!!
-%
-%This preamble is designed to ensure that the document prints
-% out as advertised. If you mess with this preamble,
-% parts of the document may not print out as expected.  If you
-% have problems LaTeXing this file, please contact 
-% the documentation team
-% email: lyx-docs@lists.lyx.org
-
- % the pages of the TOC are numbered roman
- % and a pdf-bookmark for the TOC is added
- \pagenumbering{roman}
- \let\myTOC\tableofcontents
- \renewcommand\tableofcontents{%
-   \pdfbookmark[1]{Contents}{}
-   \myTOC
-   \cleardoublepage
-   \pagenumbering{arabic} }
-\end_preamble
 \use_default_options false
 \maintain_unincluded_children false
 \begin_local_layout