[latex3-commits] [git/LaTeX3-latex3-latex3] HiTeX: Add (stub) l3backend-hitex.def (6dca13b78)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Apr 18 13:47:53 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : HiTeX
Link : https://github.com/latex3/latex3/commit/6dca13b78c33c6c198750858f65613f61f403c25
>---------------------------------------------------------------
commit 6dca13b78c33c6c198750858f65613f61f403c25
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Apr 18 12:17:11 2023 +0100
Add (stub) l3backend-hitex.def
>---------------------------------------------------------------
6dca13b78c33c6c198750858f65613f61f403c25
l3backend/CHANGELOG.md | 3 +++
l3backend/l3backend-basics.dtx | 15 ++++++++++++++-
l3backend/l3backend-pdf.dtx | 14 +++++++-------
l3backend/l3backend.ins | 13 +++++++++++++
4 files changed, 37 insertions(+), 8 deletions(-)
diff --git a/l3backend/CHANGELOG.md b/l3backend/CHANGELOG.md
index f9fc8748e..a1fce99d0 100644
--- a/l3backend/CHANGELOG.md
+++ b/l3backend/CHANGELOG.md
@@ -6,6 +6,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Added
+- Experimental backend support for HiTeX
+
## [2023-03-30]
### Changed
diff --git a/l3backend/l3backend-basics.dtx b/l3backend/l3backend-basics.dtx
index 1f821aff2..f8c8ad1d0 100644
--- a/l3backend/l3backend-basics.dtx
+++ b/l3backend/l3backend-basics.dtx
@@ -81,6 +81,10 @@
{l3backend-dvisvgm.def}{2023-03-30}{}
{L3 backend support: dvisvgm}
%</dvisvgm>
+%<*hitex>
+ {l3backend-hitex.def}{2023-03-30}{}
+ {L3 backend support: HiTeX}
+%</hitex>
%<*luatex>
{l3backend-luatex.def}{2023-03-30}{}
{L3 backend support: PDF output (LuaTeX)}
@@ -108,6 +112,7 @@
%<dvipdfmx> {l3backend-dvipdfmx.def}
%<dvips> {l3backend-dvips.def}
%<dvisvgm> {l3backend-dvisvgm.def}
+%<hitex> {l3backend-hitex.def}
%<luatex> {l3backend-luatex.def}
%<pdftex> {l3backend-pdftex.def}
%<xetex> {l3backend-xetex.def}
@@ -134,13 +139,17 @@
% extraction so takes most of the same code.
% \end{itemize}
%
+% \begin{macrocode}
+%<*!hitex>
+% \end{macrocode}
+%
% \begin{macro}
% {
% \__kernel_backend_literal:e,
% \__kernel_backend_literal:n,
% \__kernel_backend_literal:x
% }
-% The one shared function for all backends is access to the basic
+% The one shared function for almost all backends is access to the basic
% \tn{special} primitive: it has slightly odd expansion behaviour
% so a wrapper is provided.
% \begin{macrocode}
@@ -151,6 +160,10 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macrocode}
+%</!hitex>
+% \end{macrocode}
+%
% \begin{macro}{\__kernel_backend_first_shipout:n}
% We need to write at first shipout in a few places. As we want to use the
% most up-to-date method,
diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index f6be3488f..e1d9f482c 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -72,7 +72,7 @@
% are common to most backends.
%
% \begin{macrocode}
-%<*!dvisvgm>
+%<*!dvisvgm&!hitex>
% \end{macrocode}
%
% \begin{variable}{\l_@@_internal_box}
@@ -82,7 +82,7 @@
% \end{variable}
%
% \begin{macrocode}
-%</!dvisvgm>
+%</!dvisvgm&!hitex>
% \end{macrocode}
%
% \subsection{\texttt{dvips} backend}
@@ -1572,10 +1572,10 @@
%</dvipdfmx|xetex>
% \end{macrocode}
%
-% \subsection{\texttt{dvisvgm} backend}
+% \subsection{\texttt{dvisvgm} and \texttt{hitex} backends}
%
% \begin{macrocode}
-%<*dvisvgm>
+%<*dvisvgm|hitex>
% \end{macrocode}
%
% \subsubsection{Annotations}
@@ -1704,7 +1704,7 @@
% \end{macro}
%
% \begin{macrocode}
-%</dvisvgm>
+%</dvisvgm|hitex>
% \end{macrocode}
%
% \subsection{PDF Page size (media box)}
@@ -1765,7 +1765,7 @@
% \end{macrocode}
%
% \begin{macrocode}
-%<*dvisvgm>
+%<*dvisvgm|hitex>
% \end{macrocode}
%
% \begin{macro}{\@@_backend_pagesize_gset:nn}
@@ -1776,7 +1776,7 @@
% \end{macro}
%
% \begin{macrocode}
-%</dvisvgm>
+%</dvisvgm|hitex>
% \end{macrocode}
%
% \begin{macrocode}
diff --git a/l3backend/l3backend.ins b/l3backend/l3backend.ins
index 5b8945f01..8b4696917 100644
--- a/l3backend/l3backend.ins
+++ b/l3backend/l3backend.ins
@@ -97,6 +97,19 @@ and all files in that bundle must be distributed together.
\from{l3backend-opacity.dtx} {package,dvisvgm}
}
}
+\generate
+ {
+ \file{l3backend-hitex.def}
+ {
+ \from{l3backend-basics.dtx} {package,hitex}
+ \from{l3backend-color.dtx} {package,hitex}
+ \from{l3backend-box.dtx} {package,hitex}
+ \from{l3backend-draw.dtx} {package,hitex}
+ \from{l3backend-graphics.dtx}{package,hitex}
+ \from{l3backend-pdf.dtx} {package,hitex}
+ \from{l3backend-opacity.dtx} {package,hitex}
+ }
+ }
\generate
{
\file{l3backend-luatex.def}
More information about the latex3-commits
mailing list.