[texhax] citing referenced texts

William Adams will.adams at frycomm.com
Wed Oct 18 17:58:39 CEST 2006

On Oct 18, 2006, at 7:21 AM, H V wrote:

> I'm looking for a way to automatically cite parts of
> books divided into chapters and verses (e.g. antic
> texts, the bible...). The idea would be to have a
> command as \write{the_republic6.1}, and the result
> would be to write down the first paragraph of the
> sixth chapter of "The republic". Has anybody written a
> code for that?

A quick and expedient way to handle this would be to break out all  
the possible sections as discrete files, then insert them using a  
traditional \input mechanism.

A more elegant solution would be to use the shell escape to interface  
w/ a program to generate such a file and then input it.


William Adams
senior graphic designer
Fry Communications

This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.

More information about the texhax mailing list