Re: [NTG-context] E-books and XML.

2014-08-27 Thread Henning Hraban Ramm
Am 2014-08-26 um 23:29 schrieb Hans Hagen : > On 8/26/2014 7:08 PM, Henning Hraban Ramm wrote: > >> Creating ePub from ConTeXt is still tedious - you need to tag everything >> (even paragraphs) with \start/\stop, the resulting export.xml is still >> missing a root

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

2009-12-03 Thread luigi scarso
gt; browser >> like firefox 2.6 beta -- it's almost the same of epub, after all >> Cfr >> people.mozilla.com/~jkew/woff/woff-spec-latest.html >> >> Of course none can say that epub is like pdf from a typographical point of >> view >> but for low energy d

Re: [NTG-context] epub

2012-02-16 Thread Wolfgang Schuster
he file, Luigi -- getting closer. Two problems left: >>> >>> 1. I was using Calibre. Maybe I simply don't know how to use that >>> programme. Whereas a free epub book downloaded from the net opens as it >>> should, the files generated by myself and b

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

2015-01-13 Thread Hans Hagen
On 1/13/2015 2:57 PM, Henning Hraban Ramm wrote: mtx-epub| copying coverpage 'giraffe.pdf' to 'solo-export/giraffe.pdf'...texmf/tex/texmf-context/scripts/context/lua/mtx-epub.lua:557: bad argument #1 to 'gsub' (string expected, got nil) I’ll invest

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

Re: [NTG-context] Export to epub

2011-11-29 Thread Keith McKay
ortunately I couldn't find zip so I played about with 7-Zip and managed to get the script to work. It's still work in progress since I'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

Re: [NTG-context] color epub reader

2020-11-09 Thread Taco Hoekwater
> On 6 Nov 2020, at 20:22, Hans Hagen wrote: > > Hi, > > Playing with a pocketbook color epub reader (I just put some manuals on it): > > - the colors are not bright enough, also not with lights on, why rgb and not > cmyk (i only tested pdf) If I understand

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

2015-01-13 Thread Henning Hraban Ramm
Am 2015-01-13 um 20:50 schrieb Hans Hagen : > On 1/13/2015 2:57 PM, Henning Hraban Ramm wrote: > >> mtx-epub| copying coverpage 'giraffe.pdf' to >> 'solo-export/giraffe.pdf'...texmf/tex/texmf-context/scripts/context/lua/mtx-epub.lua:557: >>

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

2015-02-17 Thread Aditya Mahajan
On Tue, 17 Feb 2015, Hans Hagen wrote: Context outputs three varants: regular xml, xhtml, and stupified xhtml with div/class tagging. The last one is supposed to work on all devices as it doesn't demands anything beyond css. The XML generated by ConTeXt is very well structured. So, an option

Re: [NTG-context] epub

2012-02-16 Thread Henning Hraban Ramm
Am 16. Februar 2012 14:07 schrieb 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

[NTG-context] Can't generate an epub - what am I doing wrong?

2012-08-09 Thread Marcin Borkowski
}] \input tufte \stopchapter \startchapter[title={Second chapter}] \input knuth \stopchapter \stoptext The resulting epub file (after the mtxrun, of course) does not contain any metadata; also, there is no chapter structure whatsoever. What am I missing? TIA

Re: [NTG-context] Can't generate an epub - what am I doing wrong?

2012-08-09 Thread Marcin Borkowski
Dnia 2012-08-09, o godz. 14:33:36 "Rogers, Michael K" napisał(a): > Hi, > > I don't seem to have an epub reader that can format the output. (MS > Word complain there was no xslt file, But the xhtml file produced > contains the metadata and the document str

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

Re: [NTG-context] Epub woes

2012-11-17 Thread luigi scarso
gt; >> ) >> >> >> >> > > TYPO ALERT! TYPO ALERT! TYPO ALERT! > > > That should have been *IDPF* (International Digital Publishing Forum) > which is the group that defines the epub standard.

Re: [NTG-context] context -> docx ??

2015-01-14 Thread Alan BRASLAU
t; is very well done. Incidentally, there's also a Markdown exporter, > so you could probably get to ConTeXt via markdown). > > > Best wishes > > Idris > > Best, > Org-mode does not simply come with great support in Emacs, it is essentially an emacs modu

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-30 Thread Alexandre Krispin
t-requ...@ntg.nl wrote: >> > Send ntg-context mailing list submissions to >> > ntg-context@ntg.nl >> > >> > To subscribe or unsubscribe via the World Wide Web, visit >> > http://www.ntg.nl/mailman/listinfo/ntg-context >> > or, via

