COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### Trouble with raw postscript in latex

• Email
• Follow

I have a latex file (for my free 1300 page physics textbook)
that produces a flip movie, i.e. an image on every page.
I do this in raw postscript. (See part of the code below.)

But if I change one line only, namely from
\includeonly{C-2-CLSA}
to
\includeonly{C-0-INTR,C-2-CLSA}
the pattern disappears. Why?

After all, the pattern is only two commands,
one definition of a macro, and a \special
command. I do not use or redefine the
macro \cscscspage anywhere else.

So why does the pattern disappear?
My guess is that something strange happens with c@page.
I thought this is just the page number.
Any help is appreciated!

Christoph

Code: (works!)

\documentclass{motionmountain}
\includeonly{C-2-CLSA}
\begin{document}
%
\makeatletter%
\def\cscscspage{\the\c@page \space }%
%
\special{!userdict begin
.... some raw pstscript code deleted ...

% 30 means that the counter Pmv is the page number minus 30
/Pmv \cscscspage 30 sub def

.... more raw pstscript code deleted that is inside a bop-hook,
and based on the counter Pmv
}
\makeatother%

..... Rest of document ....

***


 0
Reply chri_schiller (136) 12/10/2006 6:52:32 PM

See related articles to this posting

"Christoph Schiller" <chri_schiller@yahoo.com> writes:

> But if I change one line only, namely from
> \includeonly{C-2-CLSA}
> to
> \includeonly{C-0-INTR,C-2-CLSA}
> the pattern disappears. Why?

It would appear you have something in the C-0-INTR file that
breaks the pattern.  Perhaps something to do with pagenumbering.

--
Donald Arseneau                          asnd@triumf.ca

 0

Donald Arseneau wrote:
> "Christoph Schiller" <chri_schiller@yahoo.com> writes:
> > But if I change one line only, namely from
> > \includeonly{C-2-CLSA}
> > to
> > \includeonly{C-0-INTR,C-2-CLSA}
> > the pattern disappears. Why?
>
> It would appear you have something in the C-0-INTR file that
> breaks the pattern.  Perhaps something to do with pagenumbering.

I found the culprit: it was a \pagecolor{white} command.
That overprints the movie. I have to redesign certain things.

Regards

Christoph Schiller


 0

2 Replies
176 Views

Similar Articles

12/12/2013 2:55:36 AM
page loaded in 82369 ms. (0)

Similar Artilces:

Mac OS X, LaTeX, Postscript fonts, help
Back in the 90s, I did something on another system that I'd now like to be able to do on my current system. (Have been essentially out of touch with TeX for years now.) After putting many hours into looking for a usable solution -- perhaps quite ineptly -- I wonder if I can get any pointers here. Simply stated: set some text in Adobe Garamond or something of the sort. More precisely: On Mac OS X (currently 5.x as it happens) get Adobe Garamond (or any other Garamond that I think looks good, or some other book-worthy face if I like it & it's available) runnin...

convert postscript jop to non-postscript printer
How can I submit a postscript jop to an HP printer that support only PCL. Mine is 6L laserjst,Sol 8 x86. Thanks. On 17 Feb 2004 05:04:38 -0800, hpy_awad@yahoo.com wrote: > How can I submit a postscript jop to an HP printer that support only > PCL. Mine is 6L laserjst,Sol 8 x86. Thanks. Use ghostscript: http://faq.solaris-x86.org/6.html#6.4 Regards, Michael it is said in the FAQ use Ghostscript driver . Where can I install Ghostscript driver for HP LJ 6L. On 19 Feb 2004 07:36:16 -0800, hpy_awad@yahoo.com wrote: > it is said in the FAQ use Ghostscript driver . Where can I install...

publish latex equation generated by latex(s) function
Is it possible to include a latex equation in the output of publish, that is really generated by the latex(s) function, without manually copy-pasting the output of latex(s) into a comment? %% % this is generated $@foo@$ syms x; foo=latex(x^2); % this output is inserted above! guess I might be asking for much, but it does not seem that radical to me, publishing seems less useful if you cannot include *pretty* results of symbolic calculations ...

