Re: [NTG-context] module and def commands problem
2007/4/5, Bernd Militzer <[EMAIL PROTECTED]>: Wolfgang Schuster schrieb: > > > Replace the four commands in your file with the next ones: > > \def\Fach#1 {\def\internFach{#1}} > \def\Thema#1{\def\internThema{#1}} > \def\SchulJahr#1{\def\internSchulJahr{#1}} > > \def\SpezialTitel{\internFach\hfill\internThema\hfill\internSchulJahr\blank} > > > You can also remove the \startvariables .. \stopvariables part from your > module, you need them only for keyval commands. > Thanks Wolfgang, but after the change I get the same error Hi Bernd, use my attached test file. Wolfgang t-schule.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] module and def commands problem
2007/4/5, Bernd Militzer <[EMAIL PROTECTED]>: Hi Taco, instead of writing a FixMe-module I just started to make my exam-module from 2003 a bit more international. As a first test I set up some commands in german and english see file p-testDE.tex running texexec test1.tex the output is ok but running texexec --mode=english test1.tex I get an error: system : module testDE loaded (./p-testde.tex) ! Undefined control sequence. ...st it} \subject {FixMe} \SchoolYear {2006/07} \question test i... \firstofoneargument #1->#1 l.53 } What is going wrong with my command-definations? I have no idea! What did I fail to do? Cheers, Bernd Hi Bernd, you tried to write you commands as \def\v!... and this means also you have to call them by the name \v!... Replace the four commands in your file with the next ones: \def\Fach#1 {\def\internFach{#1}} \def\Thema#1{\def\internThema{#1}} \def\SchulJahr#1{\def\internSchulJahr{#1}} \def\SpezialTitel{\internFach\hfill\internThema\hfill\internSchulJahr\blank} You can also remove the \startvariables .. \stopvariables part from your module, you need them only for keyval commands. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] module and def commands problem
Wolfgang Schuster schrieb: > > > Replace the four commands in your file with the next ones: > > \def\Fach#1 {\def\internFach{#1}} > \def\Thema#1{\def\internThema{#1}} > \def\SchulJahr#1{\def\internSchulJahr{#1}} > > \def\SpezialTitel{\internFach\hfill\internThema\hfill\internSchulJahr\blank} > > > You can also remove the \startvariables .. \stopvariables part from your > module, you need them only for keyval commands. > Thanks Wolfgang, but after the change I get the same error (./p-testde.tex) ! Undefined control sequence. ...st it} \subject {FixMe} \SchoolYear {2006/07} \question test i... \firstofoneargument #1->#1 l.53 } ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] module and def commands problem
Hi Taco, instead of writing a FixMe-module I just started to make my exam-module from 2003 a bit more international. As a first test I set up some commands in german and english see file p-testDE.tex running texexec test1.tex the output is ok but running texexec --mode=english test1.tex I get an error: system : module testDE loaded (./p-testde.tex) ! Undefined control sequence. ...st it} \subject {FixMe} \SchoolYear {2006/07} \question test i... \firstofoneargument #1->#1 l.53 } What is going wrong with my command-definations? I have no idea! What did I fail to do? Cheers, Bernd p-testDE.tex Description: TeX document test1.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context