Code Monkey home page Code Monkey logo

grafana-reporter's Introduction

效果

image

centos7编译

1.切换目录到$GOPATH/src/
git clone https://github.com/love01211/grafana-reporter.git
2.编译生成二进制文件在$GOPATH/bin/
go install -v grafana-reporter/cmd/grafana-reporter

grafana-reporter

导出pdf后时间格式化为yyyy-MM-dd HH:MM:SS,替换latex打印pdf,title支持中文

go编译后使用问题

问题1:error calling LaTeX preprocessing: "exec: "xelatex": executable file not found in $PATH". Latex preprocessing failed with output:

解决办法:yum install texlive-latex-bin texlive-xetex-bin texmaker(配置base和epel源) 如果安装过程中遇到版本冲突,使用yum卸载冲突的版本(同时卸载依赖),然后再次执行上条命令

问题2:error calling LaTeX preprocessing: "exit status 1". Latex preprocessing failed with output: This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)

report报错2 解决办法

cp -r xecjk/* /usr/share/texlive/texmf-dist/tex/xelatex/xecjk/
cp euenc/* /usr/share/texlive/texmf-dist/tex/latex/euenc/
cp SIMKAI.ttf /usr/share/fonts/dejavu/
  
  执行命令重新加载:texhash
  上述文件在resources文件夹下

原作者地址

https://github.com/IzakMarais/reporter

grafana-reporter's People

Contributors

love01211 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.