Re: [NTG-context] XML filtering
[EMAIL PROTECTED] wrote: WN wrote: Another question, still learning, I am struggling with the following. In the XML there is a tag indicating a set of records which I map to table entries. After this tag a couple of tags labelled should be translated to table header entries followed by which I map to a table row (\bTR \eTR) but the tag is not grouped in a tag. How can I translate the tags so they will be interpreted as entries in the table header ? Wim example XML Item Value System Version ASUS - 30303031 Award Medallion BIOS v6.0 Award Plug and Play BIOS Extension v1.0A Award Modular BIOS v6.0 Hello, I have a couple of XML's generated by a freeware program which I want to process with Context. I started experimenting and things look good, however I want to skip/filter out some of the xml tags like * Some Text * and * Some Text * so they don't show in the resulting PDF. \defineXMLignore[*computeraudit]* - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XML filtering
WN wrote: > Hello, > > I have a couple of XML's generated by a freeware program which I want > to process with Context. > I started experimenting and things look good, however I want to > skip/filter out some of the xml tags > like * Some Text * and > * Some Text * > so they don't show in the resulting PDF. \defineXMLignore[*computeraudit]* - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] XML filtering
Hello, I have a couple of XML's generated by a freeware program which I want to process with Context. I started experimenting and things look good, however I want to skip/filter out some of the xml tags like Some Text and Some Text so they don't show in the resulting PDF. The Tex and XML files are listed below. \usemodule[contml] \defineXMLargument [category] {\chapter{ \XMLpar{category}{title}{} }} \defineXMLargument [subcategory] {\section{ \XMLpar{subcategory}{title}{} }} \defineXMLenvironment [list] \startitemize \stopitemize \defineXMLenvironment [item] \item \par \defineXMLenvironment [recordset] \bTABLE \eTABLE \defineXMLpickup [datarow] \bTR \eTR \defineXMLpickup [fieldvalue] \bTD \eTD \starttext \processXMLfilegrouped{Bios.xml} \stoptext Computer Audit :: 03-Sep-2006 18:25:08 Item Value System Version ASUS - 30303031 Award Medallion BIOS v6.0 Award Plug and Play BIOS Extension v1.0A Award Modular BIOS v6.0 System Date 08/20/02 Video Version ASUS AGP-V7700 VGA BIOS Version 2.15.01.14 ASUS AGP-V7700 VGA BIOS Version 2.15.01.14 ASUS AGP-V7700 VGA BIOS Version 2.15.01.14 Video Date 08/17/00 Names mentioned herein maybe trademarks or service marks of their respective holders. Errors and Omissions Excepted. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: footnotes number doesn�t reset bychapter
i´ve fixed it making a fake chapterlike head, [placehead=no,page=] . _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
footnotes number doesn�t reset bychapter
hello: \setupfootnotes[way=bychapter] doesn´t reset all the chapters footnotes numbering. I´ve also tryed: \setupnumber[footnote][start=1], \setnumber[footnote]{1} and \setupnumber[footnote][way=bysection,start=1] and didn´t work. I have 9 parts and 20 chapters. 5 chapters are wrong numered and they all are the first chapter after a part. Please help!!! thankyou in advance. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] common counter
Hallo! This is a question to a somewhat older post: > Date: Tue, 11 Jul 2006 09:55:28 +0200 > From: Hans Hagen <[EMAIL PROTECTED]> > Subject: Re: [NTG-context] Common counter > To: mailing list for ConTeXt users > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > David Arnold wrote: > > This is excellent. Now, how can I include this > > > > \placeformula[eq:nine] > > \startformula > > f(x)=x^2 > > \stopformula > > > > with the same common counter as remark and definition below? > > > hm, it's incredible what users come up with but this time you're > lucky -) > > \defineenumeration[whatever] > > \definenumber[davidsnumber] > > \setupnumber[whatever][number=davidsnumber] > \setupnumber[formula] [number=davidsnumber] % If one says additionally here: \setupnumber[figure][number=davidsnumber] > > \starttext > > \placeformula[x] > \startformula x\stopformula > > \startwhatever x\stopwhatever > > \placeformula[x] > \startformula y\stopformula > > \startwhatever y\stopwhatever % and here for example: \placefigure{image}{\framed[width=1cm,height=1cm]{image}} > \stoptext then, davidsnumber is incremented by \placefigure but not used for the caption etc. How can I extend the usage of davidsnumber to captions and figuretables? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context