Code Monkey home page Code Monkey logo

jats2tex's People

Contributors

jorgesallum avatar orbital17 avatar yamadapc avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jats2tex's Issues

Increase default heap size

One-off conversion currently spends 30% of the time allocating and GCing memory. So increasing the initial pre-allocated Heap size should give a 30% performance improvement.

Front-end Error Handling

Currently there's no error-handling on the frontend, so if the back-end has errors, the application will break. Instead it should show an error message and a prompt to retry.

Add templates entity to the webapp

There's currently no database model or API for templates. Only for the combination of templates/XML/LaTeX.

Separating this would be nice and improve the tool significantly.

colspan and rowspan

Perfectly possible to implement atm, just needs to be treated, pretty simple map from attribute in tds to latex commands.

Example "Article" from JATS Samples not working

I've just tried to run this example unsuccessfully. The LaTeX output is not that exactly. Please have a look

<html>
  <head>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta charset="utf-8">
	<title>Application Error</title>
	<style media="screen">
	  html,body,iframe {
		margin: 0;
		padding: 0;
	  }
	  html,body {
		height: 100%;
		overflow: hidden;
	  }
	  iframe {
		width: 100%;
		height: 100%;
		border: 0;
	  }
	</style>
  </head>
  <body>
	<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
  </body>

Add sentry

  • Sentry in Haskell CLI
  • Sentry in Haskell web GUI
  • Sentry in JavaScript

Template extension

  • Implement TemplateWrapper type
  • Make the command-line tool use TemplateWrapper instead of Template when reading templates, then merging all extended templates onto one
  • Make the web application use the updated template format

Optimize XPath support and review lua state creation

Merging the tables branch makes everything very slow; I think there's a lot of copying going on from re-generating subtrees after a template match.


This ticket's task is to benchmark and optimize the code.

images

read attributes from images and compile to figures

Referenciar templates por nome, dado um diretório de templates

Escanear diretórios /etc/jats2tex/templates (ou diretório de configuração no windows) por templates YAML que possam ser referenciados por nome.

Ao ser instalado, plantar o template default.yaml no path de configuração /etc ou equivalente no Windows.

Wrong handling of nested XPaths

Input:

sec: |
    @@lua(return find("/p"))@@
<sec>
  <p>Something</p>
  <other><p>Hidden</p></other>
</sec>

Expected Output:

Something

Current Output:

Empty

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.