12 May
2010
12 May
'10
7:58 p.m.
Am 12.05.10 16:46, schrieb John Culleton:
In plain pdftex I can define a string thus: \def\booktitle{My Book Title}
and then reuse it later as \rightline{\bf\booktitle} But in Context when I use \rightaligned{\bf\booktitle}
it errors on the tag \booktitle
I tried \the\booktitle but that didn't work either.
I suggest to use ConTeXt’s \setvariables \setvariables[book][title=My Book Title] \starttext \rightaligned{\bf\getvariable{book}{title}} \stoptext Wolfgang