Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use AutoLaTeX as the backend compiler #344

Open
gallandarakhneorg opened this issue Mar 12, 2014 · 10 comments
Open

Use AutoLaTeX as the backend compiler #344

gallandarakhneorg opened this issue Mar 12, 2014 · 10 comments

Comments

@gallandarakhneorg
Copy link

Is it possible to use and configure the compiler AutoLaTeX in the plugin?

AutoLaTeX provides features similar to rubber, but it is more powerful on the generation of images.

@msiniscalchi
Copy link
Contributor

This is already possible using the mbuilder branch---but if you wait a day
or two, it will be merged to the master branch, i.e., it will be possible
by default. Basically, you will be able to configure the build system to
your liking. At a minimum, you can use autolatex or rubber instead of
latexmk by changing one settings. At a maximum, you can incorporate
autolatex into LaTeXTools---I don't have time to do it, but if it's Python,
it won't be hard.

On Wed, Mar 12, 2014 at 11:35 AM, Stéphane Galland <[email protected]

wrote:

Is it possible to use and configure the compiler AutoLaTeXhttp://gallandarakhneorg/autolatexin the plugin?

AutoLaTeX provides features similar to rubber, but it is more powerful on
the generation of images.

Reply to this email directly or view it on GitHubhttps://github.com//issues/344
.

Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661

@gallandarakhneorg
Copy link
Author

I may wait a while, of course.
It will not be a problem to call AutoLaTeX with a kind of command line. It was written for that.

The more difficult point is to extend the configuration panels of LaTeXTools to pass specific configuration parameters to AutoLaTeX (what image translator to enable/disable...) I did the job for Gedit with a dedicated plugin. But I want to integrate this feature in LaTeXTools, instead of provided a parallel plugin.

When I will have time, I will fork LaTeXTools, and work on this feature.

@msiniscalchi
Copy link
Contributor

Take a look at the mbuilder branch. Basically, a "custom builder" is like a
plugin-within-a-plugin. Here's a post on my blog that describes how things
work:

http://tekonomist.wordpress.com/2013/09/17/latextools-a-new-customizable-build-system/

In addition, there is a whole new section of the LaTeXTools settings file
for builder-specific settings. These get passed to the builder
automatically.

So, in principle, as long as the code is Python, it can be efficiently
integrated with LaTeXTools. Indeed this would be an awesome contribution!

On Wed, Mar 12, 2014 at 12:13 PM, Stéphane Galland <[email protected]

wrote:

I may wait a while, of course.
It will not be a problem to call AutoLaTeX with a kind of command line. It
was written for that.

The more difficult point is to extend the configuration panels of
LaTeXTools to pass specific configuration parameters to AutoLaTeX (what
image translator to enable/disable...) I did the job for Gedit with a dedicated
plugin http://www.arakhne.org/autolatex/doc.html#gui. But I want to
integrate this feature in LaTeXTools, instead of provided a parallel plugin.

Reply to this email directly or view it on GitHubhttps://github.com//issues/344#issuecomment-37436017
.

Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661

@yitzhakbg
Copy link

I agree. AutoLaTeX running smoothly with LaTeXTools would be great.

@msiniscalchi
Copy link
Contributor

As you may have seen, the new code is in master! So, hack away :) Happy to help---there is no docs except for the code, so I'll be happy to answer questions on how the builders interact with LaTeXTools.

@aleks223
Copy link

aleks223 commented May 3, 2014

Any news on the possibility to use AutoLaTeX with LaTeXtools?

@gallandarakhneorg
Copy link
Author

It is planned for July (gallandarakhneorg/autolatex#80) if I doing it myself. Earlier if someone want to contribute 😄

@msiniscalchi
Copy link
Contributor

I'd like to contribute actually. Take a look at the latest version of
LaTeXTools. There's infrastructure in place to add new build systems and
have them integrate with the plugin.
On May 3, 2014 2:03 PM, "Stéphane Galland" [email protected] wrote:

It is planned for July (gallandarakhneorg/autolatex#80gallandarakhneorg/autolatex#80)
if I doing it myself. Earlier if someone want to contribute [image:
😄]


Reply to this email directly or view it on GitHubhttps://github.com//issues/344#issuecomment-42113548
.

@gallandarakhneorg
Copy link
Author

I include AutoLaTeX according to the builder API of LaTeXTools.
However, AutoLaTeX may be verbose, and outputs several information messages of its standard output.

Currently, the script makePDF.py outputs the console of AutoLaTeX after it has finished to be run.
It may be useful to see the messages of AutoLaTeX during its execution in a kind of asynchronous output mechanism.

@msiniscalchi
Copy link
Contributor

Yes, this may be useful for other builders, too. That requires some
lower-level hacking though.
Thanks very much for the contribution!

On Sat, May 3, 2014 at 5:14 PM, Stéphane Galland
[email protected]:

I include AutoLaTeX according to the builder API of LaTeXTools.
However, AutoLaTeX may be verbose, and outputs several information
messages of its standard output.

Currently, the script makePDF.py outputs the console of AutoLaTeX after
it has finished to be run.
It may be useful to see the messages of AutoLaTeX during its execution in
a kind of asynchronous output mechanism.


Reply to this email directly or view it on GitHubhttps://github.com//issues/344#issuecomment-42117869
.

Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants