ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: back-up.lua; mtx-epub.lua
Date: Fri, 8 Jun 2012 14:25:10 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1206081417140.23256@qrpragenyvmrq> (raw)
In-Reply-To: <C620C58E-1F6B-4DDE-AF8A-AFD271140BC2@web.de>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 893 bytes --]

> Hello all,
>
> I am thinking about the best way to implement the cover image for the epub. This is a mandatory requirement to work properly. The cover image is not necessarily present in the pdf version of the document and it might be the only item where that is true. So I tried to sort out the options.
>
> 1) Always take cover.png in the current directory; not very elegant
> 2) add cover={…} to \setupinteraction; hijacks the pdf interaction macro
> 3) add a \setupepub; might be overkill, but maybe more options are added later
> 4) ?

\setupbackend[coverimage={....}]

Backends other than epub can safely ignore the directive.

In one of your earlier threads, you had talked about taking title, author, 
etc from setupinteraction. It might be better to take then from 
\setupbackend as well (will work for both epub and xhtml backends, perhaps 
also for xml).

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2012-06-08 18:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05 19:09 Andy Thomas
2012-06-06 22:00 ` Andy Thomas
2012-06-07 12:48   ` Henning Hraban Ramm
2012-06-07 13:53     ` Hans Hagen
2012-06-07 14:51       ` luigi scarso
2012-06-08 18:08     ` Andy Thomas
2012-06-08 18:25       ` Aditya Mahajan [this message]
2012-06-08 21:02         ` Hans Hagen
2012-06-08 21:03       ` Hans Hagen
     [not found]         ` <8EC49686-C7B3-47A1-A646-17AEC310836C@web.de>
2012-06-08 23:31           ` Hans Hagen
2012-06-09  0:38             ` Aditya Mahajan
2012-06-09 10:44               ` Hans Hagen
2012-06-09 12:58             ` Andy Thomas
2012-06-10 22:21               ` Hans Hagen
2012-06-11  5:41                 ` Andy Thomas
2012-06-11  7:35                   ` Hans Hagen
2012-06-07 16:33   ` 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=alpine.LNX.2.02.1206081417140.23256@qrpragenyvmrq \
    --to=adityam@umich.edu \
    --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).