{e-tex} is an extended version of TeX, from the NTS project.

learn more… | top users | synonyms (1)

2
votes
1answer
49 views

e-TeX and \newfam allocation

If PSTricks is used with e-TeX (from the latest TeX Live distribution), it appears that only the 7 families 9 trough 15 are available to \newfam. If PSTricks is used with tex (again, from the latest ...
6
votes
1answer
70 views

The difference between `\the\numexpr` and `\number\numexpr`

I wonder if there is any functional difference between \the\numexpr and \number\numexpr. Some obscure context where they would yield different results? (I'm obviously aware that \the and \number ...
2
votes
1answer
93 views

Problem in making a custom format for plain xetex

I have lots of macros and so would like to create a format out of them. I am using xetex as engine. Suppose format.ini is a file which looks like this: \input plain [lots of macros] \dump If ...
23
votes
0answers
236 views

Why does the non-pdf latex engine behave differently from pdflatex?

In the question Enumerate after \label an admirable answer addresses the problem of how to label and link the theorem number when the theorem begins with an enumerated list, and while doing so, how to ...
4
votes
1answer
245 views

Rubber with etex package

I am using rubber to compile my documents. In some of them (usually Beamer presentations), I use the etex package. In such a case, rubber aims to use as the command elatex to invoke the e-TeX engine ...
28
votes
3answers
1k views

Should I load eTeX and/or fixltx2e by default

So, inspired by Fixing LaTeX2e I've been wondering: Should I be loading fixltx2e and/or eTeX by default? Typically I start my documents as %Page layout here \documentclass[letterpaper, ...
4
votes
1answer
221 views

package autonum needs the obsolete etex package

With an up to date TL 2015, the following minimal example: % \RequirePackage{etex} \documentclass{article} \usepackage{l3keys2e} \usepackage{titlesec} \usepackage{adjustbox} \usepackage{footmisc} ...
37
votes
3answers
2k views

What does the 'etex' package do, exactly?

I was creating a rather large LaTeX project, so I had to use many packages. This gave me an error No room for a new \dimen \newdimen \MPscratchDim while my editor(Kile) opened the file ...
11
votes
1answer
365 views

what is the equivalent of \reserveinserts in latex 2015

The release 2015 of LaTeX has included features of the etex.sty package. However, it does not have included the \reserveinserts command. My questions is very simple: what is the mechanism to use to ...
14
votes
3answers
470 views

etex package still seems to be necessary in LaTeX2e 2015/10/01?

I've experienced this problem after upgrading to TeX Live 2015 and getting newer versions of all my packages. (Presumably some of those package updates are to blame.) MVE: \documentclass{scrartcl} ...
10
votes
1answer
2k views

Expansion in \numexpr…\relax versus \pdfstrcmp

The \numexpr...\relax construction in eTeX allows to evaluate numerical expressions, and it expands tokens fully as it goes. The \pdfstrcmp{...}{...} construction in pdfTeX lets us compare two lists ...
2
votes
0answers
87 views

Which TeX engines support OFM fonts?

I'm extremely unhappy with the limitation of tfm fonts of 15 heights / 15 depths / 63 italic corrections. This is why I'm looking for a TeX engine which can load ofm fonts, probably etex, xetex or ...
4
votes
1answer
76 views

How to create marginal notes without 'opening up' the paragraph

This is an example with the \marginalstar macro from TeXbook. Without \marginalstar the paragraph is normal, with \marginalstar the paragraph is "opened up". \def\strutdepth{\dp\strutbox} ...
72
votes
3answers
25k views

Why is the ifthen package obsolete?

In the LaTeX companion, the authors recommend to use the package ifthen for complex conditional. But in his answer to LaTeX conditional expression Will Robertson doesn't mention it, and in the ...
2
votes
2answers
164 views

Question about e-TeX in TL

In TeX Live 2014 man etex reads: BUGS This version of e-TeX implements a number of optional extensions. In fact, many of these extensions conflict to a greater or lesser extent ...
3
votes
1answer
107 views

How can I use \noexpand and \unexpanded without appending a space to the unexpanded tokens?

One of my current tasks involves composing an auxiliary file with extra commands to be loaded at a separate compilation. Here's an MWE: \documentclass{memoir} \newwrite\testaux ...
50
votes
6answers
11k views

What are benefits of e-TeX for LaTeX users?

The etex package provides an interface to e-TeX features. What advantages does it offer to LaTeX users? Are there any possible disadvantages like incompatibility to any other package or can I just ...
10
votes
4answers
230 views

How can I check whether two control sequences have the same name?

I'd like to test whether two custom control sequences have the same name, regardless of what they expand to or whether they're actually defined. For instance, \ifsamecsname\Foo\Foo should be ...
21
votes
1answer
2k views

formal syntax rules of \dimexpr \numexpr \glueexpr

After looking at various answers on the site and by looking at the documentation of e-tex, I am still wondering what is exactly allowed in the various types of expressions, i.e. \numexpr, \dimexpr and ...
12
votes
4answers
450 views

Ratio arithmetic in plain TeX

I would like to calculate the ratio between two dimensions and produce a dimensionless quantity for use in further calculation in the process. I seem to be unable to do so. Specifically, I run into ...
9
votes
3answers
806 views

Detecting \global, \long, \outer, \protected

Is there a way to detect whether or not the next assignment is going to be \global, \long, \outer, or \protected? That is, is it possible to write a command \detectmodifiers such that code like ...
5
votes
1answer
341 views

e-Tex and TexWriter

I'm using TexWriter as a LaTeX editor on my iPad. When I try to compile a document I get the following error:"!package etoolbox Error: Not running under e-TeX." I'm also using enumitem package. Is ...
47
votes
4answers
1k views

Who *doesn't* use e-TeX?

I was just browsing the new questions and noticed egreg's recent answer, in which he uses a certain extension from e-TeX and cautions the reader that it is not compatible with Knuth TeX. And so I ...
8
votes
4answers
782 views

ConTeXt / e-TeX Real Numbers?

I've been using LaTeX for about 6 years and the calc package for a long time. Therefore, not being able to use real / floating point numbers was never really a problem. I've been pouring over the ...
7
votes
2answers
230 views

Macro expanding to a file's contents?

How can I define a macro so that it expands to a file's contents?
19
votes
2answers
596 views

Could someone further elucidate expansion, catcodes, and scantokens…?

In response to my question "With TikZ is it possible to pass the node content through a preprocessor?", @MarkWibrow suggested a solution using \scantokens. {\catcode`\_=13 ...
3
votes
2answers
166 views

\llap mystery with TeX--XeT

Consider \documentclass{article} \usepackage{xecolor} % loads fontspec by default \setmainfont{Times New Roman} \begin{document} \fontsize{60}{70}\selectfont TEST\llap{\textxecolor{red}{TEST}} ...
4
votes
1answer
56 views

Creating token blocks to hold environment contents and printing from them later

I have the following, works well for one toks block i.e \savedenvtoks but i want to create more toks blocks and i want the \savedenv to take a parameter indicating whichs toks block to add to, and i ...
6
votes
1answer
119 views

Why are my dimension calculations so far off?

I've got some macros storing information about various dimensions. When I start dividing by dimensions, though, I'm getting answers that don't make sense. \documentclass{article} ...
45
votes
3answers
15k views

How to avoid page-breaks inside paragraphs?

I would like to know if there is any global command that would prevent any page-breaks inside paragraphs. I'd rather have the whole paragraph on the next page instead of having it cut in the middle. I ...
7
votes
2answers
107 views

ifetex always true

I am working on a document preamble that allows me to compile a document with pdlatex and with xelatex. I found that the \ifetex condition to check whether the document is going through e-tex is ...
2
votes
0answers
67 views

No room for a new \dimen despite of loading etex [duplicate]

After upgrading to TeX Live 2013 one of my books does not compile any longer. I do load etex, but still have not enough room. What can I do? Back in 1994 I had a colleague who hacked the LaTeX source ...
14
votes
1answer
629 views

Why does \numexpr integer division round rather than truncate?

In my use of \numexpr's integer division / I have never gotten any advantage from the fact that it rounds rather than truncates. TeX's own \divide truncates. If we were dealing with floating point ...
5
votes
1answer
2k views

Usage of the \dimexpr command

I have MiKTeX 2.3 and its version of e-TeX does not support \dimexpr command. I do not want to update this MiKTeX now and wonder, is it possible to define the \dimexpr command, probably with use of ...
3
votes
2answers
396 views

\dimexpr replacement/“expansion” without eTeX

I want to use \'{\i} in a bookmark. While it works without problems when eTeX is there, I cannot use e.g. \dimexpr without eTeX. (And the current version of my TeX distribution does not contain eTeX ...
2
votes
2answers
259 views

Errors produces when using `\readline`

This question, while related to this earlier question of mine, is less about removing content from the beginning of each line and more about how to preprocess lines of a file as it is read in. Here ...
0
votes
1answer
2k views

etex.sty not found!

I copy .tex file from MikTeX to Scientific Word; in MikTeX, everything is fine; but in SW, I got etex.sty not found. error. I copy the file stex.sty from MikTeX to SW; then I go the following error ...
18
votes
2answers
474 views

Use of \everyeof and \endlinechar with \scantokens

The e-TeX \scantokens primitive allows retokenization of input. However, it is almost always used in a group where \everyeof and \endlinechar are set (see for example Can I convert a string to catcode ...
13
votes
1answer
2k views

Can someone explain what is the 'extended mode'?

During latex compilation with pdflatex+shellescape, the compiler enters: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) entering extended mode And stays there for a while, before ...
6
votes
1answer
265 views

List of all post original TeX control commands

Is there a well documented list of all control commands added by all post Knuth's Tex like PdfTeX, e-TeX, XeTex, LuaTeX?
13
votes
1answer
316 views

\lastnodetype not working as expected in luaTeX

I'm currently experimenting with the linebreak_filter of luatex and when using it to change/replace the linebreaking algorithm the \lastnodetype command stopped working. A MWE is the following: ...
6
votes
1answer
136 views

biblatex and etex with active equal sign (=)

Please why does etex.sty fail to load with active =? \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[turkish]{babel} \catcode`\==13 \makeatletter \bbl@activate{=} \makeatother ...
16
votes
3answers
1k views

Why does \dimexpr swallow \relax?

Following the comments at Doing maths with distance values in LaTeX source code: +1 for teaching me that \dimexpr can optionally swallow a \relax. Yesterday I tried to use \relax as a delimiter ...
7
votes
1answer
374 views

Replacement for \unexpanded without eTeX extension

As comment on Can the extended register pool be used for \newinsert?, there is a reference to Dealing with tons of floats. It is interesting but uses \unexpanded: \edef\@freelist{% ...
7
votes
1answer
213 views

Weird output of \tracingassigns with \font

Setting \tracingassigns to a positive value causes eTeX to write to the log file (and console when \tracingonline is positive) all assignments it performs. Thus, I would expect the following code to ...
8
votes
1answer
205 views

Can the extended register pool be used for \newinsert?

After reading egreg's answer to No room for a new \dimen I got this question: The etex package switches to the extended register pool, when the normal one for a register type is exhausted. For a ...
8
votes
2answers
328 views

How do I redefine a macro when any group begins, then again when that group ends?

Okay, I know this is a pretty tall order, but I'm working on a package based on my answer here, and I'm including Ahmed Musa's environment which redefines \par. The problems are: Some environments ...
17
votes
1answer
1k views

What does \marks do?

Recently I had cause to define a macro called \marks. If I try something like \newcommand{\marks}{fred} I get the error ! LaTeX Error: Command \marks already defined. In LaTeX, if I do ...
26
votes
6answers
9k views

Avoiding page breaks shortly after section/subsection headings

By default, LaTeX allows a page break after the first two lines of paragraphs following section/subsection headings. How can I enlarge this minimum to, say, three lines or 10 percent of the value of ...
2
votes
0answers
121 views

How to automatically increase the number of \write registers? [duplicate]

Possible Duplicate: Making efficient use of \writes I am trying to compile a document that heavily uses PGF/TikZ externalization as well as a table of contents, list of figures, etc. I am ...