Ask Your Question
1

Build command for LaTeX project

asked 10 years ago

Guuk gravatar image

updated 10 years ago

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...

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 10 years ago

updated 10 years ago

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.

Preview: (hide)
link

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 ( 10 years ago )
0

answered 10 years ago

updated 10 years ago

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

Preview: (hide)
link

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 ( 10 years ago )

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: 10 years ago

Seen: 630 times

Last updated: Feb 08 '15