texlive[41552] Master/texmf-dist/tex/csplain: csplain (27jun16)
commits+karl at tug.org
commits+karl at tug.org
Mon Jun 27 22:38:38 CEST 2016
Revision: 41552
http://tug.org/svn/texlive?view=revision&revision=41552
Author: karl
Date: 2016-06-27 22:38:38 +0200 (Mon, 27 Jun 2016)
Log Message:
-----------
csplain (27jun16)
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/csplain/base/csplain.ini
trunk/Master/texmf-dist/tex/csplain/base/plaina4.tex
trunk/Master/texmf-dist/tex/csplain/base/xeplain.ini
trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex
Added Paths:
-----------
trunk/Master/texmf-dist/tex/csplain/fonts/glyphtounicode-cs.tex
Modified: trunk/Master/texmf-dist/tex/csplain/base/csplain.ini
===================================================================
--- trunk/Master/texmf-dist/tex/csplain/base/csplain.ini 2016-06-27 20:38:25 UTC (rev 41551)
+++ trunk/Master/texmf-dist/tex/csplain/base/csplain.ini 2016-06-27 20:38:38 UTC (rev 41552)
@@ -262,6 +262,8 @@
Jun. 2016:
* ff-mac + fontfiles: \ffdecl: first modifiers then basic selectors.
* cs-baskerx, cs-heuristica, cs-kurier, cs-iwona, ki-math, pazo-math added
+* plaina4: \ifx\pdfhorigin added (bug when XeTeX is used fixed)
+* glyphtounicode-cs.tex added
COPYRIGHT
=========
Modified: trunk/Master/texmf-dist/tex/csplain/base/plaina4.tex
===================================================================
--- trunk/Master/texmf-dist/tex/csplain/base/plaina4.tex 2016-06-27 20:38:25 UTC (rev 41551)
+++ trunk/Master/texmf-dist/tex/csplain/base/plaina4.tex 2016-06-27 20:38:38 UTC (rev 41552)
@@ -14,11 +14,12 @@
\gdef\m at g{\mag\count@
\hsize=159.2truemm \vsize=239.2truemm \dimen\footins8truein
\ifx\pdfpagewidth\undefined\else % added by P. O. Nov 2012
- \recount at true\pdfpagewidth % \recont at true added by P. O Apr. 2016
- \recount at true\pdfpageheight % because media size is distribution-dependent
- \recount at true\pdfhorigin
- \recount at true\pdfvorigin
- \fi
+ \recount at true\pdfpagewidth % \recont at true added by P. O. Apr. 2016
+ \recount at true\pdfpageheight % because media size is distribution-dependent
+ \ifx\pdfhorigin\undefined\else % corrected by P. O. Jun. 2016
+ \recount at true\pdfhorigin
+ \recount at true\pdfvorigin
+ \fi\fi
}
\gdef\recount at true#1{#1=\expandafter\recount at trueA\the#1truept\relax}
{\catcode`p=12 \gdef\recount at trueA#1p#2{#1}}
Modified: trunk/Master/texmf-dist/tex/csplain/base/xeplain.ini
===================================================================
--- trunk/Master/texmf-dist/tex/csplain/base/xeplain.ini 2016-06-27 20:38:25 UTC (rev 41551)
+++ trunk/Master/texmf-dist/tex/csplain/base/xeplain.ini 2016-06-27 20:38:38 UTC (rev 41552)
@@ -35,6 +35,7 @@
%% Next base macros:
\input plaina4 % \hsize and \vsize for A4
+ \pdfpagewidth=210mm \pdfpageheight=297mm
\def\font#1 {} % ignore \font\tenbi=csbxti10
\input csfontsm % macros: \sizespec, \resizefont, \resizeall, \tenbi, \bi
\let\font=\orifont
Added: trunk/Master/texmf-dist/tex/csplain/fonts/glyphtounicode-cs.tex
===================================================================
--- trunk/Master/texmf-dist/tex/csplain/fonts/glyphtounicode-cs.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/csplain/fonts/glyphtounicode-cs.tex 2016-06-27 20:38:38 UTC (rev 41552)
@@ -0,0 +1,21 @@
+% glyphtounicode-cs.tex
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% P. Olsak, inspired by Pali Rohar
+
+% Use \input glyphtounicode-cs
+% in your pdfTeX document if you want to have working characters mentioned
+% below when copy-pasting from PDF output or when finding string in the PDF
+% output. This file is special only for csfonts in T1 (*.pfb) format. Other
+% fonts (like lmfonts, for example) need not to use it.
+
+% Note that this file works in pdfTeX only. Other glyph names listed in the
+% glyphtounicode.tex file need not to be declared because the contents of
+% this file is hardcoded in typical PDF viewers.
+
+\pdfgentounicode=1
+\pdfglyphtounicode{csquotedblright}{201C}
+\pdfglyphtounicode{althyphen}{002D}
+\pdfglyphtounicode{polishlcross}{0337}
+\pdfglyphtounicode{suppress}{0337}
+
+% end of file
Property changes on: trunk/Master/texmf-dist/tex/csplain/fonts/glyphtounicode-cs.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex
===================================================================
--- trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex 2016-06-27 20:38:25 UTC (rev 41551)
+++ trunk/Master/texmf-dist/tex/csplain/opmac/opmac.tex 2016-06-27 20:38:38 UTC (rev 41552)
@@ -1613,9 +1613,10 @@
\def\magscale[#1]{\mag=#1\def\trueunit{true}%
\ifdim\pgwidth=0pt \else \truedimen\pgwidth \truedimen\pgheight \fi
\ifx\pdfpagewidth\undefined \else
- \truedimen\pdfpagewidth \truedimen\pdfpageheight
- \pdfhorigin=1truein \pdfvorigin=1truein % Origin is independent off \mag
- \fi}
+ \truedimen\pdfpagewidth \truedimen\pdfpageheight
+ \ifx\pdfhorigin\undefined\else
+ \pdfhorigin=1truein \pdfvorigin=1truein % Origin is independent off \mag
+ \fi\fi}
\def\truedimen#1{\ifx\trueunit\empty \else#1=\expandafter\ignorept\the#1truept \fi}
%%%%%%%%%%%%%% XeTeX specific + REF file is read now -- sec 3.26 in opmac-d.pdf
@@ -1766,5 +1767,6 @@
\bfshape: \everymath={\boldmath} instead \boldmath directly
\tskip corrected
Jun. 2016 \thefontsize: \fontdim=#1\ptunit added.
+ \pdfhvorigin unknown in XeTeX, bug fixed
%%%%%%%%%%%%%% End of opmac.tex
More information about the tex-live-commits
mailing list