ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: switching to Context
Date: Thu, 29 Nov 2007 13:27:06 +0100	[thread overview]
Message-ID: <81B160CB-515C-4D44-A36E-063753E94C69@uni-bonn.de> (raw)
In-Reply-To: <y65bq9ds0t7.fsf@minnie.esd.mun.ca>


On Nov 29, 2007, at 1:17 PM, Roger Mason wrote:

> Hello,
>
> I'm thinking of making the switch from latex to context, indeed I'm
> working on my first non-trivial document as a trial.  I have some
> questions.
>
> (1) Is it possible to do conditional compilation?  I wish to use
> context to write lecture notes with embedded pictures.  I'd like to
> compile the document into one form to hand out to the class (or make
> available on the web) and another to be used as a presentation, much
> like latex-beamer, with just the pictures.

This is in fact quite easy with ConTeXt, you can use different modes.  
If you excuse the shameless plug, I wrote something in the PracTeX  
journal that may get you started:

http://www.tug.org/pracjourn/2006-2/schmitz/

>
>
> (2) Is it possible to convert context into plain text (i.e. strip out
> the formatting instructions)?  This may seem eccentric but it might,
> with some programming, offer a means to put document content into a
> relational database, perhaps in paragraph chunks.
>

I'm not aware of anything like that, but you can always use a tool  
such as pdftotext (part of xpdf, whch is available on any reasonable  
platform) on the pdf files that ConTeXt creates.

HTH

Thomas
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2007-11-29 12:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29 12:17 Roger Mason
2007-11-29 12:24 ` luigi scarso
2007-11-29 12:27 ` Thomas A. Schmitz [this message]
2007-11-29 13:57   ` Roger Mason

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=81B160CB-515C-4D44-A36E-063753E94C69@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).