Skip to content

Commit

Permalink
Chris' latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
car222222 committed Jan 27, 2020
1 parent 16cf395 commit c3557bb
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 42 deletions.
101 changes: 59 additions & 42 deletions base/doc/ltnews31.tex
Expand Up @@ -141,14 +141,18 @@ \section{Experiences with the \LaTeX\ \texttt{-dev} formats}
As reported in the previous \emph{\LaTeX{} News}, we have made a pre-release
version of the \LaTeX{} kernel available as \LaTeX\texttt{-dev}. Overall, the
approach of having an explicit testing release has been positive: it is now
readily available in \TeX{} systems and is getting real use beyond the team.
readily available in \TeX{} systems and is getting real use\\
beyond the team.

The current
release has been tested by a number of people, and we have had valuable feedback
on a range of new ideas. This has allowed us to fix issues in several of the
new features described below. We thank the dedicated users who have been
trying out the development formats, and encourage others to do so. Pre-testing
in this way does mean that, for the vast majority of users problems are solved
on a range of the new ideas. This has allowed us to fix issues in several of the
new features, as described below.
%% CAR: new para and extra words for better breaks.

We wish to thank all the dedicated users who have been
trying out the development formats, and we encourage others to do so. Pre-testing
in this way does mean that, for the vast majority of users, problems are solved
before they even appear!


Expand All @@ -166,7 +170,10 @@ \section{Concerning this release \ldots (Lua\LaTeX{} engine)}
the Lua\LaTeX-dev format to use it.
Going forward, Lua\LaTeX\ (and Lua\LaTeX-dev) will both use the LuaHB\TeX{}
engine. When the switch to the the LuaHB\TeX{} engine for Lua\LaTeX{}
happens depends on the distribution (for \TeX{}~Live this will be with \TeX{}~Live 2020).
happens
%% CAR: bad style and difficult to read correctly, cannot think how to fix!
depends on the distribution you use
(for \TeX{}~Live this will be with \TeX{}~Live 2020).



Expand All @@ -175,7 +182,7 @@ \section{Improved load-times for \pkg{expl3}}

The \LaTeX3 programming layer, \pkg{expl3}, has over the past decade moved from
being largely experimental to broadly stable. It is now used in a significant
number of third-party packages, most notably \pkg{xparse} for defining
number of third-party packages, most notably \pkg{xparse}, for defining
interfaces in cases where no \pkg{expl3} code is \enquote{visible}. In addition, most
\LaTeX{} documents compiled using \XeTeX{} or \LuaTeX{} load \pkg{fontspec},
which is written using \pkg{expl3}.
Expand All @@ -197,7 +204,8 @@ \section{Improved load-times for \pkg{expl3}}
entirely but, to support older formats, this is still recommended at present.


