[NTG-context] epub-mkiv-demo.epub

2015-04-11 Thread Piotr Kopszak
Hello list, I am trying to compile example epub file epub-mkiv-demo.tex which is provided with the recent beta, however I'm getting following errors when I run:mtxrun --script epub --make epub-mkiv-demo resolvers | trees | analyzing 'home:texmf' mtx-epub| using specification file

Re: [NTG-context] Why mode not recognized?

2020-03-03 Thread Wolfgang Schuster
On Tue, 3 Mar 2020 22:07:51 +0100 Hans van der Meer wrote: > Calling ConTeXt with: > > mtxrun --autogenerate --mode=epub --script context "$1" > > and in the tex-file called: > \starttext > \startmode[epub] > Producing EPUB\crlf > \stopmode > \

[NTG-context] ePUB creation problems

2015-03-18 Thread Gerben Wierda
I’m getting to the next phase of ePUB creation. My project now exports and with mtxrun —script epub, I can create an actual ePUB, but there are issues I need to fix. One is the lack of a cover image. The command for epub creation works, but says: (. /usr/local/src/ConTeXt/tex/setuptex mtxrun

Re: [NTG-context] Error in ePub script

2015-08-06 Thread Hans Hagen
On 8/6/2015 6:33 AM, Henning Hraban Ramm wrote: Hi, I’m at creating an ePub once again and run into an error: $ mtxrun --script epub --make prd_MBL resolvers | caching | skipping 'files' for 'home:texmf' from '/Users/hraban/Library/texmf/tex/texmf-cache/luatex-cache/context

[NTG-context] Why mode not recognized?

2020-03-03 Thread Hans van der Meer
Calling ConTeXt with: mtxrun --autogenerate --mode=epub --script context "$1" and in the tex-file called: \starttext \startmode[epub] Producing EPUB\crlf \stopmode \startnotmode[epub] Not producing EPUB\crlf \stopnotmode \stoptext This produces "Not producing

[NTG-context] Error in ePub script

2015-08-05 Thread Henning Hraban Ramm
Hi, I’m at creating an ePub once again and run into an error: $ mtxrun --script epub --make prd_MBL resolvers | caching | skipping 'files' for 'home:texmf' from '/Users/hraban/Library/texmf/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/trees

Re: [NTG-context] epub-mkiv-demo.epub

2015-04-13 Thread Hans Hagen
epub file to mobi format, what I would ultimately like to do. epubcheck output Validating against EPUB version 3.0 - custom validation Validating using EPUB version 3.0 rules. ERROR(RSC-005): epub-mkiv-demo.epub/OEBPS/epub

Re: [NTG-context] epub-mkiv-demo.epub

2015-04-11 Thread Hans Hagen
On 4/11/2015 9:12 AM, Piotr Kopszak wrote: Hello list, I am trying to compile example epub file epub-mkiv-demo.tex which is provided with the recent beta, however I'm getting following errors when I run:mtxrun --script epub --make epub-mkiv-demo resolvers | trees | analyzing 'home:texmf

Re: [NTG-context] Creating bibliographies with ox-context

2021-11-23 Thread Henning Hraban Ramm via ntg-context
Am 23.11.21 um 18:02 schrieb juh via ntg-context: Hi all, I am kind of lost with references and ox-context and ox-epub. What do you mean with "ox"? Is there a tutorial how to integrate a bibliography in ConTeXt and epub-Export? Did you read the bibliography manual (mkiv-public

[NTG-context] Export to epub

2011-11-27 Thread Keith McKay
Hi I've been playing about with Export in Context with a view to producing ePubs. When I run the script: /mtxrun --script epub --make test.specification /the test.tree is prepared but no epub file. The output shown below has a couple or 'error' messages which are probably due to the way

Re: [NTG-context] epub-mkiv-demo.epub

2015-04-13 Thread Piotr Kopszak
Thanks Hans! That did the trick, just a README mentioning mudraw as dependency in the source directory would do, however the file which is generated contains errors, at least according to epubcheck and kindlegen, which prevents conversion of resulting epub file to mobi format, what I would

[NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-16 Thread Keith J. Schultz
Hi Axel, All, You have mentioned that most current ebook readers can not display MathML. Well, the problem lies in the epub guidelines for the readers. The problem is even worse. many readers do not even implement the full HTML5 standard. though that is the standard used in the latest epub

[NTG-context] Compiling to EPUB

2014-01-15 Thread H. Özoguz
Hi, I tried to compile one of my projects to a EPUB by adding \setupbackend[export=yes,xhtml=yes] \setupexport [title={A nice book}, author={John Doe}, firstpage={huhn.jpg}, ] to the main-file. After that I began the compiling by C:\Users\diretorymtxrun --script epub --make

Re: [NTG-context] EPUB XHTML Format

2013-09-07 Thread Thangalin
Hi, so, i'd never claim that context produces epub but it can be used in a workflow that involves epub as it outputs xml which can be transformed That's a distinction that either might not matter or sometimes is lost: http://tex.stackexchange.com/a/17642/2148 http://wiki.contextgarden.net

[NTG-context] ConTeXt epub workflow

2014-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, I have an urgent project that needs three outputs: pdf, epub, and kindle. The formatting needs are pretty basic. In your experience: What is the recommended, more efficient workflow for this sort of thing? Should I start with markdown and then generate context and epub

[NTG-context] Current status of epub export and documentation

2015-12-01 Thread Jan U. Hasecke
Hi all, I am interested in the epub export feature of ConTeXt/MKIV. There are a some hints in epub-mkiv-demo.tex epub-mkiv.pdf http://wiki.contextgarden.net/ePub I am looking for a more detailed example (or documentation) to learn what is possible and what not. (Eg. \showsetup{command-name

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Wolfgang Schuster
On Tue, 3 Mar 2020 19:37:47 +0100 Hans van der Meer wrote: > > > > and then run with --mode=epub > > I am running with: > mtxrun --autogenerate --mode=epub --script context "$1" > but no epub document is generated, just the same result.pdf I g

Re: [NTG-context] EPUB woes

2013-11-18 Thread Keith J. Schultz
Hi All, I find that the ConTeXt approach to creating the EPub is flawed is a fundemental way! NOT TECHNICALLY. The EPub Standard is a big mess and if you really look at not a true standard in a true sense. Let me explain. 1) The file structure is well documented and properly defines

Re: [NTG-context] Export to epub

2011-11-27 Thread Hans Hagen
On 27-11-2011 14:03, Keith McKay wrote: Hi I've been playing about with Export in Context with a view to producing ePubs. When I run the script: /mtxrun --script epub --make test.specification /the test.tree is prepared but no epub file. The output shown below has a couple or 'error

Re: [NTG-context] ConTeXt epub workflow

2014-07-02 Thread Aditya Mahajan
On Wed, 2 Jul 2014, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, I have an urgent project that needs three outputs: pdf, epub, and kindle. The formatting needs are pretty basic. In your experience: What is the recommended, more efficient workflow for this sort of thing? Should I

Re: [NTG-context] Best strategy for ConTeXt to ePub update

2019-02-05 Thread Henning Hraban Ramm
Am 2019-02-04 um 20:26 schrieb Martin Bruchanov : > While ago I wrote a book (http://sstv-handbook.com/) in ConTeXt and I have > started to thinking about possibility to export also ePub and xHTML besides > the PDF version. > > Few questions: > > 1. What is cu

[NTG-context] epub and pdf not the same

2020-03-04 Thread Hans van der Meer
On 3 Mar 2020, at 22:04, Rik Kabel <cont...@rik.users.panix.com> wrote:Instructions for creating the .epub from the export are contained in the log file.In the log comes:    create epub with: mtxrun --script epub --make "kookboek" --purge --rename --svgmathThis I did.The l

Re: [NTG-context] ConTeXt epub workflow

2014-07-03 Thread Keith McKay
the Writer2ePub extension in OpenOffice convert to ePub. You will get a reasonable looking ePub if you have taken a little care to style the document beforehand. Load the ePub into Sigil and tidy up the ePub. I Usually split the ePub into Chapters, embed fonts and add any images where I want

[NTG-context] epub

2012-02-16 Thread Jörg Hagmann
I would like to prepare some student material in epub format and tried the export-example.tex as follows: - context export-example (by the way, gives an error with the latest beta, not with 2011.12.19 22:53, but produces the output; shouldn't matter here). - mtxrun --script epub --make export

Re: [NTG-context] EPUB XHTML Format

2013-09-06 Thread Aditya Mahajan
be used to generate an EPUB, it is likely that that EPUB will be unusable for devices without further transformation of the XML content. At least that way the knowledge is out there and people are forewarned that not all EPUB documents are equivalent. It will also be nice to add a table

Re: [NTG-context] Error with export=yes

2011-05-09 Thread Reviczky, Adam
I still must miss something, because the epub doesn't seem to contain anything. So here's a simple example: \setupbackend[export=yes,xhtml=test.xhtml] \starttext Hello world! \stoptext Then after running context: mtxrun --script epub --make test.specification table={ [files]={ test.xhtml

Re: [NTG-context] TeX as an eBook engine?

2009-12-03 Thread William Adams
On Dec 3, 2009, at 4:12 AM, luigi scarso wrote: Maybe epub as backend is a more interesting idea: given (some kind of gentle ) tex file one can produce an epub file as result. You're putting the cart before the horse. Sadly, epub is rather lacking in markup capabilities. Instead, one

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

2015-01-18 Thread Henning Hraban Ramm
Am 2015-01-18 um 20:45 schrieb Keith Schultz keithjschu...@icloud.com: 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

Re: [NTG-context] epub-mkiv-demo.epub

2015-04-13 Thread Hans Hagen
On 4/13/2015 3:37 PM, Piotr Kopszak wrote: ERROR(RSC-005): epub-mkiv-demo.epub/OEBPS/epub-mkiv-demo.opf(26,79): Error while parsing file 'assertion failed: Duplicate ID 'cow-svg''. we can probably catch that one epub-mkiv-demo.epub/OEBPS/epub-mkiv-demo-div.xhtml(38,120): MathML should

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Jan U. Hasecke
Am 03.03.20 um 22:04 schrieb Rik Kabel: > Instructions for creating the .epub from the export are contained in the > log file. Has anyone ever got an epub that validates? juh ___ If your question is of in

Re: [NTG-context] EPUB XHTML Format

2013-09-06 Thread Thangalin
Hi, never mind not being able to add the books to online marketplaces (such as Amazon) because, again, the output does not validate. I think the simplest thing to do would be to update the wiki and have a note that informs readers that while ConTeXt can be used to generate an EPUB

Re: [NTG-context] EPUB woes

2013-11-18 Thread Keith J. Schultz
Am 16.11.2013 um 17:51 schrieb Bill Meahan subscribed_li...@meahan.net: On 11/16/2013 11:00 AM, Keith J. Schultz wrote: Hi Bill, Using a PDF as a basis for creating an Epub ebook is actually a lost cause. EPUB is a container format that just wraps around your PDF. I do not know of any

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

2015-01-18 Thread Keith Schultz
Hi Henning, Am 17.01.2015 um 13:52 schrieb Henning Hraban Ramm te...@fiee.net: 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

Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-17 Thread Hans Hagen
On 2/17/2015 8:24 AM, Keith J. Schultz wrote: Hi Axel, All, You have mentioned that most current ebook readers can not display MathML. Well, the problem lies in the epub guidelines for the readers. The problem is even worse. many readers do not even implement the full HTML5 standard. though

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

2015-01-13 Thread Henning Hraban Ramm
Am 2015-01-13 um 15:58 schrieb Hans Hagen pra...@wxs.nl: the whole generation of epub was cleanup up (already a while ago) I know, but it seems I have to recreate my whole workflow again. just use: \setupbackend[export=yes] all happens in dedicated sub directories now jobname-export

Re: [NTG-context] epub and pdf not the same

2020-03-04 Thread Wolfgang Schuster
Hans van der Meer schrieb am 04.03.2020 um 13:23: On 3 Mar 2020, at 22:04, Rik Kabel <mailto:cont...@rik.users.panix.com>> wrote: Instructions for creating the .epub from the export are contained in the log file. In the log comes:     create epub with: mtxrun --script epub --make

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Hans van der Meer
I followed your advice and added the setup: > You need > \setupbackend[export=yes] > in your document. This, however, does not result in an .epub file but an export directory containing an html and xhtml file (only partially conformant to the equivalent pdf). Can I get t

Re: [NTG-context] Bugs in XML export (for ePub)

2014-03-11 Thread Thangalin
Hi Hraban, I tried to create ePubs using ConTeXt late last year (it was a driving factor for me to switch from LaTeX). In practice, ConTeXt cannot actually produce ePub content of any sufficient complexity that an ePub reader (such as Kindle) can read. I abandoned that development line a while

[NTG-context] ePub and Metapost

2015-10-20 Thread Fabrice Couvreur
Hi, Is it possible to produce a epub file from a file containing a figure made with Metapost ? Thanks, Fabrice Envoyé de mon iPad___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Current status of epub export and documentation

2015-12-01 Thread Henning Hraban Ramm
Am 2015-12-01 um 21:54 schrieb Jan U. Hasecke <juh+ntg-cont...@mailbox.org>: > Hi all, Hi Jan, > I am interested in the epub export feature of ConTeXt/MKIV. > ... > I am looking for a more detailed example (or documentation) to learn > what is possible and what not. ... &

Re: [NTG-context] ConTeXt epub workflow

2014-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 02 Jul 2014 15:12:10 -0600, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: What is the recommended, more efficient workflow for this sort of thing? Should I start with markdown and then generate context and epub (then convert epub=kindle I presume)? Or does one

Re: [NTG-context] ConTeXt epub workflow

2014-07-02 Thread Andres Conrado
I've been using a workflow to generate epub + PDF for several books so far, and in my experience, using Markdown base files is very good: you can include images, links, etc., and then you can use pandoc ( http://johnmacfarlane.net/pandoc/) to generate both epub and context source, also you can

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

2015-01-17 Thread Henning Hraban Ramm
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

Re: [NTG-context] ePUB creation problems

2015-03-18 Thread Hans Hagen
On 3/18/2015 1:00 PM, Gerben Wierda wrote: I’m getting to the next phase of ePUB creation. My project now exports and with mtxrun —script epub, I can create an actual ePUB, but there are issues I need to fix. attached a manual i'm on-and-off working on .. i have no time now for more info

Re: [NTG-context] Epub broken

2018-07-05 Thread Rik Kabel
On 7/5/2018 10:27, Hans Hagen wrote: On 7/4/2018 3:17 PM, Rik Kabel wrote: The following example fails with recent betas, but not with TL18: define fails Sorry to be so terse in the original note. By failure, I mean that the generated .epub document is incorrect; parts are out of order

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Wolfgang Schuster
On Tue, 3 Mar 2020 21:58:16 +0100 Hans van der Meer wrote: > I followed your advice and added the setup: > > > You need > > \setupbackend[export=yes] > > in your document. > > This, however, does not result in an .epub file but an export directory > contai

Re: [NTG-context] EPUB XHTML Format

2013-09-07 Thread Hans Hagen
, and then purchase an iPad plus iBook. Problem solved? ;-) ConTeXT TeX reading xml - export - optional transform - EPUB + CSS* you want 'direct epub html from context' (no xslt) but on the other hand use xslt to map onto context while context can do xml directly ... chicken egg

Re: [NTG-context] EPUB woes

2013-11-16 Thread Bill Meahan
On 11/16/2013 11:00 AM, Keith J. Schultz wrote: Hi Bill, Using a PDF as a basis for creating an Epub ebook is actually a lost cause. EPUB is a container format that just wraps around your PDF. I do not know of any ereader that can actually adjust the formatting/layout of a pdf in any

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Rik Kabel
Instructions for creating the .epub from the export are contained in the log file. On 3/3/2020 15:58, Hans van der Meer wrote: I followed your advice and added the setup: You need \setupbackend[export=yes] in your document. This, however, does not result in an .epub file but an export

Re: [NTG-context] epub

2012-02-16 Thread luigi scarso
On Thu, Feb 16, 2012 at 11:51 AM, Jörg Hagmann joerg.hagm...@unibas.ch wrote: I would like to prepare some student material in epub format and tried the export-example.tex as follows: - context export-example (by the way, gives an error with the latest beta, not with 2011.12.19 22:53

Re: [NTG-context] Epub woes

2012-11-15 Thread Bill Meahan
On 11/15/2012 07:13 PM, Aditya Mahajan wrote: Have you considered using pandoc to generate epub? If your text is relatively simple (no multiline math, no fancy image scaling, no complicated tables, etc.), then Markdown is a reasonable input format. You can use pandoc to translate the text

Re: [NTG-context] Documentation for EPUB conversion

2013-08-28 Thread Mica Semrick
You will probably need CSS styling. Maybe you can use one of the popular CSS reset or normalize stylesheets available. I haven't tested, but http://necolas.github.io/normalize.css/ is pretty popular. Beware, a lot of EPUB rendering engines are crap, and there is not a lot of conformity

[NTG-context] EPUB XHTML Format

2013-09-03 Thread Thangalin
Hi, The attached t.tex file produces the attached t.xhtml file. I have looked at the following documents: - http://en.wikipedia.org/wiki/EPUB#Open_Publication_Structure_2.0.1 - http://en.wikipedia.org/wiki/DTBook - http://www.idpf.org/epub/20/spec/OPS_2.0.1_draft.htm - http://www.w3

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

Re: [NTG-context] Why mode not recognized?

2020-03-03 Thread Hans van der Meer
> On 3 Mar 2020, at 22:21, Wolfgang Schuster > wrote: > > On Tue, 3 Mar 2020 22:07:51 +0100 > Hans van der Meer wrote: > >> Calling ConTeXt with: >> >> mtxrun --autogenerate --mode=epub --script context "$1" >> >> an

Re: [NTG-context] Quick question about dual output pdf and epub

2020-02-28 Thread Hans Hagen
On 2/28/2020 11:48 AM, Christoph Hintermüller wrote: Hi Hust not to miss something or mess up every thing. Can i setup my document preamble such that i can without any switching create pdf and epub output at the same time. Want to provide my lecture notes in pdf and epub format. In other words

Re: [NTG-context] EPUB workflow from ConTeXt source?

2011-02-17 Thread Daniel Lyons
workflow/setup that can produce EPUB (next to normal PDF)? With MkIV you can get a xml version of document with \setupbackend[export=yes]. But that XML is not ePUB's XML, I assume. no, but one can of course convert one kind of xml into another for epub one has to provice css etc anyway

Re: [NTG-context] EPUB woes

2013-11-18 Thread Keith J. Schultz
Hi Hans, Am 18.11.2013 um 13:21 schrieb Hans Hagen pra...@wxs.nl: On 11/18/2013 10:00 AM, Keith J. Schultz wrote: 2) Now, what a EPub-READER must implement to handle is very little. There are HARDLY ANY provisions that a certified EPuB-READER has to implement

Re: [NTG-context] ConTeXt epub workflow

2014-07-03 Thread Hans Hagen
On 7/2/2014 11:12 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, I have an urgent project that needs three outputs: pdf, epub, and kindle. The formatting needs are pretty basic. In your experience: What is the recommended, more efficient workflow for this sort of thing? Should I

Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-17 Thread Keith Schultz
Am 17.02.2015 um 21:16 schrieb Hans Hagen pra...@wxs.nl: On 2/17/2015 8:24 AM, Keith J. Schultz wrote: Hi Axel, All, [snip, snip] IMHO : ConTeXt should not output XHMTL for epub, but HMTL5. Yes, yes, I know XHMTL is part of HMTL5. And html 5 is just html with some extras

Re: [NTG-context] Export to epub

2011-11-27 Thread Keith McKay
the switches right but I edited the epub generation part of mtx-epub.lua to look like this: os.execute(format(7z a -tzip -mx0 %s %s,epubfile,mimetype)) os.execute(format(7z a -tzip %s %s,epubfile,META-INF)) os.execute(format(7z a -tzip %s %s,epubfile,OPS)) and using a simple css file I can view

Re: [NTG-context] EPUB XHTML Format

2013-09-04 Thread Hans Hagen
On 9/4/2013 3:19 AM, Thangalin wrote: Hi, The attached t.tex file produces the attached t.xhtml file. I have looked at the following documents: * http://en.wikipedia.org/wiki/EPUB#Open_Publication_Structure_2.0..1 http://en.wikipedia.org/wiki/EPUB#Open_Publication_Structure_2.0.1

Re: [NTG-context] EPUB XHTML Format

2013-09-05 Thread Thangalin
Hi, handle XML+CSS well. However, most (all?) EPUB readers don't. So, the question is asking if instead ConTeXt could generate a XHTML Precisely. If you need both EPUB and PDF, start with a semantically rich XML vocabulary, e.g. DocBook. In this case you can relatively easy transfrom My

Re: [NTG-context] EPUB workflow from ConTeXt source?

2011-02-17 Thread Gerben Wierda
On 17 Feb 2011, at 10:49, Hans Hagen wrote: i have a style somewhere that typesets an epub document (directly) but when testing an epub file from somehwere it found out that there were artifacts like H11/H1H3Chapter title/H3 Ugh. Yes, that clearly shows that the seemingly conceptual

Re: [NTG-context] Compiling to EPUB

2014-01-15 Thread Henning Hraban Ramm
Am 2014-01-16 um 04:14 schrieb H. Özoguz h.oezo...@mmnetz.de: Der Befehl zip ist entweder falsch geschrieben oder konnte nicht gefunden werden. After that I could found the new directorys: filename.tree, but no EPUB-file in it. What was my mistake? Looks like you should install a command

[NTG-context] Best strategy for ConTeXt to ePub update

2019-02-04 Thread Martin Bruchanov
Hi all, While ago I wrote a book (http://sstv-handbook.com/) in ConTeXt and I have started to thinking about possibility to export also ePub and xHTML besides the PDF version. Few questions: 1. What is current support of ePub, will it export pictures automatically? 2. Do I need to rewrite

Re: [NTG-context] Export to epub

2011-11-30 Thread Keith McKay
Hans Updated Context and ran my test file. It seems to work as I would expect on my computer. The output from Scite is below. Thanks again for your help. Keith McKay mtx-epub| creating paths in tree test.tree mtx-epub| copying toc.ncx to test.tree/OPS/toc.ncx mtx-epub

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

2012-06-07 Thread Hans Hagen
On 7-6-2012 14:48, Henning Hraban Ramm wrote: Am 2012-06-07 um 00:00 schrieb Andy Thomas: Hello all, I do not know, how many people are using the epub export, but here are two more changes in order to achieve a valid epub file with information from the context source: Since I need ePub

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

2012-06-07 Thread luigi scarso
On Thu, Jun 7, 2012 at 3:53 PM, Hans Hagen pra...@wxs.nl wrote: On 7-6-2012 14:48, Henning Hraban Ramm wrote: Am 2012-06-07 um 00:00 schrieb Andy Thomas: Hello all, I do not know, how many people are using the epub export, but here are two more changes in order to achieve a valid epub file

Re: [NTG-context] EPUB XHTML Format

2013-09-05 Thread honyk
On 2013-09-04 Thangalin wrote: What needs to happen to take a minimal ConTeXt file (such as the attached) to produce a minimum viable EPUB that: It is always difficult to parse and further process not well structured plain text without advanced semantics. Garbage in, garbage out. If you

Re: [NTG-context] EPUB XHTML Format

2013-09-06 Thread Thangalin
solved? ;-) ConTeXT TeX reading xml - export - optional transform - EPUB + CSS* you want 'direct epub html from context' (no xslt) but on the other hand use xslt to map onto context while context can do xml directly ... chicken egg Well, given that ConTeXt doesn't actually produce validating

Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-18 Thread Henning Hraban Ramm
Am 2015-02-18 um 20:10 schrieb Keith J. Schultz keithjschu...@web.de: Hi Hraban, Good to know. I will investigate at another time and give feed back. I am in the middle of moving, so I do not have much time. We ought to think of making a export specific to epub in the long run! For me

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

2015-03-18 Thread Gerben Wierda
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

[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

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-04 Thread Hans Hagen
On 3/4/2020 8:49 AM, Jan U. Hasecke wrote: Am 03.03.20 um 22:04 schrieb Rik Kabel: Instructions for creating the .epub from the export are contained in the log file. Has anyone ever got an epub that validates? last time i looked into it i found that there was no real consustency in checking

[NTG-context] Quick question about dual output pdf and epub

2020-02-28 Thread Christoph Hintermüller
Hi Hust not to miss something or mess up every thing. Can i setup my document preamble such that i can without any switching create pdf and epub output at the same time. Want to provide my lecture notes in pdf and epub format. In other words does it have any side effects on pdf output, if i put

Re: [NTG-context] Quick question about dual output pdf and epub

2020-02-28 Thread Henning Hraban Ramm
> Am 2020-02-28 um 12:07 schrieb Hans Hagen : > > On 2/28/2020 11:48 AM, Christoph Hintermüller wrote: >> Hi >> Hust not to miss something or mess up every thing. >> Can i setup my document preamble such that i can without any switching >> create pdf and epub

Re: [NTG-context] EPUB workflow from ConTeXt source?

2011-02-17 Thread Mica Semrick
Have you considered authoring in something besides context? Say TEI XML or Docbook, or even markdown (if possible)? If markdown is suitable, then you can end up with both epub and context at the end. Or if using TEI or docbook, you can write a map file (something I have been trying to do

Re: [NTG-context] EPUB woes

2013-11-18 Thread Hans Hagen
On 11/18/2013 4:11 PM, Keith J. Schultz wrote: Hi Hans, Am 18.11.2013 um 13:21 schrieb Hans Hagen pra...@wxs.nl: On 11/18/2013 10:00 AM, Keith J. Schultz wrote: 2) Now, what a EPub-READER must implement to handle is very little. There are HARDLY ANY provisions

Re: [NTG-context] epub

2012-02-16 Thread Jörg Hagmann
Thanks, Luigi. Is it not possible to run mtxrun --script epub --make export-example and then zip the files by zip -X Filename.epub mimetype zip -rg Filename.epub META-INF -x \*.DS_Store zip -rg Filename.epub OPS -x \*.DS_Store If 7z is the only way, I give up. I already spent about 30 minutes

Re: [NTG-context] Epub woes

2012-11-15 Thread Aditya Mahajan
On Thu, 15 Nov 2012, Bill Meahan wrote: On 11/15/2012 07:13 PM, Aditya Mahajan wrote: Have you considered using pandoc to generate epub? If your text is relatively simple (no multiline math, no fancy image scaling, no complicated tables, etc.), then Markdown is a reasonable input format

Re: [NTG-context] Epub woes

2012-11-15 Thread luigi scarso
On Fri, Nov 16, 2012 at 7:49 AM, Andy Thomas andytho...@web.de wrote: I just started working on the epub output of my lecture notes again, since there were no readers able to output math until 2 weeks ago. Is there any reader able to read mathml ? -- luigi

[NTG-context] EPUB workflow from ConTeXt source?

2011-02-16 Thread Gerben . Wierda
I'd like to keep working in one format so I was wondering if there is a ConTeXt based workflow/setup that can produce EPUB (next to normal PDF)? Thanks, G ___ If your question is of interest to others as well

Re: [NTG-context] Error with export=yes

2011-05-09 Thread Reviczky, Adam
The xhtml seems to be missing from OPS, but even putting that in there doesn't give me a working epub (even though it increases the epub size). Right, adding a title solves that, but still empty when trying to open

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Nicola
ore advanced you'll probably need a custom CSS. For >> special content you can use spans and divs. In your custom CSS you >> can define how those elements should be rendered. Sounds pretty >> similar to what Hans wrote in his response. Probably the main >> questions are if

[NTG-context] unwanted with epub

2020-03-03 Thread Hans van der Meer
In producing epub s are appearing (on the -raw.xml file) that are unwanted and seem spurious to me. For example aftersome macro's. Can someone tell me what triggers a ? In the pdf output such breaks are absent. dr. Hans van der Meer

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

2012-06-11 Thread Hans Hagen
On 11-6-2012 07:41, Andy Thomas wrote: On Jun 11, 2012, at 12:21 AM, Hans Hagen wrote: The validator likes it, next is the hard part: generating a valid xhtml. Is the xhtml generator only for the epub, i.e. can it be changed or is another output file just for the epub appropriate

Re: [NTG-context] Epub woes

2012-11-15 Thread Aditya Mahajan
On Thu, 15 Nov 2012, Bill Meahan wrote: I tried to generate an epub document using ConTeXt following the recipe on the wiki. Didn't work. So, I tried running the export-example.tex file that comes with the distribution, unmodified. Same bad results. Cover is not generated TOC

Re: [NTG-context] EPUB XHTML Format

2013-09-06 Thread Hans Hagen
accessibility in EPUB format would be by using the strict XHTML tags. html is not rich enough .. one ends up with abusing tags which in turn is confusing for accesibility ... i once saw an epub where h1 was used for the chapter number and h2 for the chapter title When I talk about strict XHTML, I'm

Re: [NTG-context] EPUB woes

2013-11-16 Thread Wolfgang Schuster
Am 16.11.2013 um 16:16 schrieb Bill Meahan subscribed_li...@meahan.net: I have been trying for a very long time to generate an epub document via context without success. I have followed the steps on the wiki to the letter, using the export-example file provided with the standalone

Re: [NTG-context] EPUB woes

2013-11-18 Thread Hans Hagen
On 11/18/2013 10:00 AM, Keith J. Schultz wrote: 2) Now, what a EPub-READER must implement to handle is very little. There are HARDLY ANY provisions that a certified EPuB-READER has to implement any particular engine or features therein to display/render

Re: [NTG-context] Bugs in XML export (for ePub)

2014-03-11 Thread Henning Hraban Ramm
Am 2014-03-11 um 12:42 schrieb Thangalin thanga...@gmail.com: In practice, ConTeXt cannot actually produce ePub content of any sufficient complexity that an ePub reader (such as Kindle) can read. I abandoned that development line a while ago. That said, ConTeXt is orders of magnitude easier

Re: [NTG-context] ConTeXt epub workflow

2014-07-02 Thread Henning Hraban Ramm
Am 2014-07-03 um 03:12 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: What is the recommended, more efficient workflow for this sort of thing? Should I start with markdown and then generate context and epub (then convert epub=kindle I presume)? Or does one context file

Re: [NTG-context] ConTeXt epub workflow

2014-07-03 Thread Hans Hagen
context and epub (then convert epub=kindle I presume)? Or does one context file with pdf and epub outputs work well? Many years ago I did some documents in ConTeXt with both print and screen pdfs from a single source. Can we do the latter in ConTeXt now? Er, Can we do the *former* in ConTeXt

Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-19 Thread Keith Schultz
Hi Hans, I have been playing with the on using LaTeX and later LuaLaTeX for create epub or ebook. Though I have not got around to. The idea was to set enviorments, macros and commands that would depending on a switch that would output the need HTML and epub structure or call the normal *TeX

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

2015-01-13 Thread Hans Hagen
On 1/13/2015 7:45 AM, Henning Hraban Ramm wrote: Hi, with the latest betas, the ePub script doesn’t work anymore. Regardless with which file I call it, I get only: the whole generation of epub was cleanup up (already a while ago) $ mtxrun --script mtx-epub --make solo resolvers

Re: [NTG-context] Current status of epub export and documentation

2015-12-01 Thread Jan U. Hasecke
Am 01.12.2015 um 18:57 schrieb Henning Hraban Ramm: > Am 2015-12-01 um 21:54 schrieb Jan U. Hasecke > The current bad documentation on the Wiki is by me. > > I produced two commercial ePubs with ConTeXt, but it’s really no fun, > and I needed my own scripts that replace ConTeX

Re: [NTG-context] Epub woes

2012-11-15 Thread Andy Thomas
export value (huhn.jpg) is your cover image. Please put huhn.jpg or something else in the same directory as your tex file. I named the tex=file test_00.tex in my case. After compiling with the latest context, you can run 'mtxrun --script epub --make test_00.specification' to generate the epub file

Re: [NTG-context] EPUB XHTML Format

2013-09-04 Thread Thangalin
Conforming XHTML Document, as per: http://www.w3.org/TR/2000/REC-xhtml1-2126/#docconf the export of context is in fact just xml, and by tagging it as xhtml we can apply css to it; but if someone has a workflow for producing epub an option if to postprocess that xml file into whatever epub one

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

2015-03-18 Thread Hans Hagen
), 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

  1   2   3   4   5   >