Home > sublime text > Sublime Text builds that use pdfLatex fail

Sublime Text builds that use pdfLatex fail

April 14Hits:2

I'm attempting to use one of a few ST resources to build latex documents, but none of them are working. The initial attempt was to use pandoc from ST to do markdown/latex compilation. I was using this build script:

{     "shell_cmd": "pandoc -o \"$file.pdf\" \"$file\" && open -a Preview \"$file.pdf\"",     "selector": "text.html.markdown",     "path": "/usr/texbin:$PATH" } 

which brings up the console box, says it is building, but doesn't create a pdf in my directory.

I should mention that

> pandoc -o example.pdf example.md 

works from the command line.

Next I tried just using latexTools and the usual latex build system. I created a latex file in ST, and tried to build. I got the exact same behavior, blank console box, no output into the directory.

So I thought maybe my pdfLatex was the issue:

> which pdflatex /usr/texbin/pdflatex 


> pdflatex --version pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014) kpathsea version 6.2.0 Copyright 2014 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty.  Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.6.10; using libpng 1.6.10 Compiled with zlib 1.2.8; using zlib 1.2.8 Compiled with xpdf version 3.03 

and then I tried:

> pdflatex example.tex  

which also worked(output the pdf file as expected).

Related Articles

  • Sublime Text builds that use pdfLatex failApril 14

    I'm attempting to use one of a few ST resources to build latex documents, but none of them are working. The initial attempt was to use pandoc from ST to do markdown/latex compilation. I was using this build script: { "shell_cmd": "pandoc -o

  • Sublime Text Build System for HerokuApril 29

    I made a build system for Heroku Foreman on Sublime Text 2 (windows 8) { "cmd": ["foreman.bat", "start"], "working_dir": "$project_path" } When I run this in shell, I can just break, and foreman will stop,

  • Sublime Text console: Python Package import failing, despite their presenceJanuary 19

    I am very new to SublimeText3. I have Anaconda setup in my system and all the packages such as numpy, pandas and others are installed in /home/sam/anaconda/lib/site_packages.. Since my package distribution is in Anaconda's site packages, I created a

  • Defining scope for custom Sublime Text 2 snippetsDecember 17

    While trying to write my own snippets for Sublime Text 2, I ran into the following two problems: Finding scope keys. I figured out that I can look through my packages one by one and find references to a declared "scope" property. For example in

  • Run Sublime Text 3 and check version

    Run Sublime Text 3 and check versionSeptember 16

    I have installed Sublime Text 3 following this. How to run it from terminal and how to check the version (from terminal or however)? --------------Solutions------------- The command to start Sublime Text: subl The command to see its version: subl --v

  • Can't start Sublime Text with gksuSeptember 26

    Sublime Text 3 is my primary text editor. I run it as a regular user, but once in a while I need to start is as root to edit some system files. I am used to having edit as root in my context menu on my old system. In my old Linux Mint 13 Maya I used

  • Saving mutiple files in Salesforce org with MavensMate in Sublime Text 3October 20

    I'm trying to save a large number of files for an org in a single instance (over 35 files at a time). I'm replacing numerous endpoints to a new remote site, so basically a find/replace across numerous workflow rules. Since this is part of the manual

  • Is there a way to create new tab (aka: "untitled") from the command line in Sublime Text?January 22

    Many answers show how to use Sublime Text from the command line. But I find myself wanting to open a new Sublime Text "untitled" tab from the command line. This tab in sublime is not yet associated with a file on disk. Basically, just like using

  • Sublime Text 3 no longer holds SCSS syntax highlightingFebruary 11

    My SCSS files keep defaulting to an unfamiliar syntax highlighting for Sublime Text (build 3103). The SCSS package was working up until now. Recently, Sublime Text displayed a message about one of my packages updating & how my display preferences wou

  • Sublime text 2 with LaTeXTools fails to compile (Windows)August 6

    I work on Windows 7 X64 and since the latest update of LaTeXTools plugin for sublime text 2, the build (Ctrl+B) is failing with the following: [Compiling E:\Users\Seif\Desktop\1tsss\first.tex] TraditionalBuilder: Invoking texify... And nothing is com

  • Sublime Text and Skim: Can't build PDF

    Sublime Text and Skim: Can't build PDFDecember 2

    I used to be able to build PDF's just fine, but I haven't done any LaTeX-ing in the past few weeks. I opened up an old .tex file today and tried make some changes, only to see at bottom of the status bar of Sublime Text, No Build System. I haven't ma

  • Sublime Text 2 LatexTools: Cannot find builderDecember 30

    I don't know what I make wrong. I installed LatexTools exactly as described but every time I try to compile a messages shows up: "Cannot find builder traditional". I changed the builder to "simple" but same message:"Cannot find bu

  • How can I switch between pdflatex and xelatex conversion in Sublime Text 2?

    How can I switch between pdflatex and xelatex conversion in Sublime Text 2?October 23

    I often switch between compiling "classic" LaTeX and XeTeX documents. Sublime Text 2 has a package called LaTeXTools that allows you to build LaTeX documents via a simple CmdB. Neat. The build file LaTeX.sublime-build obviously exists in the sta

  • How to build compass in sublime text 2May 27

    I downloaded this package which allows use to build compass in though sublime text by pressing cmd+b. I created a sass file, made sure compass is selected from the tools > build system > compass menu. But when I press cmd+b the file does not compile

  • Sublime Text 2 - use typeset latex instead of pdflatexNovember 17

    I just started using this tool and it looks awesome. However I started working on a project I started in TeXShop and I have always used latex typesetting. (I'm on OSX 10.9) Now when I try to compile it won't! it looks like it doesn't recognize the '\

  • [OPERATION FAILED]:" Could not find the mm executable" in MavensMate for Sublime Text 3November 14

    When I try to build a new project (MavensMate->Project->New Project) in Sublime Text 3,the console displays the message: "[OPERATION FAILED]: Could not find the mm executable. Please run MavensMate > Install/Update MavensMate API (mm) to ins

  • Change tab or open CSS file on SCSS build in Sublime Text 2September 15

    I use SASS Package and SFTP on a regular basis in my development process through Sublime Text 2. The functionality of these are both great, but I'm hoping to reduce the number of steps it takes me to accomplish getting the files to the server. My ste

  • Sublime Text 2 Build File - BackslashesNovember 1

    I am trying to setup a custom build in Sublime Text 2. I am having difficulty getting the backslashes in the UNC path path below. When I run this command I always end up with only one backslash no matter if I use. \\ or \\\\\ or \\\\\\ Build File { "

  • Disable build window when building in Sublime Text 2January 19

    How can I prevent the build window from showing in Sublime Text 2 whenever I make a build with Ctrl+B? --------------Solutions------------- The default setting is in Preferences.sublime-settingsin the Default bundle: // Shows the Build Results panel

  • Sublime Text 2 latex tools/New BuildFebruary 28

    Please excuse me if I've posted this in the wrong area. I've just started using Sublime Text 2 for Latex with the LaTeX tools plugin. It's wonderful. I'm using Mac ox 10.6.8 I'm wondering about adding an engine/build for processing .gabc files. Using

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.765 s.