Re: [NTG-context] export breaks float placement

2018-03-03 Thread Henning Hraban Ramm
lowly recovering from the flu... So, this is already known. But if there’s indeed such reasoning behind, it really makes no sense at all! Even if Hans’ workflow is not capable of right or left placement, it’s easily achievable in HTML/ePub (CSS float: left/right), so it can’t generally be meanin

Re: [NTG-context] Processing XML file inside a zip file

2019-01-10 Thread Aditya Mahajan
filename.zip You can directly typeset ePub files which is just zipped XML. There is a script in mtxrun for it: context --ctx=x-epub.ctx yourfile.epub Documented in: http://www.pragma-ade.nl/general/manuals/hybrid.pdf Thanks. But I could not find `x-epub.ctx` file in the standalone

Re: [NTG-context] Processing XML file inside a zip file

2019-01-10 Thread Henri Menke
am wondering if there is a way that I can just call > > context --magic-flags filename.zip You can directly typeset ePub files which is just zipped XML. There is a script in mtxrun for it: context --ctx=x-epub.ctx yourfile.epub Documented in: http://www.pragma-ade.nl/general

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Denis Maier
em to currently exist > > Have a look at Pablos way to go from pandoc via xhtml to context: > > https://github.com/ousia/from-pandoc-to-context > > Or a slightly improved fork: > https://github.com/aksdb/pandoc-xhtml > > I use this to write books with Markdown and p

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Nicola
On 2019-12-10, Hans Hagen wrote: > On 12/9/2019 10:13 PM, Nicola wrote: >> What is the current status of epub support in ConTeXt? >> >> I have never followed ConTeXt's development on the XML front too >> closely, but recently I have been asked to help forma

Re: [NTG-context] PDF viewer poll

