From: Javier Fernández-Sanguino Date: Tue, 18 Sep 2007 22:51:52 +0000 (+0000) Subject: (This is the latex.xsl file I sent to the list in november 2006) X-Git-Url: http://git.projectaon.org/?a=commitdiff_plain;h=0fbb4ab332b939217c0702484973b28f90729d7a;p=project-aon.git (This is the latex.xsl file I sent to the list in november 2006) Update to the latex.xsl file including the new entities being used in the XML files as well as the changes necessary to provide translations for different languages (english and spanish currently being supported). Character to LaTeX equivalencies based on http://www.bitjungle.com/isoent/ git-svn-id: https://projectaon.org/data/en/xml@503 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- diff --git a/latex.xsl b/latex.xsl index 76e9571..a48a734 100644 --- a/latex.xsl +++ b/latex.xsl @@ -14,8 +14,6 @@ @@ -72,18 +71,42 @@ The implementation of tables is incomplete and kludgy. + + + +%% Two-sided %% +%\documentclass[letterpaper,12pt,twoside]{book} +% For european books: +\documentclass[a4paper,12pt,twoside]{book} + + + %% Two-sided %% \documentclass[letterpaper,12pt,twoside]{book} +% For european books: %\documentclass[a4paper,12pt,twoside]{book} + + + + %% One-sided %% %\documentclass[letterpaper,12pt,oneside]{book} %\documentclass[a4paper,12pt,oneside]{book} \usepackage[pdftex]{graphicx} \usepackage{ifthen} - + + + + +% Use this if you are compiling spanish PDFs: +\usepackage[spanish]{babel} + + + + %% color info %% \usepackage{color} \definecolor{titlecolor}{rgb}{} @@ -100,11 +123,11 @@ The implementation of tables is incomplete and kludgy. {%% Two-sided %% \fancyhead[CO]{\iffloatpage{}{}} \fancyhead[CE]{\iffloatpage{}{\bfseries }} - \fancyhead[LO,RE]{\iffloatpage{}{\thepage}}}% + \fancyhead[LO,RE]{\iffloatpage{}{\thepage}}} {%% One-sided %% - %\fancyhead[C]{\iffloatpage{}{\bfseries{:} \normalfont{}}} - %\fancyhead[R]{\iffloatpage{}{\thepage}}} - \renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}}} + \fancyhead[C]{\iffloatpage{}{\bfseries{:} \normalfont{}}} + \fancyhead[R]{\iffloatpage{}{\thepage}}} + \renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}}} \fancypagestyle{plain}{ \fancyhf{} @@ -134,7 +157,9 @@ The implementation of tables is incomplete and kludgy. %% TrueType font %% \usepackage[T1]{fontenc} - \usepackage{souvenir} + % NOTE: This font might not ve available. Uncomment if you have it configured + % for your LaTeX fonts: + %\usepackage{souvenir} %\renewcommand{\rmdefault}{souvnrttf} \raggedbottom @@ -168,52 +193,94 @@ The implementation of tables is incomplete and kludgy. - - Publication Date: - - - - - January - - - February - - - March - - - April - - - May - - - June - - - July - - - August - - - September - - - October - - - November - - - December - - - Invalid Month - - + + + Fecha de Publicación: + + + Publication Date: + + + + + + + + de enero de + January + + + + + de febrero de + February + + + + + de marzo de + March + + + + + de abril de + April + + + + + de mayo de + May + + + + + de junio de + June + + + + + de julio de + July + + + + + de agosto de + August + + + + + de septiembre de + September + + + + + de octubre de + October + + + + + de noviembre de + November + + + + + de diciembre de + December + + + + Invalid Month + + @@ -467,15 +534,15 @@ The implementation of tables is incomplete and kludgy. \newcommand{\aonmarks}{ \ifthenelse{\equal{\leftmark}{\rightmark}} {\rightmark} - {\rightmark{} - \leftmark}} + {\rightmark{} - \leftmark} \ifthenelse{\boolean{@twoside}}% {%% Two-sided %% \fancyhead[RO,LE]{\iffloatpage{}{\large{\bfseries \aonmarks}}} \fancyhead[LO,RE]{\iffloatpage{}{\thepage}}} {%% One-sided %% - %\fancyhead[R]{\iffloatpage{}{\large{\bfseries \aonmarks}}} - %\fancyhead[L]{\iffloatpage{}{\thepage}}% - } + \fancyhead[R]{\iffloatpage{}{\large{\bfseries \aonmarks}}} + \fancyhead[L]{\iffloatpage{}{\thepage}}% + } @@ -515,7 +582,14 @@ The implementation of tables is incomplete and kludgy. \hspace*{\fill} \mbox{\itshape \hyperlink{ill + + + }{Ilustración + + }{Illustration + + }}\hspace*{\fill}\\*[\parskip] @@ -612,7 +686,7 @@ The implementation of tables is incomplete and kludgy. - \hypertarget{map}{~} + \hypertarget{map}{map} \addcontentsline{toc}{section}{\protect\numberline{}{ @@ -730,22 +804,57 @@ The implementation of tables is incomplete and kludgy. - : {\small COMBAT~SKILL}~ + + + : {\small DESTREZA~EN~EL~COMBATE}~ + + + : {\small COMBAT~SKILL}~ + + - : {\small CLOSE~COMBAT~SKILL}~ + + + : {\small DESTREZA~EN~EL~COMBATE~DE~PROXIMIDAD}~ + + + : {\small CLOSE~COMBAT~SKILL}~ + + - ~~{\small ENDURANCE}~ + + + ~~{\small RESISTENCIA}~ + + + ~~{\small ENDURANCE}~ + + - ~({\small TARGET}~points)~ + + + ~(puntos~de~{\small OBJETIVO})~ + + + ~({\small TARGET}~points)~ + + - ~({\small RESISTANCE}~points)~ + + + ~(puntos~de~{\small RESISTENCIA})~ + + + ~({\small RESISTANCE}~points)~ + + @@ -818,7 +927,14 @@ The implementation of tables is incomplete and kludgy. \\ \mbox{ \hypertarget{ill - }{Illustration + + + }{Ilustración + + + }{Illustration + + }}\\[1em]{\itshape @@ -945,13 +1061,13 @@ The implementation of tables is incomplete and kludgy. &lsquot; - &rsquot; + &rsquot; &ldquot; - &rdquot; + &rdquot; @@ -970,4 +1086,165 @@ The implementation of tables is incomplete and kludgy. {\scriptsize } + + + + + + +' +~ +{\textexclamdown} +\textcent +\pounds +\textcurrency +\textyen +\textbar +\textsection +\ddot{} +\copyright +\textordfeminine +{\guillemotleft} +\textlnot +\- +{\texttrademark} +\textasciimacron +\textdegree +\textpm +^2 +^3 +\' +\textmu +\textparagraph +\textperiodcentered +\c{c} +^1 +\textordmasculine +{\guillemotright} +\frac{1}{4} +\frac{1}{2} +\frac{3}{4} +{\textquestiondown} +À +Á +Â +Ã +Ä +Å +Æ +Ç +È +É +Ê +Ë +Ì +Í +Î +Ï +Ð +Ñ +Ò +Ó +Ô +Õ +Ö +× +Ø +Ù +Ú +Û +Ü +Ý +Þ +ß +à +á +â +ã +ä +å +æ +ç +è +é +ê +ë +ì +í +î +ï +ð +ñ +ò +ó +ô +õ +ö +÷ +ø +ù +ú +û +ü +ý +þ +ÿ + + + +\& +\textquoteleft +\textquoteright +`` +'' +\- +\- + \ldots +\ldots  +\_\_\_\_\_\_\_ +\% +\ +1/16 ++ + + + + + + + + + + + + Sección + + + Section + + + + + + + + # + + + +