From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 macros/latex/exptl/graphicp/laltest.tex | 166 ++++++++++++++++++++++++++++++++
 1 file changed, 166 insertions(+)
 create mode 100644 macros/latex/exptl/graphicp/laltest.tex

(limited to 'macros/latex/exptl/graphicp/laltest.tex')

diff --git a/macros/latex/exptl/graphicp/laltest.tex b/macros/latex/exptl/graphicp/laltest.tex
new file mode 100644
index 0000000000..01013f602a
--- /dev/null
+++ b/macros/latex/exptl/graphicp/laltest.tex
@@ -0,0 +1,166 @@
+%
+% latest.tex -- both plain TeX and LaTeX
+% by pts@fazekas.hu at Fri Jan 24 11:24:28 CET 2003
+% at Mon Feb  3 16:21:04 CET 2003
+%
+
+\input laemu.sty
+
+\ifLaTeX
+  \documentclass{article}
+  \usepackage[magyar]{babel}
+  %\usepackage[german]{babel}
+  \usepackage[latin2]{inputenc}
+\fi
+
+%\expandafter\ifx\csname usepackage\endcsname\relax%
+%  \def\usepackage#1{\input#1.sty\relax}\fi%
+%\usepackage{laemu}
+%\usepackage{pts_img}
+
+%\usepackage[nopdftexmpost]{graphicp}
+\usepackage{graphicp}
+%\usepackage[alma,korte]{graphicp}
+
+\ifLaTeX
+  \begin{document}
+\fi
+
+\makeatletter
+
+\ifLaTeX
+  Hello, LaTeX!
+\else
+  Hello, other.
+\fi
+
+%\@@muldivletposdim{\dimen3}{-2.99998pt}{2.83466pt}{1pt}% Imp: precision!! should be 8.50392
+%  \immediate\write16{t9(-8.50394):\the\dimen3}% Division is not that exact...
+
+% \message{\@@divhundred{345.6}}%
+% \@@letdimcount{\count0}{0.5pt} \showthe\count0%
+
+%\@@gobbleend almakorte\end szilva
+
+%\expandafter\ifx\csname graphicPdriver
+%\@@setdriver{dvips}
+%\@@setdriver{pdftex}
+%\@@setdriver{dvipdfm}
+%\@@setdriver{}
+%\@@setdriver{}
+%
+%
+\setbox0=\vbox{\hsize=9cm
+\hrule width 5cm
+\noindent
+Hello,%
+\@@PutImage{}{}.{{3bp}{-10bp}{23bp}{20bp}}{0pt}{0pt}{0}{f2cletter.\@@img@defext}{}%
+%\unskip%
+World!
+
+\par\noindent
+2Hello,%
+\@@PutImage{}{}.{{3bp}{-10bp}{23bp}{20bp}}{3cm}{0pt}{0}{f2cletter.\@@img@defext}{}%
+World!
+\hrule width 4cm
+
+\par\noindent
+Hello,%
+\@@PutImage{}{}.{{3bp}{-10bp}{23bp}{20bp}}{0pt}{3cm}{0}{f2cletter.\@@img@defext}{}%
+World!
+
+\par\noindent
+Hello,%
+\@@PutImage{}{}.{{3bp}{-10bp}{23bp}{20bp}}{2cm}{3cm}{0}{f2cletter.\@@img@defext}{}%
+World!
+
+\par\noindent
+Hello,%
+%\includegraphics[width=2cm,height=3cm,noclip]{f2cletter.\@@img@defext}%
+\includegraphics[width=2cm,height=3cm,noclip]{f2mletter}%
+ZWorld!
+\par
+\hrule
+
+\noindent
+Hello,%
+%\includegraphics[bbox={{0}{0}{20bp}{30bp}},width=20bp,height=30bp,noclip]{ficletter.png}% only in pdfTeX and dvipdfm
+%\includegraphics[bbox={{0}{0}{20bp}{30bp}},width=2cm,height=3cm,noclip]{ficletter.eps}% only in pdfTeX and dvipdfm
+%\includegraphics[bbox={{0}{0}{20bp}{30bp}},width=2cm,height=3cm,noclip]{ficletter.pdf}% only in pdfTeX and dvipdfm
+%\includegraphics[width=2cm,height=3cm,noclip]{fromp.eps}%
+\includegraphics[width=2cm,height=3cm,noclip,below]{descend.1}%
+%\includegraphics[format=TIFF,bbox={{0}{0}{72bp}{72bp}},width=2cm,height=3cm,noclip]{ficletter.tiff}%
+%\includegraphics[width=2cm,height=3cm,noclip]{ficletter.tiff}%
+%\includegraphics[width=2cm,height=3cm,noclip]{ficletter.png}% only in pdfTeX
+%\ifnum\pdftexversion>0
+\iftrue%
+\includegraphics[forceunknown=1,bbox={{0}{0}{20bp}{30bp}},width=2cm,height=3cm,noclip,below]{ficletter.png}% only in pdfTeX and dvipdfm
+\includegraphics[forceunknown=1,bbox={{0}{0}{20bp}{30bp}},lower=10,width=2cm,height=3cm,noclip]{ficletter.png}% only in pdfTeX and dvipdfm
+\fi
+MetaPost!
+
+%\def\secondofthree#1#2#3{#2}%
+%\def\thirdofthree#1#2#3{#2}%
+
+\message{%
+  %\noexpand{\iffalse}\fi%
+  E%
+  %\iffalse{\fi%
+  %\iffalse}\fi%
+  %\expandafter\expandafter\expandafter\secondofthree%
+  %\expandafter\string\csname{}\endcsname%
+  \expandafter\@secondoftwo\string\\%
+  F%
+}%
+
+%\message{AAA%
+%  \expandafter\expandafter\expandafter\@firstoftwo
+%  \expandafter\string\csname v\endcsname BBB}
+
+%\def\xgobble{\let\next}%
+
+\input laxtest.bbx
+
+\par\noindent
+Hello,%
+%\iftrue % stress test on special characters in filename
+\iffalse\iffalse
+%\ifnum\pdftexversion>0\ifnum\pdftexversion>12 %
+%\includegraphics[bbox={{3bp}{-10bp}{23bp}{20bp}},width=1cm,height=1cm,noclip]{%
+\includegraphics[width=1cm,height=1cm,noclip,below]{%
+  %\noexpand{%\expandafter\@gobble\n
+  %\expandafter\expandafter\expandafter\xgobble%
+  %\expandafter\noexpand}%
+  %\iffalse}\fi%
+  %\expandafter\@secondoftwo\string\^%
+  %\expandafter\@secondoftwo\string\^\expandafter\@secondoftwo\string\^40%
+  %\noexpand`tty%
+  %\noexpand"a%
+  %ő%
+  %\ %
+  % Dat: kpsewhich: $
+%  ugly_&_\space \space \space \expandafter\@secondoftwo\string\\%
+%  \expandafter\@secondoftwo\string\}%
+%  \expandafter\@secondoftwo\string\%%
+%  \expandafter\@secondoftwo\string\#%
+%  \expandafter\@secondoftwo\string\^%
+%  \expandafter\@secondoftwo\string\^a%
+%  \expandafter\@secondoftwo\string\^e1%
+%  \expandafter\@secondoftwo\string\^e9b%
+%  \expandafter\@secondoftwo\string\{%
+%  \expandafter\@secondoftwo\string\%%
+%  \expandafter\@secondoftwo\string\#%
+%  \expandafter\@secondoftwo\string\^%
+%  \expandafter\@secondoftwo\string\~%
+  %\noexpand~%
+%  \noexpand`tty.
+  ugly_&_\space \space \space \expandafter\@secondoftwo\string\\\expandafter\@secondoftwo\string\}\expandafter\@secondoftwo\string\%\expandafter\@secondoftwo\string\#\expandafter\@secondoftwo\string\^\expandafter\@secondoftwo\string\^a\expandafter\@secondoftwo\string\^^e1\expandafter\@secondoftwo\string\^^e9b\expandafter\@secondoftwo\string\{\expandafter\@secondoftwo\string\%\expandafter\@secondoftwo\string\#\expandafter\@secondoftwo\string\^\expandafter\@secondoftwo\string\~\expandafter\@secondoftwo\string\`.\@@img@defext%
+%  ugly_&_\iftrue\space\fi \iftrue\space\fi \iftrue\space\fi \expandafter\@secondoftwo\string\\\expandafter\@secondoftwo\string\}\expandafter\@secondoftwo\string\%\expandafter\@secondoftwo\string\#\expandafter\@secondoftwo\string\^\expandafter\@secondoftwo\string\^a\expandafter\@secondoftwo\string\^^e1\expandafter\@secondoftwo\string\^^e9b\expandafter\@secondoftwo\string\{\expandafter\@secondoftwo\string\%\expandafter\@secondoftwo\string\#\expandafter\@secondoftwo\string\^\expandafter\@secondoftwo\string\~\expandafter\@secondoftwo\string\`.\@@img@defext%
+}%
+\fi\fi
+Q.
+
+}%
+\shipout\box0
+
+\end{document}
-- 
cgit v1.2.3

