Customization.lyx:

- modified sec. 5.1 a bit, see latest post o the list
- adapt the other language versions accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35508 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-09-26 17:55:10 +00:00
parent 29f93c0f86
commit ffb2398ae7
4 changed files with 1259 additions and 706 deletions

View File

@ -38,9 +38,8 @@
% used for multi-column text % used for multi-column text
\usepackage{multicol} \usepackage{multicol}
\usepackage{inputenc}
\end_preamble \end_preamble
\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
\use_default_options false \use_default_options false
\begin_modules \begin_modules
logicalmkup logicalmkup
@ -95,12 +94,12 @@ End
\pdf_colorlinks true \pdf_colorlinks true
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle false \pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true,pdfstartview=XYZ, plainpages=false, pdfpagelabels" \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default \papersize default
\use_geometry false \use_geometry false
\use_amsmath 0 \use_amsmath 0
\use_esint 0 \use_esint 0
\use_mhchem 1 \use_mhchem 0
\use_mathdots 1 \use_mathdots 1
\cite_engine basic \cite_engine basic
\use_bibtopic false \use_bibtopic false
@ -5535,19 +5534,18 @@ latex foiltex.ins
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
Now we need to decide where to install the package. Now you need to decide if the package should be available for all users
or only for you.
\end_layout \end_layout
\begin_deeper \begin_deeper
\begin_layout Enumerate \begin_layout Enumerate
On *nix systems (Linux, OSX, etc), you have several choices. On *nix systems (Linux, OSX, etc.), if you want the new package to be available
If you want the new package to be available for all users on your system, for all users on your system, then install it in your `local' TeX tree,
then you should install it in your `local' TeX tree; if you want (or need) otherwise install it in your own `user' TeX tree.
it to be available just for you, then you can install it in your own `user'
TeX tree.
Where these trees should be created, if they do not already exist, depends Where these trees should be created, if they do not already exist, depends
upon the details of your system. on your system.
To find out where they are, look in the file To find this out, look in the file
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
@ -5562,17 +5560,11 @@ texmf.cnf
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
This usually lives in the directory This is usually in the directory
\begin_inset Flex CharStyle:Code \family sans
status collapsed
\begin_layout Plain Layout
$TEXMF/web2c $TEXMF/web2c
\end_layout \family default
, though you can execute the command
\end_inset
, though you can run
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
@ -5598,17 +5590,10 @@ TEXMFLOCAL
\end_inset \end_inset
variable; this is usually somewhere like variable; this is usually somewhere like
\begin_inset Flex URL \family sans
status collapsed
\begin_layout Plain Layout
/usr/local/share/texmf/ /usr/local/share/texmf/
\end_layout \family default
.
\end_inset
.
The location of the `user' TeX tree is defined by The location of the `user' TeX tree is defined by
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
@ -5620,163 +5605,47 @@ TEXMFHOME
\end_inset \end_inset
and is commonly and is commonly
\begin_inset Flex CharStyle:Code \family sans
status collapsed
\begin_layout Plain Layout
$HOME/texmf/ $HOME/texmf/
\end_layout \family default
.
\end_inset (If these variables are not predefined, you have to define them.) You'll
probably need root permissions to create or modify the `local' tree, but
. your `user' tree shouldn't have such limitations.
(If these variables are not predefined, you can define them.) You'll probably
need root permissions to create or modify the `local' tree, but your `user'
tree shouldn't have such limitations.
\begin_inset Newline newline \begin_inset Newline newline
\end_inset \end_inset
In general, we'd recommend installing in the user tree unless you have reason In general, it is recommended to install in the user tree because your user
not to do so. will not be modified or even overwritten when you upgrade your system.
One advantage to this is that your user tree is less likely to be over-written It will typically also be backed up together with everything else when
or deleted when you upgrade, and it will typically be backed up together you backup your home directory (which, of course, you do on a regular basis).
with everything else when you backup your home directory (which, of course,
you do on a regular basis).
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
On Windows, change to the folder where LaTeX is installed and then change On Windows, if you want the new package to be available for all users on
to the subfoler your system, change to the folder where LaTeX is installed and then change
\begin_inset Flex URL to the subfolder
status open \family sans
~
\begin_layout Plain Layout \backslash
tex tex
\backslash \backslash
latex latex
\backslash \family default
\end_layout
\end_inset
. .
(For MiKTeX, this would be by default the folder (For MiKTeX, this would be by default the folder
\begin_inset Flex URL \family sans
status open
\begin_layout Plain Layout
~: ~:
\backslash \backslash
Programme Programs
\backslash \backslash
MiKTeX MiKTeX
\backslash \backslash
tex tex
\backslash \backslash
latex latex
\end_layout \family default
.) Create there a new folder
\end_inset
)
\begin_inset Note Note
status open
\begin_layout Plain Layout
Note: These should be URLs, so that lines can be broken properly.
Also, the path is wrong, in general.
\begin_inset Quotes eld
\end_inset
Programme
\begin_inset Quotes erd
\end_inset
is a German word, obviously, and on systems installed with English it would
be
\begin_inset Quotes eld
\end_inset
Programs
\begin_inset Quotes erd
\end_inset
.
Who knows what it is elsewhere.
I also don't know myself what the
\begin_inset Quotes eld
\end_inset
~
\begin_inset Quotes erd
\end_inset
means in Windows pathnames.
Does it mean something like
\begin_inset Quotes eld
\end_inset
boot drive
\begin_inset Quotes erd
\end_inset
? I don't know how to fix this.
Maybe one could say something like
\begin_inset Quotes eld
\end_inset
PROGDIR
\backslash
MiKTeX
\backslash
tex
\backslash
latex
\begin_inset Quotes erd
\end_inset
, and then say: where
\begin_inset Quotes eld
\end_inset
PROGDIR
\begin_inset Quotes erd
\end_inset
is the default program installation location, something like
\begin_inset Quotes eld
\end_inset
C:
\backslash
Programs
\backslash
\begin_inset Quotes erd
\end_inset
or
\begin_inset Quotes eld
\end_inset
C:
\backslash
Programme
\backslash
\begin_inset Quotes erd
\end_inset
, depending upon your language, boot drive, etc.
\end_layout
\end_inset
Create there a new folder
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
@ -5787,7 +5656,89 @@ foiltex
\end_inset \end_inset
and copy all files of the package into it. and copy all files of the package into it.
If the package should only available for you or you don't have admin permission
s, do the same, but in the local LaTeX folder.
E.
\begin_inset space \thinspace{}
\end_inset
g.
\begin_inset space ~
\end_inset
on MiKTeX
\begin_inset space ~
\end_inset
2.8 this would be on WinXP the folder
\begin_inset Newline newline
\end_inset
\family sans
~:
\backslash
Documents and Settings
\backslash
<username>
\backslash
Application Data
\backslash
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\family sans
~:
\backslash
\end_layout
\end_inset
MiKTeX
\backslash
2.8
\backslash
tex
\backslash
latex
\family default
\begin_inset Newline newline
\end_inset
, on WinVista it would be the folder
\begin_inset Newline newline
\end_inset
\family sans
~:
\backslash
Users
\backslash
<username>
\backslash
AppData
\backslash
Roaming
\backslash
2.8
\backslash
MiKTeX
\backslash
tex
\backslash
latex
\family default
.
\end_layout \end_layout
\end_deeper \end_deeper
@ -5809,26 +5760,25 @@ texhash
\end_inset \end_inset
from a console. from a console.
If you installed the package somewhere you needed root permissions, then If you installed the package for all users, then you will probably need
you will need to run to have root permissions for that.
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
texhash
\end_layout
\end_inset
with root permissions also.
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
For MiKTeX, start the program Settings For MiKTeX, if you have installed the package for all users, start the program
\begin_inset Quotes eld
\end_inset
Settings
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
(admin) and press the button marked (Admin)
\begin_inset Quotes erd
\end_inset
and press the button marked
\begin_inset Quotes eld \begin_inset Quotes eld
\end_inset \end_inset
@ -5837,12 +5787,21 @@ Refresh FNDB
\end_inset \end_inset
. .
Otherwise start the program
\begin_inset Quotes eld
\end_inset
Settings
\begin_inset Quotes erd
\end_inset
and do the same.
\end_layout \end_layout
\end_deeper \end_deeper
\begin_layout Enumerate \begin_layout Enumerate
Finally, we need to tell LyX what we have done. Finally, you need to tell LyX that there are new packages available.
So, in LyX, run So, in LyX, use the menu
\begin_inset Flex CharStyle:MenuItem \begin_inset Flex CharStyle:MenuItem
status collapsed status collapsed
@ -5855,19 +5814,23 @@ Reconfigure
\end_inset \end_inset
and then restart LyX so it will recognize the new package. and then restart LyX.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Now the package is installed. Now the package is installed.
In our example, till now appear as In our example, the document class
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
Slides (FoilTe Slides
\begin_inset space ~
\end_inset
(FoilTe
\begin_inset ERT \begin_inset ERT
status open status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
@ -5881,7 +5844,7 @@ x)
\end_inset \end_inset
under will now be available under
\begin_inset Flex CharStyle:MenuItem \begin_inset Flex CharStyle:MenuItem
status collapsed status collapsed
@ -5898,9 +5861,20 @@ Document Class
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Sometimes, you will want to use a LaTeX class or package that does not automatic If you would like to use a LaTeX document class that is not even listed
ally appear. in the menu
If so, then you need to create a `layout' file for it. \begin_inset Flex CharStyle:MenuItem
status collapsed
\begin_layout Plain Layout
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\end_layout
\end_inset
, then you need to create a `layout' file for it.
That is the topic of the next section. That is the topic of the next section.
\end_layout \end_layout
@ -5948,7 +5922,7 @@ status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
Note that LyX is licensed under the General Public License, so any material Note that LyX is licensed under the General Public License, so any material
that is contribued to LyX must be similarly licensed. that is contributed to LyX must be similarly licensed.
\end_layout \end_layout
\end_inset \end_inset

View File

@ -35,12 +35,6 @@
\myTOC \myTOC
\mainmatter } \mainmatter }
% Formatierung von Legenden
\usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
% Damit der Index den Namen "Stichwortverzeichnis" erhält
\addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
% redefine the \LyX macro for PDF bookmarks % redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{% \def\LyX{\texorpdfstring{%
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
@ -49,8 +43,11 @@
% wird für mehrspaltigen Text benötigt % wird für mehrspaltigen Text benötigt
\usepackage{multicol} \usepackage{multicol}
\end_preamble \end_preamble
\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
\use_default_options false \use_default_options false
\begin_modules
logicalmkup
\end_modules
\maintain_unincluded_children false \maintain_unincluded_children false
\language ngerman \language ngerman
\inputencoding auto \inputencoding auto
@ -86,34 +83,35 @@
\pdf_colorlinks true \pdf_colorlinks true
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle false \pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels" \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default \papersize default
\use_geometry true \use_geometry false
\use_amsmath 0 \use_amsmath 0
\use_esint 0 \use_esint 0
\use_mhchem 1 \use_mhchem 0
\use_mathdots 1 \use_mathdots 0
\cite_engine basic \cite_engine basic
\use_bibtopic false \use_bibtopic false
\use_indices false \use_indices false
\paperorientation portrait \paperorientation portrait
\suppress_date false \suppress_date false
\branch OutDated
\selected 0
\filename_suffix 0
\color #faf0e6
\end_branch
\index Stichwortverzeichnis \index Stichwortverzeichnis
\shortcut idx \shortcut idx
\color #008000 \color #008000
\end_index \end_index
\leftmargin 35mm
\topmargin 35mm
\rightmargin 35mm
\bottommargin 35mm
\secnumdepth 3 \secnumdepth 3
\tocdepth 3 \tocdepth 3
\paragraph_separation indent \paragraph_separation indent
\paragraph_indentation default \paragraph_indentation default
\quotes_language german \quotes_language german
\papercolumns 1 \papercolumns 1
\papersides 1 \papersides 2
\paperpagestyle default \paperpagestyle headings
\tracking_changes false \tracking_changes false
\output_changes false \output_changes false
\html_math_output 0 \html_math_output 0
@ -168,11 +166,6 @@ Haase
Version 2.0.x Version 2.0.x
\end_layout \end_layout
\begin_layout Date
letzte Änderung: 21.
Juli 2009
\end_layout
\begin_layout Standard \begin_layout Standard
\begin_inset CommandInset toc \begin_inset CommandInset toc
LatexCommand tableofcontents LatexCommand tableofcontents
@ -199,8 +192,8 @@ behandelt.
Es kann hier nicht alles beschrieben werden, das an LyX individuell eingestellt Es kann hier nicht alles beschrieben werden, das an LyX individuell eingestellt
und verändert werden kann --- die Entwickler fügen Neuerungen schneller und verändert werden kann --- die Entwickler fügen Neuerungen schneller
ein, als wir sie dokumentieren können --- doch werden die grundlegenden ein, als wir sie dokumentieren können --- doch werden die grundlegenden
Fähigkeiten von LyX dokumentiert sowie für einige der etwas obskureren Fähigkeiten von LyX dokumentiert sowie für einige der etwas obskuren Hinweise
Hinweise gegeben. gegeben.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -4238,7 +4231,17 @@ Falls das Paket eine Datei mit der Endung
\begin_inset Quotes gld \begin_inset Quotes gld
\end_inset \end_inset
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
.ins .ins
\end_layout
\end_inset
\begin_inset Quotes grd \begin_inset Quotes grd
\end_inset \end_inset
@ -4263,16 +4266,115 @@ n.
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
Gehen Sie in den Ordner, in dem LaTeX installiert ist und wechseln dort Nun müssen Sie entscheiden, ob das Paket für alle Nutzer oder nur für Sie
in das Verzeichnis ~ verfügbar sein soll.
\backslash \end_layout
tex
\backslash \begin_deeper
latex. \begin_layout Enumerate
(Verwendet man MiKTeX, wäre es standardmäßig der Ordner Bei *nix Systemen (Linux, OSX, etc.), wenn Sie das Paket für alle Nutzer
installieren möchten, installieren Sie es in den lokalen TeX Ordner; anderenfal
ls installieren Sie es in dein eigenen
\begin_inset Quotes gld \begin_inset Quotes gld
\end_inset \end_inset
Benutzer
\begin_inset Quotes grd
\end_inset
-TeX Ordner.
Wo man diese Ordner anlegt, sofern sie nicht schon existieren, hängt von
Ihrem System ab.
Dazu schauen Sie in die Datei
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
texmf.cnf
\end_layout
\end_inset
.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Diese befindet sich normalerweise im Ordner
\family sans
$TEXMF/web2c
\family default
.
Falls nicht, führen Sie den Befehl
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
kpsewhich texmf.cnf
\end_layout
\end_inset
aus, um sie zu lokalisieren.
\end_layout
\end_inset
Der Ort des lokalen TeX Ordners ist in der Variable
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
TEXMFLOCAL
\end_layout
\end_inset
definiert; es ist üblicherweise der Pfad
\family sans
/usr/local/share/texmf/
\family default
.
Der Ort des Benutzer-TeX Ordners ist in der Variable
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
TEXMFHOME
\end_layout
\end_inset
definiert und ist üblicherweise der Pfad
\family sans
$HOME/texmf/
\family default
.
(Wenn diese Variablen nicht vordefiniert sind, müssen Sie diese selbst
definieren.) Sie brauchen wahrscheinlich Root-Rechte um in den lokalen TeX
Ordner zu schreiben, beim Benutzer-TeX Ordner ist die nicht nötig.
\begin_inset Newline newline
\end_inset
Allgemein empfiehlt es sich, Pakete in den Benutzer-TeX Ordner zu installieren,
da dieser nicht verändert oder gar überschrieben wird, wenn Sie ihr System
aktualisieren.
Des Weiteren wird er zusammen mit Ihren Nutzerdaten gesichert, wenn Sie
ein Backup machen (was Sie natürlich regelmäßig tun).
\end_layout
\begin_layout Enumerate
Bei Windows, wenn Sie das Paket für alle Nutzer installieren möchten, gehen
Sie in den Ordner, in dem LaTeX installiert ist und wechseln dort in das
Verzeichnis
\family sans
~tex
\backslash
latex
\family default
.
(Verwendet man MiKTeX, wäre es standardmäßig der Ordner
\family sans
~: ~:
\backslash \backslash
Programme Programme
@ -4282,18 +4384,8 @@ MiKTeX
tex tex
\backslash \backslash
latex latex
\begin_inset Quotes grd \family default
\end_inset .) Legen Sie dort einen neuen Ordner mit dem Namen
, unter Linux wäre es
\begin_inset Quotes gld
\end_inset
~/usr/local/texmf/
\begin_inset Quotes grd
\end_inset
.) Legen Sie dort einen neuen Ordner mit dem Namen
\begin_inset Quotes gld \begin_inset Quotes gld
\end_inset \end_inset
@ -4302,8 +4394,90 @@ foiltex
\end_inset \end_inset
an und kopieren Sie alle Dateien das Pakets hinein. an und kopieren Sie alle Dateien das Pakets hinein.
Wenn das Paket nur für den aktuellen Benutzer verfügbar sein soll bzw.
Sie keine Administrator-Rechte haben, tun Sie dasselbe, aber im lokalen
LaTeX-Ordner.
Z.
\begin_inset space \thinspace{}
\end_inset
B.
bei MiKTeX
\begin_inset space ~
\end_inset
2.8 wäre das unter WinXP der Ordner
\begin_inset Newline newline
\end_inset
\family sans
~:
\backslash
Dokumente und Einstellungen
\backslash
<Benutzername>
\backslash
Anwendungsdaten
\backslash
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\family sans
~:
\backslash
\end_layout \end_layout
\end_inset
MiKTeX
\backslash
2.8
\backslash
tex
\backslash
latex
\family default
\begin_inset Newline newline
\end_inset
, unter WinVista wäre es der Ordner
\begin_inset Newline newline
\end_inset
\family sans
~:
\backslash
Users
\backslash
<Benutzername>
\backslash
AppData
\backslash
Roaming
\backslash
2.8
\backslash
MiKTeX
\backslash
tex
\backslash
latex
\family default
.
\end_layout
\end_deeper
\begin_layout Enumerate \begin_layout Enumerate
Jetzt muss man LaTeX nur noch mitteilen, dass es neue Dateien gibt. Jetzt muss man LaTeX nur noch mitteilen, dass es neue Dateien gibt.
Die ist je nach LaTeX-Distribution anders: Die ist je nach LaTeX-Distribution anders:
@ -4311,7 +4485,24 @@ Jetzt muss man LaTeX nur noch mitteilen, dass es neue Dateien gibt.
\begin_deeper \begin_deeper
\begin_layout Enumerate \begin_layout Enumerate
Bei MiKTeX starten Sie das Programm Bei TeXLive führen Sie von einer Kommandozeile den Befehl
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
texhash
\end_layout
\end_inset
aus.
Wenn Sie das Paket für alle Nutzer installiert haben, brauchen sie dazu
wahrscheinlich Root-Rechte.
\end_layout
\begin_layout Enumerate
Bei MiKTeX, wenn Sie das Paket für alle Nutzer installiert haben, starten
Sie das Programm
\begin_inset Quotes gld \begin_inset Quotes gld
\end_inset \end_inset
@ -4319,7 +4510,7 @@ Settings
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
(admin) (Admin)
\begin_inset Quotes grd \begin_inset Quotes grd
\end_inset \end_inset
@ -4332,27 +4523,21 @@ Refresh FNDB
\end_inset \end_inset
. .
\end_layout Anderenfalls starten Sie das Programm
\begin_inset Quotes gld
\begin_layout Enumerate
Bei TeXLive führen Sie von einer Kommandozeile den Befehl
\begin_inset Newline newline
\end_inset \end_inset
Settings
\family typewriter \begin_inset Quotes grd
texhash
\family default
\begin_inset Newline newline
\end_inset \end_inset
mit Administrator-Rechten aus. und machen dasselbe.
\end_layout \end_layout
\end_deeper \end_deeper
\begin_layout Enumerate \begin_layout Enumerate
Wählen Sie nun in LyX den Menüpunkt Nun muss man LyX noch mitteilen, dass es neue Pakete gibt.
Verwenden Sie dazu in LyX das Menü
\family sans \family sans
Werkzeuge\SpecialChar \menuseparator Werkzeuge\SpecialChar \menuseparator
Neu Neu
@ -4361,15 +4546,21 @@ Neu
konfigurieren konfigurieren
\family default \family default
an und starten LyX danach neu. und starten LyX danach neu.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Nun ist das Paket installiert und sollte beispielsweise als Nun ist das Paket installiert.
\family sans In unserem Beispiel wird nun die Dokumentklasse
slides (FoilTe \begin_inset Flex CharStyle:Code
\family typewriter status collapsed
\begin_layout Plain Layout
Slides
\begin_inset space ~
\end_inset
(FoilTe
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -4380,23 +4571,37 @@ status collapsed
\end_inset \end_inset
x)
\end_layout
\family sans \end_inset
X)
\family default im Menü
im Feld
\family sans
Dokumentklasse
\family default
des Menüs
\family sans \family sans
Dokument\SpecialChar \menuseparator Dokument\SpecialChar \menuseparator
Einstellungen\SpecialChar \menuseparator Einstellungen\SpecialChar \menuseparator
Dokumentklasse Dokumentklasse
\family default \family default
erscheinen. verfügbar sein.
Falls nicht, dann gibt es für dieses Paket noch keine Layout-Datei. \end_layout
Sie müssen dann selbst ein Layout erstellen (oder jemanden darum bitten).
\begin_layout Standard
Möchten sie eine LaTeX-Dokumentklasse verwenden, die generell nicht im Menü
\family sans
Dokument\SpecialChar \menuseparator
Einstellungen\SpecialChar \menuseparator
Dokumentklasse
\family default
gelistet ist, müssen Sie dafür selbst ein
\begin_inset Quotes gld
\end_inset
Layout
\begin_inset Quotes grd
\end_inset
erstellen.
Dies ist das Thema des nächsten Abschnitts. Dies ist das Thema des nächsten Abschnitts.
\end_layout \end_layout

View File

@ -1,5 +1,5 @@
#LyX 1.6.4svn created this file. For more info see http://www.lyx.org/ #LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 345 \lyxformat 401
\begin_document \begin_document
\begin_header \begin_header
\textclass scrbook \textclass scrbook
@ -38,13 +38,13 @@
% used for multi-column text % used for multi-column text
\usepackage{multicol} \usepackage{multicol}
\usepackage{inputenc}
\end_preamble \end_preamble
\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
\use_default_options false \use_default_options false
\begin_modules \begin_modules
logicalmkup logicalmkup
\end_modules \end_modules
\maintain_unincluded_children false
\begin_local_layout \begin_local_layout
Format 7 Format 7
InsetLayout CharStyle:MenuItem InsetLayout CharStyle:MenuItem
@ -62,16 +62,22 @@ End
\end_local_layout \end_local_layout
\language spanish \language spanish
\inputencoding auto \inputencoding auto
\fontencoding global
\font_roman default \font_roman default
\font_sans default \font_sans default
\font_typewriter default \font_typewriter default
\font_default_family default \font_default_family default
\use_xetex false
\font_sc false \font_sc false
\font_osf false \font_osf false
\font_sf_scale 100 \font_sf_scale 100
\font_tt_scale 100 \font_tt_scale 100
\graphics default \graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize 12 \paperfontsize 12
\spacing single \spacing single
\use_hyperref true \use_hyperref true
@ -88,30 +94,39 @@ End
\pdf_colorlinks true \pdf_colorlinks true
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle false \pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true,pdfstartview=XYZ, plainpages=false, pdfpagelabels" \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default \papersize default
\use_geometry false \use_geometry false
\use_amsmath 0 \use_amsmath 0
\use_esint 0 \use_esint 0
\use_mhchem 0
\use_mathdots 0
\cite_engine basic \cite_engine basic
\use_bibtopic false \use_bibtopic false
\use_indices false
\paperorientation portrait \paperorientation portrait
\suppress_date false
\branch OutDated \branch OutDated
\selected 0 \selected 0
\filename_suffix 0
\color #ffffff \color #ffffff
\end_branch \end_branch
\index Índice
\shortcut idx
\color #008000
\end_index
\secnumdepth 3 \secnumdepth 3
\tocdepth 3 \tocdepth 3
\paragraph_separation indent \paragraph_separation indent
\defskip medskip \paragraph_indentation default
\quotes_language french \quotes_language french
\papercolumns 1 \papercolumns 1
\papersides 2 \papersides 2
\paperpagestyle headings \paperpagestyle headings
\tracking_changes false \tracking_changes false
\output_changes false \output_changes false
\author "" \html_math_output 0
\author "" \html_be_strict false
\end_header \end_header
\begin_body \begin_body
@ -4912,8 +4927,8 @@ name "cap:Instalación-de-nuevas"
\end_inset \end_inset
\begin_inset OptArg \begin_inset Argument
status open status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
Instalación de clases, formatos \SpecialChar \ldots{} Instalación de clases, formatos \SpecialChar \ldots{}
@ -5047,84 +5062,25 @@ Algunas instalaciones quizá no incluyan un paquete LaTeX que te gustaría
\begin_inset Quotes fld \begin_inset Quotes fld
\end_inset \end_inset
Buscar paquetes Package
\begin_inset space ~
\end_inset
Manager
\begin_inset Quotes frd \begin_inset Quotes frd
\end_inset \end_inset
para obtener una lista de los disponibles. para obtener una lista de los disponibles.
Para instalar uno, haces clic derecho sobre él o usas el botón de la herramient Para instalar uno, haces clic derecho sobre él o usas el botón de la herramient
a de instalación. a de instalación.
Si el paquete que quieres instalar no está en la lista, pero lo tienes
en la forma de archivo
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
.cls
\end_layout
\end_inset
o
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
.sty
\end_layout
\end_inset
, copia estos archivos a una carpeta de tu distribución LaTeX, por ejemplo
\family sans
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\family sans
~
\backslash
tex
\backslash
latex
\end_layout
\end_inset
\family default
.
Después actualiza la base de datos de archivos de LaTeX.
Por ejmplo, en MiKTeX se hace pulsando el botón
\family sans
Refresh
\begin_inset space ~
\end_inset
FNDB
\family default
que está en el programa de configuración de MiKTeX.
En ambos casos, posteriormente debes reconfigurar LyX mediante el menú
\begin_inset Flex CharStyle:MenuItem
status collapsed
\begin_layout Plain Layout
Herramientas\SpecialChar \menuseparator
Reconfigurar
\end_layout
\end_inset
y después reiniciar LyX.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Si tu distribución LaTeX no facilita interfaz de usuario, entonces debes
seguir estos pasos en una consola UNIX/Linux: \lang english
If your LaTeX distribution does not provide such a `package manager', or
if the package is not available from your distribution, then follow these
steps to install it manually:
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
@ -5140,18 +5096,69 @@ target "http://www.ctan.org/"
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
Puedes instalar el paquete en varios lugares diferentes.
Si lo quieres disponible para todos los usuarios, deberías instalarlo en \lang english
el directorio 'local' del árbol de directorios de TeX; si quieres (o necesitas) If the package contains a file with the ending
que esté disponible solo para ti, puedes instalarlo en el árbol de TeX \begin_inset Quotes eld
de tu directorio 'personal'. \end_inset
El lugar donde deberían crearse éstos, si no existen ya, depende de los
detalles de tu sistema.
Para encontrarlos mira en el archivo
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\lang english
.ins
\end_layout
\end_inset
\begin_inset Quotes erd
\end_inset
(is the case for FoilTeX) then open a console, change to the folder of
this file and execute the command
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
latex foiltex.ins
\end_layout
\end_inset
.
You have now unpacked the package and have all files to install it.
Most LaTeX-packages are not packed and you can skip this step.
\end_layout
\begin_layout Enumerate
\lang english
Now you need to decide if the package should be available for all users
or only for you.
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
On *nix systems (Linux, OSX, etc.), if you want the new package to be available
for all users on your system, then install it in your `local' TeX tree,
otherwise install it in your own `user' TeX tree.
Where these trees should be created, if they do not already exist, depends
on your system.
To find this out, look in the file
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
texmf.cnf texmf.cnf
\end_layout \end_layout
@ -5162,247 +5169,273 @@ texmf.cnf
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
Generalmente está en el directorio
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout \lang english
This is usually in the directory
\family sans
$TEXMF/web2c $TEXMF/web2c
\end_layout \family default
, though you can execute the command
\end_inset
, aunque puedes ejecutar
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\lang english
kpsewhich texmf.cnf kpsewhich texmf.cnf
\end_layout \end_layout
\end_inset \end_inset
para localizarloto locate it. to locate it.
\end_layout \end_layout
\end_inset \end_inset
La localización del árbol 'local' de TeX está definida por The location of the `local' TeX tree is defined by the
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\lang english
TEXMFLOCAL TEXMFLOCAL
\end_layout \end_layout
\end_inset \end_inset
; generalmente es variable; this is usually somewhere like
\begin_inset Flex CharStyle:Code \family sans
status collapsed
\begin_layout Plain Layout
/usr/local/share/texmf/ /usr/local/share/texmf/
\end_layout \family default
.
\end_inset The location of the `user' TeX tree is defined by
.
El árbol 'personal' de TeX está definido por
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\lang english
TEXMFHOME TEXMFHOME
\end_layout \end_layout
\end_inset \end_inset
y comúnmente es and is commonly
\begin_inset Flex CharStyle:Code \family sans
status collapsed
\begin_layout Plain Layout
$HOME/texmf/ $HOME/texmf/
\end_layout \family default
.
\end_inset (If these variables are not predefined, you have to define them.) You'll
probably need root permissions to create or modify the `local' tree, but
. your `user' tree shouldn't have such limitations.
(Si estas variables no están predefinidas las puedes declarar tú mismo).
Probablemente necesitarás permisos de administrador para crear o modificar
el árbol 'local'; pero tu árbol 'personal' no debería tener estas limitaciones.
\end_layout
\begin_layout Enumerate
Comprueba que
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
TEXMF
\end_layout
\end_inset
incluye las variables
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
TEXMFLOCAL
\end_layout
\end_inset
y
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
TEXMFHOME
\end_layout
\end_inset
; p.
\begin_inset space \thinspace{}
\end_inset
e.
\begin_inset Newline newline \begin_inset Newline newline
\end_inset \end_inset
In general, it is recommended to install in the user tree because your user
\begin_inset Flex CharStyle:Code will not be modified or even overwritten when you upgrade your system.
status collapsed It will typically also be backed up together with everything else when
you backup your home directory (which, of course, you do on a regular basis).
\begin_layout Plain Layout
TEXMF = {$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFMAIN}
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
Pero, insistimos, la mayoría estarán
\begin_inset Quotes fld
\end_inset
ya funcionando
\begin_inset Quotes frd
\end_inset
.
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
Crea tu árbol local de TeX
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
De aquí en adelante supondremos que vas a definir el árbol `local' de TeX.
Si vas a definir un árbol de 'usuario', adáptalo como sea necesario.
\end_layout
\end_inset
\lang english
On Windows, if you want the new package to be available for all users on
your system, change to the folder where LaTeX is installed and then change
to the subfolder
\family sans
~
\backslash
tex
\backslash
latex
\family default
. .
Debes seguir la estructura de directorios del árbol de (For MiKTeX, this would be by default the folder
\family sans
~:
\backslash
Programs
\backslash
MiKTeX
\backslash
tex
\backslash
latex
\family default
.) Create there a new folder
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
texmf
\end_layout
\end_inset \lang english
existente, que estará definido por
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
TEXMFMAIN
\end_layout
\end_inset
.
Por ejemplo, los paquetes LaTeX deberían alojarse en el directorio
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
$TEXMFLOCAL/tex/latex/
\end_layout
\end_inset
.
\end_layout
\begin_layout Enumerate
Instala el paquete.
Por ejemplo, tendrías que desempaquetar el comprimido tarball FoilTeX y
copiarlo a
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
$TEXMFLOCAL/tex/latex/foiltex
\end_layout
\end_inset
.
El directorio
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
foiltex foiltex
\end_layout \end_layout
\end_inset \end_inset
contiene varios archivos. and copy all files of the package into it.
If the package should only available for you or you don't have admin permission
s, do the same, but in the local LaTeX folder.
E.
\begin_inset space \thinspace{}
\end_inset
g.
\begin_inset space ~
\end_inset
on MiKTeX
\begin_inset space ~
\end_inset
2.8 this would be on WinXP the folder
\begin_inset Newline newline
\end_inset
\family sans
~:
\backslash
Documents and Settings
\backslash
<username>
\backslash
Application Data
\backslash
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\family sans
\lang english
~:
\backslash
\end_layout \end_layout
\end_inset
MiKTeX
\backslash
2.8
\backslash
tex
\backslash
latex
\family default
\begin_inset Newline newline
\end_inset
, on WinVista it would be the folder
\begin_inset Newline newline
\end_inset
\family sans
~:
\backslash
Users
\backslash
<username>
\backslash
AppData
\backslash
Roaming
\backslash
2.8
\backslash
MiKTeX
\backslash
tex
\backslash
latex
\family default
.
\end_layout
\end_deeper
\begin_layout Enumerate \begin_layout Enumerate
Ejecuta:
\lang english
Now one only need to tell LaTeX that there are new files.
This depends on the used LaTeX-Distribution:
\end_layout
\begin_deeper
\begin_layout Enumerate
\lang english
For TeXLive execute the command
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\lang english
texhash texhash
\end_layout \end_layout
\end_inset \end_inset
. from a console.
Esto debería generar el archivo If you installed the package for all users, then you will probably need
\begin_inset Flex CharStyle:Code to have root permissions for that.
status collapsed
\begin_layout Plain Layout
$TEXMFLOCAL/ls-R
\end_layout \end_layout
\begin_layout Enumerate
\lang english
For MiKTeX, if you have installed the package for all users, start the program
\begin_inset Quotes eld
\end_inset \end_inset
, entre otros. Settings
\begin_inset space ~
\end_inset
(Admin)
\begin_inset Quotes erd
\end_inset
and press the button marked
\begin_inset Quotes eld
\end_inset
Refresh FNDB
\begin_inset Quotes erd
\end_inset
.
Otherwise start the program
\begin_inset Quotes eld
\end_inset
Settings
\begin_inset Quotes erd
\end_inset
and do the same.
\end_layout \end_layout
\begin_layout Standard \end_deeper
Tu nuevo paquete está ahora instalado y disponible para LaTeX. \begin_layout Enumerate
Para ponerlo a disposición de LyX, tienes que crear un archivo Layout,
si no hay ninguno disponible. \lang english
(Véase la siguiente sección.) Una vez tienes un archivo de formato (layout), Finally, you need to tell LyX that there are new packages available.
debes reconfigurar ( So, in LyX, use the menu
\lang spanish
\begin_inset Flex CharStyle:MenuItem \begin_inset Flex CharStyle:MenuItem
status collapsed status collapsed
@ -5413,39 +5446,80 @@ Reconfigurar
\end_inset \end_inset
) y reiniciar LyX.
Ahora deberías ver tu nuevo paquete —por ejemplo \lang english
\begin_inset Flex CharStyle:MenuItem and then restart LyX.
\end_layout
\begin_layout Standard
\lang english
Now the package is installed.
In our example, the document class
\begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
slides (FoilTeX)
\lang english
Slides
\begin_inset space ~
\end_inset
(FoilTe
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{}
\end_layout \end_layout
\end_inset \end_inset
— en la lista desplegable x)
\begin_inset Flex CharStyle:MenuItem
status collapsed
\begin_layout Plain Layout
Clase de documento
\end_layout \end_layout
\end_inset \end_inset
del menú will now be available under
\begin_inset Flex CharStyle:MenuItem \begin_inset Flex CharStyle:MenuItem
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
Documento\SpecialChar \menuseparator
Configuración \lang english
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\end_layout \end_layout
\end_inset \end_inset
. .
\end_layout
\begin_layout Standard
\lang english
If you would like to use a LaTeX document class that is not even listed
in the menu
\begin_inset Flex CharStyle:MenuItem
status collapsed
\begin_layout Plain Layout
\lang english
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\end_layout
\end_inset
, then you need to create a `layout' file for it.
That is the topic of the next section.
\end_layout \end_layout
\begin_layout Section \begin_layout Section
@ -13411,6 +13485,7 @@ hor_pos "c"
has_inner_box 1 has_inner_box 1
inner_pos "t" inner_pos "t"
use_parbox 0 use_parbox 0
use_makebox 0
width "100col%" width "100col%"
special "none" special "none"
height "1in" height "1in"

View File

@ -1,5 +1,5 @@
#LyX 1.6.4svn created this file. For more info see http://www.lyx.org/ #LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 345 \lyxformat 401
\begin_document \begin_document
\begin_header \begin_header
\textclass scrbook \textclass scrbook
@ -38,20 +38,30 @@
% used for multi-column text % used for multi-column text
\usepackage{multicol} \usepackage{multicol}
\end_preamble \end_preamble
\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
\use_default_options false \use_default_options false
\begin_modules
logicalmkup
\end_modules
\maintain_unincluded_children false
\language french \language french
\inputencoding auto \inputencoding auto
\fontencoding global
\font_roman default \font_roman default
\font_sans default \font_sans default
\font_typewriter default \font_typewriter default
\font_default_family default \font_default_family default
\use_xetex false
\font_sc false \font_sc false
\font_osf false \font_osf false
\font_sf_scale 100 \font_sf_scale 100
\font_tt_scale 100 \font_tt_scale 100
\graphics default \graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize 12 \paperfontsize 12
\spacing single \spacing single
\use_hyperref true \use_hyperref true
@ -68,26 +78,39 @@
\pdf_colorlinks true \pdf_colorlinks true
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle false \pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true,pdfstartview=XYZ, plainpages=false, pdfpagelabels" \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default \papersize default
\use_geometry false \use_geometry false
\use_amsmath 0 \use_amsmath 0
\use_esint 0 \use_esint 0
\use_mhchem 0
\use_mathdots 0
\cite_engine basic \cite_engine basic
\use_bibtopic false \use_bibtopic false
\use_indices false
\paperorientation portrait \paperorientation portrait
\suppress_date false
\branch OutDated
\selected 0
\filename_suffix 0
\color #faf0e6
\end_branch
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3 \secnumdepth 3
\tocdepth 3 \tocdepth 3
\paragraph_separation indent \paragraph_separation indent
\defskip medskip \paragraph_indentation default
\quotes_language french \quotes_language french
\papercolumns 1 \papercolumns 1
\papersides 2 \papersides 2
\paperpagestyle headings \paperpagestyle headings
\tracking_changes false \tracking_changes false
\output_changes false \output_changes false
\author "" \html_math_output 0
\author "" \html_be_strict false
\end_header \end_header
\begin_body \begin_body
@ -163,6 +186,14 @@ Rebollo
\end_inset \end_inset
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
Version 2.0.x
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -2960,7 +2991,7 @@ name "chap:classe-texte"
\end_inset \end_inset
\begin_inset OptArg \begin_inset Argument
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
@ -3066,210 +3097,476 @@ Installer un nouveau paquetage LaTeX
\begin_layout Standard \begin_layout Standard
Certaines installations peuvent ne pas contenir le paquetage LaTeX que vous Certaines installations peuvent ne pas contenir le paquetage LaTeX que vous
vouliez justement utiliser avec LyX. vouliez justement utiliser avec LyX.
Par exemple, vous pouvez avoir besoin de FoilTeX, un paquetage courant Par exemple, vous pouvez avoir besoin de FoilTeX, un paquetage pour préparer
(et très puissant) pour préparer des transparents pour rétroprojecteurs. des transparents pour rétroprojecteurs.
Voici les étapes pour installer un paquetage si vous utilisez teTeX ou
une autre distribution basée sur web2c.
\end_layout
\begin_layout Enumerate \lang english
Procurez-vous le paquetage sur le CTAN ou ailleurs Modern LaTeX distributions like TeXLive (2008 or newer) or MiKTeX provide
\begin_inset Foot a user interface for installing such packages.
status collapsed For example, with MiKTeX, you start the program
\begin_inset Quotes eld
\end_inset
\begin_layout Plain Layout Package
Voir le manuel de
\emph on
Configuration
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
LaTeX Manager
\emph default \begin_inset Quotes erd
pour savoir ce qu'est le CTAN et où l'on peut trouver les classes de document \end_inset
supportées.
to get a list of available packages.
To install one of them, right click on it or use the corresponding toolbar
button.
\end_layout
\begin_layout Standard
\lang english
If your LaTeX distribution does not provide such a `package manager', or
if the package is not available from your distribution, then follow these
steps to install it manually:
\end_layout
\begin_layout Enumerate
\lang english
Get the package from
\begin_inset CommandInset href
LatexCommand href
name "CTAN"
target "http://www.ctan.org/"
\end_inset
or wherever.
\end_layout
\begin_layout Enumerate
\lang english
If the package contains a file with the ending
\begin_inset Quotes eld
\end_inset
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
.ins
\end_layout
\end_inset
\begin_inset Quotes erd
\end_inset
(is the case for FoilTeX) then open a console, change to the folder of
this file and execute the command
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
latex foiltex.ins
\end_layout \end_layout
\end_inset \end_inset
. .
You have now unpacked the package and have all files to install it.
Most LaTeX-packages are not packed and you can skip this step.
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
Lisez le fichier
\family typewriter \lang english
texmf.cnf Now you need to decide if the package should be available for all users
\family default or only for you.
(qui réside habituellement dans le répertoire
\family typewriter
$TEXMF/web2c
\family default
, mais il vous faudra peut-être faire
\family typewriter
kpsewhich texmf.cnf
\family default
pour le localiser).
Il décrit comment ajouter un répertoire
\family typewriter
texmf
\family default
local ; suivez les instructions.
Vous devez insérer le nom de votre répertoire
\family typewriter
texmf
\family default
local dans
\family typewriter
texmf.cnf
\family default
.
Sous Linux,
\family typewriter
/usr/local
\family default
est un endroit logique pour installer les logiciels qui ne viennent pas
avec votre distribution, vous pouvez donc utiliser
\family typewriter
/usr/local/texmf
\family default
.
D'habitude, vous n'avez que deux choses à modifier :
\end_layout \end_layout
\begin_deeper \begin_deeper
\begin_layout Enumerate \begin_layout Enumerate
Réglez
\family typewriter \lang english
TEXMFLOCAL On *nix systems (Linux, OSX, etc.), if you want the new package to be available
for all users on your system, then install it in your `local' TeX tree,
otherwise install it in your own `user' TeX tree.
Where these trees should be created, if they do not already exist, depends
on your system.
To find this out, look in the file
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
texmf.cnf
\end_layout
\end_inset
.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\lang english
This is usually in the directory
\family sans
$TEXMF/web2c
\family default \family default
sur le répertoire que vous avez choisi, par exemple : , though you can execute the command
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
kpsewhich texmf.cnf
\end_layout
\end_inset
to locate it.
\end_layout
\end_inset
The location of the `local' TeX tree is defined by the
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
TEXMFLOCAL
\end_layout
\end_inset
variable; this is usually somewhere like
\family sans
/usr/local/share/texmf/
\family default
.
The location of the `user' TeX tree is defined by
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
TEXMFHOME
\end_layout
\end_inset
and is commonly
\family sans
$HOME/texmf/
\family default
.
(If these variables are not predefined, you have to define them.) You'll
probably need root permissions to create or modify the `local' tree, but
your `user' tree shouldn't have such limitations.
\begin_inset Newline newline \begin_inset Newline newline
\end_inset \end_inset
In general, it is recommended to install in the user tree because your user
\family typewriter will not be modified or even overwritten when you upgrade your system.
TEXMFLOCAL = /usr/local/texmf It will typically also be backed up together with everything else when
you backup your home directory (which, of course, you do on a regular basis).
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
Assurez-vous que
\family typewriter \lang english
TEXMF On Windows, if you want the new package to be available for all users on
your system, change to the folder where LaTeX is installed and then change
to the subfolder
\family sans
~
\backslash
tex
\backslash
latex
\family default \family default
inclut bien la variable .
\family typewriter (For MiKTeX, this would be by default the folder
TEXMFLOCAL \family sans
~:
\backslash
Programs
\backslash
MiKTeX
\backslash
tex
\backslash
latex
\family default \family default
, par exemple : .) Create there a new folder
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
foiltex
\end_layout
\end_inset
and copy all files of the package into it.
If the package should only available for you or you don't have admin permission
s, do the same, but in the local LaTeX folder.
E.
\begin_inset space \thinspace{}
\end_inset
g.
\begin_inset space ~
\end_inset
on MiKTeX
\begin_inset space ~
\end_inset
2.8 this would be on WinXP the folder
\begin_inset Newline newline \begin_inset Newline newline
\end_inset \end_inset
\family typewriter \family sans
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN} ~:
\backslash
Documents and Settings
\backslash
<username>
\backslash
Application Data
\backslash
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\family sans
\lang english
~:
\backslash
\end_layout
\end_inset
MiKTeX
\backslash
2.8
\backslash
tex
\backslash
latex
\family default
\begin_inset Newline newline
\end_inset
, on WinVista it would be the folder
\begin_inset Newline newline
\end_inset
\family sans
~:
\backslash
Users
\backslash
<username>
\backslash
AppData
\backslash
Roaming
\backslash
2.8
\backslash
MiKTeX
\backslash
tex
\backslash
latex
\family default
.
\end_layout \end_layout
\end_deeper \end_deeper
\begin_layout Enumerate \begin_layout Enumerate
Créez votre répertoire
\family typewriter \lang english
texmf Now one only need to tell LaTeX that there are new files.
\family default This depends on the used LaTeX-Distribution:
local (par exemple
\family typewriter
/usr/local/texmf
\family default
).
Vous devez suivre la structure de votre répertoire
\family typewriter
texmf
\family default
existant (par exemple, les paquetages LaTeX doivent aller dans
\family typewriter
/usr/local/texmf/tex/latex/
\family default
).
\end_layout \end_layout
\begin_deeper
\begin_layout Enumerate \begin_layout Enumerate
Installez le paquetage.
Par exemple, vous pouvez décompresser l'archive FoilTeX et créer
\family typewriter
/usr/local/texmf/tex/latex/foiltex
\family default
.
Le répertoire
\family typewriter
foiltex
\family default
contient différents fichiers.
\end_layout
\begin_layout Enumerate \lang english
Lancez For TeXLive execute the command
\family typewriter \begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
texhash texhash
\family default \end_layout
.
Ça devrait entre autres créer \end_inset
\family typewriter
/usr/local/texmf/ls-R from a console.
\family default If you installed the package for all users, then you will probably need
. to have root permissions for that.
\end_layout \end_layout
\begin_layout Enumerate \begin_layout Enumerate
Depuis LyX, faites
\family sans
Éditer\SpecialChar \menuseparator
Reconfigurer
\family default
.
Redémarrez LyX.
\end_layout
\begin_layout Standard \lang english
Maintenant vous devriez voir votre nouveau paquetage par exemple For MiKTeX, if you have installed the package for all users, start the program
\family sans
slides \begin_inset Quotes eld
\end_inset
Settings
\begin_inset space ~ \begin_inset space ~
\end_inset \end_inset
(FoilTeX) (Admin)
\family default \begin_inset Quotes erd
dans le champ \end_inset
\family sans
Classe and press the button marked
\family default \begin_inset Quotes eld
de la fenêtre \end_inset
\family sans
Format\SpecialChar \menuseparator Refresh FNDB
Document\SpecialChar \menuseparator \begin_inset Quotes erd
Document \end_inset
\family default
. .
Notez qu'il y a des façons plus simples d'installer des paquetages : vous Otherwise start the program
pouvez ajouter un lien au répertoire du nouveau paquetage dans le répertoire \begin_inset Quotes eld
LaTeX du système ( \end_inset
\family typewriter
$TEXMF/tex/latex Settings
\family default \begin_inset Quotes erd
, n'oubliez pas de lancer ensuite \end_inset
\family typewriter
texconfig and do the same.
\family default \end_layout
), ou parfois simplement régler la variable d'environnement
\family typewriter \end_deeper
$TEXINPUTS \begin_layout Enumerate
\family default
pour inclure le nouveau paquetage. \lang english
Cependant, la procédure stricte décrite dans Finally, you need to tell LyX that there are new packages available.
\family typewriter So, in LyX, use the menu
texmf.cnf \begin_inset Flex CharStyle:MenuItem
\family default status collapsed
est garantie de fonctionner, vous devez donc la suivre sauf si les circonstance
s l'empêchent absolument : par exemple si vous n'avez pas les droits de \begin_layout Plain Layout
super-utilisateur.
\lang english
Tools
\family sans
\SpecialChar \menuseparator
Reconfigure
\end_layout
\end_inset
and then restart LyX.
\end_layout
\begin_layout Standard
\lang english
Now the package is installed.
In our example, the document class
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\lang english
Slides
\begin_inset space ~
\end_inset
(FoilTe
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{}
\end_layout
\end_inset
x)
\end_layout
\end_inset
will now be available under
\begin_inset Flex CharStyle:MenuItem
status collapsed
\begin_layout Plain Layout
\lang english
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
\lang english
If you would like to use a LaTeX document class that is not even listed
in the menu
\begin_inset Flex CharStyle:MenuItem
status collapsed
\begin_layout Plain Layout
\lang english
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\end_layout
\end_inset
, then you need to create a `layout' file for it.
That is the topic of the next section.
\end_layout \end_layout
\begin_layout Section \begin_layout Section
@ -13992,7 +14289,9 @@ math-matrix 3 3
\begin_inset Formula $\begin{array}{ccc} \begin_inset Formula $\begin{array}{ccc}
\\\\\end{array}$ \\
\\
\end{array}$
\end_inset \end_inset
. .