From fd1b9cccabcf3dd428750340d3f624ed809daeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Fri, 22 Jan 2016 15:06:45 +0100 Subject: [PATCH] Test files for #331 --- test/issue/331/minimal.aux | 7 +++++++ test/issue/331/minimal.tex | 20 ++++++++++++++++++++ test/issue/331/minivimrc | 8 ++++++++ 3 files changed, 35 insertions(+) create mode 100644 test/issue/331/minimal.aux create mode 100644 test/issue/331/minimal.tex create mode 100644 test/issue/331/minivimrc diff --git a/test/issue/331/minimal.aux b/test/issue/331/minimal.aux new file mode 100644 index 0000000..a8d5f15 --- /dev/null +++ b/test/issue/331/minimal.aux @@ -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} diff --git a/test/issue/331/minimal.tex b/test/issue/331/minimal.tex new file mode 100644 index 0000000..06ca6c8 --- /dev/null +++ b/test/issue/331/minimal.tex @@ -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} diff --git a/test/issue/331/minivimrc b/test/issue/331/minivimrc new file mode 100644 index 0000000..99f968e --- /dev/null +++ b/test/issue/331/minivimrc @@ -0,0 +1,8 @@ +set nocompatible + +let &rtp = '~/.vim/bundle/vimtex,' . &rtp +let &rtp .= ',~/.vim/bundle/vimtex/after' + +filetype plugin indent on +syntax enable +