Gedit + Latex Plugin - Bibtex not working - latex

I writed an article in latex some time ago. Now that i use Ubuntu i work with Gedit + Latex plugin. I use bibtex and i found no problem running the work already done.
Now when i add a new entry to my bibtex file it doens't appear on pdf (like it wasn't there [?] ). The older references are correctly displayed.

This has nothing to do with Ubuntu or gedit. Simply adding an entry to your .bib file is not sufficient. You will have to run bibtex again to display the new references (assuming you have cited them in the .tex file).
If you are using latex to compile to a pdf, follow these steps:
latex filename
bibtex filename
latex filename
latex filename
dvipdf filename (or you can do dvips filename followed by ps2pdf filename
If you are using pdflatex, then do these:
pdflatex filename
bibtex filename
pdflatex filename
pdflatex filename

Related

LaTeX does not compile into pdf

TexMaker settings 1
TexMaker settings 2
I am new to LaTeX and it appears I cannot compile code (even the simplest) into a pdf view. When I use the quickbuild command it shows:
Could not start the command. pdflatex -synctex=1 -interaction=nonstopmode %.tex
I use "TexMaker", MikTeX console has all updates, LaTeX is recognized using Windows command console, the file is properly saved.
Simply restarting everything does not work.
(and that's all the code there is for the file)
\documentclass[12pt]{article}
\begin{document}
Test.
\end{document}
Problem solved
Thanks to samcarter, I added the path to pdflatex.exe in Options => Commands => PdfLaTeX to the command line and it works fine now.

removing the date from a PDF-Latex output through IPython Notebook conversion

How can I remove the date from a PDF-Latex output through IPython Notebook conversion? I have tried removing so many packages in the Latex document but the date doesn't seem to be removed
Download the IPython/Jupyter ipynb file as (la)tex file. Open the tex file and add the line
\date{}
just before
\maketitle
Then compile the tex file with with pdflatex.

Pandoc: does not include input files

I have a LaTeX file that refers to many other single files. Those files are included/referenced by
\input{somefolder/somefile}
Context: Now I'm trying to import the LaTeX to Adobe Indesign by converting it to Docx first and then to Indesign using Pandoc.
Problem: But somehow Pandoc is generating the output just from the main tex file (the entry point) and does not follow the inputs. What am I doing wrong?
pandoc main.tex -t docx -o main.docx
Newer versions of pandoc seem to support the \input{} construct (tried on pandoc 1.19.2.1).
Also, why go via docx? Try:
pandoc input.tex -o output.icml
and place the generated ICML in your InDesign document.

How to add watermark to the doxygen generated PDF file

I am generating the PDF file using doxygen on a Linux system.
I am using "make" in the latex folder. This generates the refman.pdf. I want to add a "INTERNAL ONLY" watermark to this. How can I achieve this? Is there a configuration item in the doxygen config file?

To get the current $USER in LaTeX

My friend has the following in his computer in a LaTeX document
\includegraphics[width=13.0cm]{/Users/max/Dropbox/2_user_cases.png}
I would like to have a variable for the username such that we can collaborate faster.
Pseudo-code about what I wont
\includegraphics[width=13.0cm]{/Users/`echo $USER`/Dropbox/2_user_cases.png}
How can you have such an command inside LaTeX?
I'm not sure you can access envvars from LaTeX. As Rutger Nijlunsing has said, you can try "~/" since it is an alias to "/Users/<username>".
If there are other envvars that you need to access, my suggestion is using Makefile to 'compile' the .tex (or a shell script) calling sed to replace such word.
sed -i "s/max/$USER/" file.tex
latex file.tex
bibtex ...
latex ...
in the graphicx package, you can define a folder for latex to look for all your images in, like this:
\graphicspath{{images/}}
In this particular configuration, latex looks for a folder in the same directory as your file called "images."
I don't see why you'd want to use a full path just to get image in...
Make a folder, put your .tex source file in there, create a folder for your images.
Stick you work in some sort of revision control system (git, SVN, etc etc.)
Commit often, and you're on your way.
use ~ for your homedirectory (which is probably /Users/$USER):
\includegraphics[width=13.0cm]{~/Dropbox/2_user_cases.png}

Resources