Age | Commit message (Collapse) | Author |
|
git-svn-id: svn://tug.org/texlive/trunk@71105 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@71024 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@70985 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@70943 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@70752 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@70573 c570f23f-e606-0410-a88d-b1316a301751
|
|
This alternative layout places the first line of a 'compound statement',
a.k.a. 'block', next to the opening curly brace.
Control statements like 'if', 'for', 'while', or 'switch' still appear
on a new line, in order to preserve visual control flow.
git-svn-id: svn://tug.org/texlive/trunk@70550 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@70222 c570f23f-e606-0410-a88d-b1316a301751
|
|
and xetex only)
git-svn-id: svn://tug.org/texlive/trunk@70173 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@70150 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@70015 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@69811 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@69664 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@69656 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@69208 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@69202 c570f23f-e606-0410-a88d-b1316a301751
|
|
This commit rounds up the line of changes for CWEB 4.11.
Major changes since CWEB 4.10:
* Factor out 'cwebacromac.tex' with hypertext macros
* Support for LuaTeX as backend engine
* Consistent formatting of terminal output in error situations
* Suppress reference to 'l. 0' in error messages
* Updates in 'cwebman.tex'
git-svn-id: svn://tug.org/texlive/trunk@69017 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@68953 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@68922 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@68900 c570f23f-e606-0410-a88d-b1316a301751
|
|
This trick works, because 'ignore' and 'NULL' are in fact '0'.
git-svn-id: svn://tug.org/texlive/trunk@68894 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@68865 c570f23f-e606-0410-a88d-b1316a301751
|
|
This reverts commit ff4772477dd6ae9589dcfe78e0011c9210d01b4b.
Now the parameter conversion in 'out_const' from 'n:sixteen_bits' to
'a:integer' (and later 'if a>=65536') breaks 'last_sign:-1..+1' in any
'\mini' index (in TANGLE.TEX).
Most likely, TANGLE.WEB never was formatted with TWILL. Better to
replace '\none' in TANGLE.TEX with '$0\to65535$' than to possibly break
other codes.
git-svn-id: svn://tug.org/texlive/trunk@68673 c570f23f-e606-0410-a88d-b1316a301751
|
|
For whatever reason, TWILL 2.9/4.5 could not handle the 'sixteen_bits'
type used all over the place. (Well, apart from WEB itself, only in
dvicopy.web and in mft.web!)
git-svn-id: svn://tug.org/texlive/trunk@68670 c570f23f-e606-0410-a88d-b1316a301751
|
|
WEAVE.CH seems to be the only place where cli options are mentioned
in any TeX part.
git-svn-id: svn://tug.org/texlive/trunk@68644 c570f23f-e606-0410-a88d-b1316a301751
|
|
See almost any other WEB change file.
git-svn-id: svn://tug.org/texlive/trunk@68606 c570f23f-e606-0410-a88d-b1316a301751
|
|
Invoke 'weave -p' and the first line in the TeX output file will be
'\input pwebmac'. These alternative macros are more suited for the
creation of PDF output with 'tex "\let\pdf+ \input cob.tex' followed by
'dvipdfm cob' or with modern TeX engines like pdfTeX, LuaTeX, or XeTeX.
git-svn-id: svn://tug.org/texlive/trunk@68528 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@68508 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@68490 c570f23f-e606-0410-a88d-b1316a301751
|
|
There are far too many single-character variables around. Sigh!
(See also
https://github.com/ascherer/mmix/commit/ed0c894d09df3b35479fdd18c8f5564f0b8bf691
for a similar situation in MMIX, where such global (sic!) variables
weren't even put in the index across module borders.)
git-svn-id: svn://tug.org/texlive/trunk@68358 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@68304 c570f23f-e606-0410-a88d-b1316a301751
|
|
Bug report https://tug.org/pipermail/tex-k/2021-June/003571.html
git-svn-id: svn://tug.org/texlive/trunk@68168 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@68157 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67993 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67990 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67980 c570f23f-e606-0410-a88d-b1316a301751
|
|
This is a major update for CWEB 4.9 from May 2023. The base package
received fixes, internal changes, and significant revisions:
Fixes:
* Fix issue #43: 'out_buf' overflow on malign user input
- Handle border case from bug report
- Discard rest of input lines exceeding 'buf_size' characters
- Purge 'ungetc' from the TeX part as well
* Fix typo in 'examples/wordtest.w' (reported by DEK)
* 'Ilk' is of type 'eight_bits'
* Avoid over-/underflow of section depth with malicious user input
Internal changes:
* Unroll 'init_p' helper function in COMMON
- it is used for CWEAVE only (and CTWILL downstream)
* Match 'common.w' and 'common.h'
- Reshuffle declarations and some code sections
- Add starred section titles
* Demote all starred sections in 'common.w' (single star)
* Code cleanup
- Make 'pop_level' a simple macro in CWEAVE
- Use structure assignment (as in CTANGLE)
- More compact 'stack' handling
- Make use of type 'mode'
- Purge a few 'goto' statements (and add some others)
- Replace some 'sprintf' with 'snprintf'
- Syntactic sugar for functional macros
- Straighten 'byte_start' arithmetic
- Desolve former section 19 of CWEAVE with internal array sizes
- Hide 'print_text' analytics function from C compiler with DEBUG
- Streamline 'phase_two' of CTANGLE
- Refurbish 'phase_three' of CWEAVE
* Insert blank line after '\ch' in TeX output (cf. CWEB 3.0)
Macro changes
* Cleanup some '\acro' macros in 'cwebmac.tex'
Also the CWEBbin package received updates and amendments:
Preparation:
* Fix a bug in 'twinxmac.tex' (3rd patch file applied in 'cwebbin.spec')
* Apply a 5th patch file to adapt CTWILL macros to CWEB 4.9/4.10
Special formatting:
* Format 'common.w' with CTWILL using 'comm-mini.ch'
* Format 'ctwill.w' with HiTeX using 'proofmac.tex' and 'ctwill-hint.ch'
* New 'pdfproofmac.tex' for use with HiTeX and pdfTeX and XeTeX
- pdfctwimac.tex will no longer work with HiTeX
* Add 'proofsort' script in addition to 'refsort' program
* Minor improvements in all pdf macros
TeX Live:
* CTWILL in TeX Live uses 'kpse_find_file' to look up 'bux' files
* Slightly extend arrays in 'ctwill' and 'refsort' for TeX Live
* Max out 'max_refs' for CWEAVE/CTWILL
* Add 'ctwill.test' for TeX Live
Revise formatted sources:
* e.g., 'twinx'
* 'ctwill' in all its incarnations
git-svn-id: svn://tug.org/texlive/trunk@67978 c570f23f-e606-0410-a88d-b1316a301751
|
|
$ ctie -m common-twill.w common.w comm-{w2c,mini}.ch
$ mv common-twill.w common.w
$ ctwill -f -lpdf common (twice)
$ pdftex common
$ ctwill-refsort < common.ref > common.sref
$ pdftex common
TODO: Study the application of 'ctwill-twinx' and create a general index
for COMMON and CTWILL.
git-svn-id: svn://tug.org/texlive/trunk@67749 c570f23f-e606-0410-a88d-b1316a301751
|
|
This helper function had a non-trivial implementation in CWEAVE only.
The extra stuff for CTWILL is moved to 'init_node' with special
provisions for the 'name_dir' pointer.
git-svn-id: svn://tug.org/texlive/trunk@67734 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67688 c570f23f-e606-0410-a88d-b1316a301751
|
|
In the context of the recent bug fix, I noticed that CWEAVE produced
significantly different output than WEAVE from my test case for overfull
lines, which -- in part -- had to be broken.
Although I am aware that Silvio Levy changed CWEAVE's behaviour already
in CWEB 0.5 (1987), I apply this new change in order to revert to DEK's
idea in WEAVE. Now the resulting TeX output has correctly placed comment
markers at the beginning of the broken lines. (To date, CWEAVE issued
material beyond 'buf_size' in overfull lines without such '%' markers.)
Of course, the resulting TeX output might not be processed as expected
because of the discarded material beyond 'buf_size', but the user has
been warned accordingly. :o).
git-svn-id: svn://tug.org/texlive/trunk@67662 c570f23f-e606-0410-a88d-b1316a301751
|
|
'break_out' and 'flush_buffer' were tricked into putting an extremely
long TeX macro (longer than 'line_length', i.e., 80 chars) into
'out_buf', which overflowed. This, of course, would wreak havoc, both in
the TeX output and in the runtime system.
See https://tug.org/pipermail/tex-live/2023-July/049306.htm for the
initial bug report.
git-svn-id: svn://tug.org/texlive/trunk@67656 c570f23f-e606-0410-a88d-b1316a301751
|
|
Make section 79 more symmetric with respect to 'dot_pos==NULL'. In any
case no index/section file names are created if option '-x' is used.
git-svn-id: svn://tug.org/texlive/trunk@67589 c570f23f-e606-0410-a88d-b1316a301751
|
|
In addition to '*.aux' files that CTWILL creates dynamically on the
first run ("Prime the pump"), it uses several '*.bux' files to resolve
external definitions, e.g., in other CWEB modules or in system headers.
The '*.aux' file(s) are always created in the "current" directory, but
the auxiliary '*.bux' file(s) can reside elsewhere in the file system.
Just like other '@i'nclude files, these '*.bux' files can be addressed
through the CWEBINPUTS environment variable.
git-svn-id: svn://tug.org/texlive/trunk@67416 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@67398 c570f23f-e606-0410-a88d-b1316a301751
|
|
Recreate Makefile.in by running reautoconf.
Adjust ctwill.tex until all tests succeed.
Adjust ctwill.tex to plain TeX; it complains about the \ifx construct.
git-svn-id: svn://tug.org/texlive/trunk@67390 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@66702 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@65831 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@65813 c570f23f-e606-0410-a88d-b1316a301751
|
|
a (valid) compiler warning about assigning |write_stream(tail):=null|
git-svn-id: svn://tug.org/texlive/trunk@65806 c570f23f-e606-0410-a88d-b1316a301751
|