[NTG-context] What happened to the ePub script?

Hans Hagen pragma at wxs.nl
Mon Jan 19 10:48:35 CET 2015

On 1/17/2015 1:52 PM, Henning Hraban Ramm wrote:
> Hi there,
> I started documenting ConTeXt’s current ePub/export behaviour in http://wiki.contextgarden.net/ePub and will merge/delete the content of the current wiki pages as soon as I’m content with its content ;)
> * Do you think it would be better to document export and ePub separately?
> Of course I have questions, e.g.:
> * How can I set the current \date in a metadata variable?
> (I know it’s also in the date tag of <document>, but I know how to format \date …)
> This doesn’t work (i.e. I get „\date“ in XML/XHTML):
> \settaggedmetadata[
> 	version={\date}
> ]


> * Can I influence the directory/file names of the export from within the source?
> E.g. if I compile „minimal.tex“, I get minimal-export and minimal-epub
> The —result switch doesn’t change anything.

hm, honoring --result is doable but in general i'd like to keep the 
export quite basic and predictable (the less options the better)

> * BTW: Can I set —result from within my ConTeXt source?

no, because the context script also does some cleanup and checking (like 
not replacing the tuc file when there is an issue)

(letting tex influence its own run is somewhat tricky and has limitations)


                                           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