2019-10-16 Thread luigi scarso
> > mupdf started simple but I think it also grew in a weird > direction (large codebase, some reflow I think, a strange epub > substandard support, etc .. all pretty useless to me and I'm not sure > how optional it it ... so no longer as lightweight as it could be ...) > m

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-09 Thread Nicola
On 2019-12-10, Jan U. Hasecke wrote: > Am 09.12.19 um 22:13 schrieb Nicola: >> What is the current status of epub support in ConTeXt? >> >> I have never followed ConTeXt's development on the XML front too >> closely, but recently I have been asked to help forma

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Hans Hagen
On 12/9/2019 10:13 PM, Nicola wrote: What is the current status of epub support in ConTeXt? I have never followed ConTeXt's development on the XML front too closely, but recently I have been asked to help format a text-only manuscript for publishing on platforms such as Kindle or Apple Books

[NTG-context] ePub issues: XML structure

2020-03-03 Thread Henning Hraban Ramm
Not only Hans van der Meer is producing (or trying to produce) ePubs at the moment; I reviewed my XSLT workflow (https://wiki.contextgarden.net/Epub_Sample) since my publisher colleagues and our distributor aren’t happy about just publishing PDFs as eBooks. While the first book in a series of

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

2020-03-04 Thread Hans Hagen
On 3/4/2020 10:31 AM, luigi scarso wrote: On Wed, Mar 4, 2020 at 9:51 AM Hans Hagen > wrote: (in the meantime i actually gave away my ebook reader ... now i wait till color shows up in e-ink which might give me a reason to play a bit more)

Re: [NTG-context] ePub issues: XML structure

2020-03-06 Thread Henning Hraban Ramm
> Am 2020-03-04 um 07:55 schrieb Henning Hraban Ramm : > > While the first book in a series of four is now ready with a lot of manual > corrections, in the second one the XML structure is messed up: the chapter > title structure comes only after the chapter content, and index entry tags > are

Re: [NTG-context] Epub export css buglets

2020-01-17 Thread Rik Kabel
On 1/10/2020 10:59, Rik Kabel wrote: Here ya go, about as minimal as I can imagine: \setupbackend [export=yes] \setupexport [] \starttext ! \stoptext and in the resulting export styles directory, I get: g:\yoiks-export\styles>grep

Re: [NTG-context] ePub issues: XML structure

2020-03-12 Thread Henning Hraban Ramm
> Am 2020-03-11 um 22:42 schrieb Axel Kielhorn : > >> Am 11.03.2020 um 20:59 schrieb Henning Hraban Ramm : >> >> Hi Axel, >> will I meet you by chance at the DANTE in Lübeck? >> >> In that case it would be nice if you could assist me with my "ConTeXt for >> beginners workshop" to tell

Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Henning Hraban Ramm
text and I think the structure too > so that it was beyond my knowledge to generate a general style file for > all texts. And it’s probably impossible. Like with HTML and ePub export, the mapping of structures is very individual. Best, Hraban __

Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-15 Thread luigi scarso
lled. > > Does anyone know of a minimalistic mupdf based pdf viewer that has a > decent gui but not all this (semi) epub, xps, reflow, etc stuff on > board? Just the mupdf pdf core. > perhaps the mupdf

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

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:49 PM, Hugh Fisher via ntg-context wrote: It may be unfair, but my impression is that TeX and typesetting / layout systems based on TeX can do more interesting things than say XML or Sphinx. Moving to a more "universal" markup format might broaden my options, but I don't want a

[NTG-context] Few quick questions

2022-03-08 Thread Christoph Hintermüller via ntg-context
Hi I'm still stuck with also providing my lecture notes as epub in addtion to its PDF version. The last year, when I tried figure what is wrong, Hans indicated a tool, a program, which allows to verify that that all start* stop* tag pairs are symmetric and placed in correct order. I just cant

Re: [NTG-context] man pages for ConTeXt: looking for volunteers

2013-03-26 Thread Sietse Brouwer
mtx-epub mtx-patterns mtx-update mtx-fcd mtx-pdfmtx-watch --Sietse On 26 March 2013 10:38, Hans Hagen pra...@wxs.nl wrote: On 3/26/2013 1:15 AM, Sietse Brouwer wrote: Sietse wrote: 5. Lastly, I think it would be good to include a standard SEE ALSO block at the end of each

[NTG-context] Indenting / small paper size / strange paragraph cutting

2008-07-26 Thread Olivier Guéry
to use .epub files. It's a realy good news : this is an open-source format ! A chance for us to avoid the mp3 mess. I hope context can be used to produce them one time. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com

Re: [NTG-context] ConTeXt on the Mac (TexShop). Problem of a newbie

2013-01-11 Thread Meigen, Thomas
-use components. Other aspects are - different modes (presentation, handout, manuscript) - poster production - nice graphics/animation via pstricks or metapost - export to other formats (when writing articles many journals in my field do not accept .tex-files) - export to epub/mobi format. I

Re: [NTG-context] Typesetting LibreOffice (ODT) documents with ConTeXt

2013-01-30 Thread Bill Meahan
the conversions to mobi, epub, fb2 and pdf themselves even if I can do a better job. Plus, most of my writer friends work in word processors which means that it is far easier to exchange manuscripts for proofing feedback is via the (ugh) .doc file. Best wishes Idris -- Bill Meahan Westland

Re: [NTG-context] reStructuredText module

2013-03-11 Thread Philipp Gesang
development before Lua became popular and never bothered to learn it. Assembler, FORTRAN, C, SQL, PL/SQL, Perl I know or knew, Lua I do not. :) I use these directives heavily and pandoc ignores them so I'm beginning to think I have a problem generating EPUB + ConTeXt + HTML(5) versions

Re: [NTG-context] [***SPAM***] Textile

2013-11-19 Thread Mica Semrick
Textile markup analogous to the filters for Markdown and reStructuredText? I tried using Pandoc to provide multiple formats of output (ConTeXt, EPUB, MS Word) from a common source but Pandoc is excessively tied to Markdown which does not understand the difference between emphasized text

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 is pretty

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

2014-08-28 Thread Hans Hagen
as a class can have multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) Hans

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

