From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41335 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: markup format ---> ConTeXt Date: Tue, 3 Jun 2008 15:21:41 +0200 Message-ID: <115224fb0806030621k24e7a9c9l848fb9a53fd44b94@mail.gmail.com> References: <87wslc424w.fsf@nitai.hr> <115224fb0806030043j5970e08bwc75d56b5b50acce3@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212499409 19612 80.91.229.12 (3 Jun 2008 13:23:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2008 13:23:29 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 03 15:24:09 2008 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 1K3WUh-0001ZF-2U for gctc-ntg-context-518@m.gmane.org; Tue, 03 Jun 2008 15:24:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 921D71FDDD; Tue, 3 Jun 2008 15:23:18 +0200 (CEST) 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 28822-01-9; Tue, 3 Jun 2008 15:22:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 741F11FDA2; Tue, 3 Jun 2008 15:22:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F4E61FD9A for ; Tue, 3 Jun 2008 15:22:29 +0200 (CEST) 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 28812-02-4 for ; Tue, 3 Jun 2008 15:21:49 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.156]) by ronja.ntg.nl (Postfix) with ESMTP id C2DD91FDA2 for ; Tue, 3 Jun 2008 15:21:48 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so1312012ywm.74 for ; Tue, 03 Jun 2008 06:21:42 -0700 (PDT) Original-Received: by 10.151.111.1 with SMTP id o1mr766215ybm.189.1212499301103; Tue, 03 Jun 2008 06:21:41 -0700 (PDT) Original-Received: by 10.151.113.9 with HTTP; Tue, 3 Jun 2008 06:21:41 -0700 (PDT) In-Reply-To: Content-Disposition: inline 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:41335 Archived-At: On Tue, Jun 3, 2008 at 3:00 PM, Maurice Diamantini wrote: > > Le 3 juin 08 =E0 09:43, Wolfgang Schuster a =E9crit : > >> On Tue, Jun 3, 2008 at 8:48 AM, Maurice Diamantini >> wrote: >> >>> Just some remarks/questions: >>> - docbook seems to be the standard for describing documentation data, >>> - dblatex seams to be a currently good supported tools for **easely** >>> provide pdf output from docbook input, and cutomize the output >>> with .xsl >>> parameters or LaTeX .sty files >>> - dbcontext seams not to be maintained very much >> >> I don't think the code in the module is nowadays a good example for >> writing >> a module because many low level commands are redefined and it should >> work now out of the box with the current code or better witth MkIV. >> >>> - ConTeXt seams to be able to directly parse xml without external >>> tools >>> >>> So, what about make ConTeXt directly reading dokbook file and output >>> pdf file? I see the http://www.leverkruid.eu/context/index.html >>> page from >>> Simon Pepping. But it seems that this project is down. >> >> The module you mention above is the only (complete?) docbook style >> but ConTeXt provides cals table support by default and mapping for the >> basic elements to ConTeXt shouldn't be a problem, >> give us the information what do you need and we write a module. > > Thank you very much, you confirm that the "DocbookInContext" from > Simon Pepping is still the way to go. No, I meant we should better start from scratch, as Hans told the code is bad style and you should avoid to redefine core or low level macros. > I've no specific request, I just forward some interest by the web > community > to converting from docbook to pdf more or less automaticaly. > I fact, my original interest come from the work of the jelix team (a > MVC php Framwork) > whose documentation was only online (dokuwiki). > Following some user feedback, Jelix team have then generate docbook > from that wiki > filesss+ and make pdf file thanks to the (not maintained) db2latex tool. > I look after a more uptodate tool (for further customisation) and > found dblatex as mention on the (french) forum: > > http://jelix.org/forums/read.php?10,2680,page=3D4#msg-2872 Looks like spain to me ;-) > The result was that the simple command: > > dblatex jelix-manual.xml > > produce a "correct" (i.e. readable) jelix-manual.pdf file without any > customisation (with default table of content, correct verbatim, ...) > which was not the case for db2latex. > But then, any customisation will be a latex style, which is more hacking > than ConTeXt (I think so, but I'm sure you agree ;-) One of the easiest things with ConTeXt, you could change the header style with \setupheader[...][..,..=3D..,..], you need only a extra file with all your settings. > Nevertheless, the first criterion was that it just works in simple case. > If some magic command (or a simple tutorial) like : > > texexec --docbook jelix-manual.xml better texexec --ctx=3Ddocbook jelix-manual.xml > do some equivalent work than the above dblatex, no doubt that the > ConTeXt community will increase by more than 100%! > > Cordialement, > -- Maurice Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________