Hello,
I am working on a publication with Language Science Press. and I have problem compiling the template. I am running Textmate version 2.0-rc.4 on OSX 10.13.4. I have recently upgraded to MacTex 2018. The problem is that no pdf is created from Textmate. It is a bit odd.
I would like to ask if someone here can try to compile Language-Science-Press' monograph template which can be downloaded from here http://langsci-press.org/templatesAndTools. (or the directlink https://github.com/langsci/latex-skeletons/raw/gh-pages/monographskeleton.zip). It works with other editors like Texshop as well as from the command line. But not with Textmate. On the other hand, I can compile other .tex files with Textmate. So I am a bit lost as to why this is happening.
Best
Christian
ps: I have tried some general things from a previous discussion in this mailing list _and they worked fine__for me_:
After that I translated the following document:
\documentclass{article} \begin{document} Test \end{document}
in TextMate without any problems. Could you please try the following:
1. Create a new file in TextMate 2. Paste the LaTeX code from above into the document 3. Save the file in the folder `Downloads` using the name `Test.tex` 4. Open Terminal 5. Enter the following commands:
cd ~/Downloads latexmk -pdf Test.tex
6. Does the command `latexmk -pdf Test.tex` print any error messages? 7. Does the folder `Downloads` contain the PDF file `Test.pdf`?
Hi Christian,
On 31.05.2018, at 11:37 , Christian Döhler chrd@posteo.de wrote:
Hello,
I am working on a publication with Language Science Press. and I have problem compiling the template. I am running Textmate version 2.0-rc.4 on OSX 10.13.4. I have recently upgraded to MacTex 2018. The problem is that no pdf is created from Textmate. It is a bit odd. I would like to ask if someone here can try to compile Language-Science-Press' monograph template which can be downloaded from here. (or the directlink). It works with other editors like Texshop as well as from the command line. But not with Textmate. On the other hand, I can compile other .tex files with Textmate. So I am a bit lost as to why this is happening.
Best
Christian
ps: I have tried some general things from a previous discussion in this mailing list and they worked fine for me:
After that I translated the following document:
\documentclass{article} \begin{document} Test \end{document}
in TextMate without any problems. Could you please try the following:
Create a new file in TextMate
Paste the LaTeX code from above into the document
Save the file in the folder `Downloads` using the name `Test.tex`
Open Terminal
Enter the following commands:
cd ~/Downloads latexmk -pdf Test.tex
Does the command `latexmk -pdf Test.tex` print any error messages?
Does the folder `Downloads` contain the PDF file `Test.pdf`?
thank you for the detailed bug report. I tried to translate `main.tex` in TextMate, which did not work, just as you reported. After that I tried to compile the document using the command `pdflatex`, which failed printing the following error message:
! Class langsci/langscibook Error: Please use XeLaTeX!.
. The error message above states that you need to use XeLaTeX instead of the usual default engine PDFLaTeX. You can change the default engine **for all documents** via the menu item `Bundles`→`LaTeX`→`Preferences…`:
. Another (better) option might be to just change the engine for the **single document** by adding the line
%!TEX TS-program = xelatex
at the top of the document `main.tex`. After that everything should work as intended. If it does not, please do not hesitate to ask again.
Kind regards, René
Hi René,
Thank you for the speedy reply. Unfortunately this does not solve the problem. I have been using xelatex before. and my bundle preferences are exactly the same in your screenshot. I get the following error message:
Any ideas?
Christian
Am 31.05.18 um 12:28 schrieb René Schwaiger:
Hi Christian,
On 31.05.2018, at 11:37 , Christian Döhler <chrd@posteo.de mailto:chrd@posteo.de> wrote:
Hello,
I am working on a publication with Language Science Press. and I have problem compiling the template. I am running Textmate version 2.0-rc.4 on OSX 10.13.4. I have recently upgraded to MacTex 2018. The problem is that no pdf is created from Textmate. It is a bit odd. I would like to ask if someone here can try to compile Language-Science-Press' monograph template which can be downloaded from here. (or the directlink). It works with other editors like Texshop as well as from the command line. But not with Textmate. On the other hand, I can compile other .tex files with Textmate. So I am a bit lost as to why this is happening.
Best
Christian
ps: I have tried some general things from a previous discussion in this mailing list and they worked fine for me:
After that I translated the following document:
\documentclass{article} \begin{document} Test \end{document}
in TextMate without any problems. Could you please try the following:
- Create a new file in TextMate
- Paste the LaTeX code from above into the document
- Save the file in the folder `Downloads` using the name `Test.tex`
- Open Terminal
- Enter the following commands:
cd ~/Downloads latexmk -pdf Test.tex
- Does the command `latexmk -pdf Test.tex` print any error messages?
- Does the folder `Downloads` contain the PDF file `Test.pdf`?
thank you for the detailed bug report. I tried to translate `main.tex` in TextMate, which did not work, just as you reported. After that I tried to compile the document using the command `pdflatex`, which failed printing the following error message:
! Class langsci/langscibook Error: Please use XeLaTeX!.
. The error message above states that you need to use XeLaTeX instead of the usual default engine PDFLaTeX. You can change the default engine **for all documents** via the menu item `Bundles`→`LaTeX`→`Preferences…`:
. Another (better) option might be to just change the engine for the **single document** by adding the line
%!TEX TS-program = xelatex
at the top of the document `main.tex`. After that everything should work as intended. If it does not, please do not hesitate to ask again.
Kind regards, René
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi Christian,
On 31.05.2018, at 13:09 , Christian Döhler chrd@posteo.de wrote:
Hi René,
Thank you for the speedy reply. Unfortunately this does not solve the problem. I have been using xelatex before. and my bundle preferences are exactly the same in your screenshot. I get the following error message:
<bmcejdflkajkdpio.png>
Any ideas?
thank you for providing the additional information. It looks like the template requires `ps2pdf`, which is not part of your `PATH` variable. Commit [0c526698][] should fix the problem. Until the update is deployed you can also fix the issue by setting the variable
PATH
in “TextMate” → “Preferences…” → “Variables” to the value
$PATH:/usr/local/bin
.
[0c526698]: https://github.com/textmate/latex.tmbundle/commit/0c526698
Christian
Kind regards, René