2017-08-13 19:58:45 +02:00
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
Figure \ref{fig:1}
|
|
|
|
^D
|
2017-08-16 19:46:56 +02:00
|
|
|
[Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:1")]) [Str "[fig:1]"] ("#fig:1","")]]
|
2017-08-13 19:58:45 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
Figure \cref{fig:1}
|
|
|
|
^D
|
2017-08-16 19:46:56 +02:00
|
|
|
[Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:1")]) [Str "[fig:1]"] ("#fig:1","")]]
|
2017-08-13 19:58:45 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
Figure \vref{fig:1}
|
|
|
|
^D
|
2017-08-16 19:46:56 +02:00
|
|
|
[Para [Str "Figure",Space,Link ("",[],[("reference-type","ref+page"),("reference","fig:1")]) [Str "[fig:1]"] ("#fig:1","")]]
|
2017-08-13 19:58:45 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
Accuracy~\eqref{eq:Accuracy} is the proportion, measuring true results among all results.
|
|
|
|
|
|
|
|
\begin{equation}
|
|
|
|
\label{eq:Accuracy}
|
|
|
|
Accuracy = \frac{t_p + t_n}{t_p + f_p + f_n + t_n}
|
|
|
|
\end{equation}
|
|
|
|
^D
|
2017-08-16 19:46:56 +02:00
|
|
|
[Para [Str "Accuracy\160",Link ("",[],[("reference-type","eqref"),("reference","eq:Accuracy")]) [Str "[eq:Accuracy]"] ("#eq:Accuracy",""),Space,Str "is",Space,Str "the",Space,Str "proportion,",Space,Str "measuring",Space,Str "true",Space,Str "results",Space,Str "among",Space,Str "all",Space,Str "results."]
|
2017-08-13 19:58:45 +02:00
|
|
|
,Para [Math DisplayMath "\\label{eq:Accuracy}\n Accuracy = \\frac{t_p + t_n}{t_p + f_p + f_n + t_n}"]]
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
\begin{figure}
|
|
|
|
\includegraphics{command/SVG_logo.svg}
|
|
|
|
\caption{Logo}
|
|
|
|
\label{fig:Logo}
|
|
|
|
\end{figure}
|
|
|
|
|
|
|
|
Figure \ref{fig:Logo} illustrated the SVG logo
|
|
|
|
^D
|
2020-02-13 02:43:10 +01:00
|
|
|
[Para [Image ("fig:Logo",[],[]) [Str "Logo"] ("command/SVG_logo.svg","fig:")]
|
2018-09-10 07:53:18 +02:00
|
|
|
,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo")]) [Str "1"] ("#fig:Logo",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]]
|
2017-08-13 19:58:45 +02:00
|
|
|
```
|
|
|
|
|
2018-09-10 07:53:18 +02:00
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
\chapter{One}
|
|
|
|
\begin{figure}
|
|
|
|
\includegraphics{command/SVG_logo.svg}
|
|
|
|
\caption{Logo}
|
|
|
|
\label{fig:Logo}
|
|
|
|
\end{figure}
|
|
|
|
|
|
|
|
\begin{figure}
|
|
|
|
\includegraphics{command/SVG_logo2.svg}
|
|
|
|
\caption{Logo2}
|
|
|
|
\label{fig:Logo2}
|
|
|
|
\end{figure}
|
|
|
|
|
|
|
|
\chapter{Two}
|
|
|
|
|
|
|
|
\section{Subone}
|
|
|
|
|
|
|
|
\begin{figure}
|
|
|
|
\includegraphics{command/SVG_logo3.svg}
|
|
|
|
\caption{Logo3}
|
|
|
|
\label{fig:Logo3}
|
|
|
|
\end{figure}
|
|
|
|
|
|
|
|
Figure \ref{fig:Logo} illustrated the SVG logo
|
|
|
|
|
|
|
|
Figure \ref{fig:Logo2} illustrated the SVG logo
|
|
|
|
|
|
|
|
Figure \ref{fig:Logo3} illustrated the SVG logo
|
|
|
|
^D
|
|
|
|
[Header 1 ("one",[],[]) [Str "One"]
|
2020-02-13 02:43:10 +01:00
|
|
|
,Para [Image ("fig:Logo",[],[]) [Str "Logo"] ("command/SVG_logo.svg","fig:")]
|
|
|
|
,Para [Image ("fig:Logo2",[],[]) [Str "Logo2"] ("command/SVG_logo2.svg","fig:")]
|
2018-09-10 07:53:18 +02:00
|
|
|
,Header 1 ("two",[],[]) [Str "Two"]
|
|
|
|
,Header 2 ("subone",[],[]) [Str "Subone"]
|
2020-02-13 02:43:10 +01:00
|
|
|
,Para [Image ("fig:Logo3",[],[]) [Str "Logo3"] ("command/SVG_logo3.svg","fig:")]
|
2018-09-10 07:53:18 +02:00
|
|
|
,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo")]) [Str "1.1"] ("#fig:Logo",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]
|
|
|
|
,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo2")]) [Str "1.2"] ("#fig:Logo2",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]
|
|
|
|
,Para [Str "Figure",Space,Link ("",[],[("reference-type","ref"),("reference","fig:Logo3")]) [Str "2.1"] ("#fig:Logo3",""),Space,Str "illustrated",Space,Str "the",Space,Str "SVG",Space,Str "logo"]]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2017-08-13 19:58:45 +02:00
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
\label{section} Section \ref{section}
|
|
|
|
^D
|
2017-08-21 01:52:03 +02:00
|
|
|
[Para [Span ("section",[],[("label","section")]) [Str "[section]"],Space,Str "Section",Space,Link ("",[],[("reference-type","ref"),("reference","section")]) [Str "[section]"] ("#section","")]]
|
2017-08-13 19:58:45 +02:00
|
|
|
```
|