LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-31-2009, 03:55 AM   #1
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Rep: Reputation: 31
CSV to LaTeX?


How can I go from this....

Code:
Fruit, Apples, Fuji
Fruit, Apples, Granny Smith
Fruit, Apples, Red Delicious
Animals, Dogs, Black Lab
...to this...

Code:
\chapter{Fruit}
    \section{Apples}
        \begin{itemize}
            \item Fuji
            \item Granny Smith
            \item Red Delicious
        \end{itemize}
\chapter{Animals}
    \section{Dogs}
        \begin{itemize}
            \item Black Lab
        \end{itemize}
...?

Is this something that LaTeX can do or do I need to write a script that converts the CSV into a TeX file?
 
Old 12-31-2009, 05:53 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
' csv2latex ' is available for Debian Squeeze and Sid ..

The source .. and the Debian patch ..
http://packages.debian.org/squeeze/csv2latex
> > " Links for csv2latex "

> [csv2latex_0.16.orig.tar.gz], [csv2latex_0.16-2.diff.gz]

.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LaTeX forum / Where to ask LaTeX questions? max_sipos Linux - Software 2 12-21-2011 12:01 PM
Program accepting Latex source as input and outputs Latex file. stf92 Slackware 5 12-10-2009 01:56 AM
Comparing two csv files and write different record in third CSV file irfanb146 Linux - Newbie 3 06-30-2008 09:15 PM
About LaTeX and fonts in LaTeX g4j31a5 Linux - Software 4 09-19-2006 07:36 AM
LaTeX commands: texi2pdf, latex, dvipdf kaon Linux - Software 7 01-23-2005 03:32 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration