| 1 |
% Copyright 2009 The LaTeX Project |
| 2 |
\documentclass{ltnews} |
| 3 |
\PassOptionsToPackage{colorlinks}{hyperref} |
| 4 |
|
| 5 |
\usepackage{metalogo,ragged2e} |
| 6 |
|
| 7 |
\AtBeginDocument{ |
| 8 |
\renewcommand{\LaTeXNews}{\LaTeX3~News} |
| 9 |
\RaggedRight |
| 10 |
} |
| 11 |
|
| 12 |
\usepackage{url} |
| 13 |
\newcommand\TUG[1]{\textsc{tug}~#1} |
| 14 |
|
| 15 |
\publicationmonth{June} |
| 16 |
\publicationyear{2009} |
| 17 |
\publicationissue{2} |
| 18 |
|
| 19 |
\begin{document} |
| 20 |
\maketitle |
| 21 |
|
| 22 |
\section{\TeX~Live and the \textsf{expl3} code} |
| 23 |
|
| 24 |
\TeX~Live 2009 is almost upon us, and the \LaTeX3 team have been |
| 25 |
readying a new release of the experimental \LaTeX3 code for this. |
| 26 |
Very dramatic changes have occurred since the |
| 27 |
last public release of the code in \TeX~Live~2008; no backwards compatibility has been |
| 28 |
maintained (as warned in the beginning of the documentation) but we |
| 29 |
believe the changes made are all much for the better. Almost every |
| 30 |
single part of \textsf{expl3} has been scrutinized, resulting in a far |
| 31 |
more coherent code base. |
| 32 |
|
| 33 |
The \textsf{expl3} code is now considered to be much more stable than |
| 34 |
it was before; a comprehensive test suite has been written that helps |
| 35 |
to ensure that we don't make any mistakes as we change things in the |
| 36 |
future. In the process of writing the test |
| 37 |
suite, many minor bugs were fixed; we recommend such test suites for |
| 38 |
all similar developmental projects! |
| 39 |
Some small underlying changes are still expected in the |
| 40 |
\textsf{expl3} code, but major, disruptive, changes aren't planned. |
| 41 |
|
| 42 |
\section{Planned updates} |
| 43 |
|
| 44 |
Until now, the last update to \textsc{ctan} of the \textsf{expl3} |
| 45 |
bundle was for \TeX~Live~2008. Now that work on the code is happening |
| 46 |
on a semi-steady basis, we plan to keep updates rolling out to |
| 47 |
\textsc{ctan} more frequently. This will allow anyone who wishes to |
| 48 |
experiment with the new code to use the \TeX~Live or MiK\TeX\ |
| 49 |
updaters to install a recent version without having to `check out' the |
| 50 |
\textsc{svn} repository and install the packages manually. |
| 51 |
|
| 52 |
\section{New members} |
| 53 |
|
| 54 |
We didn't say anything about it in the last status update, but Joseph |
| 55 |
Wright and Will Robertson are now members of the \LaTeX\ Team. They |
| 56 |
have been working fairly exclusively on the \textsf{expl3} code. |
| 57 |
|
| 58 |
It's worth repeating that \LaTeXe\ is essentially frozen in order to |
| 59 |
prevent any backwards compatibility problems. As desirable as it is |
| 60 |
to benefit from the new features offered by new engines \XeTeX\ and |
| 61 |
Lua\TeX, we cannot risk the stability of production servers running |
| 62 |
older versions of \LaTeXe\ which will inevitably end up processing |
| 63 |
documents written into the future. |
| 64 |
|
| 65 |
\LaTeX3 will not be inheriting the same restraints, so stay tuned. |
| 66 |
|
| 67 |
\newpage |
| 68 |
|
| 69 |
\section{Some specifics} |
| 70 |
|
| 71 |
Morten H\o gholm will be presenting the recent changes in much more detail at |
| 72 |
\TUG{2009}. Here are some quick specifics for those interested. New code written |
| 73 |
and broad changes made to the \textsf{expl3} modules: |
| 74 |
\begin{description} |
| 75 |
\item [More logical function names] |
| 76 |
Many function names that were hold-outs from the \TeX\ naming system |
| 77 |
have been changed to fit into the more logical scheme of \textsf{expl3}; e.g., |
| 78 |
\verb|\def:Npn| and \verb|\let:NN| are now \verb|\cs_set:Npn| and |
| 79 |
\verb|\cs_set_eq:NN|. |
| 80 |
|
| 81 |
\item [Defining functions and conditionals] |
| 82 |
Much thought was put into new ways to define |
| 83 |
functions and conditionals with a minimum of code. |
| 84 |
See \verb|\cs_set:Nn| and \verb|\prg_set_conditional:Nnn|. |
| 85 |
|
| 86 |
\item [Smart comparisons] |
| 87 |
Comparisons can be made much more easily now, with familiar notation such as |
| 88 |
\verb|\intexpr_compare_p:n{ #1+3 != \l_tmpa_int }|. |
| 89 |
|
| 90 |
\item [Data from variables] A new function argument specifier \texttt{V} has |
| 91 |
been added for extracting information from variables of different types, |
| 92 |
without needing to know the underlying variable structure. Some other |
| 93 |
tidy-ups on the argument specifiers offered, partially as a result of the |
| 94 |
addition of this new one. |
| 95 |
|
| 96 |
\item [l3msg] New module to deal with communication between \LaTeX3 code |
| 97 |
and the user (info messages, warnings, and errors), including message |
| 98 |
filtering partially inspired by the \textsf{silence} package. |
| 99 |
\end{description} |
| 100 |
|
| 101 |
\section{The next six months} |
| 102 |
|
| 103 |
Having overhauled the \textsf{expl3} code, we now plan to perform an |
| 104 |
analogous process with the foundations of the |
| 105 |
\textsf{xpackages}. These are the higher-level packages that will |
| 106 |
provide the basic needs such as control of the page layout and rich |
| 107 |
document-level interaction with the user. As the groundwork for this |
| 108 |
layer of the document processing matures, we will be able to start |
| 109 |
building more packages for a \LaTeX3 kernel; these packages will also |
| 110 |
be usable on top of \LaTeXe\ and serve as broadly customisable |
| 111 |
templates for future document design. |
| 112 |
|
| 113 |
As gaps in the functionality offered by \textsf{expl3} are found (in |
| 114 |
some cases, we know that they exist already), the programming layer |
| 115 |
will be extended to support our needs. In other cases, wrappers around |
| 116 |
\TeX\ functions that can be more usefully handled at a higher level |
| 117 |
will be written. |
| 118 |
|
| 119 |
In terms of what we're planning to work on next, three \textsf{xpackage}s |
| 120 |
will take the focus of our attention. |
| 121 |
\begin{description} |
| 122 |
\item [xbase] |
| 123 |
`\textsf{xbase}' is actually two packages: \textsf{xparse} and |
| 124 |
\textsf{template}. These contain code for, respectively, defining new |
| 125 |
document commands (such that a user would use; e.g., \verb|\section|, |
| 126 |
\verb|\makebox|, \dots) and for handling keyval lists for user input and |
| 127 |
document specification. \textsf{xparse} was presented at \TUG{1999}% |
| 128 |
\footnote{\url{http://www.latex-project.org/papers/tug99.pdf}} |
| 129 |
and Lars Hellstr\"om wrote some notes on \textsf{template} in 2000% |
| 130 |
\footnote{\url{http://www.latex-project.org/papers/template-notes.pdf}}. |
| 131 |
Functionality coverage for these packages is good but concepts need a good |
| 132 |
``airing''. There are various approaches taken for keyval input, some more |
| 133 |
recent than the \textsf{template} code, so there are some alternatives to |
| 134 |
evaluate. |
| 135 |
\item [galley2] Sophisticated handling for \mbox{constructing} paragraphs and |
| 136 |
other document elements. Morten spoke on this at \TUG{2008}% |
| 137 |
\footnote{\url{http://river-valley.tv/the-galley-module/}}. |
| 138 |
Design needs to be revisited after some stress testing. |
| 139 |
\item [xor] This is the \LaTeX3 output routine for splitting the galley into |
| 140 |
page and sub-page sized chunks. Ideas and code need work to move to |
| 141 |
``production ready'' status. Early developments with this package were |
| 142 |
published by Frank in 2000% |
| 143 |
\footnote{\url{http://www.latex-project.org/papers/xo-pfloat.pdf}}. |
| 144 |
\end{description} |
| 145 |
|
| 146 |
Expect to hear again from us at Christmas. If you'd like to discuss any |
| 147 |
of these ideas, please join us on the \textsc{latex-l} mailing list% |
| 148 |
\footnote{\url{http://www.latex-project.org/code.html}}. |
| 149 |
|
| 150 |
\end{document} |
| 151 |
|
| 152 |
|
| 153 |
|