[Git][debian-edu/debian-edu-doc][master] Add tamil stylesheet stanza to dblatex.xsl.

"Frans Spiesschaert (@frans)" <[email protected]>
Newsgroups gmane.linux.skolelinux.cvs
Message-ID <[email protected]>

Frans Spiesschaert pushed to branch master at Debian Edu / debian-edu-doc


Commits:
da5063d5 by Frans Spiesschaert at 2025-10-24T13:01:11+00:00
Add tamil stylesheet stanza to dblatex.xsl.

- - - - -


1 changed file:

- documentation/common/dblatex.xsl


Changes:

=====================================
documentation/common/dblatex.xsl
=====================================
@@ -32,6 +32,13 @@
         <xsl:text>\setsansfont{DejaVuSans}&#10;</xsl:text>
         <xsl:text>\setmonofont{DejaVuSansMono}&#10;</xsl:text>
     </xsl:when>
+    <xsl:when test="contains(/article/@lang,'ta')">
+        <xsl:text>\usepackage[english, tamil, provide*=*]{babel}&#10;</xsl:text>
+        <xsl:text>\babelfont{rm}[Extension=.otf,BoldFont=*Bold,ItalicFont=*Italic,BoldItalicFont=*BoldItalic]{FreeSerif}&#10;</xsl:text> % better alignment using those options
+        <xsl:text>\babelfont{sf}[Extension=.otf,BoldFont=*Bold,ItalicFont=*Italic,BoldItalicFont=*BoldItalic]{FreeSerif}&#10;</xsl:text> % better alignment using those options
+        <xsl:text>\babelfont{tt}{FreeSerif}&#10;</xsl:text>
+        <xsl:text>\sloppy&#10;</xsl:text> % prevent some text from getting dropped from the right paper edge
+    </xsl:when>
     <xsl:otherwise>
         <xsl:text>\setmainfont{Latin Modern Sans}&#10;</xsl:text>
         <xsl:text>\setsansfont{Latin Modern Sans}&#10;</xsl:text>



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-doc/-/commit/da5063d5999cb142ad81d91bcd1d721f21f98955

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-doc/-/commit/da5063d5999cb142ad81d91bcd1d721f21f98955
You're receiving this email because of your account on salsa.debian.org.

_______________________________________________
debian-edu-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-edu-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.