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 normal PDF)?

Re: [NTG-context] Parsing HTML entities

2011-02-17 Thread Hans Hagen
On 17-2-2011 1:06, Khaled Hosny wrote: Is there built-in support to parse HTML entities, I've some vague memory about it but I don't seem to find much useful results. you mean that whatever; in the tex input gets translated automatically?

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

2011-02-17 Thread Daniel Lyons
On Feb 17, 2011, at 12:59 AM, Hans Hagen wrote: 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

[NTG-context] drop-cap quote character

2011-02-17 Thread Daniel Lyons
Ideally, \DropCap would notice a piece of leading punctuation and drop it as well. Instead, it seems to look at the punctuation and give up. Example: \def\Drop {\DroppedCaps {} {Serif} {4\baselineskip} {2pt} {2\baselineskip} {3}} \starttext {\Drop A} \input knuth \page {\Drop “A} \input

Re: [NTG-context] set-/finishregisterentry is killed

2011-02-17 Thread Steffen Wolfrum
Am 14.02.2011 um 11:24 schrieb Steffen Wolfrum: Hi, in current beta (2011.02.11 18:18 MKIV) set-/finishregisterentry is killed: Empty pagenumbers only! Please run attached example. Steffen --- \placeindex[method=first,criterium=all,compress=yes] \starttext

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

2011-02-17 Thread Hans Hagen
On 17-2-2011 9:10, Daniel Lyons wrote: ePub is definitely structured. I would say too structured, since it makes you provide both a ToC manifest and a navigation manifest that necessarily must include almost identical information ;) Of course, depending on a simplified browser for your

Re: [NTG-context] What is preloaded by “mtxrun --script”?

2011-02-17 Thread Philipp Gesang
On 2011-02-16 23:59:15, Hans Hagen wrote: On 16-2-2011 11:44, Philipp Gesang wrote: Hi all, I noticed that although mtxrun preloads some of the context libs that doesn’t cover everything available during an ordinary mkiv run. What would be the canonical way to load additional libs like

Re: [NTG-context] Parsing HTML entities

2011-02-17 Thread Khaled Hosny
On Thu, Feb 17, 2011 at 09:00:45AM +0100, Hans Hagen wrote: On 17-2-2011 1:06, Khaled Hosny wrote: Is there built-in support to parse HTML entities, I've some vague memory about it but I don't seem to find much useful results. you mean that whatever; in the tex input gets translated

Re: [NTG-context] Parsing HTML entities

2011-02-17 Thread luigi scarso
On Thu, Feb 17, 2011 at 11:37 AM, Khaled Hosny khaledho...@eglug.org wrote: On Thu, Feb 17, 2011 at 09:00:45AM +0100, Hans Hagen wrote: On 17-2-2011 1:06, Khaled Hosny wrote: Is there built-in support to parse HTML entities, I've some vague memory about it but I don't seem to find much useful

Re: [NTG-context] Parsing HTML entities

2011-02-17 Thread Taco Hoekwater
On 02/17/11 11:37, Khaled Hosny wrote: On Thu, Feb 17, 2011 at 09:00:45AM +0100, Hans Hagen wrote: On 17-2-2011 1:06, Khaled Hosny wrote: Is there built-in support to parse HTML entities, I've some vague memory about it but I don't seem to find much useful results. you mean that whatever;

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

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

[NTG-context] bug in \definestructureconversionset[footnote] ?

2011-02-17 Thread Steffen Wolfrum
Friends, todays current beta (20110211) writes number in front of the actual footnote number! Please run example below: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers]

Re: [NTG-context] HTML-like title attribute

2011-02-17 Thread Khaled Hosny
On Thu, Feb 17, 2011 at 05:33:09AM +0100, Wolfgang Schuster wrote: Am 17.02.2011 um 01:08 schrieb Khaled Hosny: The link https://github.com/jgm/lunamark :) How about making something like this: https://bitbucket.org/phg/context-rst I'm just playing, I actually have no need for

Re: [NTG-context] HTML-like title attribute

