Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
sync with experimental
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7287 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Feb 15, 2020
1 parent b6256e1 commit 467112d
Show file tree
Hide file tree
Showing 297 changed files with 18,750 additions and 11,121 deletions.
97 changes: 73 additions & 24 deletions README
Original file line number Diff line number Diff line change
@@ -1,24 +1,73 @@
$Id: README 14724 2009-08-17 16:37:46Z karl $
Public domain. Originally written 2006, Karl Berry.

This Build directory contains sources and tools which are used in
building TeX Live, but are not part of the live hierarchy. Each subdir
has another README with more details.

logs - complete logs of all commits to the TL source repositories.
source - the actual sources for all the executable programs.
tests - a testing infrastructure, quiescent for some years
but left here in case it gets revived some day.

Directories named tmp.raw and tmp.cooked are also created/used/removed
here by ctan2tl, ctan2tds, and place.

If you know enough about TeX to be reading this, then you (or your
institution) should consider joining a TeX user group (there's a list at
http://tug.org/usergroups.html) -- if you're already a member, thanks
for your support!

The TeX Users Group, the oldest such group, produces the periodicals
TUGboat (http://tug.org/TUGboat), The PracTeX Journal
(http://tug.org/pracjourn), sponsors an annual meeting,
and hosts TeX Live development and distribution.
$Id: README 53479 2020-01-21 17:56:03Z karl $
Public domain. Originally written 2005 by Karl Berry.

For a high-level overview of building TeX Live, see
http://tug.org/texlive/build.html. In brief:

- To configure and make the source tree, run ./Build.
This builds in subdirectory Work/, and installs into subdirectory inst/.

- To build (mostly) without optimization, run ./Build --debug.

- If the make fails and you want to rebuild without starting from scratch:
cd Work/whatever/subdir && make

Email [email protected] if problems.

(Nearly everything the Build script does can be overridden via
environment variables; just take a look to see the names.)

Many more details about the TL build system, such as configuring to work
on a single program, adding new programs or libraries, documentation
about the many pieces of the system, etc., are in the doc/tlbuild*
document and the sibling README* files here (which are generated from
that document).


Build information for some of the platforms.
See also Master/tlpkg/bin/tl-update-bindir

aarch64-linux:
aarch64 Debian GNU/Linux 10 (buster)
gcc (Debian 8.3.0-6) 8.3.0
./Build --enable-arm-neon=check

i386-netbsd, amd64-netbsd:
gcc version 4.5.3 (NetBSD nb2 20110806)
NetBSD/amd64 6.1.3
TL_MAKE=gmake CC=gcc CXX=g++ CFLAGS=-D_NETBSD_SOURCE \
LDFLAGS='-L/usr/X11R7/lib -Wl,-rpath,/usr/X11R7/lib' \
./Build --enable-xindy CLISP=/usr/local/bin/clisp

i386-freebsd, amd64-freebsd:
http://anthesphoria.net/FreeBSD/TeXLive-2018/ has details for 2018.
2019 built on contextgarden, see below.

i386-linux: see travis below.

i386-openbsd, amd64-openbsd:
e.g., see CONFIGURE_ARGS in the Makefile in
http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/print/texlive/base/

i386-solaris, x86_64-solaris:
Built on contextgarden, see below.
Solaris 10, gcc 5.5. See doc/README.solaris.

i386-cygwin, x86_64-cygwin: gcc-4.8.2, cygwin-1.7.29.
./Build (with --enable-xindy for i386).

x86_64-darwin: See Master/source/mactexdoc.tar.xz.

x86_64-darwinlegacy:
Mac OS X 10.6, clang 5.0, libc++ required
https://github.com/TeXLive-M/texlive-buildbot
http://build.contextgarden.net/waterfall?tag=c/texlive
(These links have info on all platforms built by Mojca.)

i386-linux,
x86_64-linux,
x86_64-linuxmusl:
Alpine 3.1 Docker image with musl libc 1.1.5
Binaries are taken from the CI testing on travis-ci
see the source/.travis.yaml file for details on how to build,
and tlpkg/bin/tl-update-bindir for updating binaries (in general).
13 changes: 7 additions & 6 deletions manual/luatex-backend.tex
Original file line number Diff line number Diff line change
Expand Up @@ -677,15 +677,15 @@
returns a dictionary. The first argument is to be a page dictionary.

\starttyping
<pdfe dictionary> = pdfe.getpage(<pdfe dictionary>,pagenumber)
<pdfe dictionary> = pdfe.getpage(<pdfe document>,pagenumber)
\stoptyping

Another convenience command gives you the (bounding) box of a (normally page)
which can be inheritted from the document itself. An example of a valid box name
is \type {MediaBox}.

\starttyping
pages = pdfe.getbox(<pdfe document>,boxname)
pages = pdfe.getbox(<pdfe dictionary>,boxname)
\stoptyping

\stopsubsection
Expand Down Expand Up @@ -747,7 +747,7 @@

\stopsubsection

\startsubsection[title={\type {[open|close|readfrom][whole|]stream}}]
\startsubsection[title={\type {[open|close|readfrom|whole|]stream}}]

\libindex {openstream}
\libindex {closestream}
Expand Down Expand Up @@ -798,7 +798,7 @@
\NC \type {0} \NC none \NC nil \NC \NC \NR
\NC \type {1} \NC null \NC nil \NC \NC \NR
\NC \type {2} \NC boolean \NC boolean \NC \NC \NR
\NC \type {3} \NC boolean \NC integer \NC \NC \NR
\NC \type {3} \NC integer \NC integer \NC \NC \NR
\NC \type {4} \NC number \NC float \NC \NC \NR
\NC \type {5} \NC name \NC string \NC \NC \NR
\NC \type {6} \NC string \NC string \NC hex \NC \NR
Expand Down Expand Up @@ -843,10 +843,11 @@
with:

\starttyping
<pdfe dictionary|array|stream> = getfromreference(<pdfe reference>)
type, <pdfe dictionary|array|stream>, detail = getfromreference(<pdfe reference>)
\stoptyping

So, you get back a new \type {pdfe} userdata object that you can query.
So, as second value you get back a new \type {pdfe} userdata object that you can
query.

\stopsubsection

Expand Down
10 changes: 7 additions & 3 deletions manual/luatex-fonts.tex
Original file line number Diff line number Diff line change
Expand Up @@ -728,14 +728,18 @@ \subsection{The fonts array}

Note that at the moment, each access to the \type {font.fonts} or call to \type
{font.getfont} creates a \LUA\ table for the whole font unless you cached it.
This process can be quite slow.
If you want a copy of the internal data you can use \type {font.copyfont}:

\startfunctioncall
<table> p = font.getparameters(<number> n)
<table> f = font.copyfont(<number> n)
\stopfunctioncall

This one will return a table of the parameters as known to \TEX. These can be
different from the ones in the cached table.
different from the ones in the cached table:

\startfunctioncall
<table> p = font.getparameters(<number> n)
\stopfunctioncall

Also note the following: assignments can only be made to fonts that have already
been defined in \TEX, but have not been accessed {\it at all\/} since that
Expand Down
5 changes: 4 additions & 1 deletion manual/luatex-modifications.tex
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,10 @@
\startitem
When \lpr {adjustspacing} has value~2, hz optimization will be applied to
glyphs and kerns. When the value is~3, only glyphs will be treated. A value
smaller than~2 disables this feature.
smaller than~2 disables this feature. With value of 1, font expansion is
applied after \TEX's normal paragraph breaking routines have broken the
paragraph into lines. In this case, line breaks are identical to standard
\TEX\ behavior (as with \PDFTEX).
\stopitem

\startitem
Expand Down
2 changes: 1 addition & 1 deletion manual/luatex-preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
\topicindex{\LUA}

This is a reference manual, not a tutorial. This means that we discuss changes
relative to traditonal \TEX\ and also present new functionality. As a consequence
relative to traditional \TEX\ and also present new functionality. As a consequence
we will refer to concepts that we assume to be known or that might be explained
later.

Expand Down
29 changes: 17 additions & 12 deletions manual/luatex-tex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,6 @@

\stopsubsection

\startsubsection[title={Code page (Windows only)}]

\libindex{getcodepage}

The \type {getcodepage} returns the value from \type{GetOEMCP()}
(the current original equipment manufacturer (OEM) code page identifier for the operating system)
and the value from \type{GetACP()} (the current Windows ANSI code page identifier for the operating system).

\stopsubsection



\stopsection

\startsection[title={The \type {status} library}][library=status]
Expand Down Expand Up @@ -1488,6 +1476,23 @@ \subsubsection{\type {runtoks}}
When the \prm {tracingnesting} parameter is set to a value larger than~2 some
information is reported about the state of the local loop.
This function has two optional arguments in case a token register is passed:
\startfunctioncall
tex.runtoks(<token register>,force,grouped)
\stopfunctioncall
Inside for instance an \type {\edef} the \type {runtoks} function behaves (at
least tries to) like it were an \type {\the}. This prevents unwanted side
effects: normally in such an definition tokens remain tokens and (for instance)
characters don't become nodes. With the second argument you can force the local
main loop, no matter what. The third argument adds a level of grouping.
You can quit the local loop with \type {\endlocalcontrol} or from the \LUA\ end
with \type {tex.quittoks}. In that case you end one level up! Of course in the
end that can mean that you arrive at the main level in which case an extra end
will trigger a redundancy warning (not an abort!).
\subsubsection{\type {forcehmode}}
\libindex{forcehmode}
Expand Down
Binary file modified manual/luatex.pdf
Binary file not shown.
5 changes: 4 additions & 1 deletion manual/luatex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@

% after adding primitives: context mult-prm.mkiv

% \enabledirectives[pdf.stripzeros]
% \enabledirectives[metapost.stripzeros]

\environment luatex-style

\startmode[book]
Expand All @@ -63,7 +66,7 @@
\startdocument
[manual=Lua\TeX,
status=stable,
version=1.11]
version=1.10]

\startnotmode[*export]
\component luatex-titlepage
Expand Down
9 changes: 9 additions & 0 deletions source/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2020-01-31 Karl Berry <[email protected]>

* Makefile.am (texlinks_dir): now texk/texlive/tl_support
(instead of tl_scripts).

2020-01-16 Karl Berry <[email protected]>

* version.ac (tex_live_version): remove /dev, preparing for TL'20.

2019-06-25 Karl Berry <[email protected]>

* Build: don't call buildinfo from here, the output when the CC
Expand Down
6 changes: 3 additions & 3 deletions source/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## $Id: Makefile.am 51428 2019-06-23 17:20:20Z karl $
## $Id: Makefile.am 53614 2020-01-31 18:59:27Z karl $
## Makefile.am for the TeX Live top-level
##
## Copyright 2016 Karl Berry <[email protected]>
## Copyright 2016-2020 Karl Berry <[email protected]>
## Copyright 2009-2015 Peter Breitenlohner <[email protected]>
## You may freely use, modify and/or distribute this file.
##
Expand Down Expand Up @@ -47,7 +47,7 @@ include $(srcdir)/am/recurse.am
# Run texlinks here since the binaries won't be there
# at install-data, and fmtutil.cnf won't be there at install-exec,
# and there is no install-hook or install-local.
texlinks_dir = texk/texlive/tl_scripts
texlinks_dir = texk/texlive/tl_support
world: all
# Serialize 'make all' and 'make install-strip'.
@echo "top-level make $@: running install-strip..."
Expand Down
2 changes: 1 addition & 1 deletion source/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ CONFIG_AUX = $(recurse_top)subsubdir-conf.cmd
# Run texlinks here since the binaries won't be there
# at install-data, and fmtutil.cnf won't be there at install-exec,
# and there is no install-hook or install-local.
texlinks_dir = texk/texlive/tl_scripts
texlinks_dir = texk/texlive/tl_support

# should be harmless to run it, but just in case:
build_info_target = buildinfo
Expand Down
6 changes: 3 additions & 3 deletions source/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$Id: README 51181 2019-05-21 21:34:13Z karl $
$Id: README 53479 2020-01-21 17:56:03Z karl $
Public domain. Originally written 2005 by Karl Berry.

For a high-level overview of building TeX Live, see
Expand Down Expand Up @@ -28,8 +28,8 @@ Build information for some of the platforms.
See also Master/tlpkg/bin/tl-update-bindir

aarch64-linux:
aarch64 Debian GNU/Linux 9 (stretch)
gcc (Debian 6.3.0-18) 6.3.0 20170516
aarch64 Debian GNU/Linux 10 (buster)
gcc (Debian 8.3.0-6) 8.3.0
./Build --enable-arm-neon=check

i386-netbsd, amd64-netbsd:
Expand Down
6 changes: 3 additions & 3 deletions source/build-aux/ar-lib
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
me=ar-lib
scriptversion=2019-07-04.01; # UTC

# Copyright (C) 2010-2019 Free Software Foundation, Inc.
# Copyright (C) 2010-2020 Free Software Foundation, Inc.
# Written by Peter Rosin <[email protected]>.
#
# This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -53,7 +53,7 @@ func_file_conv ()
MINGW*)
file_conv=mingw
;;
CYGWIN*)
CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
Expand All @@ -65,7 +65,7 @@ func_file_conv ()
mingw)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin)
cygwin | msys)
file=`cygpath -m "$file" || echo "$file"`
;;
wine)
Expand Down
6 changes: 3 additions & 3 deletions source/build-aux/compile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

scriptversion=2018-03-07.03; # UTC

# Copyright (C) 1999-2019 Free Software Foundation, Inc.
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
# Written by Tom Tromey <[email protected]>.
#
# This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -53,7 +53,7 @@ func_file_conv ()
MINGW*)
file_conv=mingw
;;
CYGWIN*)
CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
Expand All @@ -67,7 +67,7 @@ func_file_conv ()
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
cygwin/* | msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
Expand Down
Loading

0 comments on commit 467112d

Please sign in to comment.