PS CS camera raw, getting full camera EXIF data from raw file into jpeg
I use camera raw and edit my Canon raw images in CS. When the result is saved as JPG file, the embedded EXIF contains only PhotoShop's meta data, basically software name, and editing date and time. The original camera EXIF data is not included in the resulting JPG file. I have tried setting and unsetting several options but cannot make PhotoShop to include camera's original EXIF data into the resulting JPG file. Which options do you set in CS to include camera's original EXIF data into JPG file when using camera raw? Hitchkas <hitchkas@gmail.com> wrote: > I use came...

trouble with SFNAE
I was trying out SFNAE techniques for the first time, and having some trouble with it. Does anyone see what I'm doing wrong here? template <bool B, class T = void> struct enable_if { typedef T type; }; template <class T> struct enable_if<false, T> {}; template <typename T> struct has_iterator_impl { typedef char yes[1]; typedef char no[2]; template <typename C> static yes& test(typename C::iterator*); template <typename> static no& test(...); static const bool value = sizeof(test<T>...

Drawterm Trouble
Drawterm for Linux(I currently run Arch Linux) doesn't allow me to use the middle mouse button emulation(Shift + right mouse button). For example if I run Acme, I can't exec any command via middle button emulation. There is simply no reaction. Is there any known bug? Drawterm for Windows works perfectly. Martin Gansel 2009/11/24 Martin Gansel <ganselmartin@googlemail.com>: > Drawterm for Linux(I currently run Arch Linux) doesn't allow me to use > the middle mouse button emulation(Shift + right mouse button). > For example if I run Acme, I can't exec a...

