Test files for #331

This commit is contained in:
Karl Yngve Lervåg 2016-01-22 15:06:45 +01:00
parent 248bbeed2e
commit fd1b9cccab
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,7 @@
\relax
\providecommand*{\memsetcounter}[2]{}
\@writefile{lof}{\contentsline {figure}{\numberline {0.1}{\ignorespaces sdadasda \si {\m }}}{1}}
\newlabel{fig:fig1}{{\M@TitleReference {0.1}{sdadasda \si {\m }}}{1}}
\newlabel{eq:eq1}{{\M@TitleReference {1}{}}{1}}
\memsetcounter{lastsheet}{1}
\memsetcounter{lastpage}{1}

View File

@ -0,0 +1,20 @@
\documentclass{memoir}
\usepackage[demo]{graphicx}
\usepackage{siunitx}
\begin{document}
\begin{equation}
f(x) = 1.0
\label{eq:eq1}
\end{equation}
\begin{figure}[tbp]
\centering
\includegraphics[height=\linewidth]{somefig}
\caption{sdadasda \si{\m}}
\label{fig:fig1}
\end{figure}
Reference here:
\end{document}

8
test/issue/331/minivimrc Normal file
View File

@ -0,0 +1,8 @@
set nocompatible
let &rtp = '~/.vim/bundle/vimtex,' . &rtp
let &rtp .= ',~/.vim/bundle/vimtex/after'
filetype plugin indent on
syntax enable