[NTG-context] Removing the quotes from the results of the reference links

Hans Hagen pragma at wxs.nl
Thu Mar 29 19:48:32 CEST 2012


On 29-3-2012 17:24, luigi scarso wrote:
> On Thu, Mar 29, 2012 at 5:18 PM, Alan BRASLAU<alan.braslau at cea.fr>  wrote:
>> On Thu, 29 Mar 2012 16:03:11 +0200
>> Hans Hagen<pragma at wxs.nl>  wrote:
>>
>>>                    author={\getvariable{Book}{author}},
>>>
>>> the expansion introduces the ,
>>>
>>
>> just to play it safe, putting {} around all \getvariable{}{} as in
>>         author={\getvariable{Book}{author}},
>> does not change anything.
>>
>> Acroread still displays quotes around the authors.
>> Curiously, they do not appear under okular, so this is probably an
>> Acroread quirk.
>>
>> Alan
> probably yes
>
> \nopdfcompression
> \setvariables [Book]
>                 [
>                 title={My title},
>                 subtitle={My subtitle},
>                 author={First Author, Second Author and Third Author},
>                 ]
> \setupinteraction
>                 [
>                 title=\getvariable{Book}{title},
>                 subtitle=\getvariable{Book}{subtitle},
>                 author=\getvariable{Book}{author},
>                 keyword={keyword1, keyword2, keyword3},
>                 ]
> \starttext
> \input tufte
> \stoptext
>
> then open the pdf and you will see
> x:xmpmeta xmlns:x="adobe:ns:meta/">
>      <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>          <rdf:Description rdf:about=""
> xmlns:dc="http://purl.org/dc/elements/1.1/">
>              <dc:format>application/pdf</dc:format>
>              <dc:creator>
>                  <rdf:Seq>
>                      <rdf:li>First Author, Second Author and Third
> Author</rdf:li>
>
> (if you want to be sure, you can modify
>                      <rdf:li>First Author, Second Author and Third
> Author</rdf:li>
> in
>                      <rdf:li>Zirst Author, Second Author and Third
> Author</rdf:li>
> )
>
>

You can also try pdfinfo:

Title:          My title
Subject:        My subtitle
Keywords:       keyword1 keyword2 keyword3
Author:         First Author, Second Author and Third Author
Creator:        ConTeXt - 2012.03.29 19:19
Producer:       LuaTeX-0.71.0
CreationDate:   03/29/12 19:44:57
ModDate:        03/29/12 19:44:57
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      595.276 x 841.89 pts (A4)
File size:      14908 bytes
Optimized:      no
PDF version:    1.6

and

/Creator 
<feff0043006f006e00540065005800740020002d00200032003000310032002e00300033002e00320039002000310039003a00310039>

definitely starts with an F

Hans

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


More information about the ntg-context mailing list