[dev-context] CSV, alpha 2 ;)

Taco Hoekwater taco at elvenkind.com
Tue Jul 11 15:12:10 CEST 2006


Hi Mojca,

Mojca Miklavec wrote:
> Hello, Hans and Taco (once you're back),

back!

> http://pub.mojca.org/tex/csv/ has the new version of the documentation
> for the database module, but it's still a bit buggy. Please forget
> about "feature requests" at the end of the document, they're there
> just for the guidelines about what could also be useful.

First ,a note on the xml loading. these four lines:

   \usemodule         % interface defined in XML
	[mod-00]
   \complexloadsetups % syntax definition
	[m-database.xml]

do not work for me (\complexloadsetups is and undefined command).

For the bib module docs I have used a hack that goes like this:

   \usemodule[int-load] % preload \loadsetups command
   \def\loadsetups{}    % disable loading cont-en.xml
   \usemodule[mod-01]
   \startXMLmapping[zero]
   \processXMLfilegrouped{t-bib.xml}
   \stopXMLmapping

It seems this part of the core needs a minor extension to make it easier
to document modules (but it may be that you have that already :))

> There are still some bugs appearing (problems with UTF were introduced
> recently); a funny thing is also that if I redefine the font encoding
> to be EC instead of texnansi (I don't understand why texnansi is used
> by deafault, but I don't really mind), the resulting characters in
> "Taco's mode" are different (wrong in both cases anyway). "Hans's
> mode" doesn't compile if utf-8 characters are present.

In "my mode", this is because of the \convertargument. Hans, is
there an easy way that I can detokenize only the characters < 128 ?

> The following definition has to be fixed:
 >
> \def\dosetupseparatedlist[#1][#2]%
>   {\getparameters[\??ls#1][#2]}

I've fixed my local version as well

> 
> And if you manage to figure out what's going wrong with
>     \showsetups{startseparatedlistname}

This one should be defined as:

<cd:command name="separatedlistname" type="environment" generated="yes">
   <cd:sequence>
     <cd:variable value="separatedlistname"/>
   </cd:sequence>
</cd:command>


But somehow \showsetup{separatedlistname} doesn't output anything,
so it is not entirely your fault (AFAICS). Maybe typesetting is
triggered by the presence of an argument?

>     \showsetups{processseparatedfile}

Use the singular: \showsetup

> and with the very last example with TSV, I would be very grateful as

You have a missing comma after the 'last=' entry.

Cheers, Taco



More information about the dev-context mailing list