diff options
author | Norbert Preining <norbert@preining.info> | 2020-06-30 10:08:04 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-06-30 10:08:04 +0900 |
commit | f2461d37fbf50a9a0469fd575362ab099d8e0390 (patch) | |
tree | 44d8d2ada1df96489789d9315014457d83ca23e2 /texmf-dist/doc/latex/acromemory/examples/dinos/myDinos.tex | |
parent | 538ad8d77209c259a60b9868ff0678eab818855b (diff) |
acromemory update
Diffstat (limited to 'texmf-dist/doc/latex/acromemory/examples/dinos/myDinos.tex')
-rw-r--r-- | texmf-dist/doc/latex/acromemory/examples/dinos/myDinos.tex | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/texmf-dist/doc/latex/acromemory/examples/dinos/myDinos.tex b/texmf-dist/doc/latex/acromemory/examples/dinos/myDinos.tex deleted file mode 100644 index 4d267631..00000000 --- a/texmf-dist/doc/latex/acromemory/examples/dinos/myDinos.tex +++ /dev/null @@ -1,43 +0,0 @@ -\documentclass{article} -\usepackage{web} -\usepackage{multido} - -\margins{0pt}{0pt}{0pt}{0pt} % left,right,top, bottom -\screensize{2in}{2in} % height, width - -\font\MPLD=MPLD at 1in - -\pagestyle{empty} -\parindent0pt - -\newcount\myCnt \myCnt=97 -\def\thiscolor{red} - -\begin{document} -\MPLD -\multido{\i=1+1}{10}{% - \begin{minipage}[c][2in][c]{2in} - \ifodd\i\gdef\thiscolor{red}\else\gdef\thiscolor{blue}\fi - \begin{center} - \textcolor{\thiscolor}{\char\the\myCnt}% - \end{center} - \end{minipage} - \global\advance\myCnt1\relax -} -\end{document} - -To save each page to the same folder that your icon file is sitting, execute -the following JavaScript with the icon PDF open in Acrobat. - -var thisPath = /.*\//i.exec(this.path)[0]; -var filename = this.documentFileName.replace(/\.pdf$/i,""); -try { - for (var i = 0; i < this.numPages; i++) { - var j = i+1; - var index = (j < 10 ) ? ("0"+j) : (""+j); - this.extractPages({ - nStart: i, - cPath: thisPath+filename+"_" + index +".pdf" - }); - } -} catch (e) { console.println("Aborted: " + e) } |