Re: [NTG-context] EPUB XHTML Format

2013-09-05 Thread Mica Semrick
5/2013 8:20 PM, Aditya Mahajan wrote: > > The typical ConTeXt document has a lot of structure, and the XML export >> generates a well structured XML output. That can be directly used in >> most modern browsers that handle XML+CSS well. However, most (all?) EPUB >> readers don&

Re: [NTG-context] Compiling to EPUB

2014-01-16 Thread Vladimir Lomov
Hello, ** "H. Özoguz" [2014-01-16 12:11:09 +0100]: >> Looks like you should install a command line ?zip? program. >> ePub is a zipped format. > Thanks, Hraban. > But what does that mean exactly, I have installed 7zip and besides that, > Windows can natively zip

Re: [NTG-context] XML, XHTML, and HTML export issue with & in URL

2014-08-28 Thread Hans Hagen
links in that file. This was tested with the 2014-08-27 standalone. \setupbackend[export=xmltest.xml,xhtml=xmltest.xhtml,css=export-example.css] \setupinteraction[state=start] \useURL[avecAmpersand] [http://www.mail-archive.com/search?l=ntg-context@ntg.nl&q=Epub] [][kli

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

2015-02-18 Thread Keith J. Schultz
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! regards Keith. > Am 18.02.2015 um 09:14 schrieb Henning Hraban R

Re: [NTG-context] epub

2012-02-18 Thread Hans Hagen
On 18-2-2012 08:17, Wolfgang Schuster wrote: I would really prefer to use only html tags when a epub file is produced, now the files can be only viewed without problems in firefox (with the epubreader extension) which is nonsense. With the epub 3 standard also mathml is supported and when a

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

2012-06-08 Thread Hans Hagen
On 8-6-2012 20:25, Aditya Mahajan wrote: Hello all, I am thinking about the best way to implement the cover image for the epub. This is a mandatory requirement to work properly. The cover image is not necessarily present in the pdf version of the document and it might be the only item where

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

2011-02-19 Thread Hans Hagen
On 19-2-2011 9:32, Gerben Wierda wrote: 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

Re: [NTG-context] Up-to-date documentation / tutorials. Where?

2020-02-29 Thread Wolfgang Schuster
ts.pdf details.pdf ecmascript-mkiv.pdf epub-mkiv-demo.epub epub-mkiv-demo.pdf epub-mkiv.pdf evenmore.pdf followingup.pdf fonts-mkiv.pdf graphics.pdf hybrid.pdf interaction.pdf languages-mkiv.pdf libraries-mkiv.pdf lowlevel-boxes.pdf lowlevel-conditionals.pdf lowlevel-expansion.pdf lowlevel-registers.pd

[NTG-context] color epub reader

2020-11-06 Thread Hans Hagen
Hi, Playing with a pocketbook color epub reader (I just put some manuals on it): - the colors are not bright enough, also not with lights on, why rgb and not cmyk (i only tested pdf) - the viewer is buggy and freezes, color demands more mem i think, but after an upodate it got a bit

Re: [NTG-context] EPUB XHTML Format

2013-09-05 Thread Thangalin
Title page \stopstandardmakeup \startstandardmakeup Copyright \stopstandardmakeup \completecontent \stopfrontmatter This produced "*Title pageCopyright*" as text without any markup, which makes the EPUB output a bit difficult to parse. I thought the software sho

Re: [NTG-context] E-books and XML.

2014-08-26 Thread Hans Hagen
On 8/26/2014 7:08 PM, Henning Hraban Ramm wrote: Creating ePub from ConTeXt is still tedious - you need to tag everything (even paragraphs) with \start/\stop, the resulting export.xml is still missing a root node if you use project structure (components), and you need to tinker a lot with

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

2011-02-16 Thread Gerben Wierda
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 normal PDF)? >

Re: [NTG-context] Epub broken

2018-07-05 Thread Hans Hagen
On 7/5/2018 4:47 PM, Rik Kabel wrote: 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

Re: [NTG-context] problems with XML export

2017-11-12 Thread Pablo Rodriguez
ot;broken" PDF. This would be a nightmare in bookkeeping and prone to > errors. Hi Alan, another approach would be to enable a --purgeall option (in mxtrun --script epub) that also removes both the PDF document and the *-epub and *-export subdirectories. Just in case it helps, P

