General ⇒ Speculative QUERY - SQL and LaTeX
Speculative QUERY - SQL and LaTeX
i. to print out formatted content e.g. like names and addresses in a Word 'mailmerge'
ii. as variables for the control of the output e.g. the 'copies' variable value might be read from the SQL database in order to print 3 copies of the document.
Can anyone suggest a good tool to solve my problem? It could be a suitable add-on or code environment that may easily permit the development of facility under Windows 7.
I have looked at a few, but they seem to be very 'kludgy' or only for Linux.
I would also like to use the LaTeX IDE TexnicCenter.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Speculative QUERY - SQL and LaTeX
this reminds me abit of WYSIWYG editor for SQL. A query where i didn't really understand the question as well.
Can you read through that and maybe clarify the question?
Re: Speculative QUERY - SQL and LaTeX
Sorry about the confusion. That is the problem with writing posts at around midnight

As I said above, I am new to LaTeX, so this feature may already exist and I am completely unaware of its existence. Is there, perhaps, some add-on or suite of macros/templates etc. that fulfils this function.
Distilled down, the function I require is: a suitable 'interface' between LaTeX and an SQL database (say, MYSQL) under Windows 7, which will allow simple SQL queries from within a LaTeX file?
Regards
- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
Speculative QUERY - SQL and LaTeX
and welcome to the forum!
That's possible with LaTeX. Specifically, with LuaLaTeX, you could access databases using luasql.
The installation of
luasql
might be a challenge, but using it within LaTeX is not so hard.Stefan
Speculative QUERY - SQL and LaTeX
Regards
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/