Questions tagged [database]

{database} is a structured collection of data.

137 questions
43
votes
10 answers

Is it possible to connect a database to LaTeX to produce data-driven documents?

I'm starting to write a LaTeX-based reference manual, and have realised that a lot of my needs could be solved by writing a database and then producing the reference manual from that. Lots of my pages will be exactly the same, with slightly…
robintw
  • 7,362
13
votes
6 answers

A collection of LaTeX equations?

I saw a web-site someday -- it had lots of codes for formulas from many fields of knowledge -- all categorized and searchable. So that when You teach, say, electrodynamics You could come there and get the code for Maxwell equations right away. I…
Adobe
  • 3,037
10
votes
3 answers

I have a generated database and need to look up values

A database in a format that can be freely defined had entities with the following attributes: ID, HEXNUMBER, LATEXFORMULA, LITERAL. The ID is unique and can contain numbers, dots and dashed. Example: MystructOne.val16_A HEXNUMBER is always an…
Johannes
  • 1,579
10
votes
2 answers

How to manage pictures in a single file to be easily picked by the main file?

I'm writing a paper with many TikZ pictures. To keep the main file readable, I keep the pictures as separate files, but unfortunately I have now too many files. What is a nice solution to keep all the pictures in one file (separate from the main…
user8268
  • 259
9
votes
1 answer

Which database documentation software do you use for LaTeX (in Linux)?

I am looking for a database documentation software where I want to incorporate the output in LaTeX. I want to show the table structures, primary keys and other related information. I found pst-dbicons…
Masroor
  • 17,842
7
votes
3 answers

Importing text file into Latex by character

So I want to import a text file into latex character by character and format the individual characters by changing their color. So for instance, 'a' would be the color blue, 'b' would be red etc. How should I go about importing the file? Should I…
3
votes
0 answers

Generating pdf after reading from database

I am new to Tex and I want to generate a PDF after taking some data from oracle SQL database. I researched a lot and I came to solution that I will have to write a C++ code for this. The C++ code will first read the data from database and the code…
3
votes
0 answers

Reusing / inserting text in different publications from a text database

Update: A solution has been worked out here: String comparison in \ifthenelse Another way of reusing text could be done with the extract package as mentioned here. I am working on the translation of an ancient Indian/Tibetan text (written in…
Christof
  • 460
3
votes
1 answer

Import data from a spreadsheet into latex and create multiple pdf files for each row in LaTeX

I have a form which I assign to people to fill them out as a google form, and get the responses in a spreadsheet (xlsx or ods file formats). I need to file a report based on their answers, which means I have to generate a pdf file for each row of…
K1.
  • 378
  • 1
  • 3
  • 10
2
votes
1 answer

Could I insert the elements of a mdb or csv base in Latex?

I want to insert some information from a csv text file or from a mdb (MS data base) base into a latex document. For example I have a document with math exercises and I would like to insert the first and the second element (i.e. exercise) of the…
kornaros
  • 1,095
2
votes
1 answer

Create spreadsheet corresponding to \item's

I am writing a mathematics book. For each example, I would like to store a few attributes, including: -The source -Whether I have checked the problem -The difficulty of the problem (etc.) Normally, I would just create a spreadsheet that would do…
1
vote
0 answers

Select records from database based on condition/tags

I would like to build a database where each record has some tags. Then I want to output some fields of the records that contain a given tag. If it is possible, I would also like to output the records that contain at least one tag from a given set…
ASdeL
  • 4,925
0
votes
0 answers

Can I store Latex/.tex in a database which when read and displayed will be shown as equations and diagrams?

How can I store latex in a database whilst ensuring when displayed, it shows correctly(displays equations etc)?
0
votes
0 answers

Latex and no sql database

good evening, I want to connect no sql database to latex in other to generate some pdf file with generated data from this database? have you got any ideas how I can do it? regard