2014-08-28 Thread Hans Hagen
multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) Ok, I don’t care, will continue to use the XML. Next

Re: [NTG-context] \startitem and \startparagraph

2014-10-17 Thread Hans Hagen
On 10/17/2014 3:02 AM, Rik Kabel wrote: What is the proper way to delimit paragraphs within an itemized list using \start..\stop tagging (as for epub and such)? When I wrap paragraphs with \startparagraph..\stopparagraph within the \startitem..\stopitem, there is an unwanted newline inserted

Re: [NTG-context] \startitem and \startparagraph

2014-10-18 Thread Wolfgang Schuster
Am 17.10.2014 um 17:11 schrieb Rik Kabel cont...@rik.users.panix.com: On 2014-10-17 03:50, Hans Hagen wrote: On 10/17/2014 3:02 AM, Rik Kabel wrote: What is the proper way to delimit paragraphs within an itemized list using \start..\stop tagging (as for epub and such)? When I wrap

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

2015-01-14 Thread Pablo Rodriguez
it with an environment. Otherwise, updating the source is not straightforward (either you have two sources: markdown and ConTeXt). Why do you prefer to avoid markdown as a source document format? Now it's been a while since I've experimented with ConTeXt and epub. From lightly perusing the list it seems

Re: [NTG-context] Issues in export

2015-01-20 Thread Henning Hraban Ramm
' and again something generic it's probably no big deal to provide the crosslinked reference between the items but that would then not be '1' because there can be many 1's. Just collect such wishes and i can look at it when i'm in epub mode again. Visual might be ok, but please leave out „hard

Re: [NTG-context] Issues in export

2015-01-19 Thread Hans Hagen
it as such and even then it would be 'note' and again something generic it's probably no big deal to provide the crosslinked reference between the items but that would then not be '1' because there can be many 1's. Just collect such wishes and i can look at it when i'm in epub mode again. Quothdiv

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-21 Thread Keith J. Schultz
to be able to export it to a format that can be a start for other distributions (such as epub or the like). For this, I get the impression I need mkiv. Now, before I go on trying to move my project to mkiv I have a question. Can I run mkii and mkiv side by side? That is, if I configure my TeX setup

Re: [NTG-context] Feature request for export: Interactive Notes

2015-04-24 Thread Idris Samawi Hamid ادريس سماوي حامد
supported: If so, it would be much appreciated if someone kindly explained how to do it. In a web post (or epub), one wants to be able to interact back and forth with notes. Here is how markdown (extra) does it: Input That's some text with a footnote.[^1] [^1

[NTG-context] Feature request for export: Interactive Notes

2015-04-24 Thread Idris Samawi Hamid ادريس سماوي حامد
article to xhtml and WP) in a future article for one of the TeX journals... There is at least one crucial feature that's still needed. Perhaps it is already supported: If so, it would be much appreciated if someone kindly explained how to do it. In a web post (or epub), one wants to be able

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

2016-10-13 Thread Pablo Rodriguez
gt; covnersion from DocBook to ConTexT eliminates need for them. My personal experience/experiment is http://www.from-pandoc-to-context.tk. It shows that I still have to learn a lot of ConTeXt ;-). But this approach allows me to generate (with pandoc) PDF and ePub documents from exactly the same source.

Re: [NTG-context] problems with XML export

2017-11-12 Thread Pablo Rodriguez
eady knows about page > breaks, doesn’t it? You are right. I have almost no experience generating ePubs with ConTeXt (trying your sample was one of my first attempts to generate an ePub document with ConTeXt [I use pandoc for that]). >> [...] >> Try the approach proposed above.

[NTG-context] Epub broken

2018-07-04 Thread Rik Kabel
The following example fails with recent betas, but not with TL18: \setupinteraction [state=start] \setuptagging [state=start] \setupbackend [export=yes,xhtml=yes] \setupexport [title={Title}] \setupstructure [state=start] \starttext

Re: [NTG-context] ePub issues: XML structure

2020-03-04 Thread Hans Hagen
On 3/4/2020 7:55 AM, Henning Hraban Ramm wrote: Not only Hans van der Meer is producing (or trying to produce) ePubs at the moment; I reviewed my XSLT workflow (https://wiki.contextgarden.net/Epub_Sample) since my publisher colleagues and our distributor aren’t happy about just publishing

Re: [NTG-context] xhtml export internal command \dostarttaging modify display and other XML/XHTML attributes

2020-04-08 Thread Christoph Hintermüller
Hi On Sun, 2020-04-05 at 15:56 +0200, Christoph Hintermüller wrote: > Hi > I'm helping to make t-vim module fully usable in xhtml and futher > epub > export. Getting a distingct tag for the individual lines was quiet > easy > to do using \dostarttagged and \dostoptagged inter

Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-15 Thread Hans Hagen
(also old) acrobat and browsers do fine as does an old windows okular I have installed. Does anyone know of a minimalistic mupdf based pdf viewer that has a decent gui but not all this (semi) epub, xps, reflow, etc stuff on board? Just the mupdf pdf core. perhaps the mupdf

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

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:19 PM, Hugh Fisher wrote: On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: [ munch ] in this area there is nothing in luametatex that luatex can't do As in my earlier reply, I'm thinking about replacing Adobe Illustrator with Metapost, and LuaMetaTEX seems to have better

[NTG-context] Few quick questions

2022-03-08 Thread Christoph Hintermüller via ntg-context
Hi I'm still stuck with also providing my lecture notes as epub in addtion to its PDF version. The last year, when I tried figure what is wrong, Hans indicated a tool, a program, which allows to verify that that all start* stop* tag pairs are symmetric and placed in correct order. I just cant

Re: [NTG-context] ConTeXt on the Mac (TexShop). Problem of a newbie

2013-01-11 Thread Khaled Hosny
/animation via pstricks or metapost - export to other formats (when writing articles many journals in my field do not accept .tex-files) - export to epub/mobi format. I enjoy reading mobile versions of my own texts and of the texts my students give me for review. - import from Scrivener

Re: [NTG-context] ConTeXt on the Mac (TexShop). Problem of a newbie

2013-01-11 Thread Hans Hagen
or metapost mp is rather tightly integrated - export to other formats (when writing articles many journals in my field do not accept .tex-files) depends on the format .. there is an xml export (still experimental but on the average good enough) - export to epub/mobi format. I enjoy reading mobile

Re: [NTG-context] man pages for ConTeXt: looking for volunteers

2013-03-25 Thread Sietse Brouwer
=mtx-epubCreate ePub zip file/seealso seealso name=mtx-fcdConvenience script for fast directory-changing/seealso seealso name=mtx-flacCollect Flac albums in XML file/seealso seealso name=mtx-fontsInspect and manage the ConTeXt font database/seealso seealso name=mtx-grepA simple Lua-based grep

Re: [NTG-context] man pages for ConTeXt: looking for volunteers

2013-03-26 Thread Hans Hagen
table for a file/seealso seealso name=mtx-context (See `context`)/seealso seealso name=mtx-epubCreate ePub zip file/seealso seealso name=mtx-fcdConvenience script for fast directory-changing/seealso seealso name=mtx-flacCollect Flac albums in XML file/seealso seealso name=mtx

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

2014-08-28 Thread Hans Hagen
multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) Ok, I don’t care, will continue to use the XML. Next

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

2014-08-28 Thread Hans Hagen
multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) Ok, I don’t care, will continue to use the XML. Next

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

2020-03-01 Thread Christoph Hintermüller
Hi Hans [Inline Response to message by Hans Hagen, Fr, 2020-02-28 22:39 +0100: Answers and comments below corresponding cited paragraphs.] > It depends a bit. One can for instance make the mp images > independent > (include mp code from a file) and then also make small independent > pdf > files

Re: [NTG-context] xhtml export internal command \dostarttaging modify display and other XML/XHTML attributes

