mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Tutorial.lyx: get rid of unnecessary preamble code
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.
This commit is contained in:
parent
3b3dccb34a
commit
5254045a4d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user