From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: MOving from MkII to MkIV / EPUB
Date: Fri, 14 Jun 2013 22:54:08 +0200 [thread overview]
Message-ID: <56D8993D-4542-412B-BC65-268392C286F1@rna.nl> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1654 bytes --]
Hello folks,
I have a ConTeXt Project for a small and simple book, that has the 'basic example' project structure with .../images, .../chapters, .../products etc. I use a Makefile to comppile the book when in the .../chapters directory, as attached below. I use "texexec --pdf" and probably ConTeXt MkII from the MacTeX 2012 distribution.
I'd like to make an EPUB from this book as well. I suspect that means going over to LuaTeX/MkIV and doing extra stuff. I got lost in the ConTeXt documentation (for as much as there is, old and new) and would appreciate an instruction on how to do this that does not suppose I am a ConTeXt wizard who is doing stuff like this daily. Is there such a thing?
Gerben
OPEN=echo
MODE=--mode=standalone
ONCE=--once
.SUFFIXES: .pdf .tex .open
.pdf.open:
open $<
.tex.pdf:
texexec --pdf ${MODE} ${ONCE} $<
IMAGEDIR=../images
MPDIR=../mp
PRODUCTSDIR=../products
TEXS=c_loosely.tex c_standard.tex c_problem.tex c_index.tex c_endnotes.tex \
c_better.tex
OPENS=c_loosely.open c_standard.open c_problem.open c_better.open
PDFS=c_loosely.pdf c_standard.pdf c_problem.pdf c_better.pdf
CDISCRETEIMAGES=
CLOGICIMAGES=
BOOKIMAGES= ${CDISCRETEIMAGES} ${CLOGICIMAGES}
#.PHONY: $(OPENS)
default:
make ONCE="--once" book-open
full:
make ONCE="" book-open
all: $(PDFS)
clean:
rm %*
all-open: $(OPENS)
book-open: book
open prd_book.pdf
book: prd_book.pdf
prd_book.pdf: ${PRODUCTSDIR}/prd_book.tex $(TEXS) $(BOOKIMAGES)
make MODE="--mode=editor" ONCE="${ONCE}" ${PRODUCTSDIR}/prd_book.pdf
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4142 bytes --]
[-- 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
___________________________________________________________________________________
next reply other threads:[~2013-06-14 20:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 20:54 Gerben Wierda [this message]
2013-06-14 21:37 ` Aditya Mahajan
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=56D8993D-4542-412B-BC65-268392C286F1@rna.nl \
--to=gerben.wierda@rna.nl \
--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).