Browse Source

Adjust Russian style.

svn path=/trunk/; revision=24304
pull/8/head
guest-ineiev 8 years ago
parent
commit
6e109ef4d1
2 changed files with 22 additions and 5 deletions
  1. +8
    -1
      about/printable/mk-tex-a3.xsl
  2. +14
    -4
      about/printable/mk-tex-a4.xsl

+ 8
- 1
about/printable/mk-tex-a3.xsl View File

@ -15,10 +15,11 @@
<xsl:text>\documentclass[11pt]{article}
\usepackage[a3paper]{geometry}</xsl:text>
<xsl:if test="$language='el'">\usepackage[english,greek]{babel}</xsl:if>
<xsl:if test="$language='ru'">\usepackage[russian]{babel}</xsl:if>
<xsl:text>\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
<xsl:if test="$language='ru'">\usepackage[russian]{babel}
</xsl:if>
</xsl:text><xsl:if test="$language!='el'">\usepackage{helvet}</xsl:if><xsl:text>
\usepackage{graphics}
\usepackage{color}
@ -65,11 +66,17 @@
<xsl:if test="$language='el'">
\selectlanguage{english}
</xsl:if>
<xsl:if test="$language!='ru'">
<xsl:text>
\bigskip \scriptsize This is an unofficial translation. Please see
http://www.fsfe.org/about/printable/printable.en.html for the
original text.
</xsl:text>
</xsl:if>
<xsl:if test="$language='ru'">
\bigskip \scriptsize Это неофициальный перевод. Оригинальный текст
см. на http://www.fsfe.org/about/printable/printable.en.html
</xsl:if>
</xsl:if>
<xsl:text>\end{textblock*}</xsl:text>


+ 14
- 4
about/printable/mk-tex-a4.xsl View File

@ -15,10 +15,11 @@
<xsl:template match="body">
<xsl:text>\documentclass[a4paper]{article}</xsl:text>
<xsl:if test="$language='el'">\usepackage[english,greek]{babel}</xsl:if>
<xsl:if test="$language='ru'">\usepackage[russian]{babel}</xsl:if>
<xsl:text>\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
<xsl:if test="$language='ru'">\usepackage[russian]{babel}
</xsl:if>
</xsl:text><xsl:if test="$language!='el'">\usepackage{helvet}</xsl:if><xsl:text>
\usepackage{fancyhdr}
\usepackage{multicol}
@ -34,7 +35,9 @@
\setlength{\oddsidemargin}{-32pt}
\setlength{\columnsep}{10pt}
\setlength{\textwidth}{514pt}
<xsl:if test="$language!='ru'">
\raggedright
</xsl:if>
% Header and footer
\chead{}
@ -105,9 +108,16 @@
<!-- Disclaimer -->
<xsl:if test="$language!='de' and $language!='en' and $language!='es' and $language!='it'">
<xsl:if test="$language='el'">\selectlanguage{english}</xsl:if>
<xsl:text>This is an unofficial translation. Please see </xsl:text>
<xsl:text>http://www.fsfe.org/about/printable/printable.en.html</xsl:text>
<xsl:text> for the original text.</xsl:text>
<xsl:if test="$language!='ru'">
<xsl:text>This is an unofficial translation. Please see </xsl:text>
<xsl:text>http://www.fsfe.org/about/printable/printable.en.html</xsl:text>
<xsl:text> for the original text.</xsl:text>
</xsl:if>
<xsl:if test="$language='ru'">
<xsl:text>Это неофициальный перевод. </xsl:text>
<xsl:text>Оригинальный текст см. на </xsl:text>
<xsl:text>http://www.fsfe.org/about/printable/printable.en.html.</xsl:text>
</xsl:if>
</xsl:if>
<xsl:text>}</xsl:text>
</xsl:template>


Loading…
Cancel
Save