groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] passing groff special chars to pdfmark as bookmarks


From: Deri James
Subject: Re: [Groff] passing groff special chars to pdfmark as bookmarks
Date: Wed, 05 Sep 2012 12:32:18 +0100
User-agent: KMail/4.8.2 (Linux/3.3.6-desktop-2.mga2; KDE/4.8.2; x86_64; ; )

On Wednesday 05 Sep 2012 06:31:41 Werner LEMBERG wrote:
> [Please configure your e-mail program so that it replies to CCed
>  addresses also.]
> 
> >> Minimum example, please, together with your calling sequence.
> >> Werner
> > 
> > Sure.
> > 
> > Given original text file date string macros as :
> > 
> > .DA "20 avril 2012      " "S\['e]ance de l\*[psq]avant-midi"
> > 
> > .de DA
> > \\$1 \\$2
> > 
> > .pdfbookmark -T \\*(tg 1 "\\$1" "\\$2"
> > .
> > 
> > While the text is correct in the body of the transcript, the text
> > passed to bookmark drops the french char glyph completely,
> > producing as a bookmark:
> > 
> > Avril 12 2012      Sance de l'avant-midi (missing tranformed \['e])
> 
> Keith, can you help?
> 
> 
>     Werner

Using this as a test:-

.sp |1i
Bookmark Test
.sp 1
.ds tg tg
.trin '\C'aq'
.de DA
\\$1 \\$2
.pdfbookmark -T \\*(tg 1 "\\$1" "\\$2"
..
.DA "20 avril 2012      " "S\['e]ance de l'avant-midi"
.pdfsync

and command:-

groff -Tpdf t.trf

seems to produce the desired bookmark, although 2 warnings are output. (You 
will need a recent CVS version of groff to include the pdf device).

Deri




reply via email to

[Prev in Thread] Current Thread [Next in Thread]