Re: [NTG-context] EPUB woes

2013-11-20 Thread Jan Tosovsky
On 2013-11-20 Bill Meahan wrote: > On 11/20/2013 8:59 AM, Aditya Mahajan wrote: > > > > As far as ConTeXt is concerned, you can process the above XML quite > > easily. Come to think of it, it may be a useful to provide a module > > that maps HTML5 to PDF. > > > > I would vote for that approach. It

Re: [NTG-context] EPUB woes

2013-11-20 Thread Keith J. Schultz
Hi, You do not understand my point. I one uses XML why use ConTeXt. Yet, I one wants to use ConTeXt and do ebooks and they have experience why force them to XML. As I stated the idea use ConTeXt to do the markup with commands that will ensure proper input of HTML5 for making ebooks that will

Re: [NTG-context] EPUB woes

2013-11-20 Thread Bill Meahan
On 11/20/2013 8:59 AM, Aditya Mahajan wrote: As far as ConTeXt is concerned, you can process the above XML quite easily. Come to think of it, it may be a useful to provide a module that maps HTML5 to PDF. Aditya I would vote for that approach. It is pretty much analogous to what I have dec

Re: [NTG-context] EPUB woes

2013-11-20 Thread Aditya Mahajan
On Wed, 20 Nov 2013, Keith J. Schultz wrote: \usemodule[ebook] \setupcss[…]{…}% see comment #1 \setupmapping[…]{…} % used for when author has his/her own ideas #2 %normal ConTeXt sets see comment #3 % possibly set a mode or set externally \sta

Re: [NTG-context] EPUB woes

2013-11-20 Thread Keith J. Schultz
Hi Mica, Am 19.11.2013 um 22:39 schrieb 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. W

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 able to int

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: >>> 2) Now, what a EPub-READER must implement to handle is very

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 EPuB

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 >> to implement any

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] 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] 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 of >> any >> ereader that can

Re: [NTG-context] EPUB woes

2013-11-16 Thread Bill Meahan
On 11/16/2013 12:37 PM, Aditya Mahajan wrote: On Sat, 16 Nov 2013, Bill Meahan wrote: I would /expect/ to get a valid EPUB file, or so I'm lead to believe. 1. Wait until the EPUB readers catch up. It took almost 10-15 years for the browsers to catch up with the HTML standards, and I don't h

Re: [NTG-context] EPUB woes

2013-11-16 Thread Aditya Mahajan
On Sat, 16 Nov 2013, Bill Meahan wrote: I would /expect/ to get a valid EPUB file, or so I'm lead to believe. At the moment, I'm simply trying it out using Hans' "export-example.tex" file that comes as part of the standard ConTeXt distribution, either Standalone or part of one of the other di

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 significan

Re: [NTG-context] EPUB woes

2013-11-16 Thread Wolfgang Schuster
Am 16.11.2013 um 16:16 schrieb Bill Meahan : > 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 distribution. A PDF generated

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 formattin

Re: [NTG-context] Epub woes

2012-11-17 Thread luigi scarso
On Sat, Nov 17, 2012 at 5:48 PM, Bill Meahan wrote: > On 11/17/2012 02:08 AM, luigi scarso wrote: > >> IDPF'reference >> ( IPDF is the output of the new iTEX from Knuth, see >> http://tug.org/TUGboat/tb31-2/**tb98knut.pdf >> ) >> >> >> >> > > TYPO ALERT!

Re: [NTG-context] Epub woes

2012-11-17 Thread Bill Meahan
On 11/17/2012 02:08 AM, luigi scarso wrote: IDPF'reference ( IPDF is the output of the new iTEX from Knuth, see http://tug.org/TUGboat/tb31-2/tb98knut.pdf) TYPO ALERT! TYPO ALERT! TYPO ALERT! That should have been *IDPF* (International Digital Publishing Forum) which is the group tha

Re: [NTG-context] Epub woes

