Sublime Forum

Bibliography missing. Using LaTeXTools and Biber

#1

How do I successfully compile a .tex when it calls a .bib? I am using bibla and biber. I know how to do this on TexStudio, but not on Sublime. The most relevant post I found is below, but I can’t follow the instructions as things look different. https://tex.stackexchange.com/questions/59457/bibliography-missing-from-pdf-sublime-text-2-and-miktex
The answer that looks the most right implements a compile sequence of: pdflatex, biber, pdflatex, pdflatex in the LaTeX.sublime-build file.

Can someone please show me how I need to edit my LaTeX.sublime-build file to achieve that compile sequence? I want to be able to compile after selecting “Latex” build system and pressing command+B. My sublime-build file looks like:

// General settings; DO NOT MODIFY!!!
"target": "make_pdf",
"selector": "text.tex.latex",

// Mac-specific settings
// ---------------------

"osx":
	{
	// Mac texification settings
	// -------------------------
	// Personalize this, IF you know what you are doing!
	// e.g. change 'pdflatex...' to 'xelatex...'
	// Refer to the documentation for latexmk
	//
	// Note: do NOT include $file or similar!!!
	// Only configure the compilation parameters you need, MINUS the
	// actual file to be compiled
	// 
	// By default, latexmk is told to use pdflatex, with synctex on for
	// backward/forward search, forcing compilation (e.g. even if no bib file is found)
	// and producing pdf rather than dvi output
	"cmd": "latexmk", 
			"-cd",
			"-e", 
			"\\$pdflatex = '%E -interaction=nonstopmode -synctex=1 %S %O'",
			//"-silent",
			"-f", "-pdf"],

	// Paths to TeX binaries; needed as GUI apps do not inherit
	// the profile. MUST EXPLICITLY PRE/APPEND $PATH!
	// This is preconfigured for MacTeX (2009 and up I guess)
	"path": "$PATH:/usr/texbin:/usr/local/bin:/opt/local/bin",
	
	// DO NOT MESS WITH THE FOLLOWING!!!
	"file_regex": "^(...*?):([0-9]+): ([0-9]*)(^\\.]+)"
	},
0 Likes

#2

Normally, your file should compile when you hit cmd+b.

Could you please provide us with a minimal tex example of your problem and the system set up you use? This would help to reproduce the issue…

0 Likes