From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37595 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: switching to Context Date: Thu, 29 Nov 2007 13:27:06 +0100 Message-ID: <81B160CB-515C-4D44-A36E-063753E94C69@uni-bonn.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196339282 16184 80.91.229.12 (29 Nov 2007 12:28:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2007 12:28:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 29 13:28:10 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IxiUY-0003xF-Ro for gctc-ntg-context-518@m.gmane.org; Thu, 29 Nov 2007 13:27:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EC0CD1FB47; Thu, 29 Nov 2007 13:27:26 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00831-01-4; Thu, 29 Nov 2007 13:27:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F0D21FB1F; Thu, 29 Nov 2007 13:27:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B38261FB33 for ; Thu, 29 Nov 2007 13:27:18 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29747-04-6 for ; Thu, 29 Nov 2007 13:27:14 +0100 (CET) Original-Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.de [194.25.134.21]) by ronja.ntg.nl (Postfix) with ESMTP id 086E21FB01 for ; Thu, 29 Nov 2007 13:27:13 +0100 (CET) Original-Received: from fwd32.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1IxiU5-0000Sb-02; Thu, 29 Nov 2007 13:27:13 +0100 Original-Received: from [192.168.0.2] (Gu1-riZ1whhF161nAxQcaEoIpo97VUn6YTTgo3rGigaqlO00SnXVhA6R6rxY7cvgzL@[91.18.92.235]) by fwd32.aul.t-online.de with esmtp id 1IxiTx-1OwCgK0; Thu, 29 Nov 2007 13:27:05 +0100 In-Reply-To: X-Mailer: Apple Mail (2.915) X-ID: Gu1-riZ1whhF161nAxQcaEoIpo97VUn6YTTgo3rGigaqlO00SnXVhA6R6rxY7cvgzL@t-dialin.net X-TOI-MSGID: 4940b12f-a216-469d-a9e6-5fc5821dc59e X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37595 Archived-At: 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 ___________________________________________________________________________________