Taco,
thanks so much! With a slight modification, your solution seems to
work! I will have to test it a bit, but for the moment, it looks very
good. Is the \appendtoks expensive in terms of TeX memory, cpu
cycles, etc., or is it a good solution for the time being?
All best, and many
Thomas A. Schmitz wrote:
Is the \appendtoks expensive in terms of TeX memory, cpu cycles,
etc., or is it a good solution for the time being?
This solution is perfectly OK. If there was a way to pass
arguments through \usemodule, that would be nicer, but if
that never happens, this will
Thomas A. Schmitz wrote:
Taco,
I tried your suggestion, but I'm not sure I'm doing it the right way. I
took the definition of \initialize... like so:
\def\initializegreekfont%
{\getvariable{Greek}{font}}
\appendtoks \initializegreekfont \to \everystarttext % I guess I
will need a
Hi Thomas,
It looks like you are looking for (inside the module):
\def\initializegreek
{\switchtobodyfont[My\getvariable{Greek}{font}]}
\appendtoks \initialize \to \everystarttext
There is no other way to get arguments to/from the module.
For Hans: it would be really cool if there was
Taco Hoekwater wrote:
Hi Thomas,
It looks like you are looking for (inside the module):
\def\initializegreek
{\switchtobodyfont[My\getvariable{Greek}{font}]}
\appendtoks \initialize \to \everystarttext
Sorry, of course this should read:
\appendtoks \initializegreek \to
Hi Taco,
thanks for your reply!! I have to catch a train now, but I'll try
your suggestion tonight when I'm back. And yes, having the
modulesomething variables would be great.
What does \appendtoks do?
Thanks, and all best
Thomas
On Oct 21, 2005, at 10:24 AM, Taco Hoekwater wrote:
Hi
Thomas A. Schmitz wrote:
Hi Taco,
thanks for your reply!! I have to catch a train now, but I'll try your
suggestion tonight when I'm back. And yes, having the modulesomething
variables would be great.
What does \appendtoks do?
It appends stuff to token registers (like \everystarttext)
Taco,
I tried your suggestion, but I'm not sure I'm doing it the right way.
I took the definition of \initialize... like so:
\def\initializegreekfont%
{\getvariable{Greek}{font}}
\appendtoks \initializegreekfont \to \everystarttext % I guess I
will need a similar procedure for
Hi all,
excuse me for being so pig-headed, but I'm running into the same
problem I had two weeks ago. Peter Rolf was incredibly helpful, but I
couldnt get things working. It is more a problem of architecture and
general choices, IMHO, than of actual code. I tried every single part
of