From 2cb8a155a8ea65e02162214d0ab03a5e9af50ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Tue, 19 Jul 2011 21:17:10 +0000 Subject: [PATCH] - Customization.lyx: some more preamble code can go - Italian Customization.lyx: use the same document settings as the English version - Additional.lyx: revert undesired change from last commit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39352 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/Additional.lyx | 2 +- lib/doc/Customization.lyx | 3 -- lib/doc/de/Customization.lyx | 8 --- lib/doc/es/Customization.lyx | 5 +- lib/doc/eu/Customization.lyx | 3 -- lib/doc/fr/Customization.lyx | 5 +- lib/doc/it/Customization.lyx | 96 +++++++++++++++++++++++++++++------- lib/doc/ja/Customization.lyx | 3 -- 8 files changed, 82 insertions(+), 43 deletions(-) diff --git a/lib/doc/Additional.lyx b/lib/doc/Additional.lyx index 47219a58d0..24cfd1f43e 100644 --- a/lib/doc/Additional.lyx +++ b/lib/doc/Additional.lyx @@ -22485,7 +22485,7 @@ EmbeddedObjects \end_layout \begin_layout Section -LyX Multiple Columns +Multiple Columns \end_layout \begin_layout Standard diff --git a/lib/doc/Customization.lyx b/lib/doc/Customization.lyx index d94969b636..7dcf3f5ce9 100644 --- a/lib/doc/Customization.lyx +++ b/lib/doc/Customization.lyx @@ -30,9 +30,6 @@ \pdfbookmark[1]{\contentsname}{} \myTOC \mainmatter } - -% used for multi-column text -\usepackage{multicol} \end_preamble \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \use_default_options false diff --git a/lib/doc/de/Customization.lyx b/lib/doc/de/Customization.lyx index c386e246f9..31a844e711 100644 --- a/lib/doc/de/Customization.lyx +++ b/lib/doc/de/Customization.lyx @@ -34,14 +34,6 @@ \pdfbookmark[1]{\contentsname}{} \myTOC \mainmatter } - -% redefine the \LyX macro for PDF bookmarks -\def\LyX{\texorpdfstring{% - L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} - {LyX }} - -% wird für mehrspaltigen Text benötigt -\usepackage{multicol} \end_preamble \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \use_default_options false diff --git a/lib/doc/es/Customization.lyx b/lib/doc/es/Customization.lyx index 030309d33d..753783d6c0 100644 --- a/lib/doc/es/Customization.lyx +++ b/lib/doc/es/Customization.lyx @@ -30,9 +30,6 @@ \pdfbookmark[1]{\contentsname}{} \myTOC \mainmatter } - -% used for multi-column text -\usepackage{multicol} \end_preamble \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \use_default_options false @@ -129,7 +126,7 @@ End \papercolumns 1 \papersides 2 \paperpagestyle headings -\tracking_changes true +\tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 diff --git a/lib/doc/eu/Customization.lyx b/lib/doc/eu/Customization.lyx index 796f4a6a88..febcc240dd 100644 --- a/lib/doc/eu/Customization.lyx +++ b/lib/doc/eu/Customization.lyx @@ -3,9 +3,6 @@ \begin_document \begin_header \textclass scrbook -\begin_preamble -\usepackage{multicol} -\end_preamble \use_default_options false \maintain_unincluded_children false \language basque diff --git a/lib/doc/fr/Customization.lyx b/lib/doc/fr/Customization.lyx index a3b5e3d956..44b52bf9c6 100644 --- a/lib/doc/fr/Customization.lyx +++ b/lib/doc/fr/Customization.lyx @@ -29,9 +29,6 @@ \pdfbookmark[1]{\contentsname}{} \myTOC \mainmatter } - -% used for multi-column text -\usepackage{multicol} \end_preamble \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \use_default_options false @@ -3160,7 +3157,7 @@ Si vous avez trouvé une erreur dans le document original, corrigez-la et \begin_layout Standard \begin_inset Branch Obsolete -status open +status collapsed \begin_layout Section Support de Clavier International diff --git a/lib/doc/it/Customization.lyx b/lib/doc/it/Customization.lyx index 1193fdf909..332db487a5 100644 --- a/lib/doc/it/Customization.lyx +++ b/lib/doc/it/Customization.lyx @@ -2,12 +2,68 @@ \lyxformat 413 \begin_document \begin_header -\textclass book +\textclass scrbook +\begin_preamble +% DO NOT ALTER THIS PREAMBLE!!! +% +% This preamble is designed to ensure that this document prints +% out as advertised. If you mess with this preamble, +% parts of this 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 + +\usepackage{ifpdf} % part of the hyperref bundle +\ifpdf % if pdflatex is used + + % set fonts for nicer pdf view + \IfFileExists{lmodern.sty} + {\usepackage{lmodern}}{} + +\fi % end if pdflatex is used + +% 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 +\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \use_default_options false +\begin_modules +logicalmkup +\end_modules \maintain_unincluded_children false +\begin_local_layout +Format 35 +InsetLayout Flex:MenuItem +LyxType charstyle +LabelString menu +LatexType command +LatexName menuitem +Font +Family Sans +EndFont +Preamble +\newcommand*{\menuitem}[1]{{\sffamily #1}} +EndPreamble +End +# In case we need to do with sans... +#InsetLayout CharStyle:Code +#Font +#Family Sans +#EndFont +#Preamble +#\renewcommand{\code}[1]{{\sffamily #1}} +#EndPreamble +#End +\end_local_layout \language italian \language_package default -\inputencoding default +\inputencoding auto \fontencoding global \font_roman default \font_sans default @@ -24,14 +80,28 @@ \output_sync 0 \bibtex_command default \index_command default -\paperfontsize default +\paperfontsize 12 \spacing single -\use_hyperref false +\use_hyperref true +\pdf_title "LyX Configuration Manual" +\pdf_author "LyX Team" +\pdf_subject "LyX-documentation Customization" +\pdf_keywords "LyX, documentation, customization" +\pdf_bookmarks true +\pdf_bookmarksnumbered true +\pdf_bookmarksopen true +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks true +\pdf_backref false +\pdf_pdfusetitle false +\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" \papersize default \use_geometry false \use_amsmath 0 \use_esint 0 -\use_mhchem 1 +\use_mhchem 0 \use_mathdots 1 \cite_engine basic \use_bibtopic false @@ -55,7 +125,7 @@ \output_changes false \html_math_output 0 \html_css_as_file 0 -\html_be_strict false +\html_be_strict true \end_header \begin_body @@ -953,17 +1023,9 @@ reference "sec:autodetected" \end_layout \begin_layout Chapter -Il popup -\family sans -\bar under -E -\bar default -dit\SpecialChar \menuseparator - -\bar under -P -\bar default -references +Il +\lang english +Preferences dialog \end_layout \begin_layout Section diff --git a/lib/doc/ja/Customization.lyx b/lib/doc/ja/Customization.lyx index d6c768838b..1885401ab3 100644 --- a/lib/doc/ja/Customization.lyx +++ b/lib/doc/ja/Customization.lyx @@ -31,9 +31,6 @@ \myTOC \mainmatter } -% used for multi-column text -\usepackage{multicol} - % Added only for Japanese translation % This is needed to use \textquotedbl (this doesn't exist in OT1 encoding) \usepackage[T1]{fontenc}