Re: [NTG-context] export breaks float placement

2018-03-03 Thread Henning Hraban Ramm
n! > > In the meanwhile, you can do: > > \startmode[export] > \setupbackend[export=yes] > \stopmode In my case, the mode’s called "epub" and also changes a few other settings, and that’s how I stumbled upon this bug, because I had "--mode=epub" in my Makefi

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

2014-03-11 Thread Henning Hraban Ramm
more issues: [5] emphasis How to markup emphasize (\em, \bf, \it, \sl) so that it gets exported? {\em Something} doesn’t. And hey, can I bribe you to look into that issues? Some nice felt hats from Kyrgyzstan perhaps? The ePub/export stuff is not in a workable state. If you don’t want to

Re: [NTG-context] epub

2012-02-17 Thread luigi scarso
On Thu, Feb 16, 2012 at 4:19 PM, Jörg Hagmann wrote: > This discussion was continued privately (my mistake). A summary: > > Thanks for the file, Luigi -- getting closer. Two problems left: > > 1. I was using Calibre. Maybe I simply don't know how to use that programme. > W

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

Re: [NTG-context] Epub woes

2012-11-16 Thread Aditya Mahajan
/epub/html/doc/troff/ and other output formats as well. Aditya I'm installing pandoc now. Looks pretty interesting. I suppose it's time I learned (extended) Markdown anyway. Thank goodness "emacs has a mode for that." :) If you are using emacs, keep an eye for the org m

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

Re: [NTG-context] epub

2012-02-16 Thread Wolfgang Schuster
Am 16.02.2012 um 16:19 schrieb Jörg Hagmann: > This discussion was continued privately (my mistake). A summary: > > Thanks for the file, Luigi -- getting closer. Two problems left: > > 1. I was using Calibre. Maybe I simply don't know how to use that programme. > W

Re: [NTG-context] Custom XML Export

2015-09-12 Thread Hans Hagen
ast I think XML transformation should be able to deal with everything I need if it comes to it. Hi Toby, have a look at http://wiki.contextgarden.net/XML http://wiki.contextgarden.net/Export http://wiki.contextgarden.net/ePub Since my ePub workflow is now running, I’ll hopefully soon enhance these p

Re: [NTG-context] epub

2012-02-17 Thread Jörg Hagmann
ormat they can read on all kinds of electronic devices (= an epub file), but if I interpret the discussion correctly, this can not (yet?) been done without much hassle in context. Jörg On Feb 17, 2012, at 11:04 AM, luigi scarso wrote: > On Thu, Feb 16, 2012 at 4:19 PM, Jörg Hagmann wrote:

Re: [NTG-context] Can't generate an epub - what am I doing wrong?

2012-08-09 Thread Rogers, Michael K
Hi, I don't seem to have an epub reader that can format the output. (MS Word complain there was no xslt file, But the xhtml file produced contains the metadata and the document structure. Output pasted below. Michael On Aug 9, 2012, at 9:09 AM, Marcin Borkowski wrote: Hello all

Re: [NTG-context] Epub broken

