🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #209

Can I reformat /insert's during /output?

#209
From: Joel M. Hoffman
Date: Tue, 03 Nov 1992 13:29
40 lines
1829 bytes
A while ago I mentioned the following problem.  I'm writing a document
that will appear in three languages.  I'd like to make sure that the
translations into all three languages always apear on the same page.
So, I'd type

	\foo{English}{fran\c ais}{espa\~niol}

and TeX would make sure that the three are on the same page.  Of
course, there's no guarantee that the texts will be the same lengths.

I've given up trying to find someone who's already solved the problem.
I starting looking at how I might do it yesterday, and tried making
two inserts:  \newinsert\toptext and \newinsert\bottext.  Then \foo
looks like this:

	\long\def\foo#1#2#3{\toptext{#1}#2\bottext{#3}}.

Now I have to change the \output routine accordingly.  The problem I
have is that the new insert commands put the material into the
respective inserts in vertical mode.  I need someway to partially
reformat the insert.  I tried using \removehboxes from the Dirty
Tricks chapter of the TeXbook, but that goes too far.  I must allow
the possibility of, e.g.:

	\foo{Two paragraphs in English.

This is the second.}{Some French.}{And here's the Spanish.}

If I completely reformat the insert, I'll lose the paragraph
information.

In general, I'd like to be able to have anything possible in ordinary
text mode possible in each language.

Any ideas?  Please help!

Thanks in advance.

-Joel
(joel@wam.umd.edu)
Technical Details
Message-ID: <1992Nov3.132902.19573@wam.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!wam.umd.edu!joel

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!wam.umd.edu!joel
From: joel@wam.umd.edu (Joel M. Hoffman)
Subject: Can I reformat /insert's during /output?
Message-ID: <1992Nov3.132902.19573@wam.umd.edu>
Sender: usenet@wam.umd.edu (USENET News system)
Nntp-Posting-Host: rac2.wam.umd.edu
Organization: University of Maryland, College Park
Date: Tue, 3 Nov 1992 13:29:02 GMT
Lines: 42