2011-02-17 Thread Khaled Hosny
On Thu, Feb 17, 2011 at 01:22:28PM +0200, Khaled Hosny wrote: On Thu, Feb 17, 2011 at 05:33:09AM +0100, Wolfgang Schuster wrote: Am 17.02.2011 um 01:08 schrieb Khaled Hosny: The link https://github.com/jgm/lunamark :) How about making something like this:

Re: [NTG-context] \setupalign[hz,hanging] breaks verbatim text

2011-02-17 Thread C.
C:\ConTeXt\texcontext --version mtx-context | main context file: C:/ConTeXt/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2011.02.16 19:30 -Ursprüngliche Nachricht- Von: Hans Hagen [mailto:pra...@wxs.nl] Gesendet: Donnerstag, 17. Februar 2011

Re: [NTG-context] HTML-like title attribute

2011-02-17 Thread Wolfgang Schuster
Am 17.02.2011 um 12:25 schrieb Khaled Hosny: On Thu, Feb 17, 2011 at 01:22:28PM +0200, Khaled Hosny wrote: On Thu, Feb 17, 2011 at 05:33:09AM +0100, Wolfgang Schuster wrote: Am 17.02.2011 um 01:08 schrieb Khaled Hosny: The link https://github.com/jgm/lunamark :) How about

Re: [NTG-context] \setupalign[hz,hanging] breaks verbatim text

2011-02-17 Thread Hans Hagen
On 17-2-2011 2:16, C. wrote: C:\ConTeXt\texcontext --version mtx-context | main context file: C:/ConTeXt/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2011.02.16 19:30 that's new enough so you need to come up with an example that does fails at wolgangs

[NTG-context] Creating documentation from source-files

2011-02-17 Thread Willi Egger
Hi, I do still struggle with the creation of documentation derived from a source file. I tis quite difficult to nail down the hicking point. When I run context --ctx=s-mod test.tex I get the following error: pagesflushing realpage 4, userpage 2 structuresectioning subject

Re: [NTG-context] Creating documentation from source-files

2011-02-17 Thread Wolfgang Schuster
Am 17.02.2011 um 17:56 schrieb Willi Egger: Hi, I do still struggle with the creation of documentation derived from a source file. I tis quite difficult to nail down the hicking point. It’s very easy to produce a minimal example, this fails \starttext \externalfigure[Test] \stoptext

[NTG-context] Buffers can’t be loaded as figure

2011-02-17 Thread Wolfgang Schuster
Hi Hans, buffers in \externalfigure are broken. \startbuffer[foo] FOO \stopbuffer \starttext \externalfigure[foo][type=buffer] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an

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

2011-02-17 Thread William Adams
On Feb 17, 2011, at 5:48 AM, Gerben Wierda wrote: Ugh. Yes, that clearly shows that the seemingly conceptual items like H1, H3 are in fact used as graphical elements. Interesting to see how that then ends up in a table of contents for instance. Say rather that what should be formal markup

[NTG-context] Format of included PNG images

2011-02-17 Thread Marco
Hi, I read that most programs convert PNG images to JPEG images while creating PDF files. Is this also true for ConTeXt/LuaTeX? What happens when PNG images are included? Regards Marco ___ If your question is of

Re: [NTG-context] Format of included PNG images

2011-02-17 Thread luigi scarso
On Thu, Feb 17, 2011 at 8:39 PM, Marco net...@lavabit.com wrote: Hi, I read that most programs convert PNG images to JPEG images while creating PDF files. hm, are you sure ? Is this also true for ConTeXt/LuaTeX? no What happens when PNG images are included? they are included and stop. --

Re: [NTG-context] Format of included PNG images

2011-02-17 Thread William Adams
On Feb 17, 2011, at 2:39 PM, Marco wrote: I read that most programs convert PNG images to JPEG images while creating PDF files. The only time this will (or should) happen w/ any program is when creating a .pdf w/ a specification which sets pixel images to use compression JPEG compression. I

Re: [NTG-context] Format of included PNG images

2011-02-17 Thread Marco
I read that most programs convert PNG images to JPEG images while creating PDF files. hm, are you sure ? Is this also true for ConTeXt/LuaTeX? no What happens when PNG images are included? they are included and stop. Thanks. Marco

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