[NTG-context] back-up.lua; mtx-epub.lua

Aditya Mahajan adityam at umich.edu
Sat Jun 9 02:38:15 CEST 2012


On Sat, 9 Jun 2012, Hans Hagen wrote:

> On 8-6-2012 23:28, Andy Thomas wrote:
>> Thank you for the suggestions. I will try to implement it, but might need 
>> until Sunday.
>
> - I've added some keys to \setupexport:
>
>  author
>  title
>  subtitle
>  firstpage (also new key in mult)
>  lastpage  (aso new key in mult)
>
> - The title, subtitle and author inherit from \setupinteraction which already 
> inherits from \setupdocument (metadata namespace).

I never realized that there was a \setupdocument!

This might be the best way to have a document title in ConTeXt:

\startsetups document:start
  ....
  code to typeset document title
  ....
\stopsetups

\setupdocument
     [title={...},
      author={...},
      date={...},
     ]

\startdocument
....
\stopdocument

rather than the different custom solutions that are floating around.

Aditya


More information about the ntg-context mailing list