uwe_lueck
>
texmap
>
texhax
— reload — | heyctan
— some “TeX studies”
(Do you dislike to see your names? The page says “no” to any
robot action.) — June — July — August — September — October — November — December
[
very brief | TUG news ||
tabs
|
mulcol-toc
| @
| TeXpätzer |
PDF booklets |
not expanding |
\maketitle
|
entering unicode |
Fermat |
output formats |
letter-spacing |
pdf/Xe/Lua |
appendix
|
space after page break |
LaTeX not on WWW |
word2x/tex2x |
env var |
local search path |
server/callable |
i t e x |
center |
preserve dash |
TeXbook appendices |
re-use theorem | macros embedded |
TEX→HTML+PDF |
em-based settings | toad
]
[→| ↑ ]
Very brief subject summaries:
- technote.pdf
in “Obsolete
\centerline
”
- bb’s suggestion
\text{-}
for \stackrel
demonstrates \mathchoice
- “Endnotes”
- kerTeX
- “MS Word to Mathtype”
has been a great discussion of
Word vs. LaTeX and some peculiarities of
TeX distributions and platforms,
starting here.
E.g., bb explained
why journals may insist on LaTeX submissions
- lineno works with multicol?
- Hex and ANT
(
luispedro.org/software/hex
,
ant.berlios.de
)
- [autism]
- quotation marks with babel in LuaLaTeX
- paracol
- PD/MS
PDF/VT?
- “Long entries in index” — hyphenation solutions,
alternative styles
(Ronald Fehd,
Phil Taylor)
- “Blank first page”
→ Byte order mark
(some more postings on Unicode variants,
editors like Notepad and VIM,
UNIX vs. Windows, compatibility)
- Produce InDesign-like documents with TeX
(flows)
mentions flowfram
and textpos,
asks about ConTeXt — becomes
“The fundamental problem”
frames with varying widths
- highlighting quotation marks in text editors
- “listmacros”:
Michael Doob provides an
interesting script — package idea!
(“listdefs”). There is cmdtrack already,
but listdefs may trim the reports.
- custom bold math
font with
Plain TeX/Eplain — result I /
result II
- “
\@sptoken
”
(my final posting)
and “implicit spaces” in TeXbook
- Locked PDF reader on Windows:
a flame war on locking/not locking PDF viewers,
whether Acrobat Reader or Windows is responsible
for locking, and
Sumatra PDF vs. AR starts in
“adobe 10”;
there is a follow-up in
June
- hyperref
has option
hidelinks
- PDF to EMF?
difficulties with getting EPS into MS Word
with good-looking fonts and little footprint
- Font used
colors, neat things …
- Installing TL without being root
this or
that way
- “Using TTF, OTF, and T1 fonts” (PD)
very much, see April 2011
- Adding section levels and repeated text …
- Changing fonts … text fine, “math not trivial” (U.F.)
- ff. also in
English,
cf. Wiktionary
- Configure page and header …
- Using longtable to format a resume
- Misplaced headline with makeindex
- Win fonts under Linux
interesting infos about non-MetaFont fonts
(in following postings)
- figures for on-line and printable book becomes interesting
- Bibliography
- Throughput
- intelligent title capitalization — package idea!
- aliasing document environment
texhash
(TeX Live) —
recommendations on installation trees
by Reinhard Kotucha |
more of them
- Nested footnotes
in
\title
{…}
— with
bigfoot!?
- Stephen Hicks
studies code about “category code 16”
on p. 209 of The TeXbook |
Donald Arseneau comments
- Eplain […]
\@optionalarg
— Heiko points at
\@getoptionalarg
— more specific
- Detecting extension of main file not possible
according to
Heiko, except in
.log
- Extracting display formulas from A LaTeX document
(with an addition following, Vafa Khalighi)
- Use of
\ldots
becomes interesting …
Susan Dittmar
- TeX sucks
(Donald Arseneau on an advertisement
that Paul Isambert
found — “alchemists”)
- jfbu
\DeclareSymbolFont
…
\DeclareMathSymbol
and more
- PDF features
get lost with pdfpages,
Heiko points to
pax !?
2011/03/03: description
(an “experiment” by
Heiko — “steroids”)
- “multiple pdfs from one dtx” (2010-12-25)
Heiko
… TODO
- “A couple of questions”
- spacing with math display (2010-12-25)
amsmath |
Phil
- multiple choice (2010-12-25)
Phil |
Hubert Lam: enumitem
- Centering delimiters with math accents, e.g.,
final answer,
had something like this before, Philipp Stephani — but this also reminds of
“spoon-feeding software” ...
- “Extracting math from pdf file”
(“overlay” symbol with Computer Modern,
2010-12-05)
- “Xetex: using fonts with missing glyphs” — Susan Dittmar explains
her problem
- “Frequency of reference citations”
I recommend a counting macro
(… to be written, 2010-11-29)
- “Misplaced parentheses” — Donald Arseneau
on shortcomings of
mathit.mf
(2010-10-30)
- “Customising
\&
per font” — Philipp Stephani
(2010-10-28) points to
stackoverflow
where redefining \sffamily
etc. is suggested
for font-dependent choices (using fontspec)
- “Stretchable
\baselineskip
, per-page?” — Heiko
on “proportional” stretch component (2010-10-08)
- “
\input
inserts an extra space …” — Heiko
explains how end of file line works
(2010-10-07 — TeXbook
p. 46+48!)
- “Appendices to chapters” with
memoir — Lars Madsen
answers to Victor Ivrij (March 2008).
[→| ↑ ]
TUG news:
[→| ↑ ]
“Simulating tab character”
- Problem (PD)
- DA suggests his
tabto.sty — CTAN identifier
tabto-ltx, as opposed to
tabto-generic.
Robin Fairbairns made a documentation file
tabto.pdf
- A discussion of tabto.sty
ensues with UF.
[→| ↑ ]
“Partially multicolumn TOC” — recommendations result in
\addtocontents{toc}{\protect
\begin
{multicols}{2}}
…
\addtocontents{toc}{\protect
\end
{multicols}}
For an odd number of entries (or otherwise different columns),
Lars Madson suggested
\addtocontents{toc}{\protect
\begin
{multicols}{2}}
…
\addtocontents
{toc}{\vfill
\protect
\strut
}
\addtocontents{toc}{\protect
\end
{multicols}}
(adding the \vfill
line,
where \protect
preceding \strut
may be mine).
This may be experimental, just worked so far. The OP was
happy without \vfill
\strut
at his present project, but also about Lars’ idea
for the future.
[→| ↑ ]
“TUGbo@.”
- Phil Taylor initiated a discussion
of rationales behind choosing names of internal
(“private”) control sequences
(‘“@” : vowel or glottal stop ?’),
triggering quite a few contributions.
- Arno Trautmann suggested summarizing
this discussion in a TUGboat article.
- While I consider this matter
nothing but fun, again more funny and serious attempts followed
(Paul Isambert, bb, Philipp Stephani).
[→| ↑ ]
What is a TeXpätzer?
in Herb Schulz interview
[→| ↑ ]
PDF booklets:
[→| ↑ ]
To not expanding … besides \string
?
- Phil’s e-TeX HTML
manual
- Paul Isambert precisely
- Josef Wright employing
\toks@
(looks simpler than mine below)
- Reinhard Kotucha:
change category codes, e.g.,
verbatimwrite
environment from moreverb
- me employing
\@onelevel@sanitize
(2011-01-05)
- TeX by topic Section 12.4 adds
\noexpand
which doesn’t change category codes
[→| ↑ ]
Spacing with \maketitle
(2010-12-22)
- bb:
\vspace*
- Steve Schwartz: titling
- Phil: “sledgehammer”
\title{\kern
-4pt}
- happy about the latter two
[→| ↑ ]
Entering Unicode:
XeTeX and LuaTeX don’t help much when you are unable
to enter unicode code with your editor, or your editor
can’t display the glyphs. Here is:
- Wawan asks
regarding terminal text editors such as
emacs or vi (2010-12-13)
- Torsten Wagner
on how-to with emacs,
terminal emulation remaining …
- Steve Revilak
stresses terminal emulation as well
and reports comprehensively about
UTF-8 with the KDE console
[→| ↑ ]
“Fermat’s Gambit”
- Philip Taylor
“too small …”
(“Fermat” – Phil’s idea or
mine much older? 2010/11/20)
- Philip Taylor
another time
(2010/12/04)
- James Quirk
beats “Fermat’s Gambit”
– read on for the “Mandelbrot Viewer”
allowing squeezing everything into one page – and
- pets as mathematicians,
those liars
[→| ↑ ]
Output formats: On
December 2 and 3, 2010,
there was a huge amount of postings about TeX output formats
– .dvi
vs. .pdf
–
their future and graphics/PostScript capabilities.
Two were triggered by Michael Barr,
the first one was
“Can this be done using only LaTeX?”,
his other was
“dvi vs pdf”.
Between these subject, Peter Davis triggered many postings with
“PostScript output (from XeTeX)?”
[→| ↑ ]
“Inserting a space after each char in string”
- Reinhard Kotucha:
\@tfor
- proposed package (expandable)
- existing packages
(soulutf8 and letterspacing
missing in Jürgen’s list)
- Robert points to the
letterspace package included in his
microtype bundle
(missing in Jürgen’s list
as well as in the package descriptions!)
- caveat about my proposed package
[→| ↑ ]
pdfTeX/XeTeX/LuaTeX,
actual subject
“image XObjects in pdfTeX or XeTeX PDF output”,
e.g., Peter Davis (Nov 22, 2010),
comparisons including, e.g.,
[→| ↑ ]
Numbering in appendix: actually two different subjects
that were confused a little:
- “Problem with appendices” 2010-10-29
- “appendix numbering and page numbering”
2010/11/19
- Barbara Beeton same day
reports on the first posting
- second poster
makes use of her suggestion
- bb points to the AMS FAQ
- some reasonings on package compatibility with
Boris Veytsman followed, finally
“VIP” …
[→| ↑ ]
“Calculating remaining space after page break”
- OP Wolfgang Lorenz 2010/11/10
poems,
\pagegoal
, \pagetotal
- Donald Arseneau
- Paul Isambert
[→| ↑ ]
“Why LaTeX not on WWW?”
- history from
William Adams’ view,
mentioning MathML, Stix fonts, BlueSky, and Y&Y
- Peter Davies
criticizes
“(mythical) separation of ‘content’ from ‘presentation’”
[→| ↑ ]
“Word → x / …TeX to y:”
- Jürgen Fenn lists some tools available
from CTAN (TODO CTAN has more)
for “both” directions of conversions
- Here you find:
Word → x | …TeX → y
“Converting Word files to text”
(or even (La)TeX)
- Wilfried Hennings’ list of converters
- CTAN:
- catdoc plain text from Word 6.0, 1995, 1997
- word2latex
wsW2LTX library/API for Word up to 2000
- word2tex
shareware from Chikrii Softlab,
deals with Equation Editor and MathType
- word2x Word 6 only
- WordML2LaTeX
for Word 2003, see Microsoft Office XML formats---as
opposed to Office Open XML(?)
- request
(2010-11-01, focus on “many files” and batch approach)
- more recommendations from list answers:
- VBA
- Apache POI—Java API for Microsoft documents
- antiword
- some
ideas from Pierre MacKay
using MS tools and OpenOffice.org
- wvConvert (!?)
- OP chooses
antiword and catdoc
- in a different thread of April 2011
(“Converting from .doc to .tex including styles conversion”)
- Gord mentions
.odt
and Perl/Python/Ruby;
- going via XML evolves
here — xmltex
and WordML (“Save as XML” in Word) with
wordml2latex (XSLT)
- In a later thread,
AbiWord (cf. homepage)
was mentioned here
for the more general purpose.
This thread also dealt with MathType.
“TeX → Word”
- Note: CTAN seems to offer these approaches:
- to RTF and then import it on your own …
- to HTML/XML and then … — cf. some
collections (that unfortunately also contain
material irrelevant here):
- Jürgen Fenn’s
- “TeX web projects”
on the TUG hint page
- Wilfried Hennings’ other list of converters
- request (2010/12/11)
- recommendations:
- tth (CTAN)
- latex2rtf (CTAN)
- Dieter Meinert
reports having tried several solutions and
recommends commercial, but affordable
.pdf
→ .doc
converters
- Chris Yocum recommends
johnmacfarlane.net/pandoc/
TODO earlier similar requests …
[→| ↑ ]
“Help with pdflatex”—here rather
“calling TeX with environment variable”,
Reinhard Kotucha 2010-10-30:
$ echo hello > ~/foo.tex
$ tex ’\input
$HOME/foo.tex’
[→| ↑ ]
“Local search path”
- Thierry 2010-10-26
on my suggestion to use
export—partial solution
- cvr at river-valley.org
- Thierry
[→| ↑ ]
Server/callable
- Paul Isambert 2010-10-23
- Peter Davis
- William Adams on
xexmltex
- callable
(2010-10-27) –
many interesting answers, e.g.,
Karl Berry:
“LuaTeX has been unbundling the typesetter, but there is no standalone C library at this point, as far as I know.” – pointing to
tug.org/pipermail/pdftex/2007-January/006999.html
and runptex.sarovar.org
– “but it is about encapsulating runs of pdfTeX (as a whole) in a library, rather than the kind of piecemeal functionality Peter is describing.”
- … and another subject of this kind:
Send requests to texlive
(2010/11/25)
…“to be compiled from a web page” –
- Uwe Ziegenhagen reports
of a similar project and offers hints on implementation
(PHP, cf. latexrender on CTAN)
- Andy Farnell makes suggestions
on files to be uploaded
- Vafa Kalighi posts
another example based on latexrender
as well (cf. ensuing …)
- another reply to the
previous (or to what? no quote …),
by Andy Farnell, with a hint on implementation
[→| ↑ ]
i T e X
- 2nd mention…
(2010/09/30)
COMEFROM
- Wikipedia
- secret euphoric joke
(2010-10-07 on creating inputtrc,
answered euphoricly privately,
as I realize only 2010/11/15)
- pronunciation
- Instant TeX 2001
- spelling
[→| ↑ ]
“Difference between \centering
and \begin{center}
”
- Daniel Freedman—with
tabular
as opposed to figure
?
(2010/09/09)
- Axel Retif
- Stephen Hicks
- Martin Schröder
- Daniel Freedman thanks
[→| ↑ ]
“Preserving dash when hyphenating compound words:”
- OP Aleksandar Zec 2010/07/31
- my follow-up 2010/08/19
- Alex Zec: my solution doesn’t suffice,
presents a better one,
maybe not elegant
- I announce an elegant solution for …
- Reinhard Kotucha
points to Spanish(?) babel,
p. 157 of
babel.pdf
[→| ↑ ]
TeXbook appendices:
- Bryan Lepore
2010/07/28 started a “bibtex”
thread, wondering about BibTeX’s
Wikipedia entry
(cf. resulting
Wikipedia talk;
I hadn’t noticed this).
Tidying my mailbox 2010/08/16, I found the thread somewhat
unfinished, I posted
that the Wikipedia entry had been corrected.
- Replying, Bryan
triggered a discussion about recent
alternatives to BibTeX.
Among a few answers …
-
Philipp Gesang 2010/08/17
praised LuaTeX for making bibliography engines obsolete.
A discussion on documentation for LuaTeX ensued.
The next day finally,
Philipp brought up the idea of an
“Appendix K” to the TeXbook.
- Philip Taylor
(still 2010/08/18)
pointed out that, according to the law ruling
the appendix names of the TeXbook,
a chapter on LuaTeX must be
“Appendix L”.
He is
convinced
that Knuth had planned exactly
this, adding
that (presumably) “Appendix K” has been reserved for
Karl Berry’s Kpathsea.
- In his typical asynchronous manner,
Donald Arseneau 2010/08/19
replied to Philipp(!)’s idea on “Appendix K”
directly, i.e., without noting the former
“Philip” (who calls himself ‘Phil’) thread,
arriving at the same conclusion
about “Appendix K” (Kpathsea) and
“Appendix L” (LuaTeX).
This is not bad. It is fine for science
when researchers indepently find the same conclusions.
In the present case, I am very happy for Karl!
I even (really) note again here how smart Donald is:
he needed 2 lines in a single posting for both
appendixes “K” and “L”,
where the parallel thread needed 3 postings.
(The other thread developed further.—Donald
once wrote me that he seems not to receive
all texhax postings, maybe the security department
of his company …)
[→| ↑ ]
“Theorem numbering”, rather
“(p)re-using” a theorem—Stefan Witzel’s
query (2010/06/02)—Barbara Beeton’s
answer (2010/06/04),
leaving “re-use” of body text
“as an exercise to the reader.”
Actually doing the exercise:
I thought of extract or some
verbatimwrite
(quite a few packages for this)—difficult
to learn—easy instead (although not tested, sorry):
Type theorem body code in an extra file, say, thm-outs.tex
.
To typeset the theorem at its proper place, type
\begin
{thm}\label{thm:outs}
\input{thm-outs}
\end
{thm}
Barbara’s xrefthm
is enlightening,
yet I would prefer the following generalization
(in the document preamble—once I desired to have this!
e.g.: Thm. 2* an “analogue” of Thm. 2 for a different
setting):
\newenvironment*{var-id-thm}[1]{%
\def\thethmid{#1}%
\begin
{the-var-id-thm}%
}{%
\end
{the-var-id-thm}%
}
\newtheorem*{the-var-id-thm}{Theorem \thethmid}
To be used like this:
\begin
{var-id-thm}{\ref{thm:outs}}
\input{thm-outs}
\end
{var-id-thm}
—cf. thmtools!
—similar question without AMS
(2010-10-21) …
—similar:
counting equations relative to a proposition
(2010-10-08)—late answer—suggestion on \label
/\ref
in this case
(requested off list)
[→| ↑ ]
“Creating a source with macros embedded”
(Mike B., 2010/07/30)—trying to reword:
While abbreviating macros work as “substitutions” at
compiling only, Mike wants them to work as substitutions
on the source files.
One might answer that Mike just had been impressed too much
by TeX’s macro mechanism and chose abbreviating macros
erroneously when he should have used a different program
(not TeX) to perform those substitutions, …
- such as AWK or Perl. But indeed there are scripts right
for Mike’s purpose:
- de-macro | detex |
ltx2x.
- Instead, you can use functionality of certain editors:
user-defined editor commands
(e.g., with Vim),
“autocompletion”;
“expansion”
(“auto-correction”, macros, variables, aliases; by shell …)
- If you are sufficiently mad, you may even choose
TeX-based substitution:
( datatool [Nicola Talbot]
| stringstrings [Steven Segletes]
| ted [Manuel Pégourié-Gonnard]
| fifindo [mine] ).
The latter introduces a kind of script language
(consisting of ordinary TeX macros)
for performing multiple substitutions
(still not very intuitive at present).
- Back to ordinary use of macro files—for
substitution!
I am currently using an extension of my aforementioned
fifinddo that “copies” one file into another,
however: expanding especially chosen macros
(I am generating HTML this way for my own
purposes—“blog.sty”).
This could be used here, but it would need
\let\foo\relax
for any standard LaTeX command that should not expand
in this process (generating a source file).
This may become useful if those source files don’t include
the LaTeX document preamble, but rather are only (parts of)
the body of the document
environment.
[→| ↑ ]
“LaTeX, Webpages, and PDF files”—generating
HTML/PDF from same source
-
… started by
Thomas Jacobs 2010/08/19,
asking about getting PDF and HTML from the same LaTeX source.
-
Deyan Giyev replied 2010/08/20
mentioning
-
LaTeXML,
a LaTeX to XML (XHTML + MathML) converter
developed at the US National Institute of Standards and Technology
(many Google entries, including Linux packages),
-
Tralics,
a kind of French analogue from INRIA,
-
LaTeX2HTML—which
Andy Farnell recommended
as well the same day—, and
- TeX4ht.
The same day,
Leo added
TeX2page
(cf. online manual).
I would like to add
Jürgen Fenn’s quite comprehensive
list of TeX→HTML converters,
hevia has been missing there,
mentioned here
some of the tools listed on the
TUG resources page
(“web projects”,
overlapping with former, “how much” not checked).
[→| ↑ ]
“Revtex incompatibility”
or rather “em
-based settings:”
- On 2010/08/14, Michael Barr posted
“Strange interaction with revtex”,
2010/08/16
“Weirder and weirder”,
wondering
about
em
-based settings of his diagxy package
failing with revtex4.cls
and
at which lines of a main .tex
file certain fonts are chosen.
- On 2010/08/17, Philip Taylor
recommended something with
\AtBeginDocument
(perhaps somewhat wrong, correct:
defer em
-based macros/calculations by putting them into the
argument of LaTeX’s \AtBeginDocument
command).
- On 2010/08/19 Donald Arseneau replied
recommending
\normalfont\normalsize
‘before settings with “em
”’.
- The day before, Michael Barr had posted as
“Revtex incompatibility”
(after an “unhelpful reply” from revtex maintainers)
that he had found placing
\normalsize
above \input{diagxy}
(after \documentclass{revtex4}
)
as a solution
(or seemingly from his point of view: a “workaround”).
- The OP seems to think that a
LaTeX class is “wrong” unless issuing
\normalsize
.
However, there may be reasons … another
(journal’s or publisher’s) package might
load (proprietary) fonts with non-standard design sizes
(such as 1 em = 10.5 pt, I am working with such a package)
which a “generic” document class
(such as the “generic” journal class revtex4)
“cannot predict.” (@Mark Doyle: is this correct?)
It is for this reason that em
-based settings may better
replace the dots in
\AtBeginDocument{\normalfont\normalsize ...}
.
em
-based settings may be relevant not only for
“normal” text in “\normalsize
,”
but in footnotes or “small print” as well.
To deal with this case, one approach is deferring these
settings not just to \begin{document}
,
but to the point in time/code where the setting actually is
used in typesetting
(so em
refers to the design size of the current font).
Another approach would be to prepare settings for all the
intended sizes at \begin{document}
and, at typesetting, to choose the relevant setting
using \@currsize
.
- It is somewhat amusing that the essential reason of the
purported “interaction” is that one package author
expects an “action” (
\normalsize
)
from another package
that the latter just
is not willing to take.
[→| ↑ ]
“Goodbye, you little toad”
Tip: download .zip
files for each month from the
texhax archives page.
Last generated 2013-01-19 © Uwe Lück
[→ top of page ]