2018-07-06 Thread Hans Hagen
in the original note. By failure, I mean that the generated .epub document is incorrect; parts are out of order, as: new beta Thank you, Hans, for the quick repair. I understand that ePub is not a priority (https://www.mail-archive.com/ntg-context@ntg.nl/msg87829.html) but I would like to

Re: [NTG-context] German introduction to context

2018-10-21 Thread Pablo Rodriguez
gt; - Structure chapter/section … > - Emphasis bold/italic > - lists itemize > - floats > - TABLE > - index > - references > - math (with units) > - chemistry (only basic stuff) > > Several years ago I started to prepare a talk for a DANTE meeting, trying to > show

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

2021-11-23 Thread Henning Hraban Ramm via ntg-context
Am 23.11.21 um 18:51 schrieb 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 ConTeX

[NTG-context] Re: Does ConTeXt still support ePub output?

2024-08-24 Thread Hans Hagen via ntg-context
On 8/24/2024 6:25 PM, Henning Hraban Ramm wrote: Unfortunately, the ePub at least doesn’t work with Calibre. I need to check what’s actually the problem. Indeed we need to check the current state ... at that time there weer variations of the 'standards' and various devices expected

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

2015-02-18 Thread Hans Hagen
On 2/17/2015 11:37 PM, Aditya Mahajan wrote: On Tue, 17 Feb 2015, Hans Hagen wrote: Context outputs three varants: regular xml, xhtml, and stupified xhtml with div/class tagging. The last one is supposed to work on all devices as it doesn't demands anything beyond css. The XML generated by Co

Re: [NTG-context] Different output formats

2011-08-15 Thread Wolfgang Schuster
Am 15.08.2011 um 11:59 schrieb Cecil Westerhof: > I am writing a document for our client that has accepted to work with > ConTeXt. One of the things I want to mention is the different output formats. > I know PDF and xhtml and that in the near future epub will be available. Are >

Re: [NTG-context] unwanted with epub

2020-03-05 Thread Hans van der Meer
. > > dr. Hans van der Meer > On 3/3/2020 16:51, Hans van der Meer wrote: >> 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

[NTG-context] Unexpected EPUB Output

2013-09-03 Thread Thangalin
Hi, I ran the following commands: - context t.tex - mtxrun --script epub --make t.specification This produced the following code: http://www.w3.org/1998/Math/MathML"; date="Tue Sep 3 17:29:27 2013" xmlns:xhtml="http://www.w3.org/1999/xhtml"; file="t"

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

2014-03-11 Thread Wolfgang Schuster
tant][style=italic] or \definestartstop[important][style=italic] and use normal text \important{important text} normal text > And hey, can I bribe you to look into that issues? Some nice felt hats from > Kyrgyzstan perhaps? > > The ePub/export stuff is not in a workable state. I

[NTG-context] Can I do my next book in ConTeXt?

2014-04-28 Thread Gerben Wierda
is more text-oriented. Actually. I already have written larger parts of it using ConTeXt. Now I have to decide what to use for final production. I would like to finish this in ConTeXt but I would also like to possibly output EPUB. I preferably do not want to use InDesign anymore. Have work flows

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

2015-02-18 Thread Henning Hraban Ramm
Am 2015-02-18 um 04:37 schrieb Aditya Mahajan : > On Tue, 17 Feb 2015, Hans Hagen wrote: > >> Context outputs three varants: regular xml, xhtml, and stupified xhtml with >> div/class tagging. The last one is supposed to work on all devices as it >> doesn't demands anything beyond css. > > The

Re: [NTG-context] epub

2012-02-16 Thread Jörg Hagmann
I see. Could you send me your export-example.epub file? Thanks a lot, Jörg On Feb 16, 2012, at 2:17 PM, luigi scarso wrote: > On Thu, Feb 16, 2012 at 2:07 PM, Jörg Hagmann wrote: >> Thanks, Luigi. >> Is it not possible to run "mtxrun --script epub --make export-example&

Re: [NTG-context] epub

2012-02-16 Thread Jörg Hagmann
This discussion was continued privately (my mistake). A summary: Thanks for the file, Luigi -- getting closer. Two problems left: 1. I was using Calibre. Maybe I simply don't know how to use that programme. Whereas a free epub book downloaded from the net opens as it should, the

Re: [NTG-context] epub

2012-02-17 Thread Wolfgang Schuster
although I'd do the renaming on the final > xml tree. After all, with a proper css any xml file should render ok and I'd > rather stick to generic tagging. The html files do render in a browser but the epub files can’t be read on a ereader what makes the function useless for

Re: [NTG-context] \chapter{} vs \startchapter..\stopchapter

2012-11-09 Thread luigi scarso
of handling a chapter: >> >> The traditional \chapter{mytitle} >> >> \startchapter[title=mytitle, ownnumber=N ..] >> blah >> \stopchapter >> >> Is there any difference or advantage/disadvatage to using one >> method o

[NTG-context] Epub export css buglets

2020-01-06 Thread Rik Kabel
A couple of small issues with the css for epub output. First, back-exp.lua creates, in \jobname-styles.css @namespace context url('%namespace%') ; This should probably be: @namespace context url('http://www.pragma-ade.com/context/export') ; That file al

Re: [NTG-context] Custom XML Export

2015-09-12 Thread Toby Miller
'm >>> looking in the wrong place. >>> >>> I'll take your advice and not try to adapt the export system. Now >>> that I >>> can print tags at least I think XML transformation should be able to >>> deal with everything I need if it comes t

Re: [NTG-context] epub

