[TriLUG] LaTeX tables - ascii input?

Douglas Kojetin djkojeti at unity.ncsu.edu
Tue Feb 10 08:51:04 EST 2004


Hi All-

Sorry if this is a basic LaTeX question, but I left my 'LaTeX for 
Beginners' book @ home (and I'm @ school).

Is there a way to take some sort of delimited text file and 'import' or 
'source' (similar, but not, to the 'include' function) it in my LaTeX 
file?  For instance, say I have a file with the following data:

# file = table.ascii
1,2,3,4,5
2,4,6,8,10
3,6,9,12,15
.....

and I want to make table of this data (say, in total, 100 rows long ... 
just to bring home the point I do not want to add this info directly to 
the LaTeX file itself).

How might I do that?

Many thanks!
Doug




More information about the TriLUG mailing list