* Macro in macro?
@ 2012-11-12 14:45 "H. Özoguz"
2012-11-12 14:58 ` Marco Patzer
2012-11-12 16:25 ` no footnote printed Bernd Militzer
0 siblings, 2 replies; 3+ messages in thread
From: "H. Özoguz" @ 2012-11-12 14:45 UTC (permalink / raw)
To: ntg-context
Hello,
I have this code:
%%%%%%%%%%%
\def\wr[#1]{»#1«}
\def\wrr[#1]{›#1‹}
\starttext
Quote: \wr[He said: \wrr[Hello!] ]
\stoptext
%%%%%%%%%%%%
It should print
Quote: »He said: ›Hello!‹ «
but it returns the ending quotation mark in the wrong order. Why? And
how to correct that?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Macro in macro?
2012-11-12 14:45 Macro in macro? "H. Özoguz"
@ 2012-11-12 14:58 ` Marco Patzer
2012-11-12 16:25 ` no footnote printed Bernd Militzer
1 sibling, 0 replies; 3+ messages in thread
From: Marco Patzer @ 2012-11-12 14:58 UTC (permalink / raw)
To: ntg-context
2012-11-12 H. Özoguz:
> but it returns the ending quotation mark in the wrong order. Why?
You forgot the braces:
Quote: \wr[{He said: \wrr[Hello!]}]
> And how to correct that?
\setuplanguage
[leftquotation=»,
rightquotation=«,
leftquote=›,
rightquote=‹]
\starttext
Quote: \quotation{He said: \quote{Hello!}}
\stoptext
Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* no footnote printed
2012-11-12 14:45 Macro in macro? "H. Özoguz"
2012-11-12 14:58 ` Marco Patzer
@ 2012-11-12 16:25 ` Bernd Militzer
1 sibling, 0 replies; 3+ messages in thread
From: Bernd Militzer @ 2012-11-12 16:25 UTC (permalink / raw)
To: ntg-context
Hello,
using midaligned no footnote is printed.
\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla
%
\stoptext
tested with:
ConTeXt ver: 2011.10.08 11:42 MKIV fmt: 2011.10.9 int: english/english
LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
and
ConTeXt ver: 2012.10.22 23:51 MKIV fmt: 2012.10.24 int: english/english
luatex, version beta-0.70.2-2012052309 (tex live 2012)
thanks for help
Bernd
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-12 16:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-12 14:45 Macro in macro? "H. Özoguz"
2012-11-12 14:58 ` Marco Patzer
2012-11-12 16:25 ` no footnote printed Bernd Militzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).