2012-02-18 Thread luigi scarso
On Sat, Feb 18, 2012 at 9:25 AM, Hans Hagen wrote: > On 18-2-2012 08:17, Wolfgang Schuster wrote: > >> I would really prefer to use only html tags when a epub file is produced, >> now the files can be only viewed without problems in firefox (with the >> epubreader exte

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Jan U. Hasecke
sorry never tried this in an ebook. You can modify the css to achieve what is possible in xhtml, though. I have to confess that I never managed to create an ebook with context right aways. AFAIK, please correct me Hans, you end up with an epub folder not the compressed epub itself. I would gu

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
r > Betreff: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler? > > I have documents in LaTeX, and would like to generate XHTML (ePub) output > without going through an intermediate DVI or PDF step. > Markup to markup, translating or transpiling rather than typesetting. &g

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
ndet: Freitag, 10. September 2021 17:35 > An: ntg-context@ntg.nl > Cc: Maier, Denis Christian (UB) ; > hugo.fis...@gmail.com > Betreff: Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler? > > You may want to have a look at the lwarp package as an alternative to tex4ht. &

Re: [NTG-context] Different output formats

2011-08-15 Thread Cecil Westerhof
2011/8/15 Wolfgang Schuster > > I am writing a document for our client that has accepted to work with > ConTeXt. One of the things I want to mention is the different output > formats. I know PDF and xhtml and that in the near future epub will be > available. Are there others? (I

Re: [NTG-context] unwanted with epub

2020-03-04 Thread Rik Kabel
On 3/3/2020 16:51, Hans van der Meer wrote: 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 There are

Re: [NTG-context] Style file for iPad?

2012-03-07 Thread William Adams
ndering is based on HTML, people just grab a web browser framework and build on that to make an ebook viewer. Here's a post I wrote up once comparing a specific ePub display on a specific viewing program w/ a hand-tweaked Plain TeX version: http://www.mobileread.com/forums/showpost.php?

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

2021-11-23 Thread juh via ntg-context
-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 integr

Re: [NTG-context] Minimal code for exporting custom tags

2020-05-18 Thread Aditya Mahajan
On Tue, 19 May 2020, Aditya Mahajan wrote: On Mon, 18 May 2020, Aditya Mahajan wrote: Thanks! This also helped me find the documentation in hybrid.pdf. Also epub-mkiv.pdf. Not sure why I didn't think of looking there. How do I pass options so that the export is ... (or some varia

Re: [NTG-context] export breaks float placement

2018-03-04 Thread Alan Braslau
ost of my projects, e.g. lowres, > print res, imposed (arranged) and epub. > > But I insist it makes no sense that (epub) export breaks image > placement in the pdf. Why add another lengthy TeX run? > > > the more features we add to mtxrun the more complex it will become > &

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

2011-05-06 Thread Hans Hagen
s,css={whatever.css,somemore.css}] So, you can have dual output: pdf and xhtml. Normally the xml + css will do but if you also want interactivity then you need the xhtml option (adds some 'a' wrappers). I will also add an epub option for producing those epub zip files. I can send you

Re: [NTG-context] Epub export css buglets

2020-01-09 Thread Hans Hagen
On 1/6/2020 7:08 PM, Rik Kabel wrote: A couple of small issues with the css for epub output. First, back-exp.lua creates, in \jobname-styles.css @namespace context url('%namespace%') ; This should probably be: @namespace context url('http://www.pragma-ade.com/context/e

[NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hugh Fisher via ntg-context
I have documents in LaTeX, and would like to generate XHTML (ePub) output without going through an intermediate DVI or PDF step. Markup to markup, translating or transpiling rather than typesetting. My use case is that I have two tabletop gaming books, 60 - 80 pages of text and diagrams, written

[NTG-context] \setupbackend and manual hyphenation

2015-02-12 Thread Axel Kielhorn
Hi! I'm trying to use Context to export a document to epub. Following the instructions on Contextgarden everything works up to a point: When I add manual hyphenation for the word "Trennalgorithmus" and \setupbackend[export=yes,xhtml=yes] I get: lua error > error on line

[NTG-context] ConTeXt vs. LaTeX -> XML/MathML -> XHTML/SVG/PNG -> ePub

2010-08-02 Thread Grant W. Petty
future books, as documents that can be both printed as professional-quality bound textbooks as well as distributed as e-books -- for example ePub format and/or XHTML. The principle technical hurdle seems to be posed by the heavy use of mathematical equations. I want the math in the electronic ve

Re: [NTG-context] MOving from MkII to MkIV / EPUB

2013-06-14 Thread Aditya Mahajan
s attached below. I use "texexec --pdf" and probably ConTeXt MkII from the MacTeX 2012 distribution. I'd like to make an EPUB from this book as well. I suspect that means going over to LuaTeX/MkIV and doing extra stuff. I got lost in the ConTeXt documentation (for as much as t

Re: [NTG-context] E-books and XML.

2014-09-13 Thread Henning Hraban Ramm
Am 2014-09-07 um 15:35 schrieb Hans Hagen : > On 9/6/2014 1:04 PM, Hans Hagen wrote: >> Hi, >> >> An update: >> >> mtxrun --script mtx-epub --make somefile >> >> now makes an epub 3.0 container ... at least my example is accepted by >>

[NTG-context] new beta

2014-09-25 Thread Hans Hagen
Hi, the first beta after the meeting: There are some changes to export and epub generation (will be explained in a manual). The most important is that there has been some improvements of the math export (esp fences and stackers). More will follow. The export now happens in a subpath. The

Re: [NTG-context] context -> docx ??

2015-01-14 Thread Pablo Rodriguez
On 01/14/2015 06:55 PM, Alan BRASLAU wrote: > Using ConTeXt (not emacs, markdown, or other such things...) you can > indeed export to xml, xhtml, and create epub files. > [...] > The xhtml file can be read in a browser. > (some tools seem to have problem with the hyphen=yes option

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

2011-05-06 Thread Aditya Mahajan
xhtml=whatever.xhtml] \setupbackend[export=yes,css={whatever.css,somemore.css}] Ah, thanks. So, you can have dual output: pdf and xhtml. Normally the xml + css will do but if you also want interactivity then you need the xhtml option (adds some 'a' wrappers). I will also add an epub optio

Re: [NTG-context] Different output formats

2011-08-15 Thread Henning Hraban Ramm
Am 2011-08-15 um 12:18 schrieb Cecil Westerhof: 2011/8/15 Wolfgang Schuster > I am writing a document for our client that has accepted to work with ConTeXt. One of the things I want to mention is the different output formats. I know PDF and xhtml and that in the near future epub will

Re: [NTG-context] mtx-epub.lua

2012-06-04 Thread Hans Hagen
,epubfile,"META-INF")) os.execute(format(zipper.compressed,epubfile,"OPS")) done = zipper.name break end end lfs.chdir("..") if done then application.report("epub archive mad

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

2011-02-18 Thread Daniel Lyons
On Thu, Feb 17, 2011 at 06:43:43PM -0800, 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

Re: [NTG-context] context -> docx ??

2015-01-17 Thread Idris Samawi Hamid ادريس سماوي حامد
think this is the wrong way to go. Mainly because conversion to ConTeXt doesn’t rettain language information and special attributes. I had to edit the ConTeXt source to add the missing features. Similar experience here; see below. But even the conversion to epub had issues, especially in getting

Re: [NTG-context] ConTeXt vs. LaTeX -> XML/MathML -> XHTML/SVG/PNG -> ePub

2010-08-02 Thread Aditya Mahajan
sting books, as well as future books, as documents that can be both printed as professional-quality bound textbooks as well as distributed as e-books -- for example ePub format and/or XHTML. The principle technical hurdle seems to be posed by the heavy use of mathematical equations. I want the ma

Re: [NTG-context] E-books and XML.

2014-08-27 Thread Hans Hagen
On 8/27/2014 9:02 AM, Henning Hraban Ramm wrote: Am 2014-08-26 um 23:29 schrieb Hans Hagen : On 8/26/2014 7:08 PM, Henning Hraban Ramm wrote: Creating ePub from ConTeXt is still tedious - you need to tag everything (even paragraphs) with \start/\stop, the resulting export.xml is still

Re: [NTG-context] context -> docx ??

2015-01-20 Thread Pablo Rodriguez
On 01/17/2015 10:06 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > On Sat, 17 Jan 2015 13:32:07 -0700, Pablo Rodriguez wrote: >> [...] >> Sorry, what was wrong in the conversion to ePub? > > Just getting a simple copyright page prior to the TOC page was a pain. I >

Re: [NTG-context] epub

2012-02-20 Thread George N. White III
express a concept that could be more accurately conveyed by a simple equation. I suppose it is time to start collecting examples of epub docs with maths and filing bugs against readers that don't handle them properly. -- George N. White III Head of St. Margarets Bay, Nova Scotia

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-13 Thread Saša Janiška
about it and found something: http://docbook.org/schemas/5x-custom.html#slides > But this approach allows me to generate (with pandoc) PDF and ePub > documents from exactly the same source. I only need to write the style > files for each. That was suggested to me at the beginning of y

Re: [NTG-context] problems with XML export

2017-11-11 Thread Pablo Rodriguez
On 11/11/2017 06:30 PM, Henning Hraban Ramm wrote: > Here are a few problems that I encountered in my current ePub projects: > > * \color[]{} leaves no trace in export. Hi Hraban, this works with PDF, it should work with ePub: \definehighlight[read][color=red, style=\sc] \

[NTG-context] MOving from MkII to MkIV / EPUB

2013-06-14 Thread Gerben Wierda
f" and probably ConTeXt MkII from the MacTeX 2012 distribution. I'd like to make an EPUB from this book as well. I suspect that means going over to LuaTeX/MkIV and doing extra stuff. I got lost in the ConTeXt documentation (for as much as there is, old and new) and would appreciate an

Re: [NTG-context] epub

2012-02-17 Thread Hans Hagen
add a remapper although I'd do the renaming on the final xml tree. After all, with a proper css any xml file should render ok and I'd rather stick to generic tagging. The html files do render in a browser but the epub files can’t be read on a ereader what makes the function useless for m

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 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] Minimal code for exporting custom tags

2020-05-18 Thread Aditya Mahajan
On Mon, 18 May 2020, Aditya Mahajan wrote: Thanks! This also helped me find the documentation in hybrid.pdf. Also epub-mkiv.pdf. Not sure why I didn't think of looking there. How do I pass options so that the export is ... (or some variant of that). I thought that \startelement[myco

Re: [NTG-context] export breaks float placement

2018-03-04 Thread Henning Hraban Ramm
> write a script that moves the PDF to a safe place, etc. but this is not >> ideal. > normally you will run like "context --mode=export --result=myexport" or so > where you wrap settings specific to an export in modes I (can) run several "results" for most of my pro

[NTG-context] Fundraising for MathML in Gecko/WebKit and EPUB (less than one day left)

2014-01-30 Thread Mojca Miklavec
ank you > > Dear all, > > Two months ago, I started a fundraising campaign to help MathML developments > in Gecko/WebKit as well as producing some sample EPUB documents for science. I > was not sure at all whether it would work, but thanks to your support I have > finally been able

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

2015-01-20 Thread Henning Hraban Ramm
expanded within \settaggedmetadata ? >> * Can I influence the directory/file names of the export from within the >> source? >> E.g. if I compile „minimal.tex“, I get minimal-export and minimal-epub >> The —result switch doesn’t change anything. > > hm, honoring --re

Re: [NTG-context] Epub export css buglets

2020-01-10 Thread Rik Kabel
On 1/9/2020 11:25, Hans Hagen wrote: On 1/6/2020 7:08 PM, Rik Kabel wrote: A couple of small issues with the css for epub output. First, back-exp.lua creates, in \jobname-styles.css     @namespace context url('%namespace%') ; This should probably be:     @namespace context

Re: [NTG-context] unwanted with epub

2020-03-05 Thread Hans van der Meer
Found the cause in my case: a \penalty0 statement. dr. Hans van der Meer > On 5 Mar 2020, at 03:08, Rik Kabel wrote: > > > > On 3/3/2020 16:51, Hans van der Meer wrote: >> In producing epub s are appearing (on the -raw.xml file) that are >> unwanted and seem

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

2014-03-11 Thread Thangalin
Hi, Hraban. Here is the thread from last year for your reference: https://www.mail-archive.com/ntg-context@ntg.nl/msg71376.html ___ If your question is of interest to others as well, please add an entry to the Wiki!

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

2011-05-09 Thread Reviczky, Adam
> Do you set a value for the xhtml key? Yeah, I figured that out now, epub is generated now, still playing with it, trying with calibre .. Thanks ___ If your question is of interest to others as well, please add

[NTG-context] Does EPUB output require mkiv?

2014-11-24 Thread Gerben Wierda
It seems that \setupbackend does not work in mkii (I’ve put it into the environmentfile). Is indeed mkiv required? If so, is there an instruction somewhere how to move from mkii to mkiv? G ___ If your question is of

<    1   2   3   4   5   >