ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bug in \startdocument
Date: Tue, 24 Jan 2017 20:53:01 +0100	[thread overview]
Message-ID: <9e5becb1-7ab2-8ec5-595b-5da21a409645@gmail.com> (raw)

Dear devs,

It is really convenient to set PDF metadata in \startdocument, however I noticed that there is a bug.  The PDF subject is not set using metadata:subject but with metadata:subtitle.  This is not a big issue by itself but merely a little confusing.  What’s worse is that using metadata:subject throws an error which is completely unexpected at this point.  Below you find the error message and a MWE to reproduce.

---

! Undefined control sequence

<argument> \c!subject 
           =\documentvariable {metadata:subject}


---

\setupinteraction[state=start]

\startdocument
  [
    metadata:subject={Subject},
  ]

Hello World!
  
\stopdocument
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2017-01-24 19:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-24 19:53 Henri Menke [this message]
2017-01-25 10:23 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9e5becb1-7ab2-8ec5-595b-5da21a409645@gmail.com \
    --to=henrimenke@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).