mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
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:
parent
29f93c0f86
commit
ffb2398ae7
@ -38,9 +38,8 @@
|
||||
|
||||
% used for multi-column text
|
||||
\usepackage{multicol}
|
||||
\usepackage{inputenc}
|
||||
\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
|
||||
\begin_modules
|
||||
logicalmkup
|
||||
@ -95,12 +94,12 @@ End
|
||||
\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, pdfpagelabels"
|
||||
\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
|
||||
@ -5535,19 +5534,18 @@ latex foiltex.ins
|
||||
\end_layout
|
||||
|
||||
\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
|
||||
|
||||
\begin_deeper
|
||||
\begin_layout Enumerate
|
||||
On *nix systems (Linux, OSX, etc), you have several choices.
|
||||
If you want the new package to be available for all users on your system,
|
||||
then you should install it in your `local' TeX tree; if you want (or need)
|
||||
it to be available just for you, then you can install it in your own `user'
|
||||
TeX tree.
|
||||
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
|
||||
upon the details of your system.
|
||||
To find out where they are, look in the file
|
||||
on your system.
|
||||
To find this out, look in the file
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
@ -5562,17 +5560,11 @@ texmf.cnf
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
This usually lives in the directory
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
This is usually in the directory
|
||||
\family sans
|
||||
$TEXMF/web2c
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
, though you can run
|
||||
\family default
|
||||
, though you can execute the command
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
@ -5598,16 +5590,9 @@ TEXMFLOCAL
|
||||
\end_inset
|
||||
|
||||
variable; this is usually somewhere like
|
||||
\begin_inset Flex URL
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\family sans
|
||||
/usr/local/share/texmf/
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
\family default
|
||||
.
|
||||
The location of the `user' TeX tree is defined by
|
||||
\begin_inset Flex CharStyle:Code
|
||||
@ -5620,163 +5605,47 @@ TEXMFHOME
|
||||
\end_inset
|
||||
|
||||
and is commonly
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\family sans
|
||||
$HOME/texmf/
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
\family default
|
||||
.
|
||||
(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.
|
||||
(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
|
||||
\end_inset
|
||||
|
||||
In general, we'd recommend installing in the user tree unless you have reason
|
||||
not to do so.
|
||||
One advantage to this is that your user tree is less likely to be over-written
|
||||
or deleted when you upgrade, and it will typically be backed up together
|
||||
with everything else when you backup your home directory (which, of course,
|
||||
you do on a regular basis).
|
||||
In general, it is recommended to install in the user tree because your user
|
||||
will not be modified or even overwritten when you upgrade your system.
|
||||
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
|
||||
|
||||
\begin_layout Enumerate
|
||||
On Windows, change to the folder where LaTeX is installed and then change
|
||||
to the subfoler
|
||||
\begin_inset Flex URL
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
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
|
||||
\backslash
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
\family default
|
||||
.
|
||||
(For MiKTeX, this would be by default the folder
|
||||
\begin_inset Flex URL
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\family sans
|
||||
~:
|
||||
\backslash
|
||||
Programme
|
||||
Programs
|
||||
\backslash
|
||||
MiKTeX
|
||||
\backslash
|
||||
tex
|
||||
\backslash
|
||||
latex
|
||||
\end_layout
|
||||
|
||||
\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
|
||||
\family default
|
||||
.) Create there a new folder
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
@ -5787,7 +5656,89 @@ foiltex
|
||||
\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
|
||||
\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_deeper
|
||||
@ -5809,26 +5760,25 @@ texhash
|
||||
\end_inset
|
||||
|
||||
from a console.
|
||||
If you installed the package somewhere you needed root permissions, then
|
||||
you will need to run
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
texhash
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
with root permissions also.
|
||||
If you installed the package for all users, then you will probably need
|
||||
to have root permissions for that.
|
||||
\end_layout
|
||||
|
||||
\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 ~
|
||||
\end_inset
|
||||
|
||||
(admin) and press the button marked
|
||||
(Admin)
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
and press the button marked
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
@ -5837,12 +5787,21 @@ Refresh FNDB
|
||||
\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_deeper
|
||||
\begin_layout Enumerate
|
||||
Finally, we need to tell LyX what we have done.
|
||||
So, in LyX, run
|
||||
Finally, you need to tell LyX that there are new packages available.
|
||||
So, in LyX, use the menu
|
||||
\begin_inset Flex CharStyle:MenuItem
|
||||
status collapsed
|
||||
|
||||
@ -5855,19 +5814,23 @@ Reconfigure
|
||||
|
||||
\end_inset
|
||||
|
||||
and then restart LyX so it will recognize the new package.
|
||||
and then restart LyX.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Now the package is installed.
|
||||
In our example, till now appear as
|
||||
In our example, the document class
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Slides (FoilTe
|
||||
Slides
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
(FoilTe
|
||||
\begin_inset ERT
|
||||
status open
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
@ -5881,7 +5844,7 @@ x)
|
||||
|
||||
\end_inset
|
||||
|
||||
under
|
||||
will now be available under
|
||||
\begin_inset Flex CharStyle:MenuItem
|
||||
status collapsed
|
||||
|
||||
@ -5898,9 +5861,20 @@ Document Class
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Sometimes, you will want to use a LaTeX class or package that does not automatic
|
||||
ally appear.
|
||||
If so, then you need to create a `layout' file for it.
|
||||
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
|
||||
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
|
||||
|
||||
@ -5948,7 +5922,7 @@ status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
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_inset
|
||||
|
@ -35,12 +35,6 @@
|
||||
\myTOC
|
||||
\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
|
||||
\def\LyX{\texorpdfstring{%
|
||||
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
|
||||
@ -49,8 +43,11 @@
|
||||
% wird für mehrspaltigen Text benötigt
|
||||
\usepackage{multicol}
|
||||
\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
|
||||
\begin_modules
|
||||
logicalmkup
|
||||
\end_modules
|
||||
\maintain_unincluded_children false
|
||||
\language ngerman
|
||||
\inputencoding auto
|
||||
@ -86,34 +83,35 @@
|
||||
\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, pdfpagelabels"
|
||||
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
|
||||
\papersize default
|
||||
\use_geometry true
|
||||
\use_geometry false
|
||||
\use_amsmath 0
|
||||
\use_esint 0
|
||||
\use_mhchem 1
|
||||
\use_mathdots 1
|
||||
\use_mhchem 0
|
||||
\use_mathdots 0
|
||||
\cite_engine basic
|
||||
\use_bibtopic false
|
||||
\use_indices false
|
||||
\paperorientation portrait
|
||||
\suppress_date false
|
||||
\branch OutDated
|
||||
\selected 0
|
||||
\filename_suffix 0
|
||||
\color #faf0e6
|
||||
\end_branch
|
||||
\index Stichwortverzeichnis
|
||||
\shortcut idx
|
||||
\color #008000
|
||||
\end_index
|
||||
\leftmargin 35mm
|
||||
\topmargin 35mm
|
||||
\rightmargin 35mm
|
||||
\bottommargin 35mm
|
||||
\secnumdepth 3
|
||||
\tocdepth 3
|
||||
\paragraph_separation indent
|
||||
\paragraph_indentation default
|
||||
\quotes_language german
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
\papersides 2
|
||||
\paperpagestyle headings
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\html_math_output 0
|
||||
@ -168,11 +166,6 @@ Haase
|
||||
Version 2.0.x
|
||||
\end_layout
|
||||
|
||||
\begin_layout Date
|
||||
letzte Änderung: 21.
|
||||
Juli 2009
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset CommandInset toc
|
||||
LatexCommand tableofcontents
|
||||
@ -199,8 +192,8 @@ behandelt.
|
||||
Es kann hier nicht alles beschrieben werden, das an LyX individuell eingestellt
|
||||
und verändert werden kann --- die Entwickler fügen Neuerungen schneller
|
||||
ein, als wir sie dokumentieren können --- doch werden die grundlegenden
|
||||
Fähigkeiten von LyX dokumentiert sowie für einige der etwas obskureren
|
||||
Hinweise gegeben.
|
||||
Fähigkeiten von LyX dokumentiert sowie für einige der etwas obskuren Hinweise
|
||||
gegeben.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -4238,7 +4231,17 @@ Falls das Paket eine Datei mit der Endung
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
.ins
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
@ -4263,16 +4266,115 @@ n.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Enumerate
|
||||
Gehen Sie in den Ordner, in dem LaTeX installiert ist und wechseln dort
|
||||
in das Verzeichnis ~
|
||||
\backslash
|
||||
tex
|
||||
\backslash
|
||||
latex.
|
||||
(Verwendet man MiKTeX, wäre es standardmäßig der Ordner
|
||||
Nun müssen Sie entscheiden, ob das Paket für alle Nutzer oder nur für Sie
|
||||
verfügbar sein soll.
|
||||
\end_layout
|
||||
|
||||
\begin_deeper
|
||||
\begin_layout Enumerate
|
||||
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
|
||||
\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
|
||||
Programme
|
||||
@ -4282,17 +4384,7 @@ MiKTeX
|
||||
tex
|
||||
\backslash
|
||||
latex
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
, unter Linux wäre es
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
|
||||
~/usr/local/texmf/
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
\family default
|
||||
.) Legen Sie dort einen neuen Ordner mit dem Namen
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
@ -4302,8 +4394,90 @@ foiltex
|
||||
\end_inset
|
||||
|
||||
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_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
|
||||
Jetzt muss man LaTeX nur noch mitteilen, dass es neue Dateien gibt.
|
||||
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_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
|
||||
\end_inset
|
||||
|
||||
@ -4319,7 +4510,7 @@ Settings
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
(admin)
|
||||
(Admin)
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
@ -4332,27 +4523,21 @@ Refresh FNDB
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Enumerate
|
||||
Bei TeXLive führen Sie von einer Kommandozeile den Befehl
|
||||
\begin_inset Newline newline
|
||||
Anderenfalls starten Sie das Programm
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
|
||||
|
||||
\family typewriter
|
||||
texhash
|
||||
\family default
|
||||
|
||||
\begin_inset Newline newline
|
||||
Settings
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
mit Administrator-Rechten aus.
|
||||
und machen dasselbe.
|
||||
\end_layout
|
||||
|
||||
\end_deeper
|
||||
\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
|
||||
Werkzeuge\SpecialChar \menuseparator
|
||||
Neu
|
||||
@ -4361,15 +4546,21 @@ Neu
|
||||
|
||||
konfigurieren
|
||||
\family default
|
||||
an und starten LyX danach neu.
|
||||
und starten LyX danach neu.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Nun ist das Paket installiert und sollte beispielsweise als
|
||||
\family sans
|
||||
slides (FoilTe
|
||||
\family typewriter
|
||||
Nun ist das Paket installiert.
|
||||
In unserem Beispiel wird nun die Dokumentklasse
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Slides
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
(FoilTe
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
@ -4380,23 +4571,37 @@ status collapsed
|
||||
|
||||
\end_inset
|
||||
|
||||
x)
|
||||
\end_layout
|
||||
|
||||
\family sans
|
||||
X)
|
||||
\family default
|
||||
im Feld
|
||||
\family sans
|
||||
Dokumentklasse
|
||||
\family default
|
||||
des Menüs
|
||||
\end_inset
|
||||
|
||||
im Menü
|
||||
\family sans
|
||||
Dokument\SpecialChar \menuseparator
|
||||
Einstellungen\SpecialChar \menuseparator
|
||||
Dokumentklasse
|
||||
\family default
|
||||
erscheinen.
|
||||
Falls nicht, dann gibt es für dieses Paket noch keine Layout-Datei.
|
||||
Sie müssen dann selbst ein Layout erstellen (oder jemanden darum bitten).
|
||||
verfügbar sein.
|
||||
\end_layout
|
||||
|
||||
\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.
|
||||
\end_layout
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#LyX 1.6.4svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 345
|
||||
#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 401
|
||||
\begin_document
|
||||
\begin_header
|
||||
\textclass scrbook
|
||||
@ -38,13 +38,13 @@
|
||||
|
||||
% used for multi-column text
|
||||
\usepackage{multicol}
|
||||
\usepackage{inputenc}
|
||||
\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
|
||||
\begin_modules
|
||||
logicalmkup
|
||||
\end_modules
|
||||
\maintain_unincluded_children false
|
||||
\begin_local_layout
|
||||
Format 7
|
||||
InsetLayout CharStyle:MenuItem
|
||||
@ -62,16 +62,22 @@ End
|
||||
\end_local_layout
|
||||
\language spanish
|
||||
\inputencoding auto
|
||||
\fontencoding global
|
||||
\font_roman default
|
||||
\font_sans default
|
||||
\font_typewriter default
|
||||
\font_default_family default
|
||||
\use_xetex false
|
||||
\font_sc false
|
||||
\font_osf false
|
||||
\font_sf_scale 100
|
||||
\font_tt_scale 100
|
||||
|
||||
\graphics default
|
||||
\default_output_format default
|
||||
\output_sync 0
|
||||
\bibtex_command default
|
||||
\index_command default
|
||||
\paperfontsize 12
|
||||
\spacing single
|
||||
\use_hyperref true
|
||||
@ -88,30 +94,39 @@ End
|
||||
\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, pdfpagelabels"
|
||||
\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 0
|
||||
\use_mathdots 0
|
||||
\cite_engine basic
|
||||
\use_bibtopic false
|
||||
\use_indices false
|
||||
\paperorientation portrait
|
||||
\suppress_date false
|
||||
\branch OutDated
|
||||
\selected 0
|
||||
\filename_suffix 0
|
||||
\color #ffffff
|
||||
\end_branch
|
||||
\index Índice
|
||||
\shortcut idx
|
||||
\color #008000
|
||||
\end_index
|
||||
\secnumdepth 3
|
||||
\tocdepth 3
|
||||
\paragraph_separation indent
|
||||
\defskip medskip
|
||||
\paragraph_indentation default
|
||||
\quotes_language french
|
||||
\papercolumns 1
|
||||
\papersides 2
|
||||
\paperpagestyle headings
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\author ""
|
||||
\author ""
|
||||
\html_math_output 0
|
||||
\html_be_strict false
|
||||
\end_header
|
||||
|
||||
\begin_body
|
||||
@ -4912,8 +4927,8 @@ name "cap:Instalación-de-nuevas"
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset OptArg
|
||||
status open
|
||||
\begin_inset Argument
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
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
|
||||
\end_inset
|
||||
|
||||
Buscar paquetes
|
||||
Package
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
Manager
|
||||
\begin_inset Quotes frd
|
||||
\end_inset
|
||||
|
||||
para obtener una lista de los disponibles.
|
||||
Para instalar uno, haces clic derecho sobre él o usas el botón de la herramient
|
||||
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
|
||||
|
||||
\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
|
||||
|
||||
\begin_layout Enumerate
|
||||
@ -5140,18 +5096,69 @@ target "http://www.ctan.org/"
|
||||
\end_layout
|
||||
|
||||
\begin_layout Enumerate
|
||||
Puedes instalar el paquete en varios lugares diferentes.
|
||||
Si lo quieres disponible para todos los usuarios, deberías instalarlo en
|
||||
el directorio 'local' del árbol de directorios de TeX; si quieres (o necesitas)
|
||||
que esté disponible solo para ti, puedes instalarlo en el árbol de TeX
|
||||
de tu directorio 'personal'.
|
||||
El lugar donde deberían crearse éstos, si no existen ya, depende de los
|
||||
detalles de tu sistema.
|
||||
Para encontrarlos mira en el archivo
|
||||
|
||||
\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_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
|
||||
\end_layout
|
||||
|
||||
@ -5162,247 +5169,273 @@ texmf.cnf
|
||||
status collapsed
|
||||
|
||||
\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
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
, aunque puedes ejecutar
|
||||
\family default
|
||||
, 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
|
||||
|
||||
para localizarloto locate it.
|
||||
to locate it.
|
||||
\end_layout
|
||||
|
||||
\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
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
TEXMFLOCAL
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
; generalmente es
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
variable; this is usually somewhere like
|
||||
\family sans
|
||||
/usr/local/share/texmf/
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
\family default
|
||||
.
|
||||
El árbol 'personal' de TeX está definido por
|
||||
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
|
||||
|
||||
y comúnmente es
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
and is commonly
|
||||
\family sans
|
||||
$HOME/texmf/
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
\family default
|
||||
.
|
||||
(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.
|
||||
(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
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\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
|
||||
|
||||
.
|
||||
In general, it is recommended to install in the user tree because your user
|
||||
will not be modified or even overwritten when you upgrade your system.
|
||||
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
|
||||
|
||||
\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
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
texmf
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
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
|
||||
\lang english
|
||||
foiltex
|
||||
\end_layout
|
||||
|
||||
\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_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
|
||||
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
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
texhash
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
Esto debería generar el archivo
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
$TEXMFLOCAL/ls-R
|
||||
from a console.
|
||||
If you installed the package for all users, then you will probably need
|
||||
to have root permissions for that.
|
||||
\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
|
||||
|
||||
, 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
|
||||
|
||||
\begin_layout Standard
|
||||
Tu nuevo paquete está ahora instalado y disponible para LaTeX.
|
||||
Para ponerlo a disposición de LyX, tienes que crear un archivo Layout,
|
||||
si no hay ninguno disponible.
|
||||
(Véase la siguiente sección.) Una vez tienes un archivo de formato (layout),
|
||||
debes reconfigurar (
|
||||
\end_deeper
|
||||
\begin_layout Enumerate
|
||||
|
||||
\lang english
|
||||
Finally, you need to tell LyX that there are new packages available.
|
||||
So, in LyX, use the menu
|
||||
\lang spanish
|
||||
|
||||
\begin_inset Flex CharStyle:MenuItem
|
||||
status collapsed
|
||||
|
||||
@ -5413,39 +5446,80 @@ Reconfigurar
|
||||
|
||||
\end_inset
|
||||
|
||||
) y reiniciar LyX.
|
||||
Ahora deberías ver tu nuevo paquete —por ejemplo
|
||||
\begin_inset Flex CharStyle:MenuItem
|
||||
|
||||
\lang english
|
||||
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
|
||||
slides (FoilTeX)
|
||||
|
||||
\lang english
|
||||
Slides
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
(FoilTe
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
{}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
— en la lista desplegable
|
||||
\begin_inset Flex CharStyle:MenuItem
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Clase de documento
|
||||
x)
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
del menú
|
||||
will now be available under
|
||||
\begin_inset Flex CharStyle:MenuItem
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Documento\SpecialChar \menuseparator
|
||||
Configuración
|
||||
|
||||
\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
|
||||
|
||||
\begin_layout Section
|
||||
@ -13411,6 +13485,7 @@ hor_pos "c"
|
||||
has_inner_box 1
|
||||
inner_pos "t"
|
||||
use_parbox 0
|
||||
use_makebox 0
|
||||
width "100col%"
|
||||
special "none"
|
||||
height "1in"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#LyX 1.6.4svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 345
|
||||
#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 401
|
||||
\begin_document
|
||||
\begin_header
|
||||
\textclass scrbook
|
||||
@ -38,20 +38,30 @@
|
||||
% used for multi-column text
|
||||
\usepackage{multicol}
|
||||
\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
|
||||
\begin_modules
|
||||
logicalmkup
|
||||
\end_modules
|
||||
\maintain_unincluded_children false
|
||||
\language french
|
||||
\inputencoding auto
|
||||
\fontencoding global
|
||||
\font_roman default
|
||||
\font_sans default
|
||||
\font_typewriter default
|
||||
\font_default_family default
|
||||
\use_xetex false
|
||||
\font_sc false
|
||||
\font_osf false
|
||||
\font_sf_scale 100
|
||||
\font_tt_scale 100
|
||||
|
||||
\graphics default
|
||||
\default_output_format default
|
||||
\output_sync 0
|
||||
\bibtex_command default
|
||||
\index_command default
|
||||
\paperfontsize 12
|
||||
\spacing single
|
||||
\use_hyperref true
|
||||
@ -68,26 +78,39 @@
|
||||
\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, pdfpagelabels"
|
||||
\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 0
|
||||
\use_mathdots 0
|
||||
\cite_engine basic
|
||||
\use_bibtopic false
|
||||
\use_indices false
|
||||
\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
|
||||
\tocdepth 3
|
||||
\paragraph_separation indent
|
||||
\defskip medskip
|
||||
\paragraph_indentation default
|
||||
\quotes_language french
|
||||
\papercolumns 1
|
||||
\papersides 2
|
||||
\paperpagestyle headings
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\author ""
|
||||
\author ""
|
||||
\html_math_output 0
|
||||
\html_be_strict false
|
||||
\end_header
|
||||
|
||||
\begin_body
|
||||
@ -163,6 +186,14 @@ Rebollo
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
Version 2.0.x
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -2960,7 +2991,7 @@ name "chap:classe-texte"
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset OptArg
|
||||
\begin_inset Argument
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
@ -3066,210 +3097,476 @@ Installer un nouveau paquetage LaTeX
|
||||
\begin_layout Standard
|
||||
Certaines installations peuvent ne pas contenir le paquetage LaTeX que vous
|
||||
vouliez justement utiliser avec LyX.
|
||||
Par exemple, vous pouvez avoir besoin de FoilTeX, un paquetage courant
|
||||
(et très puissant) pour préparer 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
|
||||
Par exemple, vous pouvez avoir besoin de FoilTeX, un paquetage pour préparer
|
||||
des transparents pour rétroprojecteurs.
|
||||
|
||||
\begin_layout Enumerate
|
||||
Procurez-vous le paquetage sur le CTAN ou ailleurs
|
||||
\begin_inset Foot
|
||||
status collapsed
|
||||
\lang english
|
||||
Modern LaTeX distributions like TeXLive (2008 or newer) or MiKTeX provide
|
||||
a user interface for installing such packages.
|
||||
For example, with MiKTeX, you start the program
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Voir le manuel de
|
||||
\emph on
|
||||
Configuration
|
||||
Package
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
LaTeX
|
||||
\emph default
|
||||
pour savoir ce qu'est le CTAN et où l'on peut trouver les classes de document
|
||||
supportées.
|
||||
Manager
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
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_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
|
||||
Lisez le fichier
|
||||
\family typewriter
|
||||
texmf.cnf
|
||||
\family default
|
||||
(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 :
|
||||
|
||||
\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
|
||||
Réglez
|
||||
\family typewriter
|
||||
TEXMFLOCAL
|
||||
|
||||
\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
|
||||
\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
|
||||
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
|
||||
\end_inset
|
||||
|
||||
|
||||
\family typewriter
|
||||
TEXMFLOCAL = /usr/local/texmf
|
||||
In general, it is recommended to install in the user tree because your user
|
||||
will not be modified or even overwritten when you upgrade your system.
|
||||
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
|
||||
|
||||
\begin_layout Enumerate
|
||||
Assurez-vous que
|
||||
\family typewriter
|
||||
TEXMF
|
||||
|
||||
\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
|
||||
inclut bien la variable
|
||||
\family typewriter
|
||||
TEXMFLOCAL
|
||||
.
|
||||
(For MiKTeX, this would be by default the folder
|
||||
\family sans
|
||||
~:
|
||||
\backslash
|
||||
Programs
|
||||
\backslash
|
||||
MiKTeX
|
||||
\backslash
|
||||
tex
|
||||
\backslash
|
||||
latex
|
||||
\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
|
||||
\end_inset
|
||||
|
||||
|
||||
\family typewriter
|
||||
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
|
||||
\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_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
|
||||
Créez votre répertoire
|
||||
\family typewriter
|
||||
texmf
|
||||
\family default
|
||||
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
|
||||
).
|
||||
|
||||
\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
|
||||
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
|
||||
Lancez
|
||||
\family typewriter
|
||||
\lang english
|
||||
For TeXLive execute the command
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\lang english
|
||||
texhash
|
||||
\family default
|
||||
.
|
||||
Ça devrait entre autres créer
|
||||
\family typewriter
|
||||
/usr/local/texmf/ls-R
|
||||
\family default
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
from a console.
|
||||
If you installed the package for all users, then you will probably need
|
||||
to have root permissions for that.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Enumerate
|
||||
Depuis LyX, faites
|
||||
\family sans
|
||||
Éditer\SpecialChar \menuseparator
|
||||
Reconfigurer
|
||||
\family default
|
||||
.
|
||||
Redémarrez LyX.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Maintenant vous devriez voir votre nouveau paquetage – par exemple
|
||||
\family sans
|
||||
slides
|
||||
\lang english
|
||||
For MiKTeX, if you have installed the package for all users, start the program
|
||||
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
Settings
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
(FoilTeX)
|
||||
\family default
|
||||
– dans le champ
|
||||
\family sans
|
||||
Classe
|
||||
\family default
|
||||
de la fenêtre
|
||||
\family sans
|
||||
Format\SpecialChar \menuseparator
|
||||
Document\SpecialChar \menuseparator
|
||||
Document
|
||||
\family default
|
||||
(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
|
||||
|
||||
.
|
||||
Notez qu'il y a des façons plus simples d'installer des paquetages : vous
|
||||
pouvez ajouter un lien au répertoire du nouveau paquetage dans le répertoire
|
||||
LaTeX du système (
|
||||
\family typewriter
|
||||
$TEXMF/tex/latex
|
||||
\family default
|
||||
, n'oubliez pas de lancer ensuite
|
||||
\family typewriter
|
||||
texconfig
|
||||
\family default
|
||||
), ou parfois simplement régler la variable d'environnement
|
||||
\family typewriter
|
||||
$TEXINPUTS
|
||||
\family default
|
||||
pour inclure le nouveau paquetage.
|
||||
Cependant, la procédure stricte décrite dans
|
||||
\family typewriter
|
||||
texmf.cnf
|
||||
\family default
|
||||
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
|
||||
super-utilisateur.
|
||||
Otherwise start the program
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
Settings
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
and do the same.
|
||||
\end_layout
|
||||
|
||||
\end_deeper
|
||||
\begin_layout Enumerate
|
||||
|
||||
\lang english
|
||||
Finally, you need to tell LyX that there are new packages available.
|
||||
So, in LyX, use the menu
|
||||
\begin_inset Flex CharStyle:MenuItem
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\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
|
||||
|
||||
\begin_layout Section
|
||||
@ -13992,7 +14289,9 @@ math-matrix 3 3
|
||||
|
||||
|
||||
\begin_inset Formula $\begin{array}{ccc}
|
||||
\\\\\end{array}$
|
||||
\\
|
||||
\\
|
||||
\end{array}$
|
||||
\end_inset
|
||||
|
||||
.
|
||||
|
Loading…
Reference in New Issue
Block a user