trouble with B_EXTENDED_STAT
Have anybody experience with Btrieve function B_EXTENDED_STAT. There are no one example in Pervasive SDK :( When I try to call B_EXTENDED_STAT, I constantly gave status 62 :( Where I can get sample application or valid help? Alexander, Thank you! I use this all the time. Which subfunction are you trying to call? Here's a snippet of my code calling subfunction 1. The BTRV call is hidden behind CallBtrv, and the parameters are hidden in the BUFF structure, but you should get the general idea... /* Try to make the Extended Stat Call for More Info */ strncpy((char *)StatExtd1Buffer.C...

while , when I return form function ak1() at any rate ak2(), ak3() cursor return to PPP menu #include "button.ch" // Menu definitions #include "inkey.ch" // Key definitions function main(xxxx) local oInfo begin sequence setmode(25,80) cls SET( _SET_EVENTMASK, INKEY_ALL ) msetcursor(.t.) set date to ansi set deleted on set confirm on set scoreboard off set epoch to YEAR(date())-50 SET(4,'YYYY.MM.DD') cZWYKLY := "W/B,W+/GR,,,W/GR" cGRAF := 'n/bg,n/gr,,,n/gr' cMEN...

Trouble with Regexps
Hi all, Can't seem to find the right way to extract what I need Here is what I have: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ASCP ASCP [PACK 1,(2,3) FLO 21-50-04-00 DISAG] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ AUTO DISABLE RL AUTO DISABLE RL 21-31-04-00 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Here is what I need: ASCP ASCP [PACK 1,(2,3) FLO DISAG] 21-50-04-00 AUTO DISABLE RL AUTO DISABLE RL 21-31-04-00 T...

Trouble with XP
I've called SAS, no help, and no idea. I've searched the support.sas website no luck. I work on a SAS helpdesk for the CDC and am stumped. =20 User had his IT "professional" load SAS v8.2 to his WinXP workstation (32-bit Microsoft Windows Version 5.1 (Build 2600.xpsp2.030422-1633:Service Pack1)=20 =20 When he clicked on the SAS icon he got this error.=20 =20 "Warning: One or more libraries specified in the concatenated library SASHELP do not exist. These libraries were removed from the concatenation. Unable to access message 2.49" =20 When I spoke to him he sai...

DLPAR Troubles
I have a p55 running several LPARS with no problem. I need to move another system to it, so I have attempted to do it they way I did the last one which worked. I created a mksysb, from the old, and restored this mksysb to the new lpar. (It is AIX level 5.3) I am now having trouble getting the HMC to recognize this new lpar for dynimically moving say a CDROM drive. (Like I said, did this to another machine and no problems) When I do an lssrc -a | grep rsct i get the following. ctrmc rsct 270500 active IBM.ERRM rsct_rm 254084 active ...

gluProject trouble
Hello. Searching for gluProject trouble on this list produced zillions of pages but I just can't tell what am I doing wrong on this so maybe somebody more enlightened than me can point out the trouble. The screen coordinates I get for gluProject are far off the screen. Here's what I do (a dump from gDEBugger prior to the call to gluProject): ======================================================== glMatrixMode(GL_PROJECTION) glLoadIdentity() glMultMatrixd((1.53, 0.00, 0.00, 0.00) (0.00, 2.41, 0.00, 0.00) (0.00, 0.00, -1.00, -1.00) (0.00, 0.00, -2.00, 0.00)) glMatrixMode(GL_MODELVI...

Troubles with Layers
I'm working on a chisel out stone effect for an annual report. I've got two layers with three style effects on both. I need to flatten the photo for print but when I do, the style effects are dramatically reduced. Does anyone know why PS is doing this to me? I'm running PS 7 (haven't updated yet... *sigh*) <meraliss@hotmail.com> wrote in message news:1115750717.625832.109900@o13g2000cwo.googlegroups.com... > I'm working on a chisel out stone effect for an annual report. > I've got two layers with three style effects on both. I need to flatten > the pho...

m4 trouble
Hi, I've just started doing some shell scripting, and one of the things I need to do is to pre-process some templates uing m4. The annoying thing is that m4 inserts what seems to be an arbitrary amount of whitespace at the top of the output. For instance the following, ------ foo.html.tt ------------------------------------------ .... <td><a href="QUOTE_EDIT_CGI?quoteid=10">Edit</a></td> .... ------------------------------------------------------------- expands to: ------ foo.html --------------------------------------------- => x lines of addition...

hibernate trouble
Hi, I'm trying to install hibernate-3.1.3 , after reading the quick start tutorial I'm having the following errors while trying to build hibernate : http://avant-garde.no-ip.biz/images/error_hb.jpg ...

simulation troubles
hey all, I still can't get the system-wide behavioral simulation of a VirtexII-pro system to work, the entire system is "dead", it is not executing any instructions, or so it seems (what is the init-time for a standard PowerPC generated architecture with no peripherals besides GPIO and UART?) I simulated 10ms but no indication that anything was executed. But now for my real question: When I try to simulate an XPS generated design into modelsim using the "Start HDL Simulator" from the tool menu, everything goes ok (I generated all the libs and VHDL simulation files). ...

Trouble with QuickTime
Hi all, I really hope someone can help... before i tear ALL my hair out. I was having a few small probs with Quicktime not playing some files properly. I would get an error saying that some files were missing so i thought i would download and re-install Quicktime. When i did the installer gave a message saying: "You cannot install this software on this volume. This disk is dimmed because there is a newer version of QuickTime already present." This seemed fair enough as there WAS already a version of QuickTime. So I deleted it and all related QuickTime files. But when i tried to inst...

split trouble
Very easy problem: my $pair = "var=value"; ($fake,$value) = split/=/,$pair; I want get only value, but not var! How can I do that else,without $fake variable? Hi, dima@inotech.ru wrote: > Very easy problem: > > my$pair = "var=value"; > ($fake,$value) = split/=/,$pair; > > I want get only value, but not var! > How can I do that else,without$fake variable? Try this... #!/usr/bin/perl use warnings; use strict; my $pair = "var=value";$pair =~ s/[^=]+=//; print $pair; - Peroli Sivaprakasam dima@inotech.ru wrote: > Very easy proble... Trouble with arrays Has Perl analogue of "in" operator, described bellow? my @arr = qw/one two three/; my$elem = "two"; # I need like operator or function if ($elem in @arr) { print "Luck!!!"; } else { print "Sux!!!" } I know how write this function: sub is_in_array($,$) { my ($arr_ref, $elem) = @_; foreach(@{$arr_ref}) {return 1 if ($_ eq$elem);} return 0; } But this is not very good solution! dima@inotech.ru wrote: > Has Perl analogue of "in" operator, described bellow? Try grep, perldoc -f grep. Steve -- Stephen Hildrey E-mail: steve@...

DNS trouble
Hi, I did a fresh install of Solaris 9. I can use nslookup to find the ip of any site (ie google.com), and then use the IP to access the website. However, I cannot use google.com in the browese. I have hosts: files dns in my nsswitch.conf file. My resolv.conf file has nameserver _IP_ Windows machines work fine on the network. If I run snoop, i get " error 3(name error)" Any idea what is going wrong? Thanks, Bart Orioniz@gmail.com wrote: > Hi, > I did a fresh install of Solaris 9. I can use nslookup to find the ip > of any site (ie google.com), and then use the IP to ...