Giter VIP home page Giter VIP logo

asciimintjs's Introduction

Readme

Introduction

AsciiMint is a wrapper enviroment around Asciidoctor and Latex ecosystems that helps to more easily and elegantly publish texts in HTML (web), HTML (presentation), PDF (through (Xe)Latex), PDF (directly), Docbook, ePub (not complete yet), DocX (not complete yet). The idea is to use one pure document in text (Asciidoc) alongside figures in many flavors to create quality publications for Web, Paper, Presentation at the same time.

Features include: - One-click (actually one command!) solution to produce HTML, PDF (through (Xe)Latex), PDF (directly), Docbook, ePub (not complete yet), DocX (not complete yet) - Being able to use Persian keywords for Asciidoctor macro names and attributes (translation to English version) - An extra set of roles in Asciidoctor that is being translated to (Xe)Latex and HTML at the same time - Automatic compilation of figures in Tikz(tex) and R and including them in the document - Automatic conversion of figures in Tikz(tex), R, SVG, PDF, PNG, to their corresponding PDF, PNG and including them in the document - Asciimint (Xe)Latex package includes a series of macros and styles - Asciimint HTML CSS includes a seris of styles - Same solution for citation and bibliography for both HTML and (Xe)Latex - Same solution for accronyms for both HTML and (Xe)Latex - Updates (copies) the needed source files from different locations

Instructions

  • Copy AsciiMint file somewhere (let’s call it "app folder")

  • Create a folder for your project (let’s call it "base folder")

  • Put your something.adoc.txt file in the base folder

  • Copy and paste config_sample.yaml from app folder to base folder,rename it to config.yaml and the edit as appropriate

  • You can ask AsciiMint through the config file to copy other files from some sources to the base folder, or you may just copy it manually. Things that normally can be copied are your source text something.adoc.txt, bibliography file, figures (in the figures folder), xmp data file

  • run the node some/folder/a from the base folder, note that some/folder `is the app folder. Also note to use `\ instead of / in Windows

  • If things succeed output files would be in output folder (you can change in config file) -Otherwise, look at asciimint.log to find error. For latex/xelatex compilation errors you should go inside build folder and look for latexmd.log (or other logs)

Tips

  • AsciiMint copies pdf output from latex/xetex output even if there is some error. So check latexmd.log sometimes to make sure every thing was fine.

  • For latex things sometime it is good to clear build folder and rebuild if an error persists even after fixing. This can happen specially for bibliography things.

Extended Language

  • You should define acronyms like this to enable AsciiMint to expand the first one correctly: -:HTML: [.acroHTML] -:HTML-abbrev: HyperText Markup Language ([.acroHTML)]

asciimintjs's People

Contributors

shahryareiv avatar dependabot[bot] avatar

Stargazers

Michele Vetturi avatar  avatar

Watchers

 avatar Liam OBrien 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.