mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +00:00
EmbeddedObjects manual: - it seems that the package "colortbl" is not standard on all systems, so treat it like the packages arydshln and marginnote in the document
- set correct language for the dummy documents - small tweaks for the German version git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19808 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
735ea89b74
commit
fa0f59c4b6
@ -95,10 +95,17 @@
|
||||
% used for colored tables
|
||||
\@ifundefined{textcolor}
|
||||
{\usepackage{color}}{}
|
||||
\usepackage{colortbl}
|
||||
\definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
|
||||
\definecolor{lightgrey}{gray}{0.8}
|
||||
|
||||
% check for package colortbl
|
||||
% used for colored table cells
|
||||
\newboolean{colortbl}
|
||||
\IfFileExists{colortbl.sty}
|
||||
{\usepackage{colortbl}
|
||||
\setboolean{colortbl}{true}}
|
||||
{\setboolean{colortbl}{false}}
|
||||
|
||||
% used for multirows
|
||||
\usepackage{multirow}
|
||||
%\renewcommand{\multirowsetup}{\centering}
|
||||
@ -293,7 +300,11 @@ To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
|
||||
\series bold
|
||||
arydshln
|
||||
\series default
|
||||
and
|
||||
,
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
, and
|
||||
\series bold
|
||||
marginnote
|
||||
\series default
|
||||
@ -13940,6 +13951,37 @@ name "LaTeX-packages ! colortbl"
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
ifcolortbl
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
The following section part will only be displayed when you have the LaTeX-packag
|
||||
e
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
is installed.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -14427,6 +14469,60 @@ i
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
else
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
The following will be displayed when the LaTeX-package
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
is not installed:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
You need to install the package
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
to see the content of this section in the output.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
fi
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
@ -17867,7 +17963,7 @@ You need to install the package
|
||||
\series bold
|
||||
arydshln
|
||||
\series default
|
||||
to see the contents of this section in the output.
|
||||
to see the content of this section in the output.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
@ -3,7 +3,7 @@
|
||||
\begin_document
|
||||
\begin_header
|
||||
\textclass scrbook
|
||||
\language english
|
||||
\language ngerman
|
||||
\inputencoding auto
|
||||
\font_roman default
|
||||
\font_sans default
|
||||
@ -27,7 +27,7 @@
|
||||
\tocdepth 3
|
||||
\paragraph_separation skip
|
||||
\defskip medskip
|
||||
\quotes_language english
|
||||
\quotes_language german
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
|
@ -3,7 +3,7 @@
|
||||
\begin_document
|
||||
\begin_header
|
||||
\textclass scrbook
|
||||
\language english
|
||||
\language ngerman
|
||||
\inputencoding auto
|
||||
\font_roman default
|
||||
\font_sans default
|
||||
@ -27,7 +27,7 @@
|
||||
\tocdepth 3
|
||||
\paragraph_separation skip
|
||||
\defskip medskip
|
||||
\quotes_language english
|
||||
\quotes_language german
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
|
@ -8,7 +8,7 @@
|
||||
\usepackage{ifpdf}
|
||||
\ifpdf
|
||||
|
||||
% Fonts fuer huebschere PDF-Ansichten
|
||||
% Schriften für bessere PDF-Ansichten
|
||||
\IfFileExists{lmodern.sty}
|
||||
{\usepackage{lmodern}} % wenn vorhanden
|
||||
{% wenn nicht vorhanden
|
||||
@ -36,16 +36,16 @@
|
||||
|
||||
\fi % Ende von: wenn pdflatex benutzt wird
|
||||
|
||||
% Setzt den Link fuer Spruenge zu Gleitabbildungen
|
||||
% Setzt den Link fuer Sprünge zu Gleitabbildungen
|
||||
% auf den Anfang des Gelitobjekts und nicht aufs Ende
|
||||
\usepackage[figure]{hypcap}
|
||||
|
||||
% Die Seiten des Inhaltsverzeichnisses werden roemisch numeriert,
|
||||
% ein PDF-Lesezeichen fuer das Inhaltsverzeichnis wird hinzugefuegt
|
||||
% Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
|
||||
% ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
|
||||
\pagenumbering{roman}
|
||||
\let\myTOC\tableofcontents
|
||||
\renewcommand{\tableofcontents}{%
|
||||
\pdfbookmark[1]{Contents}{}
|
||||
\pdfbookmark[1]{Inhaltsverzeichnis}{}
|
||||
\myTOC
|
||||
\cleardoublepage
|
||||
\pagenumbering{arabic}}
|
||||
@ -74,14 +74,14 @@
|
||||
\let\figure\MyFigure
|
||||
\let\endfigure\MyEndfigure}
|
||||
|
||||
% ermoeglicht das Berechnen von Werten
|
||||
% ermöglicht das Berechnen von Werten
|
||||
\usepackage{calc}
|
||||
|
||||
% Ermoeglicht besondere Tabellenzellen-Ausrichtungen
|
||||
% Ermöglicht besondere Tabellenzellen-Ausrichtungen
|
||||
\usepackage{dcolumn}
|
||||
|
||||
%Vergroessert den Teil der Seite, in dem Gleitobjekte
|
||||
% unten angeordnet werden duerfen
|
||||
%Vergrößert den Teil der Seite, in dem Gleitobjekte
|
||||
% unten angeordnet werden dürfen
|
||||
\renewcommand{\bottomfraction}{0.5}
|
||||
|
||||
% Vermeidet, dass Gleitobjekte vor ihrem Abschnitt gedruckt werden
|
||||
@ -93,18 +93,25 @@
|
||||
% wird bei farbigen Tabellen benutzt
|
||||
\@ifundefined{textcolor}
|
||||
{\usepackage{color}}{}
|
||||
\usepackage{colortbl}
|
||||
\definecolor{dunkelgruen}{cmyk}{0.5, 0, 1, 0}
|
||||
\definecolor{hellgrau}{gray}{0.8}
|
||||
|
||||
% wird fuer Mehrfachzeilen benutzt
|
||||
% testen ob paket colortbl installiert ist
|
||||
% wird für farbige Tabellenzellen benutzt
|
||||
\newboolean{colortbl}
|
||||
\IfFileExists{colortbl.sty}
|
||||
{\usepackage{colortbl}
|
||||
\setboolean{colortbl}{true}}
|
||||
{\setboolean{colortbl}{false}}
|
||||
|
||||
% wird für Mehrfachzeilen benutzt
|
||||
\usepackage{multirow}
|
||||
%\renewcommand{\multirowsetup}{\centering}
|
||||
|
||||
% wird fuer Tabellen im Buchstil benutzt
|
||||
\usepackage{booktabs}
|
||||
|
||||
% wird benutzt, um Tabellenzellen zu vergroessern
|
||||
% wird benutzt, um Tabellenzellen zu vergrößern
|
||||
\@ifundefined{extrarowheight}
|
||||
{\usepackage{array}}{}
|
||||
\setlength{\extrarowheight}{2pt}
|
||||
@ -145,19 +152,19 @@
|
||||
{\textcolor{blue}\bgroup}{\egroup}
|
||||
|
||||
% ------------------------------------
|
||||
% Pruefung auf benoetigte LaTeXPakete
|
||||
% Prüfung auf benötigte LaTeXPakete
|
||||
\usepackage{ifthen}
|
||||
|
||||
% Pruefung auf arydshln
|
||||
% fuer Tabellen mit gestrichelten Linien
|
||||
% für Tabellen mit gestrichelten Linien
|
||||
\newboolean{arydshln}
|
||||
\IfFileExists{arydshln.sty}
|
||||
{\usepackage{arydshln}
|
||||
\setboolean{arydshln}{true}}
|
||||
{\setboolean{arydshln}{false}}
|
||||
|
||||
% Pruefung auf marginnote
|
||||
% fuer Randnotizen
|
||||
% Prüfung auf marginnote
|
||||
% für Randnotizen
|
||||
\newboolean{marginnote}
|
||||
\IfFileExists{marginnote.sty}
|
||||
{\usepackage{marginnote}
|
||||
@ -165,14 +172,14 @@
|
||||
\setboolean{marginnote}{true}}
|
||||
{\setboolean{marginnote}{false}}
|
||||
|
||||
% Damit der Index den Namen "Stichwortverzeichnis" erhält
|
||||
\usepackage[ngerman]{babel}
|
||||
\addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
% Umdefinieren des Makros \LyX für PDF-Lesezeichen
|
||||
\def\LyX{\texorpdfstring{%
|
||||
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
|
||||
{LyX }}
|
||||
|
||||
% Damit der Index den Namen "Stichwortverzeichnis" erhält
|
||||
\usepackage[ngerman]{babel}
|
||||
\addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
|
||||
\end_preamble
|
||||
\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
|
||||
\language ngerman
|
||||
@ -297,7 +304,7 @@ Version 1.5.2-0
|
||||
\end_layout
|
||||
|
||||
\begin_layout Date
|
||||
letzte Änderung: 6.
|
||||
letzte Änderung: 26.
|
||||
August 2007
|
||||
\end_layout
|
||||
|
||||
@ -335,6 +342,10 @@ Um alle Teile diese Handbuches als DVI, HTML, PDF, PostScript oder Rich
|
||||
|
||||
\series bold
|
||||
arydshln
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
und
|
||||
\series bold
|
||||
@ -14632,7 +14643,7 @@ name "Farbe ! für Text"
|
||||
\end_inset
|
||||
|
||||
benötigen, markieren Sie diesen und ändern die Farbe durch einen Klick
|
||||
auf
|
||||
auf den Werkzeugleistenknopf
|
||||
\begin_inset Graphics
|
||||
filename ../../images/dialog-show_character.xpm
|
||||
scale 70
|
||||
@ -14641,7 +14652,7 @@ name "Farbe ! für Text"
|
||||
|
||||
\end_inset
|
||||
|
||||
oder
|
||||
oder über das Menü
|
||||
\family sans
|
||||
Bearbeiten\SpecialChar \menuseparator
|
||||
Textstil\SpecialChar \menuseparator
|
||||
@ -14670,6 +14681,36 @@ name "LaTeX-Pakete ! colortbl"
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
ifcolortbl
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
Die folgende Teil wird nur gedruckt, wenn das LaTeX-Paket
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
installiert ist.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -15196,6 +15237,60 @@ i
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
else
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
Die folgende Teil wird gedruckt, wenn das LaTeX-Paket
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
nicht installiert ist:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Sie müssen das LaTeX-Paket
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
installiert haben um den Inhalt dieses Abschnitts zu sehen.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
fi
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
@ -18237,7 +18332,7 @@ ifarydshln
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
Die folgende Tabelle wird nur gedruckt, wenn das LaTeX-Paket
|
||||
Die folgende Teil wird nur gedruckt, wenn das LaTeX-Paket
|
||||
\series bold
|
||||
arydshln
|
||||
\series default
|
||||
@ -18763,7 +18858,7 @@ else
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
Die folgende Tabelle wird gedruckt, wenn das LaTeX-Paket
|
||||
Die folgende Teil wird gedruckt, wenn das LaTeX-Paket
|
||||
\series bold
|
||||
arydshln
|
||||
\series default
|
||||
|
@ -3,7 +3,7 @@
|
||||
\begin_document
|
||||
\begin_header
|
||||
\textclass scrbook
|
||||
\language english
|
||||
\language spanish
|
||||
\inputencoding auto
|
||||
\font_roman default
|
||||
\font_sans default
|
||||
|
@ -3,7 +3,7 @@
|
||||
\begin_document
|
||||
\begin_header
|
||||
\textclass scrbook
|
||||
\language english
|
||||
\language spanish
|
||||
\inputencoding auto
|
||||
\font_roman default
|
||||
\font_sans default
|
||||
|
@ -85,10 +85,17 @@
|
||||
% used for colored tables
|
||||
\@ifundefined{textcolor}
|
||||
{\usepackage{color}}{}
|
||||
\usepackage{colortbl}
|
||||
\definecolor{verdeoscuro}{cmyk}{0.5, 0, 1, 0.5}
|
||||
\definecolor{grisclaro}{gray}{0.8}
|
||||
|
||||
% check for package colortbl
|
||||
% used for colored table cells
|
||||
\newboolean{colortbl}
|
||||
\IfFileExists{colortbl.sty}
|
||||
{\usepackage{colortbl}
|
||||
\setboolean{colortbl}{true}}
|
||||
{\setboolean{colortbl}{false}}
|
||||
|
||||
% used for multirows
|
||||
\usepackage{multirow}
|
||||
%\renewcommand{\multirowsetup}{\centering}
|
||||
@ -302,6 +309,10 @@ Para exportar todas las partes de este documento a PDF, PS, o DVI, deben
|
||||
estar instalados los paquetes LaTeX
|
||||
\series bold
|
||||
arydshln
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
y
|
||||
\series bold
|
||||
@ -375,8 +386,7 @@ Para insertar una imagen en un documento, sitúa el cursor en el lugar del
|
||||
o en el menú
|
||||
\family sans
|
||||
Insertar\SpecialChar \menuseparator
|
||||
Imagen\SpecialChar \ldots{}
|
||||
|
||||
Imagen
|
||||
\family default
|
||||
Aparecerá un diálogo para escoger el archivo a cargar.
|
||||
La imagen aparecerá en el archivo de salida exactamente en la misma posición
|
||||
@ -13949,6 +13959,37 @@ name "LaTeX-paquetes ! colortbl"
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
ifcolortbl
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
|
||||
LaTeX
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -14434,6 +14475,61 @@ i
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
else
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
|
||||
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Debes instalar el paquete LaTeX
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
para ver la parte siguiente en la salida.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
fi
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
|
Loading…
Reference in New Issue
Block a user