[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] cvs2tex
From: |
David Kastrup |
Subject: |
Re: [AUCTeX] cvs2tex |
Date: |
Sat, 02 Dec 2006 20:51:49 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
Andreas Roehler <address@hidden> writes:
> David Kastrup schrieb:
>> Andreas Roehler <address@hidden> writes:
>>
>>
>>>>>>> does someone know a script, reading address from a
>>>>>>> cvs-database into tex (letter)?
>>>>>>>
>>>>>> You mean csv, don't you?
>>>>>>
>>>>> Exactly, sorry.
>>>>>
>>>>>>
>>>>>>> There is a serial letter macro in Latex; what I need
>>>>>>> is to read in separate addresses occasionally,
>>>>>>> specified by a regexp.
>>>>>>>
>>>>>> Your description is less than clear.
>>>>>>
>>>>> Here an example:
>>>>>
>>>>> From addresses in a file as
>>>>>
>>>>> JOE,ANYONE,Nickname,Countrycode,Berlin,10407,ANYSTREET,0,...
>>>>>
>>>>> an address in tex shall be generated
>>>>>
>>>>> \address{JOE ANYONE\\
>>>>> ANYSTREET. 0 \\
>>>>> 10407 Berlin\\}
>>>>>
>>>> It does not sound like describing accurately what you want to have
>>>> done, since more than one address will be in the file and it is not
>>>> likely that you want to get all \address lines after each other.
>>>>
>>> Hmm, I wrote:
>>>
>>> "to read in separate addresses occasionally,
>>> specified by a regexp."
>>>
>>> What about something like
>>>
>>> extract an address from a csv-database into a tex letter form?
>>>
>>
>> Could you write a minimal complete example document that would be
>> supposed to work as you want?
>>
> Then it would be done.
_Supposed_ to work. This may include \usepackage{magic} or similar
things.
>> I still have no idea what tools are supposed to extract the
>> addresses and where they should be placed in what manner.
>>
>> It may be a TeX programming problem that you have in mind, but then
>> it would make little sense asking on the AUCTeX list. So I still
>> have no clue what tool you actually want to do what job on what
>> input.
>>
>
> Need two things:
>
> - a convenient way to extract data with Emacs from a csv-database
> - write them into the \address{} form
Again: please state the form of your input files, what tools you want
to have working on them, and what results are there.
_What_ is supposed to "extract data"? Emacs? What is supposed to
happen if the data changes? Is this to be a one-time only operation?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum