mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
EmbeddedObjects.lyx: check for the sidecap package, since it is e.g. no longer by default installed on MiKTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23269 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4a067a65f9
commit
389b03c870
@ -8,14 +8,18 @@ Function UpdateModifiedFiles
|
||||
SetOutPath "$INSTDIR\Resources"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\chkconfig.ltx"
|
||||
SetOutPath "$INSTDIR\Resources\doc"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\EmbeddedObjects.lyx"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\LaTeXConfig.lyx.in"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\Math.lyx"
|
||||
SetOutPath "$INSTDIR\Resources\doc\de"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\de\EmbeddedObjects.lyx"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\de\Math.lyx"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\de\Userguide.lyx"
|
||||
SetOutPath "$INSTDIR\Resources\doc\es"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\es\EmbeddedObjects.lyx"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\es\Math.lyx"
|
||||
SetOutPath "$INSTDIR\Resources\doc\fr"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\fr\EmbeddedObjects.lyx"
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\doc\fr\Math.lyx"
|
||||
SetOutPath "$INSTDIR\Resources\lyx2lyx" # always here
|
||||
File "${PRODUCT_SOURCEDIR}\Resources\lyx2lyx\lyx2lyx_version.py" # always here
|
||||
|
@ -1,4 +1,4 @@
|
||||
#LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
|
||||
#LyX 1.5.5svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 276
|
||||
\begin_document
|
||||
\begin_header
|
||||
@ -172,6 +172,15 @@
|
||||
\setboolean{marginnote}{true}}
|
||||
{\setboolean{marginnote}{false}}
|
||||
|
||||
% check for package sidecap
|
||||
% used for captions on the side
|
||||
\newboolean{sidecap}
|
||||
\IfFileExists{sidecap.sty}
|
||||
{\usepackage{sidecap}
|
||||
\let\marginpar\marginnote
|
||||
\setboolean{sidecap}{true}}
|
||||
{\setboolean{sidecap}{false}}
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
\def\LyX{\texorpdfstring{%
|
||||
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
|
||||
@ -277,7 +286,7 @@ author: Uwe Stöhr
|
||||
\newline
|
||||
|
||||
\family sans
|
||||
Version 1.5.4
|
||||
Version 1.5.5
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -302,9 +311,13 @@ arydshln
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
, and
|
||||
,
|
||||
\series bold
|
||||
marginnote
|
||||
\series default
|
||||
, and
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
must be installed.
|
||||
If they are not installed you can export the document anyway but the sections
|
||||
@ -20845,6 +20858,36 @@ leftcaption
|
||||
, respectively.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
ifsidecap
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
The following section will only be displayed when the LaTeX-package
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
is installed.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
To place in LyX the caption of a float on the side, it is necessary to add
|
||||
these commands to the document preamble:
|
||||
@ -21699,6 +21742,60 @@ FigBesEnd
|
||||
\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
|
||||
sidecap
|
||||
\series default
|
||||
is not installed:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
You need to install the LaTeX-package
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
to see the following part 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 Section
|
||||
|
@ -1,4 +1,4 @@
|
||||
#LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
|
||||
#LyX 1.5.5svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 276
|
||||
\begin_document
|
||||
\begin_header
|
||||
@ -170,6 +170,15 @@
|
||||
\setboolean{marginnote}{true}}
|
||||
{\setboolean{marginnote}{false}}
|
||||
|
||||
% Prüfung auf sidecap
|
||||
% für seitliche Beschriftungen
|
||||
\newboolean{sidecap}
|
||||
\IfFileExists{sidecap.sty}
|
||||
{\usepackage{sidecap}
|
||||
\let\marginpar\marginnote
|
||||
\setboolean{sidecap}{true}}
|
||||
{\setboolean{sidecap}{false}}
|
||||
|
||||
% Umdefinieren des Makros \LyX für PDF-Lesezeichen
|
||||
\def\LyX{\texorpdfstring{%
|
||||
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
|
||||
@ -298,11 +307,11 @@ Autor: Uwe Stöhr <uwestoehr@web.de>
|
||||
\newline
|
||||
|
||||
\family sans
|
||||
Version 1.5.4
|
||||
Version 1.5.5
|
||||
\end_layout
|
||||
|
||||
\begin_layout Date
|
||||
letzte Änderung: 8.
|
||||
letzte Änderung: 27.
|
||||
Februar 2008
|
||||
\end_layout
|
||||
|
||||
@ -329,9 +338,13 @@ arydshln
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
und
|
||||
,
|
||||
\series bold
|
||||
marginnote
|
||||
\series default
|
||||
und
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
.
|
||||
Wenn sie nicht installiert sind, erfolgt die Ausgabe ohne die Teile, in
|
||||
@ -21797,6 +21810,36 @@ leftcaption
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
ifsidecap
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
Der folgende Abschnitt wird nur gedruckt, wenn das LaTeX-Paket
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
installiert ist.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Um die Beschriftung mit LyX seitlich zu drucken, müssen Sie folgende Befehle
|
||||
in den LaTeX-Vorspann schreiben:
|
||||
@ -22629,6 +22672,60 @@ FigBesEnd
|
||||
\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
|
||||
Der folgende Hinweis wird gedruckt, wenn das LaTeX-Paket
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
nicht installiert ist:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Das LaTeX-Paket
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
muss installiert sein, um den folgenden Abschnitt in der Ausgabe 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 Section
|
||||
|
@ -1,4 +1,4 @@
|
||||
#LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
|
||||
#LyX 1.5.5svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 276
|
||||
\begin_document
|
||||
\begin_header
|
||||
@ -172,6 +172,15 @@
|
||||
\setboolean{marginnote}{true}}
|
||||
{\setboolean{marginnote}{false}}
|
||||
|
||||
% check for package sidecap
|
||||
% used for captions on the side
|
||||
\newboolean{sidecap}
|
||||
\IfFileExists{sidecap.sty}
|
||||
{\usepackage{sidecap}
|
||||
\let\marginpar\marginnote
|
||||
\setboolean{sidecap}{true}}
|
||||
{\setboolean{sidecap}{false}}
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
\def\LyX{\texorpdfstring{%
|
||||
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
|
||||
@ -291,7 +300,7 @@ Traducción de: Ignacio García
|
||||
\newline
|
||||
|
||||
\family sans
|
||||
Versión 1.5.4
|
||||
Versión 1.5.5
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -316,9 +325,13 @@ arydshln
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
y
|
||||
,
|
||||
\series bold
|
||||
marginnote
|
||||
\series default
|
||||
y
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
.
|
||||
Si no están instalados, también podrás exportar el documento, pero las
|
||||
@ -20945,6 +20958,37 @@ leftcaption
|
||||
, respectivamente.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
ifsidecap
|
||||
\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
|
||||
sidecap
|
||||
\series default
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Para situar en LyX la leyenda de un flotante al lado, es necesario añadir
|
||||
estos comandos al preámbulo del documento:
|
||||
@ -21742,7 +21786,7 @@ j
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status open
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
@ -21758,7 +21802,7 @@ TabBesEnd
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status open
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
@ -21821,6 +21865,61 @@ FigBesEnd
|
||||
\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
|
||||
sidecap
|
||||
\series default
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Debes instalar el paquete LaTeX
|
||||
\series bold
|
||||
sidecap
|
||||
\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 Section
|
||||
|
@ -1,4 +1,4 @@
|
||||
#LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
|
||||
#LyX 1.5.5svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 276
|
||||
\begin_document
|
||||
\begin_header
|
||||
@ -172,6 +172,15 @@
|
||||
\setboolean{marginnote}{true}}
|
||||
{\setboolean{marginnote}{false}}
|
||||
|
||||
% check for package sidecap
|
||||
% used for captions on the side
|
||||
\newboolean{sidecap}
|
||||
\IfFileExists{sidecap.sty}
|
||||
{\usepackage{sidecap}
|
||||
\let\marginpar\marginnote
|
||||
\setboolean{sidecap}{true}}
|
||||
{\setboolean{sidecap}{false}}
|
||||
|
||||
% redefine the \LyX macro for PDF bookmarks
|
||||
\def\LyX{\texorpdfstring{%
|
||||
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
|
||||
@ -285,7 +294,7 @@ version 1.5.2 - novembre 2007
|
||||
\newline
|
||||
|
||||
\family sans
|
||||
Version 1.5.4
|
||||
Version 1.5.5
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -310,9 +319,13 @@ arydshln
|
||||
\series bold
|
||||
colortbl
|
||||
\series default
|
||||
, et
|
||||
,
|
||||
\series bold
|
||||
marginnote
|
||||
\series default
|
||||
, et
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
doivent être installés.
|
||||
Si ce n'est pas le cas, vous pouvez quand même exporter le document mais
|
||||
@ -21200,6 +21213,36 @@ leftcaption
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
ifsidecap
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
La section suivante ne sera affichée que si le paquetage LaTeX
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
a été installé.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Pour pouvoir placer la légende d'un flottant à côté de celui-ci, vous devez
|
||||
ajouter ces commandes dans le préambule de votre document :
|
||||
@ -22054,6 +22097,60 @@ FigBesEnd
|
||||
\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
|
||||
Ce qui suit sera affiché si le paquetage LaTeX
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
n'est pas installé :
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Vous devez installer le paquetage LaTeX
|
||||
\series bold
|
||||
sidecap
|
||||
\series default
|
||||
pour voir la suite de cette section dans la sortie imprimée.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
fi
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
|
Loading…
x
Reference in New Issue
Block a user