2020-04-10 Thread Christoph Hintermüller
ififcs. Of course I can make some aspects better but i > never > needed epub so far. There is no need to keep track, otherwise the modules and user stuff would be senseless. It is up to them to keep track of their specialities. > > Then, given an export, one can use xslt or whatev

Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-15 Thread Hans Hagen
an fonts have hugee bboxes); (also old) acrobat and browsers do fine as does an old windows okular I have installed. Does anyone know of a minimalistic mupdf based pdf viewer that has a decent gui but not all this (semi) epub, xps, reflow, etc stuff on board? Just the mupdf pdf core. #!/bin/ba

Re: [NTG-context] Critical editions with ConTeXt

2012-07-23 Thread Thomas A. Schmitz
information is the way to workaround these issues. But I wonder how this is really helpful in practice. Sorry, but I'm afraid I'm a bit skeptical about this. Probably I'm wrong, but I think it will take some time before having an ePub file containing the electronic version of a critical edition

Re: [NTG-context] roadmap

2018-05-14 Thread Hans Hagen
rently there are options missing for code before/after the list of pages These hooks were added; adding a few more hooks is normally no big deal ... the main problem with such additions is that they seldom get documented (in fact that imo is also a it up to the one requesting such features).

Re: [NTG-context] texdoc in ConTeXt standalone

2018-04-04 Thread Hans Hagen
context/tex/texmf-context/doc/context/documents/general/manuals mtxrun | 3: colors-mkiv.pdf c:/data/develop/tex-context/tex/texmf-context/doc/context/documents/general/manuals mtxrun | 4: epub-mkiv.pdf c:/data/develop/tex-context/tex/texmf-context/doc/context/documents/

Re: [NTG-context] Critical editions with ConTeXt

2012-07-22 Thread Pablo Rodríguez
about this. Probably I'm wrong, but I think it will take some time before having an ePub file containing the electronic version of a critical edition. Just in case it might help, Pablo -- http://www.ousia.tk

Re: [NTG-context] announcement and call

2013-11-16 Thread Keith J. Schultz
(mainly HTML 5 for epub and mobi output) and mapping those commands back to the ConTeXt commands for the production of pdfs if needed. Early, in my education in Computer Linguistics, decades ago, we had project where we wrote a program for entry of critical editions. The editions/texts

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-22 Thread Hans Hagen
) is not an option. And as explained in the sample code above, I have only a 15-inch screen. actually i wonder if screens need to be huge ... small high res screens are quite readable (i consider reading pdf on a small phone a no-go whatever scaling gets applied and i expect epub like devices

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-17 Thread Jan Ulrich Hasecke via ntg-context
pdf is built with: ./build foo A project can have multiple documents. A project eg. are business reports or factsheets. As we use Pandoc we could create HTML and EPUB files as well, but currently we use Hugo to create HTML files. As I am not a programmer the biggest task are lua scripts

[NTG-context] Exporting highlights

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Ok, I'm rolling up my sleeves and taking another stab at exporting to xhtml (maybe even epub). Major project, so taking this one small step at a time. The immediate aim is to get correct output in a browser (I use Opera, and Chrome as a control). Test files attached

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-23 Thread Hans Hagen
are quite readable (i consider reading pdf on a small phone a no-go whatever scaling gets applied and i expect epub like devices eventually to get the same quality as paper) Well, A4 pages aren’t readable on a 15-inch screen (that is very common in laptops). I would say, no matter which resolution it has

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-22 Thread Pablo Rodriguez
eXt. And in many scenarios, having a screen version (different >> from the print version) is not an option. And as explained in the >> sample code above, I have only a 15-inch screen. > > actually i wonder if screens need to be huge ... small high res screens > are quite readable (i co

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Hans Hagen
k it also grew in a weird direction (large codebase, some reflow I think, a strange epub substandard support, etc .. all pretty useless to me and I'm not sure how optional it it ... so no longer as lightweight as it could be ...) When developing pdf specific code (like last months) I do use acrobat read

<    1   2   3   4   5