ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Asciidoc --> ConTeXt for presentations
Date: Fri, 14 Oct 2016 10:10:23 +0200	[thread overview]
Message-ID: <d1c22b8c-868d-d53f-a4d9-528e62927576@wxs.nl> (raw)
In-Reply-To: <878ttr7vme.fsf@atmarama.com>

On 10/14/2016 12:05 AM, Saša Janiška wrote:
> Pablo Rodriguez <oinos@gmx.es> writes:
>
>> What you can achieve is:
>>
>>     AsciiDoc -> HTML -> PDF generated by ConTeXt
>>
>> If the conversion to HTML is fine, you even avoid the conversion to
>> ConTeXt input format (and you might be very close to parse AsciiDoc
>> sources with ConTeXt).
>
> Hmm…that’s quite new idea for me and it needs some practical testing. ;)

Before we started with context we uses ascii based markup (i still have 
printouts of the code used for pagination, figure placement, tocs around 
somewhere) ... but as the input becomes more complex it makes no sense 
any more to use such formats and tex (or nowadays xml) starts looking 
clean and simple in comparison

writing an asciidoc parser that directly maps to context is not that 
hard but i'd probably quickly start asking myself: why ... esp when the 
extras are to be dealt with:

[[terms]]
[glossary]
List of Terms
-------------

["glossary",id="terms"]
List of Terms
-------------

[template="glossary",id="terms"]
List of Terms
-------------

where

\startglossary[reference=terms,title={List of Terms}]

is not that more coding. Anyway, using some asciidoc (should be utfdoc i 
guess) converted to some kind of xml is probably the easiest to deal with.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-10-14  8:10 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-13 10:35 Saša Janiška
2016-10-13 18:06 ` Pablo Rodriguez
2016-10-13 20:40   ` Saša Janiška
2016-10-13 21:07     ` Pablo Rodriguez
2016-10-13 22:03       ` Saša Janiška
2016-10-13 20:57 ` Mica Semrick
2016-10-13 21:12   ` Saša Janiška
2016-10-13 21:27     ` Pablo Rodriguez
2016-10-13 22:05       ` Saša Janiška
2016-10-14  8:10         ` Hans Hagen [this message]
2016-10-14 17:50           ` Saša Janiška
2016-10-14 18:54             ` Hans Hagen
2016-10-16 10:25               ` Saša Janiška
2016-10-16 11:07                 ` Hans Hagen
2016-10-16 11:32                   ` Saša Janiška
2016-10-16 14:16                 ` Alan BRASLAU
2016-10-16 15:53               ` Saša Janiška
2016-10-13 21:20   ` Pablo Rodriguez
2016-10-15 16:54     ` Mica Semrick
2016-10-14  0:52 ` Russell Urquhart
2016-10-14 17:30   ` Saša Janiška
2016-10-15 14:09     ` Russell Urquhart
2016-10-16 10:33       ` Saša Janiška
2016-10-16 15:11         ` Russell Urquhart
2016-10-16 15:29           ` Saša Janiška
2016-10-16 17:36             ` Russell Urquhart
2016-10-16 18:02               ` Saša Janiška

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1c22b8c-868d-d53f-a4d9-528e62927576@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).