mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
- tex2lyx/test-insets.tex: make it compilable, update the document, and add some testcases
- tex2lyx/box-color-sizes-spacings-alignments.tex: update the document - tex2lyx/text.cpp: correct some typos git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24521 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1396dc00a5
commit
0d7fe3346f
5
src/tex2lyx/DummyDocument.tex
Normal file
5
src/tex2lyx/DummyDocument.tex
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
\subsection{\label{sub:External-Subsection}External Subsection}
|
||||||
|
|
||||||
|
This is a small dummy child document to show how files can be inserted
|
||||||
|
to another document.
|
262
src/tex2lyx/box-color-sizes-spacings-alignments.tex
Normal file
262
src/tex2lyx/box-color-sizes-spacings-alignments.tex
Normal file
@ -0,0 +1,262 @@
|
|||||||
|
\documentclass[a4paper,12pt]{article}
|
||||||
|
|
||||||
|
\usepackage[T1]{fontenc}
|
||||||
|
\usepackage[latin9]{inputenc}
|
||||||
|
|
||||||
|
\usepackage{amsmath}
|
||||||
|
\usepackage{color}
|
||||||
|
|
||||||
|
\setlength{\parskip}{3mm}
|
||||||
|
\setlength{\parindent}{0sp}
|
||||||
|
\usepackage{setspace}
|
||||||
|
\setstretch{1.2}
|
||||||
|
|
||||||
|
\setlength{\fboxsep}{3mm}
|
||||||
|
|
||||||
|
\definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
|
||||||
|
|
||||||
|
\usepackage{ifpdf} % part of the hyperref bundle
|
||||||
|
\ifpdf % if pdflatex is used
|
||||||
|
|
||||||
|
% set fonts for nicer pdf view
|
||||||
|
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
|
||||||
|
|
||||||
|
% link all cross references and URLs in pdf output
|
||||||
|
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
|
||||||
|
bookmarksopen, bookmarksopenlevel=2,
|
||||||
|
linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
|
||||||
|
pdfpagelayout=OneColumn, pdfnewwindow=true,
|
||||||
|
pdfstartview=XYZ, plainpages=false, pdfpagelabels,
|
||||||
|
pdfauthor={LyX Team}, pdftex,
|
||||||
|
pdftitle={tex2lyx testcase},pdfsubject={tex2lyx},
|
||||||
|
pdfkeywords={LyX, tex2lyx}]{hyperref}
|
||||||
|
|
||||||
|
\else % if dvi or ps is produced
|
||||||
|
|
||||||
|
% link all cross references and URLs in dvi output
|
||||||
|
\usepackage[ps2pdf]{hyperref}
|
||||||
|
|
||||||
|
\fi % end if pdflatex is used
|
||||||
|
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\tableofcontents
|
||||||
|
|
||||||
|
\section{Boxes}
|
||||||
|
|
||||||
|
\subsection{Frameless Boxes}
|
||||||
|
|
||||||
|
blabla \mbox{mbox} blabla
|
||||||
|
|
||||||
|
blabla \makebox{makebox 1} blabla
|
||||||
|
|
||||||
|
blabla \makebox[3cm]{makebox 2} blabla
|
||||||
|
|
||||||
|
blabla \makebox[3cm][l]{makebox 3} blabla
|
||||||
|
|
||||||
|
\begin{figure}[ht]
|
||||||
|
\centering
|
||||||
|
\setlength{\unitlength}{.2in}
|
||||||
|
|
||||||
|
\begin{picture}(8,6)
|
||||||
|
\put(0,0){\makebox(0,0)[tr]{AAA}}
|
||||||
|
\put(8,0){\makebox(0,0){BBB}}
|
||||||
|
\put(1,0){\line(1,0){6}}
|
||||||
|
\end{picture}
|
||||||
|
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
\raisebox {8.5mm}{test}\raisebox {-6.5mm}{tset}
|
||||||
|
|
||||||
|
\subsection{Framed Boxes}
|
||||||
|
|
||||||
|
blabla \fbox{fbox} blabla
|
||||||
|
|
||||||
|
blabla \framebox{framebox 1} blabla
|
||||||
|
|
||||||
|
blabla \framebox[3cm]{framebox 2} blabla
|
||||||
|
|
||||||
|
blabla \framebox[3cm][l]{framebox 3} blabla
|
||||||
|
|
||||||
|
Dies ist ein Beispieltext. %
|
||||||
|
\framebox{%
|
||||||
|
\begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}%
|
||||||
|
\begin{center}
|
||||||
|
Der Boxinhalt
|
||||||
|
\par\end{center}
|
||||||
|
|
||||||
|
\begin{center}
|
||||||
|
ist über die
|
||||||
|
\par\end{center}
|
||||||
|
|
||||||
|
\begin{center}
|
||||||
|
Boxhöhe
|
||||||
|
\par\end{center}
|
||||||
|
|
||||||
|
\begin{center}
|
||||||
|
gleichmäßig verteilt.
|
||||||
|
\par\end{center}%
|
||||||
|
\end{minipage}}
|
||||||
|
Dies ist ein Beispieltext.
|
||||||
|
|
||||||
|
$\boxed{\int A=B}$
|
||||||
|
|
||||||
|
\section{Colors}
|
||||||
|
|
||||||
|
\subsection{Predefined Colors}
|
||||||
|
|
||||||
|
test \textcolor{blue}{blue} test \textcolor{red}{red red red} test \textcolor{green}{bla}\textcolor{magenta}{blub}
|
||||||
|
test
|
||||||
|
\textcolor{green}{c}%
|
||||||
|
\textcolor{red}{o}%
|
||||||
|
\textcolor{blue}{l}%
|
||||||
|
\textcolor{green}{o}%
|
||||||
|
\textcolor{red}{r}
|
||||||
|
|
||||||
|
\subsection{Custom Colors}
|
||||||
|
|
||||||
|
test \textcolor{darkgreen}{dark green} test
|
||||||
|
|
||||||
|
\definecolor{violet}{rgb}{0.5, 0, 1}
|
||||||
|
|
||||||
|
test \textcolor{violet}{violet} test
|
||||||
|
|
||||||
|
\section{Font sizes}
|
||||||
|
|
||||||
|
\Huge Huge text
|
||||||
|
|
||||||
|
\huge huge text
|
||||||
|
|
||||||
|
\LARGE LARGE text
|
||||||
|
|
||||||
|
\Large Large text
|
||||||
|
|
||||||
|
\large large text
|
||||||
|
|
||||||
|
\normalsize normalsize text
|
||||||
|
|
||||||
|
\small small text
|
||||||
|
|
||||||
|
\footnotesize footnotesize text
|
||||||
|
|
||||||
|
\scriptsize scriptsize text
|
||||||
|
|
||||||
|
\tiny tiny text
|
||||||
|
|
||||||
|
\Huge Huge text \huge huge text \LARGE LARGE text \Large Large text
|
||||||
|
\large large text \normalsize normalsize text \small small text
|
||||||
|
\footnotesize footnotesize text \scriptsize scriptsize text \tiny tiny text
|
||||||
|
\normalsize
|
||||||
|
|
||||||
|
\section{Paragraph spacing}
|
||||||
|
|
||||||
|
bla
|
||||||
|
|
||||||
|
\begin{singlespace}
|
||||||
|
singlespace single singlespace single singlespace single singlespace single
|
||||||
|
singlespace single singlespace single singlespace single singlespace single
|
||||||
|
\end{singlespace}
|
||||||
|
|
||||||
|
\begin{onehalfspace}
|
||||||
|
onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
|
||||||
|
onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
|
||||||
|
|
||||||
|
onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
|
||||||
|
onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2
|
||||||
|
\end{onehalfspace}
|
||||||
|
|
||||||
|
blub
|
||||||
|
|
||||||
|
\begin{onehalfspace}
|
||||||
|
onehalfspace single onehalfspace single onehalfspace single onehalfspace single
|
||||||
|
onehalfspace single onehalfspace single onehalfspace single onehalfspace single
|
||||||
|
\end{onehalfspace}
|
||||||
|
|
||||||
|
blablub
|
||||||
|
|
||||||
|
\begin{doublespace}
|
||||||
|
doublespace single doublespace single doublespace single doublespace single
|
||||||
|
doublespace single doublespace single doublespace single doublespace single
|
||||||
|
\end{doublespace}
|
||||||
|
|
||||||
|
\begin{spacing}{1.2}
|
||||||
|
1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
|
||||||
|
1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single
|
||||||
|
\end{spacing}
|
||||||
|
|
||||||
|
\section{Paragraph alignment}
|
||||||
|
|
||||||
|
bla
|
||||||
|
|
||||||
|
\begin{center}
|
||||||
|
center single center single center single center single center single
|
||||||
|
center single center single center single center single center single
|
||||||
|
\end{center}
|
||||||
|
|
||||||
|
blabla
|
||||||
|
|
||||||
|
\begin{flushleft}
|
||||||
|
flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
|
||||||
|
flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
|
||||||
|
|
||||||
|
flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
|
||||||
|
flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2
|
||||||
|
\end{flushleft}
|
||||||
|
|
||||||
|
blub
|
||||||
|
|
||||||
|
\begin{flushleft}
|
||||||
|
flushleft single flushleft single flushleft single flushleft single
|
||||||
|
flushleft single flushleft single flushleft single flushleft single
|
||||||
|
\end{flushleft}
|
||||||
|
|
||||||
|
blablub
|
||||||
|
|
||||||
|
\begin{flushright}
|
||||||
|
flushright single flushright single flushright single flushright single
|
||||||
|
flushright single flushright single flushright single flushright single
|
||||||
|
\end{flushright}
|
||||||
|
|
||||||
|
bla
|
||||||
|
|
||||||
|
\centering
|
||||||
|
centering single centering single centering single centering single
|
||||||
|
centering single centering single centering single centering single
|
||||||
|
|
||||||
|
blabla
|
||||||
|
|
||||||
|
\raggedright
|
||||||
|
raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
|
||||||
|
raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
|
||||||
|
|
||||||
|
raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
|
||||||
|
raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
|
||||||
|
|
||||||
|
\raggedleft
|
||||||
|
raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
|
||||||
|
raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
|
||||||
|
|
||||||
|
raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
|
||||||
|
raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
|
||||||
|
|
||||||
|
\subsection{Horizontal spaces}
|
||||||
|
|
||||||
|
Lines can have an hfill \hfill in the middle.
|
||||||
|
Lines can have a protected hfill \hspace*{\fill} in the middle.
|
||||||
|
Lines can have space \hspace{2cm} in the middle.
|
||||||
|
Lines can have protected \hspace*{2cm} in the middle.
|
||||||
|
|
||||||
|
\subsection{Vertical spaces}
|
||||||
|
|
||||||
|
Lines can have an hfill \vfill in the middle.
|
||||||
|
Lines can have a protected hfill \vspace*{\fill} in the middle.
|
||||||
|
Lines can have space \vspace{2cm} in the middle.
|
||||||
|
Lines can have protected \vspace*{2cm} in the middle.
|
||||||
|
|
||||||
|
We also handle skips:
|
||||||
|
\bigskip
|
||||||
|
\medskip
|
||||||
|
\smallskip
|
||||||
|
|
||||||
|
\end{document}
|
@ -1,99 +0,0 @@
|
|||||||
\documentclass[a4paper,12pt]{article}
|
|
||||||
|
|
||||||
\usepackage[T1]{fontenc}
|
|
||||||
\usepackage[latin9]{inputenc}
|
|
||||||
|
|
||||||
\usepackage{amsmath}
|
|
||||||
\usepackage{color}
|
|
||||||
|
|
||||||
\setlength{\parskip}{3mm}
|
|
||||||
\setlength{\parindent}{0sp}
|
|
||||||
\usepackage{setspace}
|
|
||||||
\setstretch{1.2}
|
|
||||||
|
|
||||||
\setlength{\fboxsep}{3mm}
|
|
||||||
|
|
||||||
\definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\tableofcontents
|
|
||||||
|
|
||||||
\section{Boxes}
|
|
||||||
|
|
||||||
\subsection{Frameless Boxes}
|
|
||||||
|
|
||||||
blabla \mbox{test} blabla
|
|
||||||
|
|
||||||
blabla \makebox{test} blabla
|
|
||||||
|
|
||||||
blabla \makebox[3cm]{test} blabla
|
|
||||||
|
|
||||||
blabla \makebox[3cm][l]{test} blabla
|
|
||||||
|
|
||||||
\begin{figure}[ht]
|
|
||||||
\centering
|
|
||||||
\setlength{\unitlength}{.2in}
|
|
||||||
|
|
||||||
\begin{picture}(8,6)
|
|
||||||
\put(0,0){\makebox(0,0)[tr]{AAA}}
|
|
||||||
\put(8,0){\makebox(0,0){BBB}}
|
|
||||||
\put(1,0){\line(1,0){6}}
|
|
||||||
\end{picture}
|
|
||||||
|
|
||||||
\end{figure}
|
|
||||||
|
|
||||||
\raisebox {8.5mm}{test}\raisebox {-6.5mm}{tset}
|
|
||||||
|
|
||||||
\subsection{Framed Boxes}
|
|
||||||
|
|
||||||
blabla \fbox{test} blabla
|
|
||||||
|
|
||||||
blabla \framebox[3cm]{test} blabla
|
|
||||||
|
|
||||||
blabla \framebox[3cm][l]{test} blabla
|
|
||||||
|
|
||||||
Dies ist ein Beispieltext. %
|
|
||||||
\framebox{%
|
|
||||||
\begin{minipage}[c][1\totalheight][s]{0.2\columnwidth}%
|
|
||||||
\begin{center}
|
|
||||||
Der Boxinhalt
|
|
||||||
\par\end{center}
|
|
||||||
|
|
||||||
\begin{center}
|
|
||||||
ist über die
|
|
||||||
\par\end{center}
|
|
||||||
|
|
||||||
\begin{center}
|
|
||||||
Boxhöhe
|
|
||||||
\par\end{center}
|
|
||||||
|
|
||||||
\begin{center}
|
|
||||||
gleichmäßig verteilt.
|
|
||||||
\par\end{center}%
|
|
||||||
\end{minipage}}
|
|
||||||
Dies ist ein Beispieltext.
|
|
||||||
|
|
||||||
$\boxed{\int A=B}$
|
|
||||||
|
|
||||||
\section{Colors}
|
|
||||||
|
|
||||||
\subsection{Predefined Colors}
|
|
||||||
|
|
||||||
test \textcolor{blue}{blue} test \textcolor{red}{red red red} test \textcolor{green}{bla}\textcolor{magenta}{blub}
|
|
||||||
test
|
|
||||||
\textcolor{green}{c}%
|
|
||||||
\textcolor{red}{o}%
|
|
||||||
\textcolor{blue}{l}%
|
|
||||||
\textcolor{green}{o}%
|
|
||||||
\textcolor{red}{r}
|
|
||||||
|
|
||||||
\subsection{Custom Colors}
|
|
||||||
|
|
||||||
test \textcolor{darkgreen}{dark green} test
|
|
||||||
|
|
||||||
\definecolor{violet}{rgb}{0.5, 0, 1}
|
|
||||||
|
|
||||||
test \textcolor{violet}{violet} test
|
|
||||||
|
|
||||||
\end{document}
|
|
793
src/tex2lyx/foo.eps
Normal file
793
src/tex2lyx/foo.eps
Normal file
@ -0,0 +1,793 @@
|
|||||||
|
%!PS-Adobe-3.0 EPSF-3.0
|
||||||
|
%%Creator: (ImageMagick)
|
||||||
|
%%Title: (C:/Documents and Settings/usti/Local Settings/Temp/lyx_tmpdir1300a02420/lyx_tmpbuf0/1D__LyXSVN_lyx-devel_lib_templates_CV-image.eps)
|
||||||
|
%%CreationDate: (Wed Apr 04 01:28:58 2007)
|
||||||
|
%%BoundingBox: 0 0 96 96
|
||||||
|
%%HiResBoundingBox: 0 0 96 96
|
||||||
|
%%DocumentData: Clean7Bit
|
||||||
|
%%LanguageLevel: 1
|
||||||
|
%%Pages: 1
|
||||||
|
%%EndComments
|
||||||
|
|
||||||
|
%%BeginDefaults
|
||||||
|
%%EndDefaults
|
||||||
|
|
||||||
|
%%BeginProlog
|
||||||
|
%
|
||||||
|
% Display a color image. The image is displayed in color on
|
||||||
|
% Postscript viewers or printers that support color, otherwise
|
||||||
|
% it is displayed as grayscale.
|
||||||
|
%
|
||||||
|
/DirectClassPacket
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% Get a DirectClass packet.
|
||||||
|
%
|
||||||
|
% Parameters:
|
||||||
|
% red.
|
||||||
|
% green.
|
||||||
|
% blue.
|
||||||
|
% length: number of pixels minus one of this color (optional).
|
||||||
|
%
|
||||||
|
currentfile color_packet readhexstring pop pop
|
||||||
|
compression 0 eq
|
||||||
|
{
|
||||||
|
/number_pixels 3 def
|
||||||
|
}
|
||||||
|
{
|
||||||
|
currentfile byte readhexstring pop 0 get
|
||||||
|
/number_pixels exch 1 add 3 mul def
|
||||||
|
} ifelse
|
||||||
|
0 3 number_pixels 1 sub
|
||||||
|
{
|
||||||
|
pixels exch color_packet putinterval
|
||||||
|
} for
|
||||||
|
pixels 0 number_pixels getinterval
|
||||||
|
} bind def
|
||||||
|
|
||||||
|
/DirectClassImage
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% Display a DirectClass image.
|
||||||
|
%
|
||||||
|
systemdict /colorimage known
|
||||||
|
{
|
||||||
|
columns rows 8
|
||||||
|
[
|
||||||
|
columns 0 0
|
||||||
|
rows neg 0 rows
|
||||||
|
]
|
||||||
|
{ DirectClassPacket } false 3 colorimage
|
||||||
|
}
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% No colorimage operator; convert to grayscale.
|
||||||
|
%
|
||||||
|
columns rows 8
|
||||||
|
[
|
||||||
|
columns 0 0
|
||||||
|
rows neg 0 rows
|
||||||
|
]
|
||||||
|
{ GrayDirectClassPacket } image
|
||||||
|
} ifelse
|
||||||
|
} bind def
|
||||||
|
|
||||||
|
/GrayDirectClassPacket
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% Get a DirectClass packet; convert to grayscale.
|
||||||
|
%
|
||||||
|
% Parameters:
|
||||||
|
% red
|
||||||
|
% green
|
||||||
|
% blue
|
||||||
|
% length: number of pixels minus one of this color (optional).
|
||||||
|
%
|
||||||
|
currentfile color_packet readhexstring pop pop
|
||||||
|
color_packet 0 get 0.299 mul
|
||||||
|
color_packet 1 get 0.587 mul add
|
||||||
|
color_packet 2 get 0.114 mul add
|
||||||
|
cvi
|
||||||
|
/gray_packet exch def
|
||||||
|
compression 0 eq
|
||||||
|
{
|
||||||
|
/number_pixels 1 def
|
||||||
|
}
|
||||||
|
{
|
||||||
|
currentfile byte readhexstring pop 0 get
|
||||||
|
/number_pixels exch 1 add def
|
||||||
|
} ifelse
|
||||||
|
0 1 number_pixels 1 sub
|
||||||
|
{
|
||||||
|
pixels exch gray_packet put
|
||||||
|
} for
|
||||||
|
pixels 0 number_pixels getinterval
|
||||||
|
} bind def
|
||||||
|
|
||||||
|
/GrayPseudoClassPacket
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% Get a PseudoClass packet; convert to grayscale.
|
||||||
|
%
|
||||||
|
% Parameters:
|
||||||
|
% index: index into the colormap.
|
||||||
|
% length: number of pixels minus one of this color (optional).
|
||||||
|
%
|
||||||
|
currentfile byte readhexstring pop 0 get
|
||||||
|
/offset exch 3 mul def
|
||||||
|
/color_packet colormap offset 3 getinterval def
|
||||||
|
color_packet 0 get 0.299 mul
|
||||||
|
color_packet 1 get 0.587 mul add
|
||||||
|
color_packet 2 get 0.114 mul add
|
||||||
|
cvi
|
||||||
|
/gray_packet exch def
|
||||||
|
compression 0 eq
|
||||||
|
{
|
||||||
|
/number_pixels 1 def
|
||||||
|
}
|
||||||
|
{
|
||||||
|
currentfile byte readhexstring pop 0 get
|
||||||
|
/number_pixels exch 1 add def
|
||||||
|
} ifelse
|
||||||
|
0 1 number_pixels 1 sub
|
||||||
|
{
|
||||||
|
pixels exch gray_packet put
|
||||||
|
} for
|
||||||
|
pixels 0 number_pixels getinterval
|
||||||
|
} bind def
|
||||||
|
|
||||||
|
/PseudoClassPacket
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% Get a PseudoClass packet.
|
||||||
|
%
|
||||||
|
% Parameters:
|
||||||
|
% index: index into the colormap.
|
||||||
|
% length: number of pixels minus one of this color (optional).
|
||||||
|
%
|
||||||
|
currentfile byte readhexstring pop 0 get
|
||||||
|
/offset exch 3 mul def
|
||||||
|
/color_packet colormap offset 3 getinterval def
|
||||||
|
compression 0 eq
|
||||||
|
{
|
||||||
|
/number_pixels 3 def
|
||||||
|
}
|
||||||
|
{
|
||||||
|
currentfile byte readhexstring pop 0 get
|
||||||
|
/number_pixels exch 1 add 3 mul def
|
||||||
|
} ifelse
|
||||||
|
0 3 number_pixels 1 sub
|
||||||
|
{
|
||||||
|
pixels exch color_packet putinterval
|
||||||
|
} for
|
||||||
|
pixels 0 number_pixels getinterval
|
||||||
|
} bind def
|
||||||
|
|
||||||
|
/PseudoClassImage
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% Display a PseudoClass image.
|
||||||
|
%
|
||||||
|
% Parameters:
|
||||||
|
% class: 0-PseudoClass or 1-Grayscale.
|
||||||
|
%
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /class exch def pop
|
||||||
|
class 0 gt
|
||||||
|
{
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /depth exch def pop
|
||||||
|
/grays columns 8 add depth sub depth mul 8 idiv string def
|
||||||
|
columns rows depth
|
||||||
|
[
|
||||||
|
columns 0 0
|
||||||
|
rows neg 0 rows
|
||||||
|
]
|
||||||
|
{ currentfile grays readhexstring pop } image
|
||||||
|
}
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% Parameters:
|
||||||
|
% colors: number of colors in the colormap.
|
||||||
|
% colormap: red, green, blue color packets.
|
||||||
|
%
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /colors exch def pop
|
||||||
|
/colors colors 3 mul def
|
||||||
|
/colormap colors string def
|
||||||
|
currentfile colormap readhexstring pop pop
|
||||||
|
systemdict /colorimage known
|
||||||
|
{
|
||||||
|
columns rows 8
|
||||||
|
[
|
||||||
|
columns 0 0
|
||||||
|
rows neg 0 rows
|
||||||
|
]
|
||||||
|
{ PseudoClassPacket } false 3 colorimage
|
||||||
|
}
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% No colorimage operator; convert to grayscale.
|
||||||
|
%
|
||||||
|
columns rows 8
|
||||||
|
[
|
||||||
|
columns 0 0
|
||||||
|
rows neg 0 rows
|
||||||
|
]
|
||||||
|
{ GrayPseudoClassPacket } image
|
||||||
|
} ifelse
|
||||||
|
} ifelse
|
||||||
|
} bind def
|
||||||
|
|
||||||
|
/DisplayImage
|
||||||
|
{
|
||||||
|
%
|
||||||
|
% Display a DirectClass or PseudoClass image.
|
||||||
|
%
|
||||||
|
% Parameters:
|
||||||
|
% x & y translation.
|
||||||
|
% x & y scale.
|
||||||
|
% label pointsize.
|
||||||
|
% image label.
|
||||||
|
% image columns & rows.
|
||||||
|
% class: 0-DirectClass or 1-PseudoClass.
|
||||||
|
% compression: 0-none or 1-RunlengthEncoded.
|
||||||
|
% hex color packets.
|
||||||
|
%
|
||||||
|
gsave
|
||||||
|
/buffer 512 string def
|
||||||
|
/byte 1 string def
|
||||||
|
/color_packet 3 string def
|
||||||
|
/pixels 768 string def
|
||||||
|
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /x exch def
|
||||||
|
token pop /y exch def pop
|
||||||
|
x y translate
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /x exch def
|
||||||
|
token pop /y exch def pop
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /pointsize exch def pop
|
||||||
|
/Times-Roman findfont pointsize scalefont setfont
|
||||||
|
x y scale
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /columns exch def
|
||||||
|
token pop /rows exch def pop
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /class exch def pop
|
||||||
|
currentfile buffer readline pop
|
||||||
|
token pop /compression exch def pop
|
||||||
|
class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
|
||||||
|
grestore
|
||||||
|
} bind def
|
||||||
|
%%EndProlog
|
||||||
|
%%Page: 1 1
|
||||||
|
%%PageBoundingBox: 0 0 96 96
|
||||||
|
userdict begin
|
||||||
|
DisplayImage
|
||||||
|
0 0
|
||||||
|
96 96
|
||||||
|
12.000000
|
||||||
|
96 96
|
||||||
|
1
|
||||||
|
0
|
||||||
|
0
|
||||||
|
256
|
||||||
|
A7B2CA
|
||||||
|
C4CBDC
|
||||||
|
A6B5D5
|
||||||
|
767D90
|
||||||
|
8998B4
|
||||||
|
8DA0CA
|
||||||
|
E2E7EE
|
||||||
|
9DADD1
|
||||||
|
8A9DC8
|
||||||
|
A0AED0
|
||||||
|
6B7895
|
||||||
|
919CBD
|
||||||
|
5A6683
|
||||||
|
A1B0D2
|
||||||
|
CDD1DB
|
||||||
|
AAB8D6
|
||||||
|
99A9CE
|
||||||
|
657089
|
||||||
|
7A88A8
|
||||||
|
C9D1E5
|
||||||
|
8A9CC4
|
||||||
|
717A8D
|
||||||
|
D1D8E9
|
||||||
|
CED5E8
|
||||||
|
99A2B5
|
||||||
|
A2ABCA
|
||||||
|
A8B6D5
|
||||||
|
C5CEE1
|
||||||
|
A9B6D9
|
||||||
|
697489
|
||||||
|
798092
|
||||||
|
6D788B
|
||||||
|
BAC6E0
|
||||||
|
E1E5F0
|
||||||
|
E5E9F1
|
||||||
|
B9C5DE
|
||||||
|
D0D5DC
|
||||||
|
6A7183
|
||||||
|
C2CDCE
|
||||||
|
B5C2DC
|
||||||
|
DAE0ED
|
||||||
|
8993A9
|
||||||
|
94A6CE
|
||||||
|
8BA1C4
|
||||||
|
94A3D1
|
||||||
|
C9CED3
|
||||||
|
57677E
|
||||||
|
C1CCE1
|
||||||
|
BDC9E0
|
||||||
|
616D86
|
||||||
|
99AAD0
|
||||||
|
D8DEEC
|
||||||
|
5D6985
|
||||||
|
AEBCD9
|
||||||
|
7E8494
|
||||||
|
CDD4E7
|
||||||
|
8B9EC9
|
||||||
|
848A99
|
||||||
|
5B6988
|
||||||
|
808695
|
||||||
|
96A8CE
|
||||||
|
92A4CC
|
||||||
|
BDC8DE
|
||||||
|
DEE2ED
|
||||||
|
C0CDD2
|
||||||
|
9DACCE
|
||||||
|
D6DCED
|
||||||
|
92A3C2
|
||||||
|
C8D0E2
|
||||||
|
D6DCE9
|
||||||
|
B0BEDA
|
||||||
|
B2BCDF
|
||||||
|
E9ECF3
|
||||||
|
616E88
|
||||||
|
B2BBD2
|
||||||
|
D3D9E4
|
||||||
|
6C7689
|
||||||
|
A5B3DB
|
||||||
|
D1D7E4
|
||||||
|
5A6885
|
||||||
|
657086
|
||||||
|
D4DAEA
|
||||||
|
BBC3D5
|
||||||
|
A5B4D2
|
||||||
|
D0D6E9
|
||||||
|
B1B8CC
|
||||||
|
96A8D1
|
||||||
|
A4B3D4
|
||||||
|
656F88
|
||||||
|
ADBCD6
|
||||||
|
99A5C3
|
||||||
|
6A758C
|
||||||
|
939EC1
|
||||||
|
ADBBD8
|
||||||
|
7C8291
|
||||||
|
CBD0D5
|
||||||
|
BFCAE0
|
||||||
|
8FA2CA
|
||||||
|
CCD2E6
|
||||||
|
B2C0DC
|
||||||
|
DCE2F0
|
||||||
|
ACBAD6
|
||||||
|
A2B1D3
|
||||||
|
646E87
|
||||||
|
9199AB
|
||||||
|
C5D0E4
|
||||||
|
BEC4C3
|
||||||
|
BCC7DE
|
||||||
|
DDE0EA
|
||||||
|
B5C1DA
|
||||||
|
C5CDD5
|
||||||
|
B1BFDC
|
||||||
|
B3C1D5
|
||||||
|
677289
|
||||||
|
B1C1D9
|
||||||
|
C5CDE4
|
||||||
|
5B6588
|
||||||
|
566481
|
||||||
|
9EAAC1
|
||||||
|
C9CED8
|
||||||
|
828DA5
|
||||||
|
C5CCD1
|
||||||
|
98A4D2
|
||||||
|
AAB9D8
|
||||||
|
8D9DCD
|
||||||
|
99A9CA
|
||||||
|
BDCCD2
|
||||||
|
C1C9D5
|
||||||
|
98A7CE
|
||||||
|
5A6982
|
||||||
|
787F91
|
||||||
|
A3B2D1
|
||||||
|
8E9BCF
|
||||||
|
757C8F
|
||||||
|
616E81
|
||||||
|
9FB1D2
|
||||||
|
A3AABB
|
||||||
|
7A859E
|
||||||
|
7A8193
|
||||||
|
9EB1CC
|
||||||
|
CFD5E2
|
||||||
|
D8DCE4
|
||||||
|
C2C9D1
|
||||||
|
75839E
|
||||||
|
6B768D
|
||||||
|
627089
|
||||||
|
C4C9D1
|
||||||
|
606A86
|
||||||
|
D3DAED
|
||||||
|
5D6C82
|
||||||
|
B4C2E0
|
||||||
|
B6C3DD
|
||||||
|
91A5C9
|
||||||
|
9BABCF
|
||||||
|
C5CAD5
|
||||||
|
9DAAC9
|
||||||
|
B8C2DD
|
||||||
|
9CAAD1
|
||||||
|
AAB9D3
|
||||||
|
B0BADD
|
||||||
|
97A6CA
|
||||||
|
AEB8DB
|
||||||
|
D2D9EB
|
||||||
|
C8CEE2
|
||||||
|
5E6C87
|
||||||
|
7E8492
|
||||||
|
B9C2DA
|
||||||
|
DCE4EF
|
||||||
|
AEB9D1
|
||||||
|
828897
|
||||||
|
C2CDE4
|
||||||
|
70788B
|
||||||
|
BEC6D8
|
||||||
|
BAC5DA
|
||||||
|
5B6B80
|
||||||
|
596B93
|
||||||
|
929FD1
|
||||||
|
98AAD3
|
||||||
|
C6D0DB
|
||||||
|
B6BEDF
|
||||||
|
B5C4D9
|
||||||
|
8C97CD
|
||||||
|
65728E
|
||||||
|
98ACCA
|
||||||
|
767F94
|
||||||
|
C5CFD2
|
||||||
|
C3CCD6
|
||||||
|
9FACDA
|
||||||
|
6D7DA0
|
||||||
|
7B87A0
|
||||||
|
ADBDD4
|
||||||
|
D4D9C9
|
||||||
|
9FAEC9
|
||||||
|
95A8C3
|
||||||
|
B4BEDA
|
||||||
|
A1B5D0
|
||||||
|
9BAACC
|
||||||
|
AEBDDE
|
||||||
|
737B8E
|
||||||
|
C1C9E4
|
||||||
|
B1BADB
|
||||||
|
D8DFEB
|
||||||
|
A5B8D2
|
||||||
|
68728C
|
||||||
|
707E99
|
||||||
|
CED7E5
|
||||||
|
616F8B
|
||||||
|
B7BED1
|
||||||
|
8A9BD1
|
||||||
|
ECEFF5
|
||||||
|
D7DEF0
|
||||||
|
666C8D
|
||||||
|
CCD3E2
|
||||||
|
67748E
|
||||||
|
646A8C
|
||||||
|
63718D
|
||||||
|
DBDFE6
|
||||||
|
63698B
|
||||||
|
D3DDE8
|
||||||
|
899AC8
|
||||||
|
98ABD4
|
||||||
|
7A818E
|
||||||
|
8394BE
|
||||||
|
888E9D
|
||||||
|
A1B4D4
|
||||||
|
BFC7E2
|
||||||
|
707689
|
||||||
|
60678A
|
||||||
|
9CAECE
|
||||||
|
9EA9D5
|
||||||
|
787E8E
|
||||||
|
8B9DCF
|
||||||
|
7C8395
|
||||||
|
808799
|
||||||
|
8FA3CE
|
||||||
|
62688C
|
||||||
|
C0C8DB
|
||||||
|
788492
|
||||||
|
BFC7D4
|
||||||
|
AFC0D5
|
||||||
|
C4CBE5
|
||||||
|
CFD5CB
|
||||||
|
D6E3EC
|
||||||
|
8FA1D3
|
||||||
|
CBD4E4
|
||||||
|
808FB1
|
||||||
|
A1AED6
|
||||||
|
5F7092
|
||||||
|
AAB8E0
|
||||||
|
8797CA
|
||||||
|
8798BE
|
||||||
|
707B92
|
||||||
|
8A97C7
|
||||||
|
BCC3DF
|
||||||
|
66758A
|
||||||
|
CBD3E6
|
||||||
|
6A245F795F5F2D2D2D2D2D2D2D2D2D790E0E5F0E5F775F775F5F2D2D2D2D2D795F5F5F2D
|
||||||
|
2D2D2D79B25F77776E6E6E6EB26EB26EBABABABA6E6E9ABA9A7F8E8E9A77799A92929292
|
||||||
|
2D2D2D2D7979927977B9B9B97940798E9A6E797E017F6ABF244848064848222222220622
|
||||||
|
060606063F3F3F3F6C6C6C6C6CD8D8D8D88D8D8D4B4B4E4B8C248C240E0E0EB277777777
|
||||||
|
B2B201B201BABA017F7F7F7F7FEEEEEE52525252CFCFCFCF4A4A554A5555555500000000
|
||||||
|
00000000000000768319886AF148D1D1D1D1D1484848484848482222212121213F3F3F3F
|
||||||
|
2828C93345458D4551514B514B4E4E4EF4D4D4D4444444A31B1B1B1B010101ECECADACAD
|
||||||
|
AD525252B3B3B3C2C8C2C8C8A1A1A1A1A11C1C1C1A0202830D830D09E5190910E5E5197F
|
||||||
|
2D224848D14848482222222206060606212121213F3F3F3F28D233424242515116165454
|
||||||
|
541737373737FF6262134444737373732F2FC7606B232023B4B497B4969696966F6F6FC5
|
||||||
|
F8C5F8F8F8F81C1C4DF84D1C4D4D4D57BBF687DCBBE5831B5F48D148D148484848222222
|
||||||
|
2222222221212121A7A7A7A7D2D2D2D2D24242429494A21654545454626262131313A3A3
|
||||||
|
F0F0F0F0C7C7E1C72020232397979797727272EFEFBEBEBE5D5D7B7B0F7B1A1CE0E0E0E0
|
||||||
|
E087878799E48BDCDC2AC07E5F2248222222222222060606212121213F643F2828282828
|
||||||
|
D2424242515151A2A2A216A254541717FFFF13131344731BAAAAAAC72FC730C720202320
|
||||||
|
239797977072EFEFEFEFEFBEBE595959659E9E9ECACACAC3C3C3C38B0DC08B8BE47D767E
|
||||||
|
5F224822482222222222220606060621A7A7A7A7A7A7A72828C9C9C93345DADA54545417
|
||||||
|
1737FFFF1313131344441B1BAAAAAA2F2F6060306B6B2323239CA6A62727636372464646
|
||||||
|
659E9E9E9E531A53025353E08383878309C0C0E4077D887E2D224822D122482222222221
|
||||||
|
22212121A7A728A7C928C9C9DADADADADA4BDA4BA21616CDCDCDCDCDF4F4F4134444441B
|
||||||
|
2F2F2F2F6060603EFDFDFDFDA6A6A6A647B3474747479F9F9F9FA1A1A11C1C1C024D4D57
|
||||||
|
66666666F641E441BB80196E5F2248224822222222212221212121216464646428282828
|
||||||
|
42424242515151A2941617175454371317137373FF3713732F2F60303E3E6B6B20202023
|
||||||
|
239797276363636F464646357B7B7B0F1A1A1A1A0257575766660D0D090707B7077A1979
|
||||||
|
5F2248062222222222212121212121216464646428282828424242425151515154545454
|
||||||
|
545454541313131373732F1B7369AA2F60306B6B20202023239797276363636F46464635
|
||||||
|
7B7B7B0F1A1A1A1A02575783660D0D0D090707B7077A196E5F2222062221222221212121
|
||||||
|
212121216464642828282828424242515151515154545417624444131B13FF37FF131B1B
|
||||||
|
3E3E3E3E3E3E3030202023232397272763636F6F464635357B7B7B0F1A1A1A0257575783
|
||||||
|
660D0D09090707B7077A19795F0622212222212121212121213F3F3F6464282828283333
|
||||||
|
42425151515151165454541737FFFFFFFF7360EC601B1B1BAAAA2F60303E3E3020202323
|
||||||
|
9797272763636F46464635357B7B0F0F1A1A020257578357660D0909099D07B7077A1979
|
||||||
|
2D06222122212121212121213F3F3F3F2828282828333333425151515151161616543737
|
||||||
|
37FF13443713444444441B01AA2F603E6B6B3E302023232397272727636F6F4646353535
|
||||||
|
7B7B0F1A1A1A0202575783660D0D0909099D07B7077A19792D0622210621212121213F3F
|
||||||
|
3F3F3F3F2828282833333333515151515116164EA254173737FF13441B44131BECECEC01
|
||||||
|
2F2F2F60303E3E3E232323239727276D6F6F6F464635355D7B0F0F1A1A02020257835766
|
||||||
|
0D090909099D99B7997A19792D060621062121213F3F3F3F3F3F3F3F2828283333333333
|
||||||
|
5151515116164E16FF5454174401A31337014A1868296868A6AD3E60603E6BAD23232323
|
||||||
|
97276D6D6F6F464646355D5D0F0F0F1A1A020253835783660D090909419D99B7997A1979
|
||||||
|
79060621062121213F3F3F3F3F3F6C2828282833333333455151515116164E16FF5454EC
|
||||||
|
55888888186829393B36E939291876A870AD6B6B2323239797276D6D6F6F464646355D5D
|
||||||
|
0F0F1A1A1A020253835766660D090909419D99B7997A19790E3F2121A728A7A764646464
|
||||||
|
28282828424242424251515194549442541716374BCF8868395E5E3BA93B3B3B3B3B363B
|
||||||
|
E903AB8A680052EC6BA6236DC2966F96464646355D65650F0F0F1A1A1A02535366660D0D
|
||||||
|
0D09090907B1DCB7322C19260E3F3F21A728A72864646464282828284242424251515151
|
||||||
|
54D29417545417A255183939DFDF3B5EA93B3B3B3B3B3B3B1EE8368A1E3B681870A66B97
|
||||||
|
2720966F464646355D65650F0F0F1A1A1A02535366660D0D0D09090941B1DCB7327A1926
|
||||||
|
5F6C3F3FA728A7286464282828282833424242515151515117D294FFFF5417D4DFA95EA5
|
||||||
|
39A9A9A93B3B3B3B3B3B3B3BE83B361EC6C68AE96818709C6D466563464635355D650F0F
|
||||||
|
0F0F1A1A0202535366660D0D0909090941B1DCB7322C19265F6C3F3FA728A72828282828
|
||||||
|
283333334242515151515151943794A21316FF55A53B39393B5EA5393B3B3B3B3B3B3B3B
|
||||||
|
E9E81E1E363B8A82C6E97670209C5D9C4646355D65650F0F0F1A1A1A02535353660D0D0D
|
||||||
|
0909090941B1DCB7322C1926776C3F3F28C928C928282833333333335151515151511616
|
||||||
|
421317511737CF68DF39A939393BA5A53B3B3B3B3B3B3B36E88A8A8A8A1E82038215E918
|
||||||
|
A8306DA84635355D650F0F0F1A1A1A1A025353570D0D0D0D0909094141B1DCB7327A9B26
|
||||||
|
77D86C6C28C928C928333333333345455151515151161616541662D4A2521839DFA93BA9
|
||||||
|
39393BA53B3B3B3B3B3636368A8A8A1E828203031EC615C6294A6D463535355D650F0F0F
|
||||||
|
1A1A1A1A025357830D0D0D0D0909414199B1B1B7322C9B262DD86C6C284528C933333333
|
||||||
|
454545455151515116164E16379437441B88E9393BA9A9A93B3B3BA93B3B3B3B3B363636
|
||||||
|
8A1E821EE8368A1EE61E8A158A6800AD35355D5D650F0F0F1A1A1A02535383570D0D0D09
|
||||||
|
0909414199B1B1B7327A9B262DD86C6C284528C933333333454545455151511616164E16
|
||||||
|
17541617CF295EDF39A9A93B3B3B3B363B3B3B3B36363636828AE88A8203828ADD15DD82
|
||||||
|
15B8290035355D65650F0F0F1A1A1A02535357830D0D0D09090941419956B1B7322C9B26
|
||||||
|
5F8D2842D2D242DA424294949494A2A216A21654545454175462169A685E393B3B3B3B3B
|
||||||
|
3B3B3B3B3B3B3B3B363636368A8A8A8A1E1E1E82C6E882821EAB82186D35A859650F1C1A
|
||||||
|
020202025783660D870D0707070799999956DC983C7A5A265F8D284242D242DA42949494
|
||||||
|
94A2A2A216A254545454171737625155DFA93BA93B3B3B3B3B3B3B3B3B3B3B3636363636
|
||||||
|
8A8A8A8A1E1E8282828285821EC603DF0065A81A0F7B7B1A02020202578366660D870707
|
||||||
|
070799999956B198102C5A262D8DC99442D251DA94949494A2A2A2165454545454171717
|
||||||
|
44624418A939A5DF3B3B3B3B3B3B3B3B3B3B3B363636365E8A8A8A8A1E1E82821E85C603
|
||||||
|
820385030B53461A1A5D7B1A020202575783660D870D070707079999C456B1983C7A5A26
|
||||||
|
2D8D3351944251DA949494A2A21616165454541717373737134455DF3B393BDF3B3B3B3B
|
||||||
|
3B3B3B363B363636365E5E5E8A8A8A1E1E8282821EC685038503854C89C0709E1A7B7B1A
|
||||||
|
02020257836666660D07070707999999C456B1983C7A5A262D4B33A2949451DAA2A2A216
|
||||||
|
16545454545417173737FF376201683B393BA9393B3B3B3B3B363636363636365E5E5E5E
|
||||||
|
8A8A8A1E1E82820382C68282158582E20A1846591A1A1C1A020202578366660D07070707
|
||||||
|
07999910C45632983C2C5A262D4B45A2A294A24BA21616165454545417173737FFFF6262
|
||||||
|
37CF393BDFA539A93B3B3B3B363636363636365E5E5E5E5E8A8A1E1E8282030382C68282
|
||||||
|
ABC603C61DF5C0A80F0202020202575783660D0D0707070707991010C45656983C2C5A26
|
||||||
|
794B4516A294164B1616165454545417373737FFFF62626237883B3BDF36A93B3B3B3B3B
|
||||||
|
363636363636365E5E5E5E1E8A8A1E1E8282030382858503C615C6C61FB804830F1A1A02
|
||||||
|
0202578366660D0D07070707999910107D5656433C2C5A26794B4516A294164B16165454
|
||||||
|
545417173737FFFF62621313131839A9A9A93B3B3B3B3B363636363636365E5E5E5E1EDD
|
||||||
|
8A1E1E1E828203031E8515C60315ABABCC1189C00F1A1C570202578366660D0D07070707
|
||||||
|
999910107D2A56433C2C5A265F8C4B54545454CD1717171737373737FFFF131313134444
|
||||||
|
CFDF363939A9363B3B3B3B3B363636368A8A8A8A8A1E1E1E1E1E828282820303C6C6C615
|
||||||
|
15151515AB90FB5A530F1C575757660D0D0D090907079D9D9D321010102C56432AB05A40
|
||||||
|
5F8C4E54545454F41717173737373737FF1313131344444488A936A9A939A9A93B3B3B36
|
||||||
|
363636368A8A8A8A1E1E1E1E1E82828282030303C6C6C615151515AB4CFBFB5A9E350266
|
||||||
|
5766660D0D09090907079D9D32321010A02AB12B2AB05A405F244E54175454F437373737
|
||||||
|
37FFFFFF131313134444441B68363BA936A9A93B3B3B3B363636365E8A8A8A8A1E1E1E1E
|
||||||
|
8282828282030385C6C615151515ABABAB1571789B02660266660D0D0D090909079D9D9D
|
||||||
|
321010807D2C56432AB05A405F248C17371717F43737FFFFFFFF13131313134444444444
|
||||||
|
683B3B39363B36363B363636365E5E5E8A8A8A1E1E1E1E828282828203858585C6C61515
|
||||||
|
1515ABAB4CFB5BBD9B0F0D5766660D0D090909099D9D9D9D32101080A02A56433DB05A40
|
||||||
|
2D0E8C37FF1737D4FFFF13131313131344444444441B1BA318A936393B3B363636363636
|
||||||
|
5E5E5E5E8A1E1E1E1E82828282828203858585C61515151515ABABAB4CFBCBCC5A1A0957
|
||||||
|
0D0D0D0D090941419D9D9D9D32108080802A562B2AB05A402D0E8C62FF37FF44FF131313
|
||||||
|
13131313444444441B1B1B1B183B5EA9A9A93B3B3636365E5E5E5E5E1E1E1E1E82828282
|
||||||
|
8203038585C6C6C61515151515ABABABAB1F1111048309570D0D0D09090941419D9D9D32
|
||||||
|
10108080A02C562B3DB05A8E2D0E8C6262FFF44413131313134444444444441B1B1B1B1B
|
||||||
|
68365E3B36A93B363636365E5E5E5E1E1E1E1E1E828282820303038585C6C6C615151515
|
||||||
|
ABABABE24C90FBFB5C1A57090D0D0D09094141419D9D9D3210808080A02C562B3DB05A26
|
||||||
|
2D0ED46262FF6244131313134444444444441B1B1B1B011B295E3B3B5EA936E636365E5E
|
||||||
|
5E5E1EDD1E1E1E828282828203038585C6C6C6C615151515ABABABAB4C5B90CB0483570D
|
||||||
|
0D0D0909094141419D9D9D3210808080A02C562B3DB05A40B24444131369696969696969
|
||||||
|
6969696969AA2FAAAAAA30AD3B368AE8368A8A368A8A8A8A8A1E1E1E1E1E828282820303
|
||||||
|
C6C6C6C6C615151515151F1F1F1F1F4C4CFB500A0BC0E487870D070707079999B1B15656
|
||||||
|
2A2A2A2A3DEAEA9861B05C40B2B2441313136969696969696969696969AA2FAAAAAA30AD
|
||||||
|
E936E9E9E8E8E88A8A8A8A8A1E1E1E1E1E82828282030303C6C6C6C61515151515151F1F
|
||||||
|
1F1F4C4C1F901D89C15387E40D87070707079999B15656562A2A2A2A3D2CEA9861B05C40
|
||||||
|
B2B244131369696969696969691BAA1BAAAA2F2FAA2F3E6BE91EE8361EE836038A8A8A8A
|
||||||
|
1E1E1E1E8282828282030385C6C6C6C61515151515151F1F1F1F4C4C1F5BFB04C00287E4
|
||||||
|
0D07070707999910565656562A2A2A2A3D2C059861B05C40B2B244446969691B69691BAA
|
||||||
|
1BAA2F2FAA2F2F2F2F2F306B683682361E8A36038A8A8A1E1E1E1E828282828203858585
|
||||||
|
C6C6C61515151515151F1F1F1F4C4C4C5B50BD760D8B878707070707079910105656562A
|
||||||
|
2A2A2A2A3D2CEA9805B05C406EB2A3737369AA1BAA1B2F2F2F2F2F2F2F2F2F2F2F603E6B
|
||||||
|
55298236E88AE8828A1E1E1E1E82828282828203858585C6C6151515151515151F1F1F1F
|
||||||
|
1F4C4C4C1D11788B83418787070707079910101056562A2A2A2A3D3D3DEA059805B05C40
|
||||||
|
6EB21B1B73AA1B2F2F2F2F2F2F2F2F2F2F2F60606030303E5229E6E68A1E8A8A1E1E1E1E
|
||||||
|
828282828203038585C6C6C615151515151515151F1F1F1F4C4C4C4C906778C083098707
|
||||||
|
0707079999101010562A2A2A2A2A3D3D3DEA059805B05C406E6E1B1B73AA2F2F2F2F2F2F
|
||||||
|
2F6060602F606030303E3060CF18E88503821E8A1E1E1E1E828282820303038585C6C6C6
|
||||||
|
15151515151515151F1F1F1F4C4C4C4C5BB678C08307070707070799C41010802A2A2A2A
|
||||||
|
2A3D3D3D3DEA052B05B05C406E011B1B73AA2F2F2F2F2F2F60606060606060303E3E3E30
|
||||||
|
EC556836E88A82821E1E1E828282828203038585C6C6C6C615151515151515151F1F1F1F
|
||||||
|
4C4C4C4C11D5290D0DC4078707070799101010802A2A2A2A2A3D3D3D3DEA05612BB05C40
|
||||||
|
6E0101C7C7C730C760606060303030302020202020202020A6A6AC788282823682828282
|
||||||
|
03030303C6C6C6C6C6151515151515151F1F1F1FFB901FFB1F1D1D900AB6049B0983C409
|
||||||
|
323232323C3C3C2A2A2A2A2A3D3D3D3D6105052B387C5C406E0101C7C7C730C730606030
|
||||||
|
3030303020202020202020209C6DAD68B88A82858282828203030303C6C6C6C615151515
|
||||||
|
1515151F1F1F1F1F1F909090905B5B9011B6044109574107323232323C3C2A2A2A2A2A2A
|
||||||
|
3D3D3D3D0505382B087C0B406EBA01C7E1E1303030303030303030302020202020232323
|
||||||
|
30A62076B81E1E038282030303038585C6C6C6C6151515151F1F1F1F1F1F1F1F9090901D
|
||||||
|
5B5B5B5BA40A0B09095707993232323C3C3C2A2A2A2A2A2A3D3D3D610505382B387C0B40
|
||||||
|
BABAECE1E1E130303030303030306B6B202023232323232320239CA88AFB15E803030303
|
||||||
|
85858585C6C6C615151515151F1F1F1F1F1F1F1F5B15901D5B5B1D1D0A125A0D410D0710
|
||||||
|
32323C3C3C2A2A2A2A2A2A3D3D3D61612B05382B147C0B40BA7FECE1E120E16B30306B6B
|
||||||
|
6B6B23202323232323239797C29C594A298A1503030385858585C6C6C615151515151515
|
||||||
|
1F1F1F1F1F4C4C4C1DFB901D901D501FF50B0909C4073232323C3C3C2A2A2A2A2A2A3D3D
|
||||||
|
3D6161610505382B14840B40BA7FECFDE1206B6B6B6B6B20232023202323239797979797
|
||||||
|
279759A6001878C685858585C6C6C6C615151515151515151F1F1F4C4C4C4C4C1D15905B
|
||||||
|
907171B8C10983097D1032323C3C3C3C2A2A983D2A3D3D3D616161612B7C082B147C0B40
|
||||||
|
7F7FACE1FD20236B2023202320232323979797979727272796976397B4A800B88585C6C6
|
||||||
|
C6C6C6C615151515151515151F4C4C4C4C4C4C4C5B1F1D1D90505B78C00D09411032DCDC
|
||||||
|
3C3C3C2A2A2A3D3D3D3D3D3D616161052B7C082B147C0B407FEEACFDE1FD236B23202320
|
||||||
|
23232323979797972727272746466359C26DADB803C6C6C6C6C6C6C61515151515151515
|
||||||
|
4C4C4C4C4C4C4C4C9090717190501529E4E47DC49932DCDC3C3C3C2A2A983D3D3D3D3D3D
|
||||||
|
616105052B7C082B14840B406EAC9C9620B49CFD97979797972727276363636363636363
|
||||||
|
6F636346639653431FC6B8851503851F1F1F1F1F1F1F1F1F1F1F1F1F4C4C4C4C4C1D1D58
|
||||||
|
CBB6BC5A9D9D9D3232101010562A2A2A2A3D3D3DEAEA61050505050538E7082B08840B40
|
||||||
|
6EAC9C9623B49CFD969797972727272763636363636363634663463546630FC0ABB8154C
|
||||||
|
C6AB4C851F1F1F1F1F1F1F1F1F1F1F4C4C4C4C1D1D1D1D5BD5498F7D9D9D9D3232101010
|
||||||
|
562A2A2A2A3D3D3D61EA61050505050538E7082B08840B406EAC9C9623B49CFD97972727
|
||||||
|
2727636363636363636F466F466F46653563461AE8B8ABAB85E21D851F1F1F1F1F1F1F1F
|
||||||
|
4C4C4C4C4C1D1D1D501F1190B6D7F5C49D9D3232101080802A2A2A2A2A3D3D3DEA610505
|
||||||
|
0505383838E7082B08840B4079AC9C9697B46DFD962727636363636363636F466F464646
|
||||||
|
466F46655D466F3568CC90B81515C64C1F1F1F1F1F1F1F1F4C4C4C1D1D1D1D1D711D5011
|
||||||
|
49BC5C4110323210108080802A2A2A2A3D3D3D61050505050538383838E7082B08840B40
|
||||||
|
7952B396B4709CB36363636363636363466F464646463535356F6F355D3535C500BD1DFB
|
||||||
|
15FB031D1F1F1F1F1F1F4C4C1D1D1D1D1D1D1D1D4C5071A4B6F5A0C43232101080808080
|
||||||
|
2A2A2A3D3D3D6161050505053838383838E7082B08840B408E52C2632770C2B363636363
|
||||||
|
6F466F464646463535353535354646465D6565654618CC71FB154C1F1F1F1F1F4C4C4C4C
|
||||||
|
1D1D1D1D1D1D1D1D9086D5D78F43C47D10101080808080802A2A2A3D3D61616105050538
|
||||||
|
3838383838E7082B08840B408E52C263B470C2B36363466F466F46463535353535595959
|
||||||
|
5D353535650F0F0FBE00048FFB9071FB1F1F4C4C4C4C1D1D1D1D1D1D1D1D1D1DFE49D589
|
||||||
|
044141A01010808080802AA02A2A3D3D3D616161050538383838080838E7082B08840B40
|
||||||
|
8E52C2637270C2B36F466F466F46464635353535595959595D5D5D650F0F0F0F1A4A000B
|
||||||
|
B85B1F1F1F4C4C4C4C1D1D1D1D1D1D1D1D1D1D1D8691D504414107A0101080808080A02A
|
||||||
|
2A2A3D3D61616161050538383838080838E7082B08840B4077CF47C546EF594746464646
|
||||||
|
4635353559595959656565657B7B7B0F0F0F0F0F02025D00BD0A904C909090905B5B5B5B
|
||||||
|
1D1D1D1D71717171D54949437D103C562A2A2A2A2A2A3D3DEAEA61050505050538383838
|
||||||
|
3838383838E7082B08840B4077CFC8C5BEEF354746464646353535355959596565656565
|
||||||
|
7B7B0F0F0F0F1A1A1C020F83BD905B4C909090905B5B5B5B1D1D1D1D71717171CB11CE43
|
||||||
|
7D103C562A2A2A2A2A2A3D3D61EA610505050505383838383838383838E7082B08840B40
|
||||||
|
774AC8C559EF59474646353535355D5D65656565650F0F0F0F0F0F0F1A1A1A1A7B571A83
|
||||||
|
BD5B5B4C90905B5B5B5B1D1D1D1D71717171505011119143C43C3C562A2A2A2A2A3D3D3D
|
||||||
|
EA61050505053838383838383838383838E7082B08840B409A4AC8C559BE65473535355D
|
||||||
|
5D5D5D6565650F0F0F0F0F0F1A1A1A1A1A1A1A1A1C66020089CB1D4C5B5B5B5B1D1D1D1D
|
||||||
|
71717171505050506711B60BB7A02A562A2A2A2A3D3D3D3D050505050538383838383838
|
||||||
|
3838383838E7082B08840B409A55C8C559BE9E9F5D5D5D65656565657B7B0F0F0F0F1A1A
|
||||||
|
1A1A1A1A1A02020202661A83BD5B714C5B5B1D1D1D1D1D1D71715050505050506711D704
|
||||||
|
C4983C2A2A2A2A3D3D3D3D3D0505050538383838383838383838383838E7082B08840B40
|
||||||
|
9A55C85D65BE9E9F656565650F0F0F0F0F0F0F1A1A1A1A1A1A1A02020202535302571AC0
|
||||||
|
8F5B1D1D1D1D1D1D1D1D1D1D50505050505050506711CEF57D982A2A2A2A3D3D3D3D6161
|
||||||
|
0505053838383838383838383838383838E7082B08840B409A55A1C59EBE9EA165650F0F
|
||||||
|
0F0F0F0F1C1C1C1C1C021C1A020202025353535357570276CCCB5B251D1D1D1D1D1D7171
|
||||||
|
5050505050505050119131F57D982A3D3D3D3D3D3D616161050538383838080838383838
|
||||||
|
3838383838E7082B08840B409A55A15D9E9E9EA10F0F0F0F0F0F0F0F1C1C1C1C1A1C021C
|
||||||
|
02020253535353575757574390CB5B251D1D1D1D1D71717150505050505050501167A412
|
||||||
|
7D982A3D3D3D3D3D3D6161610505383838380808383838383838383838E7082B08840B40
|
||||||
|
9A4A1CF81C9E1A1C1C1C1C1C1C1C1C1C1A1A1A1A1A0202021C4D6666571C0266A87604B8
|
||||||
|
CB67CB90CB71717171111111111111119191919191A44FD5780B7D5A2BEA2AEA050505EA
|
||||||
|
057C053808383838383838383838383838E7082B08840B406EA81CF81C9E021C1C1C1C1C
|
||||||
|
1C1C1C1C1A1A025353578383094D1C1C0D09831A0B78FBCB5B0A5B587171717171111111
|
||||||
|
111111119191919149919149CE0A780B9898050561EA0538080808083838383838383838
|
||||||
|
3838383838E7082B08840B409A551CF8029E531C1C021C021C021C1A0202025353020202
|
||||||
|
A16609661A0D4329FB90116771CBCB7171717111111111111111919191914949A44949A4
|
||||||
|
0C3AB6CCFA142B612B080838387C050538380808383838383838383838E7082B08840B40
|
||||||
|
79A81C4D02CA531C0202020202020202535353535783535366021A575A29CCB631715BCB
|
||||||
|
5867115B11111111115858589191919149494949A43434A449A43A75F7BCF52B43381414
|
||||||
|
08083838380808DB383838383838383838E7082B08840B408E551C4D02CA531C02020202
|
||||||
|
02020253575353835783830D83C05AF5CCD7D7D55BCBCBCB5B5B71671111115858585858
|
||||||
|
9191494949493131A4A4A4A434343AA4754FF7BCF5FA5C43DBDBDBDBDB08080838383838
|
||||||
|
3838383838E7082B08840B408E55574D02CA83020202020202020202838353020257830D
|
||||||
|
5A29FB4931CB5B1D90CB1171CB5B11675858585858676767494949493131313149A4A434
|
||||||
|
4F4F3AA4A44F7575A4BCF5047C050505383808DB383838383838383838E7082B08840B40
|
||||||
|
8E55574D5753835757575757575757570D830D099B430B040A0AD5909090718611CBCB71
|
||||||
|
5867587158585867676767674949313131313131A4348134A4A43A750C34A43A0C74CEF7
|
||||||
|
F5F5DEDB08380808383838383838383838E7082B08840B408E55574D5753835757575757
|
||||||
|
57575757830D9B43F5BD0AF7581111505050FE1D71711111585811715858586767676767
|
||||||
|
493131313131313134A495A4344F3AA434810C7575757575AFAFBC12DEDB380508383838
|
||||||
|
3838383838E7082B08840B40261A4DE0C00257C0095702660D0941437889FB716767715B
|
||||||
|
CB717171711111111111111111111111919191494949494931939393939393933A3A4F3A
|
||||||
|
4F3A4F4F4F4F4F4F4F4F4F0C3A7575754FD7CC8F1414FA145C0505DB14F9F308DBB55A26
|
||||||
|
261AF6878BE00D8383839B5CF512CCBC5BCBCB1111CBCB90717171717111111111111111
|
||||||
|
11111167919149494949313193939393939393933A3A4F3A4F4F4F4F4F4F4F4F4F4F4F4F
|
||||||
|
3A4F4F0C4F4FA4A4F7D5BC12DEDE14145CD07C0838B543262653BB87C3660953C0048FD5
|
||||||
|
9191919167675871CBCB7171717171111111111111111111116767674949494931313131
|
||||||
|
93939393939393933A4F3A4F3A4F4F4F4F4F4F4F4F4F4F4F0C0C4F4F0C0C75757575744F
|
||||||
|
AF0A12FA5C7C3814B0B50B26B900BB878B66099BBD1F95AE50717171CBCB717111111111
|
||||||
|
11111111115858581111116767676767494931313131313193939393933434343A4F3A4F
|
||||||
|
4F4F4F4F4F4F4F4F4F4F4F4F4F4F0C0C0C4F4F3A813A81757575F70ADE14EA1405840B8E
|
||||||
|
B909F6E0C166410486504C1F4C508671CB7111111171CBCB111111585858585867676767
|
||||||
|
67313131313131313131313193939334343434343A4F3A4F4F4F4F0C4F4F4F4F4F4F4F4F
|
||||||
|
A4343A4F0C0C0C4F0C4F9534810C7575CCDE3D147C845C402600BB87C18743CC1D1D5B1D
|
||||||
|
5067505B6767581111586767585858585867676767676731313131313131313131319393
|
||||||
|
34343434343434343A4F4F4F4F0C0C0C4F4F4F4F4F4F4F4F0C0C4F4F4F0C7575810C2E0C
|
||||||
|
4F3A4F0CA412051405845C6E2600E5E48B41F59111586767715BCB585858111158673193
|
||||||
|
58585867676767676731313131313131313131319393939334343434343434344F4F4F4F
|
||||||
|
4F0C0C0C4F4F4F4F4F4F4F4F75750C4F4F4F0C0C750C4F4F3A3A4F4F750ADE2B05B55CBA
|
||||||
|
26537AB7CA7DBC4F67CBD5116711111111586767671171CB585858676767676731313131
|
||||||
|
313131313131313193939393343434343434340C4F4F4F4F0C0C0C0C4F4F4F4F4F4F4F4F
|
||||||
|
A43A4F0C0C0C4F3A0C34344F747474E32EAFF52B05B50BBA015AE5BB9D04D3CB50505050
|
||||||
|
50505825D35858D35858D358D3D3D3D3D3D3D3D3D6D6D6D9D9D9D9D9EBEBEBE3E3E3E3E3
|
||||||
|
343434343434343474747474747474747474747474747474747474747474747474747474
|
||||||
|
74747474930CBC05B0FC0B7FB27609F69B0467D371505050505050506758585858585858
|
||||||
|
58676767673131313131319393939393939393349334933481818181818181810C2E0C0C
|
||||||
|
2E0C0C2E0C0C2E0C0C2E0C0C2E0C0C2E0C0C2E0C0C2E0C0C2E0C0C2E0C750AFA05140B7E
|
||||||
|
26769BB7C17886869191919191919191CECECECECECECE49918686868686868686868686
|
||||||
|
86959595959595959595AEAE81818181818181AEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAE
|
||||||
|
AEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAE812E0AFA0514187EB276B710C1BD9531A4A4A4A4
|
||||||
|
A4A4A4A4A4A4A4A4A4A4A4A495959595959595959595AEAEAEAE8181818181812E812E81
|
||||||
|
75757575757575752E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E2E
|
||||||
|
2E2E2E2E0C75B6FAE708437EB25A8056B78FA4B691919191919191914949494949494949
|
||||||
|
CECECECECECECECE49A4A4A4A4A4A4A43A3A3A3A3A3A3A3A743A743A743A743A3A3A3A3A
|
||||||
|
3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3A3AE375F7DED0FC0BAC
|
||||||
|
B2768080A0FB34D386868686868686868686868686868686939393939393939334930C34
|
||||||
|
34340C0CE334740C740C0C0C74747474747474740C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C
|
||||||
|
0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0CE375CEDE848418018E88765A5AED4CE225252525
|
||||||
|
252525252525252525252525254C25252525252525252525252525252525252525252525
|
||||||
|
252525252525252525252525252525252525252525252525252525252525252525252525
|
||||||
|
25252525258615290B0B186AF16A011BF25F5F0E8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C
|
||||||
|
24242424242424242424242424242424248C242424242424242424242424242424242424
|
||||||
|
24242424242424242424242424242424242424242424242424242424F124F1CD73016ABF
|
||||||
|
|
||||||
|
end
|
||||||
|
%%PageTrailer
|
||||||
|
%%Trailer
|
||||||
|
%%EOF
|
BIN
src/tex2lyx/foo.png
Normal file
BIN
src/tex2lyx/foo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
@ -1,11 +1,32 @@
|
|||||||
\documentclass{article}
|
\documentclass[a4paper,12pt]{article}
|
||||||
|
\usepackage[T1]{fontenc}
|
||||||
|
\usepackage[latin9]{inputenc}
|
||||||
|
|
||||||
|
\setlength{\parindent}{3mm}
|
||||||
|
\usepackage{setspace}
|
||||||
|
\onehalfspacing
|
||||||
|
|
||||||
|
\usepackage{amsmath}
|
||||||
|
|
||||||
|
\usepackage{verbatim}
|
||||||
|
|
||||||
|
\usepackage{varioref}
|
||||||
|
\usepackage{prettyref}
|
||||||
|
|
||||||
|
\usepackage{graphicx}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
|
||||||
|
\newcommand{\lyxline}[1][1pt]{%
|
||||||
|
\par\noindent%
|
||||||
|
\rule[.5ex]{\linewidth}{#1}\par}
|
||||||
|
|
||||||
|
\newcommand{\lyxarrow}{\leavevmode\,$\triangleright$\,\allowbreak}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
This document contains all sorts of insets we are supposed to
|
\tableofcontents
|
||||||
support.
|
|
||||||
|
|
||||||
\section{Things that work}
|
\section{References}
|
||||||
|
|
||||||
Let's start with simple things: a label~\label{lab:test} and a
|
Let's start with simple things: a label~\label{lab:test} and a
|
||||||
reference~\ref{lab:test}; note that I have tested ``unbreakable
|
reference~\ref{lab:test}; note that I have tested ``unbreakable
|
||||||
@ -18,54 +39,69 @@ reference~\eqref{lab:test} (from amsmath package), or varioref's
|
|||||||
equivalents~\vref{lab:test} and~\vpageref{lab:test}, without
|
equivalents~\vref{lab:test} and~\vpageref{lab:test}, without
|
||||||
forgetting pretty references like~\prettyref{lab:test}.
|
forgetting pretty references like~\prettyref{lab:test}.
|
||||||
|
|
||||||
We can input files too, like this \input{foo}, or with the include
|
\section{Input files}
|
||||||
variant \include{foo}
|
|
||||||
|
We can input files too, like this \input{DummyDocument}, or with the include
|
||||||
|
variant \include{DummyDocument}
|
||||||
|
|
||||||
If you prefer verbatim input, you can choose
|
If you prefer verbatim input, you can choose
|
||||||
between~\verbatiminput{foo} or~\verbatiminput*{foo}.
|
between~\verbatiminput{foo} or~\verbatiminput*{foo}.
|
||||||
|
|
||||||
If you like tables of contents, you will be happy to learn that
|
\section{Lists}
|
||||||
the following ones are supported:
|
|
||||||
\tableofcontents
|
|
||||||
\listoffigures
|
\listoffigures
|
||||||
\listoftables
|
\listoftables
|
||||||
|
|
||||||
|
\section{Graphics}
|
||||||
|
|
||||||
There is also some basic support for graphics, in the form
|
There is also some basic support for graphics, in the form
|
||||||
\includegraphics{foo.eps}, or the slightly more elaborate
|
\includegraphics{foo.eps}, or the slightly more elaborate
|
||||||
\includegraphics[height=1cm, width=1cm]{foo.eps}.
|
\includegraphics[height=1cm, width=1cm]{foo.eps}.
|
||||||
|
|
||||||
Lines can have an \hfill in the middle, or be broken by a newline\\
|
\section{Special formattings}
|
||||||
there are even newlines with weird arguments, but these are not
|
|
||||||
|
\subsection{LyX line}
|
||||||
|
|
||||||
|
test
|
||||||
|
|
||||||
|
{\tiny \lyxline{\tiny}}{\tiny \par}
|
||||||
|
|
||||||
|
test {\Huge Test} {\tiny test} test
|
||||||
|
|
||||||
|
\lyxline{\normalsize}
|
||||||
|
|
||||||
|
test
|
||||||
|
|
||||||
|
{\Huge \lyxline{\Huge}}{\Huge \par}
|
||||||
|
|
||||||
|
test
|
||||||
|
|
||||||
|
\subsection{Line breaks}
|
||||||
|
|
||||||
|
They can also or be broken by a newline\\
|
||||||
|
or a newline command \newline
|
||||||
|
or by a line break \linebreak
|
||||||
|
or by a defined line break \linebreak[4]
|
||||||
|
|
||||||
|
There are even newlines with weird arguments, but these are not
|
||||||
handled by LyX\\*[1cm]
|
handled by LyX\\*[1cm]
|
||||||
so we try to use ERT in this case.
|
so we try to use ERT in this case.
|
||||||
|
|
||||||
|
\subsection{Page breaks}
|
||||||
|
|
||||||
|
They can also or be broken by a newpage \newpage
|
||||||
|
or by a page break \pagebreak
|
||||||
|
or by a defined page break \pagebreak[4]
|
||||||
|
|
||||||
|
\section{Special characters}
|
||||||
|
|
||||||
Then one has those macros with a long name for a short meaning, like
|
Then one has those macros with a long name for a short meaning, like
|
||||||
\textasciitilde, \textasciicircum{} or \textbackslash{}, and the characters
|
\textasciitilde, \textasciicircum{} or \textbackslash{}, and the characters
|
||||||
that LaTeX wants to espace because they are active, like \_\&\#\$\{\}\%.
|
that LaTeX wants to espace because they are active, like \_\&\#\$\{\}\%.
|
||||||
|
|
||||||
And what about special characters like hyphe\-nation mark,
|
And what about special characters like hyphe\-nation mark,
|
||||||
ellipsis\ldots, and end-of-sentence\@. LyX also sports a menu
|
ellipsis\ldots, and end-of-sentence\@. LyX also supports a menu
|
||||||
separator\lyxarrow and a spif\textcompwordmark fy ligature break.
|
separator\lyxarrow{}and a spif\textcompwordmark{}fy ligature break.
|
||||||
|
|
||||||
What else? Maybe minipages, like this:
|
|
||||||
\begin{minipage}{10cm}
|
|
||||||
Hi there, I am a minipage!
|
|
||||||
\end{minipage}
|
|
||||||
|
|
||||||
There is also an option to align vertically the minipage:
|
|
||||||
\begin{minipage}[t]{0.3\columnwidth}
|
|
||||||
Actually, it is also possible to set the height and the inner position
|
|
||||||
of the minipage, but the LyX GUI does not use or allow to modify this
|
|
||||||
information. Nevertheless, tex2lyx converts it as faithfully as possible.
|
|
||||||
\end{minipage}
|
|
||||||
|
|
||||||
|
|
||||||
\section{Things that do not work (yet)}
|
|
||||||
|
|
||||||
\vspace*{1cm}
|
|
||||||
LyX can do vertical spacing, even with the nifty 'keep' option
|
|
||||||
\bigskip
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
@ -806,9 +806,9 @@ void parse_environment(Parser & p, ostream & os, bool outer,
|
|||||||
// FIXME (bug xxxx): These settings can span multiple paragraphs and
|
// FIXME (bug xxxx): These settings can span multiple paragraphs and
|
||||||
// therefore are totally broken!
|
// therefore are totally broken!
|
||||||
// Note that \centering, raggedright, and raggedleft cannot be handled, as
|
// Note that \centering, raggedright, and raggedleft cannot be handled, as
|
||||||
// they are commands not environments. They furthermore are switches that
|
// they are commands not environments. They are furthermore switches that
|
||||||
// can be ended by another switch, but also by commands like \footnote or
|
// can be ended by another switches, but also by commands like \footnote or
|
||||||
// \parbox. So lbetter leave them untouched.
|
// \parbox. So the only safe way is to leave them untouched.
|
||||||
else if (name == "center" || name == "flushleft" || name == "flushright") {
|
else if (name == "center" || name == "flushleft" || name == "flushright") {
|
||||||
eat_whitespace(p, os, parent_context, false);
|
eat_whitespace(p, os, parent_context, false);
|
||||||
// We must begin a new paragraph if not already done
|
// We must begin a new paragraph if not already done
|
||||||
|
Loading…
Reference in New Issue
Block a user