Ask Your Question
1

Build command for LaTeX project

asked 2015-02-06 17:43:29 +0100

Guuk gravatar image

updated 2015-02-08 15:28:02 +0100

I am currently using SageMath Cloud for writing some Latex's documents. My question is very simple. My project is composed by one master main.tex file that I need to use for building the project but the master file calls many other .tex files that I edited.

How can I specify only one command for building LaTeX project when I edit any other .tex file? Currently, SageMath Cloud try to compile only the opened file but not the main file.

EDIT: I want to do the same with Preview function: when I edit one files of my LaTeX document, I want to preview only the result of the main file...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-02-08 18:10:54 +0100

updated 2015-02-08 18:11:37 +0100

A properly configured latexmk command should work, if latexmkis installed on SageMath Cloud. See https://bitbucket.org/ddrake/sagetex/... for some configuration instructions, but you might need more to compile all of the various TeX documents involved.

edit flag offensive delete link more

Comments

I am currently using latexmk. I see that SageMath Cloud store the building command for each file in the .<file.tex>.sage-history(at the end). Thank you for your answer I will try to change my settings.

Guuk gravatar imageGuuk ( 2015-02-09 09:31:22 +0100 )edit
0

answered 2015-02-06 18:31:52 +0100

updated 2015-02-06 18:32:06 +0100

as a last resort, open the terminal, run latex or pdflatex there...

edit flag offensive delete link more

Comments

Currently I am doing this but I am trying to specify a building command that stays active for the project. Maybe a configuration file for the project can be written but I don't know how and where I can put it.

Guuk gravatar imageGuuk ( 2015-02-06 19:13:47 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-02-06 17:43:29 +0100

Seen: 594 times

Last updated: Feb 08 '15