summaryrefslogtreecommitdiff
path: root/fonts/gentium-tug/doc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-02 03:03:07 +0000
committerNorbert Preining <norbert@preining.info>2022-06-02 03:03:07 +0000
commitd04e1ae659e8517e73bdabbd147386187d88fcb4 (patch)
treeeffdc25fc252bc1eaa513934be50107c297c2140 /fonts/gentium-tug/doc
parent395236b957a38aebc12c385c6de965af2b61f034 (diff)
CTAN sync 202206020303
Diffstat (limited to 'fonts/gentium-tug/doc')
-rw-r--r--fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/makepsmd.py134
-rw-r--r--fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua20
-rw-r--r--fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-pdf.lua32
-rw-r--r--fonts/gentium-tug/doc/gentium-tug/ChangeLog24
-rw-r--r--fonts/gentium-tug/doc/gentium-tug/FONTLOG.txt5
-rw-r--r--fonts/gentium-tug/doc/gentium-tug/README19
-rw-r--r--fonts/gentium-tug/doc/gentium-tug/gentium.pdfbin636848 -> 1410650 bytes
-rw-r--r--fonts/gentium-tug/doc/gentium-tug/gentium.tex68
8 files changed, 164 insertions, 138 deletions
diff --git a/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/makepsmd.py b/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/makepsmd.py
index d71466dfd3..08c378b21c 100644
--- a/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/makepsmd.py
+++ b/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/makepsmd.py
@@ -1,67 +1,67 @@
-#!/usr/bin/env python
-'''Process font documentation .md files for use on product sites '''
-__url__ = 'http://github.com/silnrsi/fontdocs'
-__copyright__ = 'Copyright (c) 2021 SIL International (http://www.sil.org)'
-__license__ = 'Released under the MIT License (http://opensource.org/licenses/MIT)'
-__author__ = 'Victor Gaultney'
-
-import re
-from silfont.core import execute
-
-argspec = [
- ('infile', {'help': 'Input .md filename'}, {'type': 'infile'}),
- ('outfile',{'help': 'Output .md filename'}, {'type': 'outfile'})
-]
-
-def doit(args):
- infile = args.infile
- outfile = args.outfile
-
- firstline = True
- inheader = False
- inpsonly = False
-
- temptext = ""
-
- # remove YAML header and uncomment the [font] shortcode
- for line in infile:
- if firstline:
- firstline = False
- inheader = True
- continue
- if inheader:
- if line.startswith("---"):
- inheader = False
- continue
- if line.startswith("<!-- PRODUCT SITE ONLY"):
- inpsonly = True
- continue
- if inpsonly:
- if line.startswith("-->"):
- inpsonly = False
- continue
- temptext = temptext + line
-
- # reconfigure image markup
- # mdimage = re.compile(r"!\[(.*?)\]\((\S+\.\w+)\)\{\.(\S+)\}\n?<!--\sPRODUCT\sSITE\sIMAGE\sSRC\s(\S+)\s-->")
- # temptext = mdimage.sub(r"<img class='\3' alt='\1' src='\4' />\n[caption]<em>\1</em>[/caption]", temptext)
-
- mdimage = re.compile(r"!\[(.*?)\]\((\S+\.\w+)\)\{\.(\S+)\}\n?<!--\sPRODUCT\sSITE\sIMAGE\sSRC\s(\S+)\s-->")
- temptext = mdimage.sub(r"<img class='\3' alt='\1' src='\4' />", temptext)
-
- mdimagecap = re.compile(r"<figcaption>(.*?)<\/figcaption>")
- temptext = mdimagecap.sub(r"[caption]<em>\1</em>[/caption]", temptext)
-
- # replace local links with site references
- temptext = temptext.replace(".md","")
-
- # replace links to external markdown files
- temptext = temptext.replace(".rawmd",".md")
-
- outfile.write(temptext)
-
- return
-
-
-def cmd() : execute(None,doit, argspec)
-if __name__ == "__main__": cmd()
+#!/usr/bin/env python
+'''Process font documentation .md files for use on product sites '''
+__url__ = 'http://github.com/silnrsi/fontdocs'
+__copyright__ = 'Copyright (c) 2021 SIL International (http://www.sil.org)'
+__license__ = 'Released under the MIT License (http://opensource.org/licenses/MIT)'
+__author__ = 'Victor Gaultney'
+
+import re
+from silfont.core import execute
+
+argspec = [
+ ('infile', {'help': 'Input .md filename'}, {'type': 'infile'}),
+ ('outfile',{'help': 'Output .md filename'}, {'type': 'outfile'})
+]
+
+def doit(args):
+ infile = args.infile
+ outfile = args.outfile
+
+ firstline = True
+ inheader = False
+ inpsonly = False
+
+ temptext = ""
+
+ # remove YAML header and uncomment the [font] shortcode
+ for line in infile:
+ if firstline:
+ firstline = False
+ inheader = True
+ continue
+ if inheader:
+ if line.startswith("---"):
+ inheader = False
+ continue
+ if line.startswith("<!-- PRODUCT SITE ONLY"):
+ inpsonly = True
+ continue
+ if inpsonly:
+ if line.startswith("-->"):
+ inpsonly = False
+ continue
+ temptext = temptext + line
+
+ # reconfigure image markup
+ # mdimage = re.compile(r"!\[(.*?)\]\((\S+\.\w+)\)\{\.(\S+)\}\n?<!--\sPRODUCT\sSITE\sIMAGE\sSRC\s(\S+)\s-->")
+ # temptext = mdimage.sub(r"<img class='\3' alt='\1' src='\4' />\n[caption]<em>\1</em>[/caption]", temptext)
+
+ mdimage = re.compile(r"!\[(.*?)\]\((\S+\.\w+)\)\{\.(\S+)\}\n?<!--\sPRODUCT\sSITE\sIMAGE\sSRC\s(\S+)\s-->")
+ temptext = mdimage.sub(r"<img class='\3' alt='\1' src='\4' />", temptext)
+
+ mdimagecap = re.compile(r"<figcaption>(.*?)<\/figcaption>")
+ temptext = mdimagecap.sub(r"[caption]<em>\1</em>[/caption]", temptext)
+
+ # replace local links with site references
+ temptext = temptext.replace(".md","")
+
+ # replace links to external markdown files
+ temptext = temptext.replace(".rawmd",".md")
+
+ outfile.write(temptext)
+
+ return
+
+
+def cmd() : execute(None,doit, argspec)
+if __name__ == "__main__": cmd()
diff --git a/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua b/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua
index 25938d3358..31ed5a3c42 100644
--- a/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua
+++ b/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-html.lua
@@ -1,10 +1,10 @@
-function Link(el)
- el.target = string.gsub(el.target, "%.md", ".html")
- el.target = string.gsub(el.target, "%.rawmd", ".md")
- return el
-end
-
-function CodeBlock(el)
- el.text = string.gsub(el.text, "(.+)", " %0")
- return el
-end
+function Link(el)
+ el.target = string.gsub(el.target, "%.md", ".html")
+ el.target = string.gsub(el.target, "%.rawmd", ".md")
+ return el
+end
+
+function CodeBlock(el)
+ el.text = string.gsub(el.text, "(.+)", " %0")
+ return el
+end
diff --git a/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-pdf.lua b/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-pdf.lua
index 25d5b0fe7d..09149ad72b 100644
--- a/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-pdf.lua
+++ b/fonts/gentium-tug/doc/GentiumPlus-6.101/documentation/source/pandocfilters/filter-pdf.lua
@@ -1,16 +1,16 @@
-function Link(el)
- el.target = string.gsub(el.target, "(.+)", "../../pdf/%0")
- el.target = string.gsub(el.target, "%.md", ".pdf")
- el.target = string.gsub(el.target, "%.rawmd", ".md")
- return el
-end
-
-function Image(el)
- el.src = string.gsub(el.src, "(.+)", "../../%0")
- return el
-end
-
-function CodeBlock(el)
- el.text = string.gsub(el.text, "(.+)", " %0")
- return el
-end
+function Link(el)
+ el.target = string.gsub(el.target, "(.+)", "../../pdf/%0")
+ el.target = string.gsub(el.target, "%.md", ".pdf")
+ el.target = string.gsub(el.target, "%.rawmd", ".md")
+ return el
+end
+
+function Image(el)
+ el.src = string.gsub(el.src, "(.+)", "../../%0")
+ return el
+end
+
+function CodeBlock(el)
+ el.text = string.gsub(el.text, "(.+)", " %0")
+ return el
+end
diff --git a/fonts/gentium-tug/doc/gentium-tug/ChangeLog b/fonts/gentium-tug/doc/gentium-tug/ChangeLog
index 5b5d3bc24e..78711d37d3 100644
--- a/fonts/gentium-tug/doc/gentium-tug/ChangeLog
+++ b/fonts/gentium-tug/doc/gentium-tug/ChangeLog
@@ -1,4 +1,4 @@
-$Id: ChangeLog 141 2022-05-19 17:50:08Z karl $
+$Id: ChangeLog 157 2022-05-31 22:20:57Z karl $
This file is part of the Gentium package for TeX.
It is licensed under the Expat License, see doc//README for details.
@@ -9,27 +9,33 @@ The SIL release has its own FONTLOG.txt, included in the parallel
GentiumPlus-* directory. Please consult it for a full record of changes
to the fonts.
+2022-05-30
+- release gentium-tug 1.102. No changes to the fonts, only the LaTeX support:
+- use family GentiumBookPlus as additional weights for gentium.sty, and
+- use family GentiumPlus as additional weights for gentiumbook.sty (Pavel).
+
2022-05-19
-- numerous changes for the Gentium Plus 6.101 release. We are now
- distributing Type 1's for the GentiumPlus-* and GentiumBookPlus-*
- fonts, eight fonts in all. Remove vestiges of previously-distributed
- fonts. (Pavel) Update manual. (Pavel/Karl)
+- numerous changes for the Gentium Plus 6.101 release (= gentium-tug 1.101).
+ We are now distributing Type 1's for the GentiumPlus-* and
+ GentiumBookPlus-* fonts, eight fonts in all. Remove vestiges of
+ previously-distributed fonts. (Pavel)
+- Update manual. (Pavel/Karl)
2022-05-09
- adapt Ruby scripts that create the TeX support files for the new fonts.
The scripts do not work with the current version of Ruby, but with the
very old version 1.8.7). I don't use Ruby, except for this update. (Pavel)
-- create gentiumbook.sty for using the Gentium Book Plus family (Pavel)
+- create gentiumbook.sty for using the Gentium Book Plus family. (Pavel)
2022-04-26
-- add several wordlists to see in FontForge how the converted fonts behave
+- add several wordlists to see in FontForge how the converted fonts behave.
(Pavel)
2022-04-07
-- add some kerning pairs for Cyrillic letters (Pavel)
+- add some kerning pairs for Cyrillic letters. (Pavel)
2022-03-29
-- improve scripts that test the converted Type 1 fonts (Pavel)
+- improve scripts that test the converted Type 1 fonts. (Pavel)
2022-03-22
- fix scripts for small caps; Old fonts used x.SC for small caps, new fonts
diff --git a/fonts/gentium-tug/doc/gentium-tug/FONTLOG.txt b/fonts/gentium-tug/doc/gentium-tug/FONTLOG.txt
index 6e92af9f0a..022baf12b5 100644
--- a/fonts/gentium-tug/doc/gentium-tug/FONTLOG.txt
+++ b/fonts/gentium-tug/doc/gentium-tug/FONTLOG.txt
@@ -1,4 +1,4 @@
-$Id: FONTLOG.txt 146 2022-05-21 22:17:01Z karl $
+$Id: FONTLOG.txt 157 2022-05-31 22:20:57Z karl $
The Gentium Plus PS fonts are Type 1 versions of the TrueType Gentium
fonts released by SIL International. The conversion to Type 1
necessarily introduces changes in the implementation of the shapes and
@@ -19,6 +19,9 @@ The home page for the Gentium Plus PS fonts and TeX support package:
https://tug.org/gentium
Mailing list: gentium@tug.org (https://lists.tug.org/gentium)
+30 May 2022 Gentium Plus PS version 1.102
+- No changes to the fonts, only the LaTeX support. See ./ChangeLog.
+
21 May 2022 Gentium Plus PS version 1.101
- Update to GentiumPlus 6.101. This contains two font families: Gentium Plus
and Gentium Book Plus.
diff --git a/fonts/gentium-tug/doc/gentium-tug/README b/fonts/gentium-tug/doc/gentium-tug/README
index 6cabca7d47..4b6ccee6a0 100644
--- a/fonts/gentium-tug/doc/gentium-tug/README
+++ b/fonts/gentium-tug/doc/gentium-tug/README
@@ -1,4 +1,4 @@
-$Id: README 146 2022-05-21 22:17:01Z karl $
+$Id: README 153 2022-05-27 11:00:14Z pavel $
The home page for the original SIL Gentium font family is
https://scripts.sil.org/Gentium.
@@ -125,23 +125,6 @@ TODO:
- The combination of two commas seems not to give quotedblbase in T1.
Check it and correct using lig file if needed.
-- Use all 8 fonts in gentium.sty and gentiumbook.sty. The added fonts would
- represent additional series (weight). The following table shows how it
- would look for upright (roman) style:
-
- gentium gentiumbook
-----------------------------------------------------------
-GentiumPlus-Regular medium semi light
-GentiumBookPlus-Regular semi bold medium
-GentiumPlus-Bold bold semi bold
-GentiumBookPlus-Bold extra bold bold
-
- It would be similar for the italic styles.
-
- Then the package "gentium" would have 4 weights--the usual medium and bold,
- but also semi bold and extra bold. The package "gentiumbook" could add the
- semi light and semi bold weights.
-
- Check if there are new characters to fill the empty slots in encodings.
- The code concerning the final sigma should be cleaned-up (some refactoring;
diff --git a/fonts/gentium-tug/doc/gentium-tug/gentium.pdf b/fonts/gentium-tug/doc/gentium-tug/gentium.pdf
index 547340bfd0..01b85f0dd4 100644
--- a/fonts/gentium-tug/doc/gentium-tug/gentium.pdf
+++ b/fonts/gentium-tug/doc/gentium-tug/gentium.pdf
Binary files differ
diff --git a/fonts/gentium-tug/doc/gentium-tug/gentium.tex b/fonts/gentium-tug/doc/gentium-tug/gentium.tex
index 9f37664e20..4dd75d6898 100644
--- a/fonts/gentium-tug/doc/gentium-tug/gentium.tex
+++ b/fonts/gentium-tug/doc/gentium-tug/gentium.tex
@@ -1,7 +1,7 @@
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
-% $Id: gentium.tex 146 2022-05-21 22:17:01Z karl $
+% $Id: gentium.tex 157 2022-05-31 22:20:57Z karl $
% This file is part of the Gentium package for TeX.
% It is licensed under the Expat License, see doc//README for details.
@@ -80,10 +80,11 @@
\newcommand*{\fname}[1]{\textsf{#1}}
\begin{abstract}\raggedright\noindent
- This document briefly describes the
- \TeX/\LaTeX\ support provided by this
- package, \pkgname{gentium-tug}, for the Gentium font collection
- released by \sil.
+ This document briefly describes the \TeX/\LaTeX\ support
+ provided by this package, \pkgname{gentium-tug}, for the Gentium
+ font collection released by \sil. \pkgname{gentium-tug} includes
+ Type~1 versions of the fonts, as well as the original TrueType
+ fonts released by \sil.
\end{abstract}
\tableofcontents
@@ -139,9 +140,7 @@ GentiumPlus is a seriffed design. The fonts support a wide range of
Latin, Greek and Cyrillic characters.
This package does not use the Berry fontname scheme, but longer names
-similar to those of Latin Modern, etc. One disadvantage of this choice
-is that you cannot use the additional font selection commands provided
-by the package \pkgname{nfssext-cfr}.
+similar to those of Latin Modern, etc.
\section{Installation}
@@ -193,9 +192,8 @@ Alternatively, you can do \verb|\usepackage{gentiumbook}| to load the
GentiumBookPlus fonts for your document, instead of GentiumPlus. The
most noticeable difference is that the Book fonts are a lighter weight.
-The only prerequisite is that the \LaTeX\ packages (\path{gentium.sty},
-\path{gentiumbook.sty}) require \pkgname{xkeyval}, which you almost
-certainly already have.
+The only prerequisite is that these \LaTeX\ packages require
+\pkgname{xkeyval}, which you almost certainly already have.
\subsection{Encodings}\label{sec:encs}
@@ -238,19 +236,54 @@ To use Gentium fonts in a \LaTeX\ document, add
the default serif/roman family to \fname{gentium}.
You can also use \verb|\usepackage{gentiumbook}|, which will set the
-Gentium Book Plus family.
+Gentium Book Plus family as the default.
+
+The package \verb|gentium| uses not only the family GentiumPlus, but
+also the family GentiumBookPlus for additional weights (semi bold and
+extra bold). Likewise, the package \verb|gentiumbook| uses not only the
+family GentiumBookPlus, but also the family GentiumPlus for additional
+weights (semi light and semi bold). That means that both packages enable
+access to all eight fonts. The difference is in which fonts are used for
+the most common weights, medium and bold, and which weights are added.
+You can see what's available in table~\ref{weights}.
+
+\begin{table}[h]
+\centering
+ \begin{tabular}{llrr}
+ \toprule
+ upright font & italic font & \tt gentium & \tt gentiumbook \\
+ \midrule
+ GentiumPlus-Regular & \textit{GentiumPlus-Italic} & \textbf{m} & sl \\
+ \usefont{T1}{gentium}{sb}{n} GentiumBookPlus-Regular & \usefont{T1}{gentium}{sb}{it} GentiumBookPlus-Italic & sb & \textbf{m} \\
+ \usefont{T1}{gentium}{b}{n} GentiumPlus-Bold & \usefont{T1}{gentium}{b}{it} GentiumPlus-BoldItalic & \textbf{b} & sb \\
+ \usefont{T1}{gentium}{eb}{n} GentiumBookPlus-Bold & \usefont{T1}{gentium}{eb}{it} GentiumBookPlus-BoldItalic & eb & \textbf{b} \\
+ \bottomrule
+ \end{tabular}
+ \caption{Available weights in \texttt{gentium} vs.\ \texttt{gentiumbook}.}
+ \label{weights}
+\end{table}
+
+You can set the desired weight with the command \verb|\fontseries|, like this:
+\begin{verbatim}
+\fontseries{sb}\selectfont
+\end{verbatim}
+
+You can also use the command \verb|\usefont|, like this:
+\begin{verbatim}
+\usefont{T1}{gentium}{sb}{n}
+\end{verbatim}
If you want to use Gentium together with another font (sans or
-typewriter) with a different x-height, you should consider using the
-option \verb|scaled|. This scales Gentium font and if you choose the
-right scaling factor, you will get the same x-height of both fonts.
-Here is an example of this option:
+typewriter) that has a different \mbox{x-height}, consider using the
+option \verb|scaled|. This scales the Gentium font and if you choose the
+right scaling factor, you will get the same x-height of both fonts. Here
+is an example of this option:
\begin{verbatim}
\usepackage[scaled=0.9]{gentium}
\end{verbatim}
The default definition of the \LaTeX\ logo does not work well with
-Gentium. Although \TeX\ does not look too bad by default, since we
+Gentium. Although ``\TeX'' does not look too bad by default, since we
change \LaTeX, we also change \TeX. This document modifies the logos
using the \pkgname{metalogo} package as follows:
@@ -262,6 +295,7 @@ using the \pkgname{metalogo} package as follows:
\setlogodrop[TeX]{.45ex}% default .5ex
\end{verbatim}
+
\subsection{Changes in the Type~1 fonts vs.\ the TrueType originals}
The shapes of all characters in the Type~1 fonts are the same as in the