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 (http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-dbicons) at CTAN. I will forced to use this if I don't find an alternative. But I am not exactly looking for an ER diagram software.
Best Answer
Based on the comments and web search, eventually I came up with a working framework for my purpose which might be useful for others.
Export
tab, quick export method, format SQL. ClickGo
. Your schema will be save as a SQL file.sqlt-graph <sql file name>
sqlt-graph
(http://search.cpan.org/dist/SQL-Translator/script/sqlt-graph). One specific example command could be,This produces a
.png
file which can be used in LaTeX or anywhere else.When included in LaTeX, the output looks something like this (partially smudged out to preserve confidentiality).