2012-11-17 Thread Alan BRASLAU
On Sat, 17 Nov 2012 08:08:56 +0100 luigi scarso wrote: > ( IPDF is the output of the new iTEX from Knuth, see > http://tug.org/TUGboat/tb31-2/tb98knut.pdf) (The beginning sounds a bit like a description of ConTeXt!) Earlier, I believe you shared the video with us! Alan

Re: [NTG-context] Epub woes

2012-11-16 Thread luigi scarso
On Sat, Nov 17, 2012 at 12:41 AM, Bill Meahan wrote: > On 11/16/2012 02:13 AM, luigi scarso 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 rea

Re: [NTG-context] Epub woes

2012-11-16 Thread Bill Meahan
On 11/16/2012 02:13 AM, luigi scarso 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 If you use Google Chrome (Chromium), you can ge

Re: [NTG-context] Epub woes

2012-11-16 Thread Zenlima
> Try lucifox (is a part of lucifox addon for firefox) arg.. to late.. try lucidor as a part of lucifox... :-D ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-co

Re: [NTG-context] Epub woes

2012-11-16 Thread Zenlima
> Is there any reader able to read mathml ? Try lucifox (is a part of lucifox addon for firefox) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Epub woes

2012-11-16 Thread Aditya Mahajan
On Fri, 16 Nov 2012, Bill Meahan wrote: On 11/15/2012 11:17 PM, Aditya Mahajan wrote: Pandoc does generate ConTeXt output as well, which you can then process the usual way to generate pdf. The advantage of pandoc is that **in addition** to latex/context output, you can generate docbook/epu

Re: [NTG-context] Epub woes

2012-11-16 Thread Bill Meahan
On 11/15/2012 11:17 PM, Aditya Mahajan wrote: Pandoc does generate ConTeXt output as well, which you can then process the usual way to generate pdf. The advantage of pandoc is that **in addition** to latex/context output, you can generate docbook/epub/html/doc/troff/ and other output format

Re: [NTG-context] Epub woes

2012-11-16 Thread Keith J. Schultz
Hi All, First off, I do not work with ConTexT, but with Lu(La)TeX. I follow this list looking for pointers. The way I understand how ConTexT produces output for epubs is that it just creates HTML. If ConTexT (or LuaTex) is to produce output for use in epubs it should map the ConTexT structures t

Re: [NTG-context] Epub woes

2012-11-15 Thread Andy Thomas
Supposedly. I did not try it yet. http://support.apple.com/kb/HT5321 Andy On Nov 16, 2012, at 8:13 AM, luigi scarso wrote: > > > > On Fri, Nov 16, 2012 at 7:49 AM, Andy Thomas wrote: > > > > I just started working on the epub output of my lecture notes again, since > there were no reade

Re: [NTG-context] Epub woes

2012-11-15 Thread luigi scarso
On Fri, Nov 16, 2012 at 7:49 AM, Andy Thomas 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

Re: [NTG-context] Epub woes

2012-11-15 Thread Andy Thomas
Please try the following example: -- start code -- \setupbackend[export=yes,xhtml=test_00.xhtml] \mainlanguage[de] \language[de] \setupexport [title={A nice book}, author={Andy Tom}, firstpage={huhn.jpg}, ] \starttext Hello world! \stoptext -- end code -- The firstpage expor

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

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

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 is not gen

Re: [NTG-context] Epub woes

2012-11-15 Thread Marcin Borkowski
Dnia 2012-11-15, o godz. 13:58:29 Bill Meahan napisał(a): > 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 no

Re: [NTG-context] Epub woes

2012-11-15 Thread Bill Meahan
On 11/15/2012 02:24 PM, Wolfgang Schuster wrote: You have to tag paragraphs with \startparagraph … \stopparagraph which are converted to and otherwise you get between paragraphs. Wolfgang Oh, my! I'll have to go back and change hundreds of paragraphs! :( What about the chapter headings,

Re: [NTG-context] Epub woes

2012-11-15 Thread Wolfgang Schuster
Am 15.11.2012 um 19:58 schrieb Bill Meahan : > 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 >