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

learn more… | top users | synonyms (1)

3
votes
1answer
26 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 ...
2
votes
2answers
128 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 ...
9
votes
1answer
124 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 ...
10
votes
4answers
177 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 ...
15
votes
1answer
165 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
346 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 ...
24
votes
2answers
419 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, ...
6
votes
2answers
187 views

Macro expanding to a file's contents?

How can I define a macro so that it expands to a file's contents?
18
votes
2answers
466 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
136 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}} ...
36
votes
3answers
1k 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 ...
4
votes
1answer
47 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
107 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} ...
6
votes
2answers
88 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
63 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
466 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
1k 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 ...
2
votes
0answers
172 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 ...
5
votes
1answer
227 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 ...
1
vote
2answers
168 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 ...
17
votes
2answers
372 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
239 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?
6
votes
1answer
124 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 ...
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 ...
13
votes
1answer
294 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: ...
7
votes
1answer
338 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 ...
7
votes
1answer
181 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 ...
9
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 ...
8
votes
2answers
305 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 ...
3
votes
2answers
380 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 ...
41
votes
3answers
11k 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 ...
16
votes
3answers
911 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 ...
2
votes
0answers
120 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 ...
9
votes
3answers
737 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 ...
62
votes
2answers
20k 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 ...
4
votes
2answers
651 views

Error using \usepackage{listings}

If I include the package listings I can't compile my document anymore. There is an error saying: !No room for new \dimen.\ck ... \else \ermesage{No room...} File: \latex\sueprtabluar\supertabular.sty ...
11
votes
1answer
770 views

How to do \scantokens inside \edef without triggering “Runaway definition”

I'm trying to find a way to use the e-TeX \scantokens command inside [the equivalent of] an \edef (well, actually an \xdef, but presumably this does not make any real difference since that's just the ...
8
votes
3answers
201 views

Are we inside an edef?

How would you test whether we are in an expansion only context (i.e., \edef, \xdef, \write,...) or not? The only ways I could think of leave things behind (but the full expansion of that extra stuff ...
16
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 ...
8
votes
4answers
772 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
3answers
488 views

Strange recursive macro output

Strange recursive macro output The code that follows describes a macro that can iterate recursively (i.e, a forloop) and uses e-TeX numexpr. It is based on an example found in the e-TeX manual (page ...
21
votes
6answers
7k 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 ...
49
votes
6answers
10k 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 ...