Code Monkey home page Code Monkey logo

tap-formatter-html's People

Contributors

christopherraa avatar eserte avatar renormalist avatar spurkis avatar szabgab avatar tu-maurice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tap-formatter-html's Issues

How to use own templates

Hi,

I need to use a slightly modified TT2 template,
but at the moment I don't see a way to use it,
because both absolute and relative paths are not allowed.
Maybe this was different in older versions of TT or I overlook something.

By default the code searches for the template in /usr/share/perl5, the default perl5 installation path on Debian Linux.

using the options prove -l -m -P HTML=outfile:html/index.html,template:/path/to/ansi_report.tt2 ...
you get this error:
file error - /path/to/ansi_report.tt2: absolute paths are not allowed (set ABSOLUTE option)

using the options "HTML=outfile:html/index.html,template:../path/to/ansi_report.tt2"
file error - ../path/to/ansi_report.tt2: relative paths are not allowed (set RELATIVE option)

To fix this we we need to change the code in HTML.pm to allow ABSOLUTE
see also http://www.template-toolkit.org/docs/manual/Config.html#section_ABSOLUTE

As a temp. workaround I copy the template into /usr/share/perl5. But that's abviously not a good solution.

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.