[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/5fe67e0bfe781

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

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

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

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

[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

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

[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\diretory>mtxrun --script epub --m

[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

[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] Re: Does ConTeXt still support ePub output?

2024-08-24 Thread Henning Hraban Ramm
Am 24.08.24 um 17:12 schrieb Joel via ntg-context: I recently learned I need to produce an ePub copy of my document, which will be used to produce braille and other versions of my file for people with limited or no vision. As I understand this is just like a ZIP file containing a bunch of HTML

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

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] 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] 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] 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] 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] 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] 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 &

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 current sup

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] 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] What happened to the ePub script?

2015-01-13 Thread Henning Hraban Ramm
Am 2015-01-13 um 15:58 schrieb Hans Hagen : > 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 &g

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 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 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.c

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

2014-03-10 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

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 the out

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] Now that I have something working on mkiv, I'd like to try ePUB

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

Re: [NTG-context] EPUB woes

2013-11-18 Thread Keith J. Schultz
Am 16.11.2013 um 17:51 schrieb 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

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&

[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 (then

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] 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] 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] Export to epub

2011-11-27 Thread Keith McKay
27;m not sure I have 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(&quo

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 that

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 : >> 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 ;) >> >&

[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 --scr

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 : > 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. ... > Does anybody already made a f

[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

[NTG-context] Documentation for EPUB conversion

2013-08-28 Thread Thangalin
\item Third \stopitemize \stoptext I then ran mtxrun: mtxrun --script epub --make t.specification This produced a document with the cover page correctly; however, the items were listed on a single line in the EPUB, instead of on lines by themselves. I have a couple of questions

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

Re: [NTG-context] EPUB XHTML Format

2013-09-07 Thread Hans Hagen
g hardware, 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

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

2020-03-03 Thread Hans van der Meer
> > 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 get without that mode. In .bashrc using: # The current version of the ConTeXt luametatex in use: CONTE

Re: [NTG-context] epub

2012-02-16 Thread luigi scarso
On Thu, Feb 16, 2012 at 11:51 AM, Jörg Hagmann 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

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

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

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.

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 relative

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 : > > 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. > >

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] 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] Now that I have something working on mkiv, I'd like to try ePUB

2015-03-18 Thread Hans Hagen
15 Mar 2015, at 22:12, Gerben Wierda 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 prod

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 : > 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 ادريس سماوي حامد : > 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 with

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] 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 confo

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 wrote: Now that I have my

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

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] 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] ConTeXt epub workflow

2014-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 02 Jul 2014 15:12:10 -0600, Idris Samawi Hamid ادريس سماوي حامد 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 context file w

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 yo

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, as

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? the

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) and

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

2015-02-18 Thread Hans Hagen
On 2/17/2015 10:01 PM, Keith Schultz wrote: Am 17.02.2015 um 21:16 schrieb Hans Hagen mailto: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

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] 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 to

Re: [NTG-context] EPUB woes

2013-11-18 Thread Keith J. Schultz
Hi Hans, Am 18.11.2013 um 13:21 schrieb 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 >

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

2015-03-17 Thread Gerben Wierda
2, Gerben Wierda 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 mki

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

2011-02-17 Thread Daniel Lyons
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)? >>> >>> With MkIV you can get a xml version of document with >>> \setupbackend[export=yes]. >> >> But that XML

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

Re: [NTG-context] EPUB XHTML Format

2013-09-06 Thread Mica Semrick
Another small note, since I just walked down the ePUB path: you'll be very sad to find out that a lot of rendering engines for popular readers are not consistent, won't render standard XHTML markup correctly (nest an ordered list within an unordered list and then look at it in ado

Re: [NTG-context] EPUB woes

2013-11-18 Thread Keith J. Schultz
Am 18.11.2013 um 16:33 schrieb 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 : >> >>> On 11/18/2013 10:00 AM, Keith J. Schultz wrote: >>> >>>>

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

2011-02-19 Thread Gerben Wierda
On 18 Feb 2011, at 03:43, Mica Semrick wrote: > 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,

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? Of

[NTG-context] Context to epub: itemize

2015-02-16 Thread Axel Kielhorn
Hi, I'm trying to generate epub from ConTeXt and I couldn't get the itemize environment to work. I follow http://wiki.contextgarden.net/ePub and get the structure described but when I look into the xhtml, there is no itemize environment. (At least no with Safari, Firefox or Calibre.

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

2012-06-08 Thread Hans Hagen
e and author inherit from \setupinteraction which already inherits from \setupdocument (metadata namespace). - In mtx-epub these variables are picked up (from the epub job specification) and firstpage / lastpage are added to the images list. Nothing has been checked and the firstpage/lastpage

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

2011-02-17 Thread Hans Hagen
On 17-2-2011 8:14, Gerben Wierda wrote: On 16 Feb 2011, at 17:47, Wolfgang Schuster wrote: Am 16.02.2011 um 17:42 schrieb gerben.wie...@rna.nl: 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 norma

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Jan U. Hasecke
Am 10.12.19 um 20:38 schrieb Nicola: > As for ConTeXt, I have tried the latest beta with: > > context mybook.tex > mtxrun --script epub --make mybook > > This, among the rest, creates an .epub file, which unfortunately the > above mentioned tools do not like (maybe,

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

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 : > > 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 con

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

2012-06-10 Thread Andy Thomas
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? > > the only

Re: [NTG-context] EPUB woes

2013-11-16 Thread Keith J. Schultz
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 significantly useful way. You are stuck with the

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

2012-06-09 Thread Andy Thomas
tle > firstpage (also new key in mult) > lastpage (aso new key in mult) > > - The title, subtitle and author inherit from \setupinteraction which already > inherits from \setupdocument (metadata namespace). > > - In mtx-epub these variables are picked up (from the epub job

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

2009-12-03 Thread luigi scarso
ions about >> tagged PDF or PDF/X). >> >> In one of the latest c't (German computer magazine) there was a nice >> article on creating eBooks in Epub format (HTML based). Even if I don't >> intend to buy an eBook device, it made me think again about using another >

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] ConTeXt epub workflow

2014-07-03 Thread Hans Hagen
On 7/2/2014 11:18 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 02 Jul 2014 15:12:10 -0600, Idris Samawi Hamid ادريس سماوي حامد 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

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] 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 i

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] TeX as an eBook engine?

2009-12-03 Thread luigi scarso
On Thu, Dec 3, 2009 at 2:10 PM, William Adams wrote: > 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

Re: [NTG-context] EPUB woes

2013-11-19 Thread Mica Semrick
Keith, Maybe you should explore an XML format that can be transformed directly to epub. You'd also be able to write a style sheet with ConTeXt that would out put a PDF as well. I think TEI-Lite is a good starting point. Since you can make your own commands in ConTeXt, it will never be ab

Re: [NTG-context] Error in ePub script

2015-08-06 Thread Henning Hraban Ramm
Am 2015-08-06 um 13:36 schrieb 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: >> mtx-epub| relocating >> images...texmf/tex/texmf-context/scripts/context/lua/mtx-epub.lua:285: >

[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] 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 a

[NTG-context] dirty epub fixes

2011-05-13 Thread Reviczky, Adam
Hans, Since I didn't got a working epub for the first few tries, I did some further inspections with epubcheck[1]. Using this minimal example: \setupbackend[export=test.xml,xhtml=test.xhtml,css={test.css,mathml.css}] \starttext Test \stoptext The main errors are: * opf: id has to be e

  1   2   3   4   5   >