[latex3-commits] [git/LaTeX3-latex3-latex2e] master: add links if the class config has loaded hyperref, for issue #44 (fa5d00a)
David Carlisle
d.p.carlisle at gmail.com
Sun May 20 15:12:36 CEST 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/fa5d00ac81ac1eb4bd72bd9f1af7cf32d5f8ede0
>---------------------------------------------------------------
commit fa5d00ac81ac1eb4bd72bd9f1af7cf32d5f8ede0
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sun May 20 14:12:36 2018 +0100
add links if the class config has loaded hyperref, for issue #44
>---------------------------------------------------------------
fa5d00ac81ac1eb4bd72bd9f1af7cf32d5f8ede0
doc/latexchanges.tex | 30 +++++++++++++++++++++++-------
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/doc/latexchanges.tex b/doc/latexchanges.tex
index f05060d..f91b00f 100644
--- a/doc/latexchanges.tex
+++ b/doc/latexchanges.tex
@@ -54,6 +54,22 @@
\math at fontsfalse\selectfont,}\hidewidth}\egroup}
\makeatother
+\ifx\href\undefined
+ \newcommand\ghissue[1]{#1}
+ \newcommand\gnatsissue[1]{#1}
+ \newcommand\ltnewsissue[1]{\LaTeX\ News~#1}
+ \newcommand\sxanswer[1]{http://tex.stackexchange.com\slash a\slash #1}
+\else
+ \newcommand\ghissue[1]{%
+ \href{https://github.com/latex3/latex2e/issues/#1}{#1}}
+ \newcommand\gnatsissue[1]{%
+ \href{https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex/#1}{#1}}
+ \newcommand\ltnewsissue[1]{%
+ \href{https://www.latex-project.org/news/latex2e-news/ltnews#1.pdf}{\LaTeX\ News~#1}}
+ \newcommand\sxanswer[1]{%
+ \url{http://tex.stackexchange.com/a/#1}}
+\fi
+
\begin{document}
\maketitle
@@ -67,7 +83,7 @@
This document describes changes that have been made to the \LaTeX\ format since the 2014/05/01 \LaTeX\ release.
%This document details all the changes to documented functions since the 2014/05/01 \LaTeX\ release.
-As announced in \LaTeX\ News~22, the 2015 \LaTeX{} release adopts a new
+As announced in \ltnewsissue{22}, the 2015 \LaTeX{} release adopts a new
policy. Improvements and bug fixes will be made to the format sources,
with the \Lpack{latexrelease} package being available to revert
changes to use definitions from an earlier format.
@@ -84,21 +100,21 @@ No changes to the format, but \texttt{docstrip} adjusted so that non-ASCII
\texttt{.ins} files work with the new UTF-8 defaults.
\section{Changes introduced in 2018-04-01 patch~3}
-Additional adjustments for GitHub issues 34 and 38, adjustment to the
+Additional adjustments for GitHub issues \ghissue{34} and \ghissue{38}, adjustment to the
location of some documentation files, such as \texttt{source2e.tex} to
be installed in the documentation sources not the default \TeX\ input
tree.
\section{Changes introduced in 2018-04-01 patch~2}
-Additional adjustments for GitHub issues 32 and 33.
+Additional adjustments for GitHub issues \ghissue{32} and \ghissue{33}.
\section{Changes introduced in 2018-04-01 patch~1}
Make \verb|\UseRawInputEncoding| and \Lpack{latexrelease} reset \verb|\inputencodingname|
when disabling the UTF-8 input handling.
\section{Changes introduced in 2018-04-01}
-Further details of changes at this release are given in \LaTeX~News~28, but in brief
+Further details of changes at this release are given in \ltnewsissue{28}, but in brief
the main changes are as listed below.
The default encoding for files has been changed to UTF-8.
@@ -126,11 +142,11 @@ accent (or an accent declared later) gave no error, but did nothing useful.
as an error, allowing the declared composite to work as intended.
The definition of \verb|\-| is adjusted to match the comments in
-PR/3855 to accomodate non standard settings of \verb|\hyphenchar|.
+\gnatsissue{3855} to accomodate non standard settings of \verb|\hyphenchar|.
In parboxes and similar settings, \verb|\lineskiplimit| is now
reset (to the existing default value, \verb|\normallineskiplimit|).
-See http://tex.stackexchange.com\slash a\slash 359934.
+See \sxanswer{359934}.
The code for verb|\newpage| has been adjusted to add a test on the value of
\verb|\prevdepth| so that the depth of the last line is preserved in
@@ -200,7 +216,7 @@ adding a method to disable callback management entirely.
\subsection{LuaTeX allocation}
Almost all changes at this release relate to incorporating allocation macros for luatex into the format
-as done for etex and xetex in 2015/01/01. For details see |ltluatex.dtx| or \LaTeX\ News 22.
+as done for etex and xetex in 2015/01/01. For details see |ltluatex.dtx| or \ltnewsissue{22}.
|ltluatex.dtx| now forms a new chapter (N) in the documented sources, |source2e.tex|.
More information about the latex3-commits
mailing list