I am trying to export an .org
buffer with the following contents:
#+CAPTION: My subgraph.
#+NAME: fig:subgraph
[[/tmp/image-4383FmT.png]]
The following latex
output is produced:
% Created 2018-01-30 Tue 09:32
% Intended LaTeX compiler: pdflatex
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\author{meir}
\date{\today}
\title{}
\hypersetup{
pdfauthor={meir},
pdftitle={},
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 24.5.1 (Org mode 9.1.4)},
pdflang={English}}
\begin{document}
\tableofcontents
\begin{figure}[htbp]
\centering
\includegraphics[width=.9\linewidth]{/tmp/image-4383FmT.png}
\caption{\label{fig:org39390dd}
My subgraph.}
\end{figure}
\end{document}
The #+NAME:
command was ignored. It works properly when I start Emacs with emacs -q
. In the search for the guilty line in my configuration, I commented out lines in init.el
until nothing remained, but the problem persists. What is going on? What is the difference between -q
and empty init file? (I compared the *Messages*
buffer after starting Emacs
both ways and did not find any difference)
emacs -Q
this also doesn't run the system configuration files foremacs
. – Tobias Jan 30 '18 at 9:22emacs -q
oremacs -Q
. – AlwaysLearning Jan 30 '18 at 12:52