ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* beta (12.05.2009, 22:36): footnote marker and overprinting
@ 2009-05-13 10:46 Peter Rolf
  2009-05-14 15:15 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rolf @ 2009-05-13 10:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

Hi,

just in case this slipped someone's mind :)

I still get an error about an undefined control sequence 
(\PDFobjectreferenceB) and the footnote marker (star) is not moved with 
the footnote (\moveright).

The attached example code (with overprinting) breaks with the mentioned 
error. The attached picture shows the problem with the separated 
footnote marker. It can be created with the other versions (without 
overprinting) of the \NoteNumber and \MyFootnote macros.


Best wishes,  Peter



[-- Attachment #2: footnote.tex --]
[-- Type: text/plain, Size: 736 bytes --]

\def\NoteNumber#1{\hbox to 15pt{\hfill\black \dostartoverprint#1\dostopoverprint}}
%\def\NoteNumber#1{\hbox to 15pt{\hfill\black #1}}
\setupfootnotes
  [bodyfont=6pt,
   textcolor=black,
   before=,after=,
   rule=off,
   numberconversion={set 2},
%   distance=-2em,
   margindistance=-2em,
   numbercommand=\NoteNumber]

\def\MyFootnote#1{\footnote{\hskip3em \dostartoverprint#1\dostopoverprint}}
%\def\MyFootnote#1{\footnote{\hskip3em #1}}


\starttext

 \startlocalfootnotes
 \vbox\bgroup\hsize=78mm\dontcomplain
 \startitemize[4]
 \item die Ausgabe erfolgt als PDF/X-4p\MyFootnote{ISO 15930-7:2008}
 \stopitemize
 \egroup
 \stoplocalfootnotes

 % footnote marker is not moved!
 \moveright70mm\hbox{\placelocalfootnotes}


\stoptext

[-- Attachment #3: footnote.png --]
[-- Type: image/png, Size: 7467 bytes --]

[-- Attachment #4: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: beta (12.05.2009, 22:36): footnote marker and overprinting
  2009-05-13 10:46 beta (12.05.2009, 22:36): footnote marker and overprinting Peter Rolf
@ 2009-05-14 15:15 ` Hans Hagen
  2009-05-14 17:08   ` Peter Rolf
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2009-05-14 15:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Rolf wrote:
> Hi,
> 
> just in case this slipped someone's mind :)
> 
> I still get an error about an undefined control sequence 
> (\PDFobjectreferenceB) and the footnote marker (star) is not moved with 
> the footnote (\moveright).
> 
> The attached example code (with overprinting) breaks with the mentioned 
> error. The attached picture shows the problem with the separated 
> footnote marker. It can be created with the other versions (without 
> overprinting) of the \NoteNumber and \MyFootnote macros.

it's

\def\MyFootnote#1{\footnote
   {\hskip3em \startproperty[overprint]#1\stopproperty}}


(i'll make \startoverprint which is actually kind of low level 
unexpandable but not \dostartproperty which is not intended as user 
command)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: beta (12.05.2009, 22:36): footnote marker and overprinting
  2009-05-14 15:15 ` Hans Hagen
@ 2009-05-14 17:08   ` Peter Rolf
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Rolf @ 2009-05-14 17:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans Hagen schrieb:
> Peter Rolf wrote:
>> Hi,
>>
>> just in case this slipped someone's mind :)
>>
>> I still get an error about an undefined control sequence 
>> (\PDFobjectreferenceB) and the footnote marker (star) is not moved 
>> with the footnote (\moveright).
>>
>> The attached example code (with overprinting) breaks with the 
>> mentioned error. The attached picture shows the problem with the 
>> separated footnote marker. It can be created with the other versions 
>> (without overprinting) of the \NoteNumber and \MyFootnote macros.
>
> it's
>
> \def\MyFootnote#1{\footnote
>   {\hskip3em \startproperty[overprint]#1\stopproperty}}
>
sorry, i couldn't resist. \dostartoverprint was the more 'sexy' 
alternative ;)

to tell the truth i can't quite remember why i chose this one. but i'm 
sure that i have tested everthing related to overprint.

>
> (i'll make \startoverprint which is actually kind of low level 
> unexpandable but not \dostartproperty which is not intended as user 
> command)
>
ah, perfect.... a nice and melodic user command without any expansion 
problems :)
many thanks!

>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________ 
>
>

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-14 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-13 10:46 beta (12.05.2009, 22:36): footnote marker and overprinting Peter Rolf
2009-05-14 15:15 ` Hans Hagen
2009-05-14 17:08   ` Peter Rolf

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).