* 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ messages in thread
* Re: no footnote printed
2012-11-14 11:26 ` Philipp Gesang
@ 2012-11-14 17:00 ` Wolfgang Schuster
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2012-11-14 17:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 14.11.2012 um 12:26 schrieb Philipp Gesang <Philipp.Gesang@alumni.uni-heidelberg.de>:
> ···<date: 2012-11-14, Wednesday>···<from: Bernd Militzer>···
>
>> Am 13.11.12 13:36, schrieb Hans Hagen:
>>> On 11/13/2012 11:05 AM, Bernd Militzer wrote:
>>>> 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
>>> you can try with
>>>
>>> \automigrateinserts
>>>
>> Thanks Hans, but it does not work.
>
> This works with the beta as of two weeks ago:
>
> ·································································
> \automigrateinserts
> \starttext
> \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
> \stoptext
> ·································································
>
> Maybe your use-case differs?
The footnote disappears when you add \crlf after \midaligned.
\automigrateinserts
\starttext
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
\stoptext
Wolfgang
___________________________________________________________________________________
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] 10+ messages in thread
* Re: no footnote printed
2012-11-14 11:18 ` Bernd Militzer
2012-11-14 11:26 ` Philipp Gesang
@ 2012-11-14 11:59 ` Herbert Voss
1 sibling, 0 replies; 10+ messages in thread
From: Herbert Voss @ 2012-11-14 11:59 UTC (permalink / raw)
To: ntg-context
Am 14.11.2012 12:18, schrieb Bernd Militzer:
> Am 13.11.12 13:36, schrieb Hans Hagen:
>> On 11/13/2012 11:05 AM, Bernd Militzer wrote:
>>> 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
>> you can try with
>>
>> \automigrateinserts
>>
> Thanks Hans, but it does not work.
it works with current versions of minimal and also TeXLive
Herbert
___________________________________________________________________________________
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] 10+ messages in thread
* Re: no footnote printed
2012-11-14 11:18 ` Bernd Militzer
@ 2012-11-14 11:26 ` Philipp Gesang
2012-11-14 17:00 ` Wolfgang Schuster
2012-11-14 11:59 ` Herbert Voss
1 sibling, 1 reply; 10+ messages in thread
From: Philipp Gesang @ 2012-11-14 11:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1781 bytes --]
···<date: 2012-11-14, Wednesday>···<from: Bernd Militzer>···
> Am 13.11.12 13:36, schrieb Hans Hagen:
> >On 11/13/2012 11:05 AM, Bernd Militzer wrote:
> >>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
> >you can try with
> >
> >\automigrateinserts
> >
> Thanks Hans, but it does not work.
This works with the beta as of two weeks ago:
·································································
\automigrateinserts
\starttext
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\stoptext
·································································
Maybe your use-case differs?
Regards, Philipp
>
> I use now in instead:
>
> \def\mySchopf#1{\strut\hfill{~{#1}\hfill~}}
> %
> \mySchopf{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
> and all is OK for me.
>
> Best wishes,
> 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
> ___________________________________________________________________________________
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 10+ messages in thread
* Re: no footnote printed
2012-11-13 12:36 ` Hans Hagen
@ 2012-11-14 11:18 ` Bernd Militzer
2012-11-14 11:26 ` Philipp Gesang
2012-11-14 11:59 ` Herbert Voss
0 siblings, 2 replies; 10+ messages in thread
From: Bernd Militzer @ 2012-11-14 11:18 UTC (permalink / raw)
To: ntg-context
Am 13.11.12 13:36, schrieb Hans Hagen:
> On 11/13/2012 11:05 AM, Bernd Militzer wrote:
>> 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
> you can try with
>
> \automigrateinserts
>
Thanks Hans, but it does not work.
I use now in instead:
\def\mySchopf#1{\strut\hfill{~{#1}\hfill~}}
%
\mySchopf{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
and all is OK for me.
Best wishes,
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] 10+ messages in thread
* Re: no footnote printed
2012-11-13 10:05 ` Bernd Militzer
@ 2012-11-13 12:36 ` Hans Hagen
2012-11-14 11:18 ` Bernd Militzer
0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2012-11-13 12:36 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Bernd Militzer
On 11/13/2012 11:05 AM, Bernd Militzer wrote:
> 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)
you can try with
\automigrateinserts
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread
* no footnote printed
2012-11-13 6:45 Bernd Militzer
@ 2012-11-13 10:05 ` Bernd Militzer
2012-11-13 12:36 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Bernd Militzer @ 2012-11-13 10:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
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] 10+ messages in thread
* no footnote printed
@ 2012-11-13 6:45 Bernd Militzer
2012-11-13 10:05 ` Bernd Militzer
0 siblings, 1 reply; 10+ messages in thread
From: Bernd Militzer @ 2012-11-13 6:45 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] 10+ messages in thread
end of thread, other threads:[~2012-11-14 17:00 UTC | newest]
Thread overview: 10+ 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
2012-11-13 6:45 Bernd Militzer
2012-11-13 10:05 ` Bernd Militzer
2012-11-13 12:36 ` Hans Hagen
2012-11-14 11:18 ` Bernd Militzer
2012-11-14 11:26 ` Philipp Gesang
2012-11-14 17:00 ` Wolfgang Schuster
2012-11-14 11:59 ` Herbert Voss
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).