Hola,
2009/11/18 Sebastián Ramírez Magrí <[email protected]>:
> El mié, 18-11-2009 a las 19:41 -0430, Muammar El Khatib escribió:
>> Hola,
>>
>> Pues como dice el asunto, quisiera saber cuáles son los paquetes
>> necesarios para mostrar los acentos en LaTex. Quería comentar que uso
>> Debian, y que el paquete que tengo instalado es:
>>
>> texlive-latex-base
>>
>> Coloqué también lo siguiente en el header del archivo .tex:
>>
>> \usepackage[latin1]{inputenc}
>> \usepackage[spanish]{babel}
>>
>> Según leí, con esto no hace falta colocar por ejemplo \'o para que ó
>> aparezca. Al compilar el documento aparece lo siguiente:
>>
>> muam...@obey:~/Desktop/posgrado$ pdflatex cv
>> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
>> %&-line parsing enabled.
>> entering extended mode
>> (./cv.tex
>> LaTeX2e <2005/12/01>
>> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang,
>> noh
>> yphenation, loaded.
>> (./res.cls
>> Document Style `res' <26 Sep 89>.
>> Document Class: res 2000/05/19 v1.4b Resume class
>> (/usr/share/texmf-texlive/tex/latex/base/article.cls
>> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
>> (/usr/share/texmf-texlive/tex/latex/base/size10.clo))
>> No auxiliary output files.
>>
>> ) (/usr/share/texmf-texlive/tex/latex/fancyhdr/fancyhdr.sty)
>> (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
>> (/usr/share/texmf-texlive/tex/latex/base/latin1.def))
>> (/usr/share/texmf-texlive/tex/generic/babel/babel.sty
>> (/usr/share/texmf-texlive/tex/generic/babel/spanish.ldf
>> (/usr/share/texmf-texlive/tex/generic/babel/babel.def)
>>
>> Package babel Warning: No hyphenation patterns were loaded for
>> (babel) the language `Spanish'
>> (babel) I will use the patterns loaded for \language=0
>> instead.
>>
>> ))
>> No file cv.aux.
>> ! Extra alignment tab has been changed to \cr.
>> <template> \unskip \hfil }\relax \endtemplate
>>
>> l.32 \begin{resume}
>>
>> ?
>> ! Missing $ inserted.
>> <inserted text>
>> $
>> l.53 Instituto Los Pró
>> ceres, Maracaibo, Venezuela \hfill 2003
>> ? x
>> No pages of output.
>> Transcript written on cv.log.
>> muam...@obey:~/Desktop/posgrado$ pdflatex cv
>> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
>> %&-line parsing enabled.
>> entering extended mode
>> (./cv.tex
>> LaTeX2e <2005/12/01>
>> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang,
>> noh
>> yphenation, loaded.
>> (./res.cls
>> Document Style `res' <26 Sep 89>.
>> Document Class: res 2000/05/19 v1.4b Resume class
>> (/usr/share/texmf-texlive/tex/latex/base/article.cls
>> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
>> (/usr/share/texmf-texlive/tex/latex/base/size10.clo))
>> No auxiliary output files.
>>
>> ) (/usr/share/texmf-texlive/tex/latex/fancyhdr/fancyhdr.sty)
>> (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
>> (/usr/share/texmf-texlive/tex/latex/base/latin1.def))
>> (/usr/share/texmf-texlive/tex/generic/babel/babel.sty
>> (/usr/share/texmf-texlive/tex/generic/babel/spanish.ldf
>> (/usr/share/texmf-texlive/tex/generic/babel/babel.def)
>>
>> Package babel Warning: No hyphenation patterns were loaded for
>> (babel) the language `Spanish'
>> (babel) I will use the patterns loaded for \language=0
>> instead.
>>
>> ))
>> No file cv.aux.
>> ! Extra alignment tab has been changed to \cr.
>> <template> \unskip \hfil }\relax \endtemplate
>>
>> l.32 \begin{resume}
>>
>> ?
>> ! Missing $ inserted.
>> <inserted text>
>> $
>> l.53 Instituto Los Pró
>> ceres, Maracaibo, Venezuela \hfill 2003
>> ?
>>
>>
>> Espero que puedan ayudarme con esto.
>>
>> Saludos,
>>
>
> Saludos!
>
> Normalmente con \usepackage[utf8x]{inputenc} resuelvo lo que tiene que
> ver con encoding del texto, pudiendo utilizar acentos y caracteres
> unicode sin problemas. Sin embargo, hay paquetes que pueden presentar
> conflictos con ciertas opciones de inputenc, por lo que te recomiendo
> que revises la documentación para el documentclass que estás usando.
>
Está bien, la revisaré. Quiero agregar que soy un completo n00b en el
uso de LaTex.El header luce así:
This file uses the resume document class (res.cls)
\documentclass{res}
%\usepackage{helvetica} % uses helvetica postscript font (download
helvetica.sty)
%\usepackage{newcent} % uses new century schoolbook postscript font
\newsectionwidth{0pt} % So the text is not indented under section headings
\usepackage{fancyhdr} % use this package to get a 2 line header
\usepackage[latin1]{inputenc}
\usepackage[spanish]{babel}
\renewcommand{\headrulewidth}{0pt} % suppress line drawn by default by fancyhdr
\setlength{\headheight}{24pt} % allow room for 2-line header
\setlength{\headsep}{24pt} % space between header and text
\setlength{\headheight}{24pt} % allow room for 2-line header
\pagestyle{fancy} % set pagestyle for document
\rhead{ {\it M. El Khatibr}\\{\it p. \thepage} } % put text in header
(right side)
\cfoot{} % the foot is empty
\topmargin=-0.5in % start text higher on the page
Esto fue un template que conseguí buscando en Google. En caso de que
alguien los quiera descargar todos, yo hice un script en BASH para
ello:
#!/bin/sh
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res1.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res2.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res3.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res4.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res5.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res6.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res7.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res8.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res9.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res10.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res1.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res2.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res3.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res4.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res5.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res6.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res7.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res8.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res9.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/res10.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/let3.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/let3.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/let7.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/let7.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/let9a.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/let9a.tex
wget http://www.rpi.edu/dept/arc/training/latex/resumes/let9b.pdf
wget http://www.rpi.edu/dept/arc/training/latex/resumes/let9b.tex
> Los mensajes que te da latex tienen más relación con babel, deberías
> revisar que paquete de debian provee los hyphenations para babel.
>
Yo estaba inseguro al respecto, no sabía si era que mi header estaba
mal formulado o que en verdad había un paquete que proveía esto. Voy a
investigar más a fondo.
> Por lo que veo estás tratando de hacer un CV. Te recomiendo que revises
> los paquetes moderncv, simplecv, y europecv...
>
Sí, estoy haciendo un CV. Por lo que puedo observar esos paquetes
proveen templates. Estoy muy interesado en el template europeo. Al
parecer el paquete en Debian es:
texlive-latex-extra
Voy a ver cómo usarlo.
> Saludos...
>
> P.D.: /me está revisando algunos códigos de revistas hechas en latex
> para plantear la opción de usar LaTeX en la revista del proyecto. Todo
> en la medida del tiempo libre que tenga.
La revista del proyecto será escrita en LaTeX:
http://ciencia.org.ve/index.php/howto
http://proyectociencia.org/cgi-bin/mailman/private/n-proyecto/2009-February/000366.html
http://proyectociencia.org/cgi-bin/mailman/private/n-proyecto/2009-February/000367.html
http://proyectociencia.org/cgi-bin/mailman/private/n-proyecto/2009-February/000368.html
http://proyectociencia.org/cgi-bin/mailman/private/n-proyecto/2009-February/000369.html
De todas maneras, puedes enviar a la lista interna los modelos que
consigas. Siempre es bueno estar abierto a nuevas posibilidades.
Saludos,
--
Muammar El Khatib.
Linux user: 403107.
GPG Key = 127029F1
http://muammar.me | http://proyectociencia.org
,''`.
: :' :
`. `'
`-
_______________________________________________
General mailing list
[email protected]
http://proyectociencia.org/cgi-bin/mailman/listinfo/general