Re: [NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-18 Thread Gerben Wierda
On 18 Mar 2015, at 08:46, Hans Hagen pra...@wxs.nl wrote:

 On 3/18/2015 7:34 AM, Gerben Wierda wrote:
 On 18 Mar 2015, at 02:14, Hans Hagen pra...@wxs.nl
 mailto:pra...@wxs.nl wrote:
 
 On 3/17/2015 10:33 PM, Gerben Wierda wrote:
 On 17 Mar 2015, at 16:51, Hans Hagen pra...@wxs.nl
 mailto:pra...@wxs.nl wrote:
 
 On 3/17/2015 3:41 PM, Gerben Wierda wrote:
 Nobody?
 
 On 15 Mar 2015, at 22:12, Gerben Wierda gerben.wie...@rna.nl
 mailto:gerben.wie...@rna.nl wrote:
 
 Now that I have my book project basically running on mkiv (the
 layout probably has a few problems left, the main one currently
 being extra whitespace after a chapter heading  compared to mkii),
 I’d like to try producing ePUB from it.
 
 ConTeXtgarden says I have to add a backend and points me to the
 info on the standard project structure (which I use), but there I
 don’t find anything about a backend. The extended example says
 that starting january 2015, things have changed with ePUB, which
 probably also applies to me as I only recently started with a
 fresh download of a current ConTeXt mkiv.
 
 So, can someone tell me what I need to do to get a basic ePUB output?
 
 \setupbackend
 [export=yes]
 
 more on wiki
 
 The wiki doesn’t really help. Am I supposed to create another product
 file in …/products?
 
 no, just enable it ... export files end up in a subpath
 
 I did add this to the environment file and tried to create an ePub for
 the whole book and for an individual chapter, but no success yet:
 
 luna-wifi:chapters gerben$ (. /usr/local/src/ConTeXt/tex/setuptex 
 mtxrun --script epub --make c_loosely.specification)
 Setting /usr/local/src/ConTeXt/tex as ConTeXt root.
 
 mtx-epub| unknown specificaton file
 'c_loosely.specification-export/c_loosely.specification-pub' for
 'c_loosely.specification'
 luna-wifi:chapters gerben$ (. /usr/local/src/ConTeXt/tex/setuptex 
 mtxrun --script epub --make prd_book.specification)
 Setting /usr/local/src/ConTeXt/tex as ConTeXt root.
 
 mtx-epub| unknown specificaton file
 'prd_book.specification-export/prd_book.specification-pub' for
 'prd_book.specification'
 
 
 What am I missing? What is a specification file?
 
 you process the tex file as normal .. that will produce a specification file 
 that will be used if you use mtxrun --script epub later (the call is 
 mentioned at the end of a tex run that has the export enabled)

Ha, I’ve got my first ePUB!

(. /usr/local/src/ConTeXt/tex/setuptex  context --mode=editor  
../products/prd_book.tex)
(. /usr/local/src/ConTeXt/tex/setuptex  mtxrun --script epub --make 
prd_book)

Now, it’s time to see how I can tweak the ePUB.

Things I would like to do:
- The quotes that now appear on the LHS page facing the first page of a chapter 
should instead appear on the top of the RHS new chapter page above the heading
- manage footnotes. Probably best is to have them at the end of the chapter 
when producing for ePub. Basically, I need to know what to do if the structure 
of my document differs between PDF and ePUB.
- manage the index (empty now)
- manage bibliographic references (empty now)
 And of course I need to look into CSS and stuff to create a nice ePUB

G

 
 Hans
 
 
 -
  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
 -
 ___
 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
 ___

___
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
___

Re: [NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-18 Thread Hans Hagen

On 3/18/2015 7:34 AM, Gerben Wierda wrote:

On 18 Mar 2015, at 02:14, Hans Hagen pra...@wxs.nl
mailto:pra...@wxs.nl wrote:


On 3/17/2015 10:33 PM, Gerben Wierda wrote:

On 17 Mar 2015, at 16:51, Hans Hagen pra...@wxs.nl
mailto:pra...@wxs.nl wrote:


On 3/17/2015 3:41 PM, Gerben Wierda wrote:

Nobody?

On 15 Mar 2015, at 22:12, Gerben Wierda gerben.wie...@rna.nl
mailto:gerben.wie...@rna.nl wrote:


Now that I have my book project basically running on mkiv (the
layout probably has a few problems left, the main one currently
being extra whitespace after a chapter heading  compared to mkii),
I’d like to try producing ePUB from it.

ConTeXtgarden says I have to add a backend and points me to the
info on the standard project structure (which I use), but there I
don’t find anything about a backend. The extended example says
that starting january 2015, things have changed with ePUB, which
probably also applies to me as I only recently started with a
fresh download of a current ConTeXt mkiv.

So, can someone tell me what I need to do to get a basic ePUB output?


\setupbackend
 [export=yes]

more on wiki


The wiki doesn’t really help. Am I supposed to create another product
file in …/products?


no, just enable it ... export files end up in a subpath


I did add this to the environment file and tried to create an ePub for
the whole book and for an individual chapter, but no success yet:

luna-wifi:chapters gerben$ (. /usr/local/src/ConTeXt/tex/setuptex 
mtxrun --script epub --make c_loosely.specification)
Setting /usr/local/src/ConTeXt/tex as ConTeXt root.

mtx-epub| unknown specificaton file
'c_loosely.specification-export/c_loosely.specification-pub' for
'c_loosely.specification'
luna-wifi:chapters gerben$ (. /usr/local/src/ConTeXt/tex/setuptex 
mtxrun --script epub --make prd_book.specification)
Setting /usr/local/src/ConTeXt/tex as ConTeXt root.

mtx-epub| unknown specificaton file
'prd_book.specification-export/prd_book.specification-pub' for
'prd_book.specification'


What am I missing? What is a specification file?


you process the tex file as normal .. that will produce a specification 
file that will be used if you use mtxrun --script epub later (the call 
is mentioned at the end of a tex run that has the export enabled)


Hans


-
  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
-
___
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
___

Re: [NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-18 Thread Gerben Wierda
On 18 Mar 2015, at 02:14, Hans Hagen pra...@wxs.nl wrote:

 On 3/17/2015 10:33 PM, Gerben Wierda wrote:
 On 17 Mar 2015, at 16:51, Hans Hagen pra...@wxs.nl wrote:
 
 On 3/17/2015 3:41 PM, Gerben Wierda wrote:
 Nobody?
 
 On 15 Mar 2015, at 22:12, Gerben Wierda gerben.wie...@rna.nl wrote:
 
 Now that I have my book project basically running on mkiv (the layout 
 probably has a few problems left, the main one currently being extra 
 whitespace after a chapter heading  compared to mkii), I’d like to try 
 producing ePUB from it.
 
 ConTeXtgarden says I have to add a backend and points me to the info on 
 the standard project structure (which I use), but there I don’t find 
 anything about a backend. The extended example says that starting january 
 2015, things have changed with ePUB, which probably also applies to me as 
 I only recently started with a fresh download of a current ConTeXt mkiv.
 
 So, can someone tell me what I need to do to get a basic ePUB output?
 
 \setupbackend
  [export=yes]
 
 more on wiki
 
 The wiki doesn’t really help. Am I supposed to create another product file 
 in …/products?
 
 no, just enable it ... export files end up in a subpath

I did add this to the environment file and tried to create an ePub for the 
whole book and for an individual chapter, but no success yet:

luna-wifi:chapters gerben$ (. /usr/local/src/ConTeXt/tex/setuptex  mtxrun 
--script epub --make c_loosely.specification)
Setting /usr/local/src/ConTeXt/tex as ConTeXt root.

mtx-epub| unknown specificaton file 
'c_loosely.specification-export/c_loosely.specification-pub' for 
'c_loosely.specification'
luna-wifi:chapters gerben$ (. /usr/local/src/ConTeXt/tex/setuptex  mtxrun 
--script epub --make prd_book.specification)
Setting /usr/local/src/ConTeXt/tex as ConTeXt root.

mtx-epub| unknown specificaton file 
'prd_book.specification-export/prd_book.specification-pub' for 
'prd_book.specification'


What am I missing? What is a specification file?

 
 -
  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
 -
 ___
 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
 ___

___
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
___

Re: [NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-17 Thread Gerben Wierda
On 17 Mar 2015, at 16:51, Hans Hagen pra...@wxs.nl wrote:

 On 3/17/2015 3:41 PM, Gerben Wierda wrote:
 Nobody?
 
 On 15 Mar 2015, at 22:12, Gerben Wierda gerben.wie...@rna.nl wrote:
 
 Now that I have my book project basically running on mkiv (the layout 
 probably has a few problems left, the main one currently being extra 
 whitespace after a chapter heading  compared to mkii), I’d like to try 
 producing ePUB from it.
 
 ConTeXtgarden says I have to add a backend and points me to the info on the 
 standard project structure (which I use), but there I don’t find anything 
 about a backend. The extended example says that starting january 2015, 
 things have changed with ePUB, which probably also applies to me as I only 
 recently started with a fresh download of a current ConTeXt mkiv.
 
 So, can someone tell me what I need to do to get a basic ePUB output?
 
 \setupbackend
  [export=yes]
 
 more on wiki

The wiki doesn’t really help. Am I supposed to create another product file in 
…/products?

___
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
___

Re: [NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-17 Thread Hans Hagen

On 3/17/2015 10:33 PM, Gerben Wierda wrote:

On 17 Mar 2015, at 16:51, Hans Hagen pra...@wxs.nl wrote:


On 3/17/2015 3:41 PM, Gerben Wierda wrote:

Nobody?

On 15 Mar 2015, at 22:12, Gerben Wierda gerben.wie...@rna.nl wrote:


Now that I have my book project basically running on mkiv (the layout probably 
has a few problems left, the main one currently being extra whitespace after a 
chapter heading  compared to mkii), I’d like to try producing ePUB from it.

ConTeXtgarden says I have to add a backend and points me to the info on the 
standard project structure (which I use), but there I don’t find anything about 
a backend. The extended example says that starting january 2015, things have 
changed with ePUB, which probably also applies to me as I only recently started 
with a fresh download of a current ConTeXt mkiv.

So, can someone tell me what I need to do to get a basic ePUB output?


\setupbackend
  [export=yes]

more on wiki


The wiki doesn’t really help. Am I supposed to create another product file in 
…/products?


no, just enable it ... export files end up in a subpath

-
  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
-
___
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
___

Re: [NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-17 Thread Gerben Wierda
Nobody?

On 15 Mar 2015, at 22:12, Gerben Wierda gerben.wie...@rna.nl wrote:

 Now that I have my book project basically running on mkiv (the layout 
 probably has a few problems left, the main one currently being extra 
 whitespace after a chapter heading  compared to mkii), I’d like to try 
 producing ePUB from it.
 
 ConTeXtgarden says I have to add a backend and points me to the info on the 
 standard project structure (which I use), but there I don’t find anything 
 about a backend. The extended example says that starting january 2015, things 
 have changed with ePUB, which probably also applies to me as I only recently 
 started with a fresh download of a current ConTeXt mkiv.
 
 So, can someone tell me what I need to do to get a basic ePUB output?
 
 And what command do I run to update my separate ConTeXt tree? 
 
 And which one to find out what version I’m running?
 
 G
 ___
 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
 ___

___
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
___

Re: [NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-17 Thread Hans Hagen

On 3/17/2015 3:41 PM, Gerben Wierda wrote:

Nobody?

On 15 Mar 2015, at 22:12, Gerben Wierda gerben.wie...@rna.nl wrote:


Now that I have my book project basically running on mkiv (the layout probably 
has a few problems left, the main one currently being extra whitespace after a 
chapter heading  compared to mkii), I’d like to try producing ePUB from it.

ConTeXtgarden says I have to add a backend and points me to the info on the 
standard project structure (which I use), but there I don’t find anything about 
a backend. The extended example says that starting january 2015, things have 
changed with ePUB, which probably also applies to me as I only recently started 
with a fresh download of a current ConTeXt mkiv.

So, can someone tell me what I need to do to get a basic ePUB output?


\setupbackend
  [export=yes]

more on wiki


And what command do I run to update my separate ConTeXt tree?


just run the first-setup script again


And which one to find out what version I’m running?


context --version


G
___
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
___


___
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
___




--

-
  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
-
___
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
___

Re: [NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

there are some ePUB and XML conversion/processing questions time to time here 
in the forum.

Try to search or to ask directly someone who asked for ePUB conversion.

(I have no experience with ePUB.)

Lukas


On Sun, 15 Mar 2015 22:12:33 +0100, Gerben Wierda gerben.wie...@rna.nl wrote:


Now that I have my book project basically running on mkiv (the layout probably 
has a few problems left, the main one currently being extra whitespace after a 
chapter heading  compared to mkii), I’d like to try producing ePUB from it.

ConTeXtgarden says I have to add a backend and points me to the info on the 
standard project structure (which I use), but there I don’t find anything about 
a backend. The extended example says that starting january 2015, things have 
changed with ePUB, which probably also applies to me as I only recently started 
with a fresh download of a current ConTeXt mkiv.

So, can someone tell me what I need to do to get a basic ePUB output?

And what command do I run to update my separate ConTeXt tree?

And which one to find out what version I’m running?

G



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___
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
___

[NTG-context] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-15 Thread Gerben Wierda
Now that I have my book project basically running on mkiv (the layout probably 
has a few problems left, the main one currently being extra whitespace after a 
chapter heading  compared to mkii), I’d like to try producing ePUB from it.

ConTeXtgarden says I have to add a backend and points me to the info on the 
standard project structure (which I use), but there I don’t find anything about 
a backend. The extended example says that starting january 2015, things have 
changed with ePUB, which probably also applies to me as I only recently started 
with a fresh download of a current ConTeXt mkiv.

So, can someone tell me what I need to do to get a basic ePUB output?

And what command do I run to update my separate ConTeXt tree? 

And which one to find out what version I’m running?

G
___
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
___