diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-20 03:00:50 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-20 03:00:50 +0000 |
commit | 8fa38617045e3aa88b163fdc2fd683d72559b6d5 (patch) | |
tree | a0cf4b4ab921796fdd274f691910733d4dfb97d3 /macros | |
parent | 13a044b932f3f8d72791ca88eda528bdcbadcacc (diff) |
CTAN sync 201910200300
Diffstat (limited to 'macros')
34 files changed, 101 insertions, 85 deletions
diff --git a/macros/latex/contrib/acmart/README b/macros/latex/contrib/acmart/README index 1685b99783..a90e4c91df 100644 --- a/macros/latex/contrib/acmart/README +++ b/macros/latex/contrib/acmart/README @@ -236,4 +236,8 @@ Version 1.63a Moved TQUANT to TQC Version 1.64 Produce error if abstract is entered after maketitle (previously abstract was silently dropped) - Bug fixes for line numbering
\ No newline at end of file + Bug fixes for line numbering + +Version 1.65 Bug fixes + New journal: DGOV + DTRAP and HEALTH are now using acmlarge format
\ No newline at end of file diff --git a/macros/latex/contrib/acmart/acmart.dtx b/macros/latex/contrib/acmart/acmart.dtx index 918947f21d..3988394321 100644 --- a/macros/latex/contrib/acmart/acmart.dtx +++ b/macros/latex/contrib/acmart/acmart.dtx @@ -112,6 +112,7 @@ % Enrico Gregorio, % Jamie Davis, % Peter Kemp, +% Kerry A. Seitz, Jr., % Luis Leiva, % Ben Liblit, % Rholais Lii, @@ -288,8 +289,8 @@ % \normalfont Value & Meaning\\ % \midrule % manuscript & A manuscript. This is the default. \\ -% acmsmall & Small single-column format. Used for CIE, CSUR, DTRAP, -% HEALTH, JACM, JDIQ, JEA, JERIC, +% acmsmall & Small single-column format. Used for CIE, CSUR, +% JACM, JDIQ, JEA, JERIC, % JETC, PACMCGIT, PACMHCI, PACMPL, TAAS, TACCESS, TACO, % TALG, TALLIP (formerly TALIP), TCPS, TDS, % TEAC, TECS, TELO, THRI, TIIS, TIOT, TISSEC, TIST, TKDD, TMIS, @@ -298,7 +299,7 @@ % TOMCCAP), TOMPECS, TOMS, TOPC, TOPLAS, TOPS, % TOS, TOSEM, TOSN, TQC, TRETS, % TSAS, TSC, TSLP and TWEB, including special issues. \\ -% acmlarge & Large single-column format. Used for +% acmlarge & Large single-column format. Used for DTRAP, HEALTH, % IMWUT, JOCCH, POMACS and TAP, including special issues. \\ % acmtog & Large double-column format. Used for % TOG, including annual conference Technical Papers.\\ @@ -525,7 +526,7 @@ % their e-mails in one command leads to a warning or an error. This % is not a bug, but the expected behavior. % -% Note that some formats do not typset e-mails or ORCID identifiers. +% Note that some formats do not typeset e-mails or ORCID identifiers. % Do not worry: the metadata tools will get them. % % Sometimes an author has several affiliations. In this case, the @@ -1283,7 +1284,7 @@ % not in the printed version. The text inside the environment % |screenonly| will be typeset only when the option |screen| (see % Section~\ref{sec:invocation}) is set to |true|. Conversely, the -% text inside the environment |printonly| is typset only when this +% text inside the environment |printonly| is typeset only when this % option is set to |false|. For example, % \begin{verbatim} % \section{Supplementary materials} @@ -1736,6 +1737,7 @@ % \endfoot % CIE & ACM Computers in Entertainment \\ % CSUR & ACM Computing Surveys\\ +% DGOV & Digital Government: Research and Practice \\ % DTRAP & Digital Threats: Research and Practice\\ % HEALTH & ACM Transactions on Computing for Healthcare\\ % IMWUT & PACM on Interactive, Mobile, Wearable and Ubiquitous @@ -1828,7 +1830,7 @@ \ProvidesFile{acmart.dtx} %</gobble> %<class>\ProvidesClass{acmart} -[2019/08/24 v1.64 Typesetting articles for the Association for Computing Machinery] +[2019/10/19 v1.65 Typesetting articles for the Association for Computing Machinery] % \end{macrocode} % % \changes{v1.00}{2016/04/14}{First released version} @@ -1923,6 +1925,7 @@ % \changes{1.63a}{2019/08/05}{Move: TQUANT to TQC} % \changes{1.64}{2019/08/17}{Putting abstract after \cs{maketitle} now % causes an error} +% \changes{1.65}{2019/10/19}{New journal: DGOV} % % And the driver code: % \begin{macrocode} @@ -3494,6 +3497,7 @@ \define@choicekey*+{ACM}{acmJournal}[\@journalCode\@journalCode@nr]{% CIE,% CSUR,% + DGOV,% DTRAP,% HEALTH,% IMWUT,% @@ -3562,6 +3566,10 @@ \def\@journalName{ACM Computing Surveys}% \def\@journalNameShort{ACM Comput. Surv.}% \def\@permissionCodeOne{0360-0300}% +\or % DGOV + \def\@journalName{Digital Government: Research and Practice}% + \def\@journalNameShort{Digit. Gov. Res. Pract.}% + \def\@permissionCodeOne{2639-0175}% \or % DTRAP \def\@journalName{Digital Threats: Research and Practice}% \def\@journalNameShort{Digit. Threat. Res. Pract.}% @@ -5826,6 +5834,7 @@ % % \begin{macro}{\@mkauthorsaddresses} % \changes{v1.46}{2017/08/27}{Introduced macro} +% \changes{v1.65}{2019/10/13}{Deleted cs{@addpunct}} % Typesetting authors' addresses in the footnote style % \begin{macrocode} \def\@mkauthorsaddresses{% @@ -5834,17 +5843,17 @@ \ifnum\num@authorgroups>1\relax addresses: \else address: \fi \bgroup - \def\streetaddress##1{\unskip\@addpunct, ##1}% - \def\postcode##1{\unskip\@addpunct, ##1}% + \def\streetaddress##1{\unskip, ##1}% + \def\postcode##1{\unskip, ##1}% \def\position##1{\unskip\ignorespaces}% - \def\institution##1{\unskip\@addpunct, ##1}% - \def\city##1{\unskip\@addpunct, ##1}% - \def\state##1{\unskip\@addpunct, ##1}% + \def\institution##1{\unskip, ##1}% + \def\city##1{\unskip, ##1}% + \def\state##1{\unskip, ##1}% \renewcommand\department[2][0]{\unskip\@addpunct, ##2}% - \def\country##1{\unskip\@addpunct, ##1}% - \def\and{\unskip\@addpunct; }% + \def\country##1{\unskip, ##1}% + \def\and{\unskip; }% \def\@author##1{##1}% - \def\email##1##2{\unskip\@addpunct, \nolinkurl{##2}}% + \def\email##1##2{\unskip, \nolinkurl{##2}}% \addresses \egroup} % \end{macrocode} diff --git a/macros/latex/contrib/acmart/acmart.pdf b/macros/latex/contrib/acmart/acmart.pdf Binary files differindex 85eb0750fc..cb7692acaa 100644 --- a/macros/latex/contrib/acmart/acmart.pdf +++ b/macros/latex/contrib/acmart/acmart.pdf diff --git a/macros/latex/contrib/acmart/acmguide.pdf b/macros/latex/contrib/acmart/acmguide.pdf Binary files differindex 3786747d96..676c8c6685 100644 --- a/macros/latex/contrib/acmart/acmguide.pdf +++ b/macros/latex/contrib/acmart/acmguide.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf Binary files differindex 11e5f3dfcc..32e5fdec81 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf Binary files differindex bcbdc89506..09f48e1bad 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf Binary files differindex db87e3dde1..0691f8a8d7 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf Binary files differindex 894bbefbb7..a37a06ed46 100644 --- a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf +++ b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf Binary files differindex 4f5817958e..c4bbd91be8 100644 --- a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf +++ b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf Binary files differindex aa339614e4..c76f7bfb14 100644 --- a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf +++ b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-sigchi-a.pdf b/macros/latex/contrib/acmart/samples/sample-sigchi-a.pdf Binary files differindex 317da3cb33..2929850592 100644 --- a/macros/latex/contrib/acmart/samples/sample-sigchi-a.pdf +++ b/macros/latex/contrib/acmart/samples/sample-sigchi-a.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-sigchi.pdf b/macros/latex/contrib/acmart/samples/sample-sigchi.pdf Binary files differindex ccf7383b89..03d4610cbf 100644 --- a/macros/latex/contrib/acmart/samples/sample-sigchi.pdf +++ b/macros/latex/contrib/acmart/samples/sample-sigchi.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf Binary files differindex 85e43e7b1d..7865e94acb 100644 --- a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf +++ b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf Binary files differindex c198433c4d..60216788d3 100644 --- a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf +++ b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf diff --git a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf Binary files differindex 81b2d03fd4..18d011a875 100644 --- a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf +++ b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf diff --git a/macros/latex/contrib/acmart/samples/samples.dtx b/macros/latex/contrib/acmart/samples/samples.dtx index 2773c1691e..a93e1f1d10 100644 --- a/macros/latex/contrib/acmart/samples/samples.dtx +++ b/macros/latex/contrib/acmart/samples/samples.dtx @@ -36,7 +36,7 @@ \acmBooktitle{Woodstock '18: ACM Symposium on Neural Gaze Detection, June 03--05, 2018, Woodstock, NY} \acmPrice{15.00} -\acmISBN{978-1-4503-9999-9/18/06} +\acmISBN{978-1-4503-XXXX-X/18/06} %</manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf> %<*acmsmall|acmlarge|acmtog> diff --git a/macros/latex/contrib/fontspec/CHANGES.md b/macros/latex/contrib/fontspec/CHANGES.md index 4fc699d0be..27e278cfe0 100644 --- a/macros/latex/contrib/fontspec/CHANGES.md +++ b/macros/latex/contrib/fontspec/CHANGES.md @@ -1,6 +1,23 @@ Change history ============== +## v2.7d (2019/10/19) + + * Allow the user to manually change `\rmdefault`, `\sfdefault`, `\ttdefault` + if desired. Note this could cause problems if the `fontspec` encoding does not + match the encoding of the specified families. + * Additional optional argument for `\EncodingCommand`. + * Suppress spurious warnings for `HyphenChar` feature in XeLaTeX. + * Add `Ligatures=TeXOff` even though it's not a real OpenType feature. + (Functionally equivalent to `Ligatures=TeXReset`.) + * New scripts definitions to match OpenType 1.8.3 (thanks Werner!). + * Documentation changes for `Numbers=Arabic`, `HypenChar=None` for `\ttfamily`. + * Documentation fixes (thanks `muzimuzhi`!). + * Prepare for `FakeBold` being available in `luaotfload` (thanks Khaled!). + * Bug fix for doubled + symbol when setting `tlig` feature in LuaTeX. + * Bug fix for Harfbuzz use. (Support still very minimal I'm afraid.) + + ## v2.7c (2019/03/15) * Two optimisations reduce time for font definitions with a large number of diff --git a/macros/latex/contrib/fontspec/fontspec-code-enc.dtx b/macros/latex/contrib/fontspec/fontspec-code-enc.dtx index fef5d81549..1508176e32 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-enc.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-enc.dtx @@ -8,28 +8,14 @@ % \end{macrocode} % \fi % -% To be removed after the 2017 release of LaTeX2e: -% \begin{macrocode} -\providecommand\UnicodeFontFile[2]{"[#1]:#2"} -\providecommand\UnicodeFontName[2]{"#1:#2"} -%<XE>\providecommand\UnicodeFontTeXLigatures{mapping=tex-text;} -%<LU>\providecommand\UnicodeFontTeXLigatures{+tlig;} -% \end{macrocode} -% -% \begin{macrocode} -\providecommand\add@unicode@accent[2]{#2\char#1\relax} -\providecommand\DeclareUnicodeAccent[3]{% - \DeclareTextCommand{#1}{#2}{\add@unicode@accent{#3}}% -} -% \end{macrocode} % % \begin{macro}{\EncodingCommand} % \begin{macrocode} -\DeclareDocumentCommand \EncodingCommand {mO{}m} +\DeclareDocumentCommand \EncodingCommand { m O{} O{} m } { \bool_if:NF \l_@@_defining_encoding_bool { \@@_error:nn {only-inside-encdef} \EncodingCommand } - \DeclareTextCommand{#1}{\UnicodeEncodingName}[#2]{#3} + \DeclareTextCommand{#1}{\UnicodeEncodingName}[#2][#3]{#4} } % \end{macrocode} % \end{macro} diff --git a/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx b/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx index aaba25c293..706ea23854 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx @@ -44,12 +44,11 @@ \keys_define:nn {fontspec-opentype} { Ligatures / TeX .code:n = { \tl_set:Nn \l_@@_mapping_tl {tex-text} }, - Ligatures / TeX .groups:n = {opentype}, + Ligatures / TeXOff .code:n = { \tl_clear:N \l_@@_mapping_tl }, Ligatures / TeXReset .code:n = { \tl_clear:N \l_@@_mapping_tl }, - Ligatures / TeXReset .groups:n = {opentype}, } %</XE> -%<LU>\@@_define_opentype_onreset:nnnnn {Ligatures} {TeX} {} { +tlig } {} +%<LU>\@@_define_opentype_onoffreset:nnnnn {Ligatures} {TeX} {} {tlig} {} % \end{macrocode} % % \subsection{Letters} diff --git a/macros/latex/contrib/fontspec/fontspec-code-keyval.dtx b/macros/latex/contrib/fontspec/fontspec-code-keyval.dtx index b68bb8bbde..d7d0f15688 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-keyval.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-keyval.dtx @@ -122,7 +122,7 @@ Renderer .choices:nn = {Full,Node,Basic,Base,Harfbuzz,OpenType,AAT,Graphite} { - \int_compare:nTF {\l_keys_choice_int >= 5} { \bool_set_true:N \l_@@_harfbuzz_bool } + \int_compare:nT {\l_keys_choice_int >= 5} { \bool_set_true:N \l_@@_harfbuzz_bool } \tl_set:Nx \l_@@_mode_tl { @@ -625,7 +625,7 @@ { \@@_primitive_font_set_hyphenchar:Nn \font {-1} } } { - \@@_warning:nx {only-xetex-feature} {HyphenChar} +%<LU> \@@_warning:nx {only-xetex-feature} {HyphenChar} \tl_if_single:nTF {#1} { \tl_set:Nn \l_@@_hyphenchar_tl {`#1} } @@ -783,7 +783,6 @@ }, FakeStretch .default:n = {1.2} } -%<*XE> \keys_define:nn {fontspec} { FakeBold .code:n = @@ -792,13 +791,6 @@ }, FakeBold .default:n = {1.5} } -%</XE> -%<*LU> -\keys_define:nn {fontspec} - { - FakeBold .code:n = { \@@_warning:n {fakebold-only-xetex} } - } -%</LU> % \end{macrocode} % These are to be given to a shape that has no real bold/italic % to signal that \pkg{fontspec} should automatically create `fake' shapes. diff --git a/macros/latex/contrib/fontspec/fontspec-code-msg.dtx b/macros/latex/contrib/fontspec/fontspec-code-msg.dtx index 0a37b69284..1fb845f706 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-msg.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-msg.dtx @@ -192,11 +192,6 @@ { The "cm-default" package option is obsolete. } -\@@_msg_new:nnn {fontspec} {fakebold-only-xetex} - { - The "FakeBold" and "AutoFakeBold" options are only available with XeLaTeX.\\ - Option ignored. - } \@@_msg_new:nnn {fontspec} {font-index-needs-ttc} { The "FontIndex" feature is only supported by TTC (TrueType Collection) fonts.\\ diff --git a/macros/latex/contrib/fontspec/fontspec-code-scripts.dtx b/macros/latex/contrib/fontspec/fontspec-code-scripts.dtx index 3d5644dd2a..23f4b1794f 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-scripts.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-scripts.dtx @@ -41,6 +41,7 @@ \newfontscript{CustomDefault}{latn,DFLT} \newfontscript{Deseret}{dsrt} \newfontscript{Devanagari}{dev2,deva} +\newfontscript{Dogra}{dogr} \newfontscript{Duployan}{dupl} \newfontscript{Egyptian~Hieroglyphs}{egyp} \newfontscript{Elbasan}{elba} @@ -51,9 +52,11 @@ \newfontscript{Grantha}{gran} \newfontscript{Greek}{grek} \newfontscript{Gujarati}{gjr2,gujr} +\newfontscript{Gunjala~Gondi}{gong} \newfontscript{Gurmukhi}{gur2,guru} \newfontscript{Hangul~Jamo}{jamo} \newfontscript{Hangul}{hang} +\newfontscript{Hanifi~Rohingya}{rohg} \newfontscript{Hanunoo}{hano} \newfontscript{Hatran}{hatr} \newfontscript{Hebrew}{hebr} @@ -79,11 +82,14 @@ \newfontscript{Lycian}{lyci} \newfontscript{Lydian}{lydi} \newfontscript{Mahajani}{mahj} +\newfontscript{Makasar}{maka} \newfontscript{Malayalam}{mlm2,mlym} \newfontscript{Mandaic}{mand} \newfontscript{Manichaean}{mani} \newfontscript{Marchen}{marc} +\newfontscript{Masaram Gondi}{gonm} \newfontscript{Math}{math} +\newfontscript{Medefaidrin}{medf} \newfontscript{Meitei~Mayek}{mtei} \newfontscript{Mende~Kikakui}{mend} \newfontscript{Meroitic~Cursive}{merc} @@ -98,6 +104,7 @@ \newfontscript{N'Ko}{nko~} \newfontscript{Nabataean}{nbat} \newfontscript{Newa}{newa} +\newfontscript{Nushu}{nshu} \newfontscript{Odia}{ory2,orya} \newfontscript{Ogham}{ogam} \newfontscript{Ol~Chiki}{olck} @@ -106,6 +113,7 @@ \newfontscript{Old~North~Arabian}{narb} \newfontscript{Old~Permic}{perm} \newfontscript{Old~Persian~Cuneiform}{xpeo} +\newfontscript{Old~Sogdian}{sogo} \newfontscript{Old~South~Arabian}{sarb} \newfontscript{Old~Turkic}{orkh} \newfontscript{Osage}{osge} @@ -125,6 +133,7 @@ \newfontscript{Siddham}{sidd} \newfontscript{Sign~Writing}{sgnw} \newfontscript{Sinhala}{sinh} +\newfontscript{Sogdian}{sogd} \newfontscript{Sora~Sompeng}{sora} \newfontscript{Sumero-Akkadian~Cuneiform}{xsux} \newfontscript{Sundanese}{sund} @@ -149,6 +158,7 @@ \newfontscript{Vai}{vai~} \newfontscript{Warang~Citi}{wara} \newfontscript{Yi}{yi~~} +\newfontscript{Zanabazar~Square}{zanb} % \end{macrocode} % For convenience or backwards compatibility: % \begin{macrocode} diff --git a/macros/latex/contrib/fontspec/fontspec-code-user.dtx b/macros/latex/contrib/fontspec/fontspec-code-user.dtx index 1a0173c981..7cbafbf8b0 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-user.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-user.dtx @@ -44,7 +44,7 @@ \exp_not:n { \DeclareRobustCommand \rmfamily } { \exp_not:N \fontencoding { \g_@@_nfss_enc_tl } - \exp_not:N \fontfamily { \l_@@_rmfamily_family_tl } + \exp_not:N \fontfamily { \exp_not:N \rmdefault } \exp_not:N \selectfont } } @@ -68,7 +68,7 @@ \exp_not:n { \DeclareRobustCommand \sffamily } { \exp_not:N \fontencoding { \g_@@_nfss_enc_tl } - \exp_not:N \fontfamily { \l_@@_sffamily_family_tl } + \exp_not:N \fontfamily { \exp_not:N \sfdefault } \exp_not:N \selectfont } } @@ -92,7 +92,7 @@ \exp_not:n { \DeclareRobustCommand \ttfamily } { \exp_not:N \fontencoding { \g_@@_nfss_enc_tl } - \exp_not:N \fontfamily { \l_@@_ttfamily_family_tl } + \exp_not:N \fontfamily { \exp_not:N \ttdefault } \exp_not:N \selectfont } } diff --git a/macros/latex/contrib/fontspec/fontspec-code.pdf b/macros/latex/contrib/fontspec/fontspec-code.pdf Binary files differindex 2d68690c48..9df2844101 100644 --- a/macros/latex/contrib/fontspec/fontspec-code.pdf +++ b/macros/latex/contrib/fontspec/fontspec-code.pdf diff --git a/macros/latex/contrib/fontspec/fontspec-doc-featset.tex b/macros/latex/contrib/fontspec/fontspec-doc-featset.tex index 60e85ca925..d6aa8af2f1 100644 --- a/macros/latex/contrib/fontspec/fontspec-doc-featset.tex +++ b/macros/latex/contrib/fontspec/fontspec-doc-featset.tex @@ -485,12 +485,14 @@ see its \cs{prehyphenchar} primitive for further details. \feat{HyphenChar} takes three types of input, which are chosen according to some simple rules. If the input is the string \opt{None}, then hyphenation is suppressed for this font. + +As part of \texttt{fontspec.cfg}, the default monospaced family (e.g., \verb|\ttfamily|) +is set up to automatically set \feat{HyphenChar} \texttt{=} \opt{None}. + If the input is a single character, then this character is used. Finally, if the input is longer than a single character it must be the UTF-8 slot number of the hyphen character you desire. -This package redefines \LaTeX's \cmd\-\ macro such that it adjusts along with the above changes. - \begin{Xexample}{hyphchar}{Explicitly choosing the hyphenation character.} \def\text{\fbox{\parbox{1.55cm}{% EXAMPLE HYPHENATION% @@ -583,8 +585,6 @@ are equivalent: If both of the \feat{AutoFake...} features are used, then the bold italic font will also be faked. -The \feat{FakeBold} and \feat{AutoFakeBold} features are only available with the \XeTeX\ engine and will be ignored in \LuaTeX. - \subsection{Letter spacing} Letter spacing, or tracking, is the term given to adding (or subtracting) a small amount of horizontal space in between adjacent characters. It is specified with the \feat{LetterSpace}, which takes a numeric argument, diff --git a/macros/latex/contrib/fontspec/fontspec-doc-fontsel.tex b/macros/latex/contrib/fontspec/fontspec-doc-fontsel.tex index c1900322c0..df3996c308 100644 --- a/macros/latex/contrib/fontspec/fontspec-doc-fontsel.tex +++ b/macros/latex/contrib/fontspec/fontspec-doc-fontsel.tex @@ -35,7 +35,7 @@ These defaults (and further customisations possible) are discussed in \vref{sec: \cmdbox{% \CMD{\string\newfontfamily}\meta{cmd}\marg{font}\oarg{font features}\\ \CMD{\string\setfontfamily}{\color[gray]{0.5}\meta{cmd}\marg{font}\oarg{font features}}\\ - \CMD{\string\renewfontfamily}{\color[gray]{0.5}\meta{cmd}\marg{font}\oarg{font features}} + \CMD{\string\renewfontfamily}{\color[gray]{0.5}\meta{cmd}\marg{font}\oarg{font features}}\\ \CMD{\string\providefontfamily}{\color[gray]{0.5}\meta{cmd}\marg{font}\oarg{font features}} } @@ -135,7 +135,7 @@ search paths may be used directly (including in the current directory) without having to explicitly define the location of the font file on disk. Fonts selected by filename must include bold and italic variants explicitly, -unless a \texttt{.fontspec} file is supplied for the font family (see section~\ref{sec:fontspecfile}). +unless a \texttt{.fontspec} file is supplied for the font family (see \ref{sec:fontspecfile}). We'll give some first examples specifying everything explicitly: \begin{Verbatim} \setmainfont{texgyrepagella-regular.otf}[ @@ -300,8 +300,8 @@ commands: \newcommand\textnote[1]{{\notefont #1}} \textnote{This is a note.} \end{Verbatim} -Note that the double braces are intentional; the inner pair are used to -to delimit the scope of the font change. +Note that the double braces are intentional; the inner pair is used to +delimit the scope of the font change. \begin{Lexample}{nff}{Defining new font families.} \newfontfamily\notefont{Kurier} @@ -431,7 +431,7 @@ In \LaTeX's \NFSS, font families are defined with names such as `\texttt{ppl}' ( \fontfamily{ppl}\selectfont \end{Verbatim} In \pkg{fontspec}, the family names are auto-generated based on the fontname of the font; for example, writing |\fontspec{Times New Roman}| for the first time would generate an internal font family name of `\texttt{TimesNewRoman(1)}'. -Please note that should not rely on the name that is generated. +Please note that you should not rely on the name that is generated. In certain cases it is desirable to be able to choose this internal font family name so it can be re-used elsewhere for interacting with other packages that use the \LaTeX's font selection interface; an example might be \begin{Verbatim} @@ -528,7 +528,7 @@ to be successful. (Actually, it is \emph{only} \pkg{euler} that is the problem.\note{Speaking of \pkg{euler}, if you want to use its \texttt{[mathbf]} option, it won't work, and you'll need to put this after \pkg{fontspec} is loaded instead: -\ttfamily\cmd\AtBeginDocument\char`\{\cmd\DeclareMathAlphabet\cmd\mathbf\char`\{U\char`\}\char`\{eur\char`\}\char`\{b\char`\}\char`\{n\char`\}}) +\ttfamily\cmd\AtBeginDocument\char`\{\cmd\DeclareMathAlphabet\cmd\mathbf\char`\{U\char`\}\char`\{eur\char`\}\char`\{b\char`\}\char`\{n\char`\}\char`\}}) Note that \pkg{fontspec} will not change the font for general mathematics; only the upright and bold shapes will be affected. diff --git a/macros/latex/contrib/fontspec/fontspec-doc-opentype.tex b/macros/latex/contrib/fontspec/fontspec-doc-opentype.tex index 9e16c370ee..3afdd09e43 100644 --- a/macros/latex/contrib/fontspec/fontspec-doc-opentype.tex +++ b/macros/latex/contrib/fontspec/fontspec-doc-opentype.tex @@ -1116,7 +1116,7 @@ not actually real OpenType features, but additions provided by \pkg{luaotfload} \fontspec{LinLibertine_R.otf} \test{Ligatures=Historic}{strict} \test{Ligatures=Rare}{wurtzite} - \test{Ligatures=NoCommon}{firefly} + \test{Ligatures=CommonOff}{firefly} \end{Lexample} @@ -1176,6 +1176,8 @@ The \opt{Arabic} option (with tag \verb|anum|) maps regular numerals to their Ar based on the current \opt{Language} setting (see \vref{sec:ot}). This option is based on a \LuaTeX\ feature of the \pkg{luaotfload} package, not an OpenType feature. (Thus, this feature is unavailable in \XeTeX.) +This feature should be considered deprecated; while there are no plans to remove it from this package, +if its support is dropped from the font loader it could disappear from \pkg{fontspec} with little notice. \subsubsection{Ornament --- \texttt{ornm}} diff --git a/macros/latex/contrib/fontspec/fontspec.dtx b/macros/latex/contrib/fontspec/fontspec.dtx index 32d51078ce..4705540d20 100644 --- a/macros/latex/contrib/fontspec/fontspec.dtx +++ b/macros/latex/contrib/fontspec/fontspec.dtx @@ -71,7 +71,7 @@ \ProvidesExplFile{fontspec.dtx} %</dtx> %<*fontspec> - {2019/03/15}{2.7c}{Font selection for XeLaTeX and LuaLaTeX} + {2019/10/19}{2.7d}{Font selection for XeLaTeX and LuaLaTeX} %</fontspec> % \end{macrocode} % @@ -90,8 +90,8 @@ %<lua>local fontspec = fontspec %<lua>fontspec.module = { %<lua> name = "fontspec", -%<lua> version = "2.7c", -%<lua> date = "2019/03/15", +%<lua> version = "2.7d", +%<lua> date = "2019/10/19", %<lua> description = "Font selection for XeLaTeX and LuaLaTeX", %<lua> author = "Khaled Hosny, Philipp Gesang, Will Robertson", %<lua> copyright = "Khaled Hosny, Philipp Gesang, Will Robertson", diff --git a/macros/latex/contrib/fontspec/fontspec.pdf b/macros/latex/contrib/fontspec/fontspec.pdf Binary files differindex 594815b868..4357ed68b9 100644 --- a/macros/latex/contrib/fontspec/fontspec.pdf +++ b/macros/latex/contrib/fontspec/fontspec.pdf diff --git a/macros/xetex/latex/bidi/README b/macros/xetex/latex/bidi/README index 7f395167f4..81bdbe2e14 100644 --- a/macros/xetex/latex/bidi/README +++ b/macros/xetex/latex/bidi/README @@ -1,6 +1,6 @@ ___________________ The bidi package -v35.9 +v35.10 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX, using XeTeX engine. @@ -16,7 +16,7 @@ In doing so, please always explain your issue well enough, and always include a minimal working example showing the issue. -Current version release date: 2019/06/14 +Current version release date: 2019/10/19 ___________________ Vafa Khalighi diff --git a/macros/xetex/latex/bidi/bidi-doc.pdf b/macros/xetex/latex/bidi/bidi-doc.pdf Binary files differdeleted file mode 100644 index 33bc09e7ea..0000000000 --- a/macros/xetex/latex/bidi/bidi-doc.pdf +++ /dev/null diff --git a/macros/xetex/latex/bidi/bidi-logo.pdf b/macros/xetex/latex/bidi/bidi-logo.pdf Binary files differnew file mode 100644 index 0000000000..b52b3e0e9a --- /dev/null +++ b/macros/xetex/latex/bidi/bidi-logo.pdf diff --git a/macros/xetex/latex/bidi/bidi.dtx b/macros/xetex/latex/bidi/bidi.dtx index 586c0b999e..7235b3aa6a 100644 --- a/macros/xetex/latex/bidi/bidi.dtx +++ b/macros/xetex/latex/bidi/bidi.dtx @@ -5,7 +5,7 @@ %<*readme> ___________________ The bidi package -v35.9 +v35.10 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX, using XeTeX engine. @@ -21,7 +21,7 @@ In doing so, please always explain your issue well enough, and always include a minimal working example showing the issue. -Current version release date: 2019/06/14 +Current version release date: 2019/10/19 ___________________ Vafa Khalighi @@ -218,7 +218,7 @@ by Vafa Khalighi. \documentclass{ltxdoc} \input{bidi-doc-preamble.ltx} \hypersetup{% - pdftitle={Source documentation for version 35.9 of the bidi + pdftitle={Source documentation for version 35.10 of the bidi package}% } \EnableCrossrefs @@ -237,7 +237,7 @@ by Vafa Khalighi. % \GetFileInfo{\jobname.dtx} % \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\ %\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt] -%\large Source documentation for \textcolor{blue!65!black}{version 35.9}} +%\large Source documentation for \textcolor{blue!65!black}{version 35.10}} % \author{Vafa Khalighi} %\setcounter{page}{0} %\thispagestyle{empty} @@ -247,7 +247,7 @@ by Vafa Khalighi. %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}} % %\Large -%Source documentation for \textcolor{blue!65!black}{version 35.9}} +%Source documentation for \textcolor{blue!65!black}{version 35.10}} % %\vskip 0pt plus 3fill %\textit{\large to my Master, \textbf{Ferdowsi The Great}} @@ -282,7 +282,6 @@ by Vafa Khalighi. %\iffalse %<*table> %\fi -%% \CheckSum{50082} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -1895,8 +1894,8 @@ by Vafa Khalighi. % \section{File \texttt{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2019/06/14} -\def\bidi@version{35.9} +\def\bididate{2019/10/19} +\def\bidi@version{35.10} \ProvidesPackage{bidi}[\bididate\space v\bidi@version\space Bidirectional typesetting in plain TeX and LaTeX] \edef\@bidi@info{****************************************************^^J% @@ -2221,9 +2220,9 @@ Bidirectional typesetting in plain TeX and LaTeX] %\fi % \section{File \texttt{bidi.tex}} % \begin{macrocode} -\def\bididate{2019/06/14} +\def\bididate{2019/10/19} \catcode`@=11 -\def\bidi@version{35.9} +\def\bidi@version{35.10} \let \protect \relax \newlinechar`\^^J \edef\@bidi@info{****************************************************^^J% @@ -3081,7 +3080,7 @@ Bidirectional typesetting in plain TeX and LaTeX] % \section{File \texttt{biditools.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biditools}[2018/12/11 v1.9 Programming tools for bidi package] +\ProvidesPackage{biditools}[2019/10/19 v1.10 Programming tools for bidi package] \providecommand{\@bidi@saveprimitive}[2]{\begingroup\escapechar`\\\relax \edef\@tempa{\string#1}\edef\@tempb{\meaning#1}% \ifx\@tempa\@tempb \global\let#2#1% @@ -3807,7 +3806,10 @@ ill-advised in the old versions of bidi package.% \bidi@newrobustcmd{\bidi@AtBeginEnvironment}[1]{% \bidi@csgappto{@bidi@begin@#1@hook}} -\bidi@patchcmd\begin +% Patch \begin<space> and \end<space> in newer LaTeX releases +% \begin and \end in older ones. + +\expandafter\bidi@patchcmd\csname begin\ifcsname begin \endcsname\space\fi\endcsname {\csname #1\endcsname} {\bidi@csuse{@bidi@begin@#1@hook}% \csname #1\endcsname} @@ -3821,7 +3823,7 @@ ill-advised in the old versions of bidi package.% \bidi@newrobustcmd{\bidi@AtEndEnvironment}[1]{% \bidi@csgappto{@bidi@end@#1@hook}} -\bidi@patchcmd\end +\expandafter\bidi@patchcmd\csname end\ifcsname end \endcsname\space\fi\endcsname {\csname end#1\endcsname} {\bidi@csuse{@bidi@end@#1@hook}% \csname end#1\endcsname} @@ -3835,7 +3837,7 @@ ill-advised in the old versions of bidi package.% \bidi@newrobustcmd{\bidi@BeforeBeginEnvironment}[1]{% \bidi@csgappto{@bidi@beforebegin@#1@hook}} -\bidi@pretocmd\begin +\expandafter\bidi@pretocmd\csname begin\ifcsname begin \endcsname\space\fi\endcsname {\bidi@csuse{@bidi@beforebegin@#1@hook}} {} {\bidi@warning{% @@ -3847,7 +3849,7 @@ ill-advised in the old versions of bidi package.% \bidi@newrobustcmd{\bidi@AfterEndEnvironment}[1]{% \bidi@csgappto{@bidi@afterend@#1@hook}} -\bidi@patchcmd\end +\expandafter\bidi@patchcmd\csname end\ifcsname end \endcsname\space\fi\endcsname {\if@ignore} {\bidi@csuse{@bidi@afterend@#1@hook}% \if@ignore} @@ -15717,7 +15719,7 @@ bidi implementation of tufte title] %\fi % \section{File \texttt{multicol-xetex-bidi.def}} % \begin{macrocode} -\ProvidesFile{multicol-xetex-bidi.def}[2019/06/14 v1.2 bidi adaptations for multicol package for XeTeX engine] +\ProvidesFile{multicol-xetex-bidi.def}[2019/10/19 v1.2 bidi adaptations for multicol package for XeTeX engine] \def\page@sofar{% \process@cols\mult@rightbox {\ifvoid\count@ diff --git a/macros/xetex/latex/bidi/bidi.pdf b/macros/xetex/latex/bidi/bidi.pdf Binary files differindex eaeb086bdf..2ae02b6a4d 100644 --- a/macros/xetex/latex/bidi/bidi.pdf +++ b/macros/xetex/latex/bidi/bidi.pdf |