\special

David Necas (Yeti) yeti at physics.muni.cz
Mon Jun 20 13:20:39 CEST 2005


On Mon, Jun 20, 2005 at 01:11:26PM +0200, hospodka at fel.cvut.cz wrote:
> je mozne nejak zaridit, aby prikaz \special{header=\dir head.ps}
> predchazel definici \dir? Pikaz \special bych potreboval mit ve stylovem
> souboru, zatimco definice \dir bude v hlavnim zdrojovem souboru.
>
> Napada me takove neohrabane reseni, kdy v tom stylovem souboru bych nadefinoval
> napr. \def\neco{\special{header=\dir head.ps}} a to pouzil az za definici \def
> napr. pri volani predefinovaneho \begin{document}. Potrebuji, aby zdrojovy
> soubor toho obsahoval (mimo \def\dir{}) co nejmene.
>
> Nejde to nejakym jinym elegantnejsim zpusobem? Neco jako \expandafter, ale ...

Nejsem si jist, zda uplne rozumim, co chcete, ale nechcete
nahodou \AtBeginDocument?

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?



More information about the csTeX mailing list