{output-routine} is a basic element of TeX processing which is automatically called at different occasions (e.g., at insertions like footnotes or floats) and finally makes up the contents of a page for shipout after a page break has occurred. Headers and footers as well as floats, margin paragraphs ...
1
vote
0answers
28 views
headlines are not shown with tikz input (plain TeX) [duplicate]
I'm usign plain TeX with custom headlines. If I load Tikz packages with
\input tikz
then headlines are blank. The following are my headlines (some commands don't belong to plain TeX, but I think ...
16
votes
3answers
194 views
Strange behaviour with PGF/TikZ and Plain TeX output routine
I noticed a strange behavior when running PGF/tikZ with pdfTeX on my Debian box :
a simple session without tikz:
pdftex
**\relax
*Hello World
*\bye
do output the page number on the page footer.
On ...
6
votes
1answer
152 views
Shipout line like Shipout page
In lineno package guide, I found:
Attaching line numbers after TeX has broken the paragraph into lines
is already quite a difficult job for TeX. Why? Because TeX does not
normally give you any ...
18
votes
1answer
201 views
Flushbottom columns when \parskip has no stretchable glue
In the following example, the columns on page 1 and 3 "sit" perfectly on the frame, while on page 2 (with the large float) the columns end a bit above the frame. Does anyone have an idea what I could ...
5
votes
1answer
240 views
Outputting a spread at a time
I think I remember Stephan Lehmke writing here somewhere in a comment about outputting a spread at a time instead of page.
That got me thinking; does that mean something like:
\output={\shipout\vbox ...
5
votes
2answers
165 views
Output routine and \box255
The \box255 referred to in this question applies only to the container of the latest chunk of the MVL, as cut by the page builder. Now the question: I read somewhere that
\setbox0=\vbox to ...
16
votes
2answers
225 views
What is \box255?
I'm just reading the everyshi manual, and it says:
This package provides the hooks \EveryShipout and \AtNextShipout
whose arguments are executed after the output routine has constructed
...
11
votes
2answers
136 views
Can I detect whether a footnote has been split?
Title sez it all: Can I detect, hopefully by inspecting \box\footins, whether a footnote has been split at page-breaking?
I found the package fnbreak but it uses labels, which is much too delayed for ...
11
votes
2answers
140 views
Can I get at stuff in “current page” or “recent contributions”?
When I compile the following,
\documentclass[a4paper]{article}
\usepackage{atbegshi}
\AtBeginShipout{\showlists}
\showboxdepth\maxdimen
\showboxbreadth\maxdimen
\usepackage{lipsum}
...
2
votes
1answer
362 views
How to use ltxgrid to switch between one and two columns
After reading answers to this question, I decided to give ltxgrid a try. A simple experiment showed that using \twocolumngrid and \onecolumngrid do their job; however, the vertical space between one- ...
2
votes
1answer
114 views
Which memoir package emulation clashes with footbib?
memoir has at least one package that modifies the output routine and conflicts with footbib, does anyone know which one(s)?
11
votes
2answers
497 views
Background baseline grid with output routine
I am trying to get a baseline grid in the background of every page. I am using the plain format with XeTeX. This is what I have tried:
\baselineskip=13pt
\topskip=0pt \parskip=0pt
\newbox\gridbox
...
14
votes
3answers
322 views
Unbalanced output routine
The TeX primitive \output behaves almost like a toks register, except in the fact that it is always surrounded by braces. For instance, after \output={\plainoutput}, the result of \showthe\output is ...
2
votes
1answer
166 views
Can I write a macro for placing a vertical, breakable rule along arbitrary paragraphs without an output routine?
I answered a question last week about creating a continuous but breakable rule next to an arbitrary number of paragraphs in Plain TeX. My solution gathered the paragraphs to rule in a vbox; my output ...
9
votes
1answer
113 views
Why does the list of recent contributions contain exactly two boxes?
In the transcript of
\nonstopmode
\tenrm
\vsize=2cm
\output={\shipout\vbox{
\showlists
\unvbox255
}}
\hbox{blah}
\hbox{blah}
\hbox{blah}
\hbox{blah}
\hbox{blah}
\hbox{blah}
\hbox{blah}
...
9
votes
2answers
201 views
Can I make some vertical material disappear if it occurs next to a page break?
I'd like to place a horizontal rule above each section title, to separate the new section from the text before it. But I don't want the rule to appear if the section begins on a new page, since that ...
45
votes
3answers
967 views
Notes overflowing from marginpar to footer
In this document, from page 12 and following, the notes from the marginpar are overflowing in the footer of each page.
How can this be achieved in LaTeX?
ConTeXT/LuaTeX based solutions are ...
13
votes
2answers
3k views
Installing background and foreground page layers with TikZ
Several times I discovered the need to draw TikZ material behind and on top of the page text (How to draw text-anchored tikz line below text instead of above?, Test if a paragraph has a page break in ...
34
votes
1answer
1k views
An explanation of LaTeX's output routine
Is there a good reference for LaTeX's output routine? The documented source is confused and confusing. The authors seem confused as to why parts are the way they are and wonder if maybe things should ...