\section[Improvements to \LaTeX{}'s font selection mechanism (NFSS)]
% CAR changed TOC to save a line:-). Could change both entries.
\section[Improvements to \LaTeX{} font selection: NFSS]
{Improvements to \LaTeX{}'s font selection\\ mechanism (NFSS)}


Expand Down Expand Up @@ -273,7 +281,7 @@ \subsection{Extending the font series management in NFSS}
happy to report that the internal font support files for more than a
hundred font families are all back to following the standard NFSS conventions.
Combining them is now again rather nice and easy, and from a technical
perspective they can now easily matched; but, of course,
perspective they can now be easily matched; but, of course,
there is still the task of choosing combinations that visually work
well together.

Expand All @@ -293,7 +301,7 @@ \subsection{Extending the font series management in NFSS}
the NFSS low-level interface it is now possible to ask for, say,
\verb=\fontseries{c}\selectfont= to get a condensed
face (suitable for a marginal note) and that would still allow
the use \cs{textbf} inside the note, which would
the use of \cs{textbf} inside the note, which would
select a bold-condensed face (and not a rather odd-looking
bold-extended face in the middle of condensed type).

Expand All @@ -302,7 +310,8 @@ \subsection{Extending the font series management in NFSS}
commands are usable on the document level and that they are not really
difficult to apply, there are probably also a number of users who will
enjoy using these new possibilities that bring \LaTeX{} back into the
premier league when it comes to font usage.
premier league for font usage.
%% CAR saved a line and a bad break.

The ways in which the different series values combine with each other is not
hardwired but is again customizable and extensible. The mappings are
Expand Down Expand Up @@ -350,7 +359,7 @@ \subsection{Handling of nested emphasis}

In previous releases of \LaTeX{}, nested \cs{emph} commands
automatically alternated between italics and upright. This mechanism
has now been generalized so that you can now specify for arbitrary nesting
has now been generalised so that you can now specify for arbitrary nesting
levels how emphasis should be handled.

The declaration \cs{DeclareEmphSequence} expects a comma separated
Expand Down Expand Up @@ -421,7 +430,8 @@ \subsection{Providing all text companion symbols by default}
past they were always taken from Computer Modern Roman if substitution
was necessary.


%% CAR comment. This does not work without the new stuff. But should it?
%% Or add an explanation of this?
\textsf{This is most noticeable with \cs{oldstylenums} which are now
taken from \texttt{TS1} so that you no longer get
\textrm{\oldstylenums{1234}} but \oldstylenums{1234} when typesetting
Expand Down Expand Up @@ -454,24 +464,23 @@ \subsection{New \texttt{alias} size function for use in \texttt{.fd} files}

% these are really called ``size functions'' in NFSS, a bit weird I know


Most of the newer fonts supported in \TeX{} have been set up with the
\texttt{autoinst} tool by Marc Penninga. In the past, this program
set up each font using the face name chosen by that font's designer,
e.g., \enquote{\texttt{regular}}, \enquote{\texttt{bold}}, etc.
These face names were
then mapped by substitution to the standard NFSS series
names, i.e., \enquote{\texttt{m}} or \enquote{\texttt{b}}. As a result one
got unnecessary substitution warnings such as \enquote{\texttt{Font
T1/abc/bold/n not found, using T1/abc/b/n instead}}.
These face names were then mapped by substitution to
to the standard NFSS series names, i.e., \enquote{\texttt{m}}
or \enquote{\texttt{b}}.
As a result one got unnecessary substitution warnings such as
\enquote{\texttt{Font T1/abc/bold/n not found, using T1/abc/b/n instead}}.

%FMi the message above is actually different and longer but ...

We now provide a new NFSS \texttt{alias} size function that can and will be
used by \texttt{autoinst} in the future. It provides the same
functionality as the \texttt{subst} function but is less vocal about
its actions, so that only significant font substitutions show up as
warnings.
We now provide a new NFSS size function, \texttt{alias}, that can
and will be used by \texttt{autoinst} in the future. It provides the
same functionality as the \texttt{subst} function but is less vocal
about its actions, so that only significant font substitutions show
up as warnings.


\subsection{Suppress unnecessary font substitution warnings}
Expand Down Expand Up @@ -499,20 +508,24 @@ \subsection{UTF-8 characters in package descriptions}
overlooked the case of non-\acro{ascii} characters in the short
package descriptions used in declarations, e.g., in the optional argument to
\cs{ProvidesPackage}.
They worked (sometimes) before, but after the switch to UTF-8 always
generated an error. This has been corrected.
They worked (sometimes) before, but the switch to UTF-8 made them always
generate an error.\\
This has been corrected.
%% CAR rewording, better break also.
%
\githubissue{52}


%% CAR attempt to improve TOC.
\subsection[Fix inconsistent hook setting when\\ loading packages]%
{Fix inconsistent hook setting when loading packages}

\subsection{Fix inconsistent hook setting when loading packages}

As part of loading a package the command
%% CAR: commas and corrected wording.
As part of loading a package, the command
\texttt{\textbackslash}\textit{package}\texttt{.sty-h@@k} gets
defined. However, attempting to load a package a second time resulted
in this hook to become undefined again. Now the hook remains defined
so that additional loading attempts do not change the state of
in this hook becoming undefined again. Now the hook remains defined
so that extra loading attempts do not change the state of
\LaTeX{} (relevant only to package developers).
%
\githubissue{198}
Expand All @@ -531,9 +544,10 @@ \subsection{Avoid spurious warning if \texttt{LY1} is made the default encoding}
\subsection{Ensure that \cs{\textbackslash} remains robust}

In the last release we made most document-level commands robust, but
\cs{\textbackslash} became fragile again whenever
\cs{raggedright} or similar typesetting was used.
This has been fixed.
\cs{\textbackslash} became fragile again\\
whenever \cs{raggedright} or similar typesetting\\
%% CAR fixed bad breaks
was used. This has been fixed.
%
\githubissue{203}

Expand All @@ -550,9 +564,11 @@ \subsection{Allow more write streams with \texttt{filecontents} in \LuaTeX}

Most \TeX{} engines only support a maximum of sixteen concurrently
open write streams, and when those have been used up, then
\texttt{filecontents} or any other code trying to open another one
will fail. In \LuaTeX{} more write streams are available and those can
also now be utilized.
\texttt{filecontents} or any other code trying to open one
will fail.
In \LuaTeX{} more write streams are available and those can
also now be utilised.
%% CAR word removed for better breaks
%
\githubissue{238}

Expand Down Expand Up @@ -629,10 +645,11 @@ \section{\LaTeX{} requirements on engine primitives}

A number of these additional primitives are needed to support new or improved
functionality in \LaTeX{}. This is seen for example in the improved UTF-8 handling,
which uses \cs{ifincsname}. The following primitive functionality (which in
\LuaTeX{} may be achieved using Lua code)
will therefore be \emph{required} by
the \LaTeX{} kernel from the start of 2021:
which uses \cs{ifincsname}. The following primitve
functionality (which in \LuaTeX{} may be achieved using Lua code)
will therefore be \emph{required} by the \LaTeX{} kernel and core\\
%% CAR: some extra words to get better break
packages from the start of 2021:
%
\begingroup\setlength\columnsep{0pt}
\begin{multicols}{2}
Expand Down Expand Up @@ -674,7 +691,7 @@ \section{\LaTeX{} requirements on engine primitives}
`\pdfTeX{} utilities'. With the exception of \cs{expanded}, these have been
present in \pdfTeX{} since the release of version 1.40.0 in 2007; \cs{expanded}
was added for \TeX{}~Live 2019. Similarly, the full set of these utility primitives
have been available in \XeTeX{} from the 2019 \TeX{}~Live release, and has
has been available in \XeTeX{} from the 2019 \TeX{}~Live release, and has
always been available in \LuaTeX{} (some by Lua emulation). Whilst p\TeX{} and
up\TeX{} gained all of the above (except \cs{ifincsname}) for \TeX{}~Live
2019 and will both have that primitive also from the 2020 release.
Expand Down
11 changes: 11 additions & 0 deletions texmf/tex/luatex/luaotfload/fontloader-l-function 2.lua
@@ -0,0 +1,11 @@
if not modules then modules = { } end modules ['l-functions'] = {
version = 1.001,
comment = "companion to luat-lib.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}

functions = functions or { }

function functions.dummy() end

0 comments on commit c3557bb

Please sign in to comment.