mkres

所属分类:数据库管理工具
开发工具:Shell
文件大小:92KB
下载次数:0
上传日期:2019-05-07 11:49:25
上 传 者sh-1993
说明:  数据库新闻工具,用于从MySQL查询生成漂亮的打印PDF研究报告。
(Database journalism tool for making pretty-printed PDF research reports from MySQL queries.)

文件列表:
1px.png (17245, 2019-05-07)
LICENSE (31881, 2019-05-07)
SWANSE.TTF (53884, 2019-05-07)
docker-compose.yml (185, 2019-05-07)
makefile (536, 2019-05-07)
mkres (9353, 2019-05-07)
report.conf (172, 2019-05-07)
report.pdf (46361, 2019-05-07)
report.sql (2049, 2019-05-07)

# Make Research (mkres) Database journalism tool for making pretty-printed PDF research reports from MySQL queries. The idea is to write structured LaTEX code in comment blocks in the SQL script that will format well along the tables output by each query. This tool is inspired by the way common source code documentation tools work. Study the dummy source file research.sql and the generated research.pdf to get the idea. ## Dependencies This utility runs on Ubuntu 15.04 systems with the following packages installed: * texlive * texlive-fonts-extra * texlive-lang-norwegian (or whatever language you are using) * pcregrep * mysql-client ## Docker container You may also use my Docker image espena/latex which have the above dependencies preinstalled. You only need to mount a working volume and link mysql to the espena/latex container to get it going. There'a docker-compose.yml file for you to adapt to your needs. ## Install Run sudo make install. The script will be copied to your /usr/local/bin directory. ## How to use If you have a SQL file called research.sql, then run "makeres research". If all is good, the file research.pdf will be generated alongside the source SQL script.

近期下载者

相关文件


收藏者