An animation will export as multiple pages, each frame being a separate file. This is useful if you want to create many files in a batch process. However, this lets you export to many different files, not pages in one PDF. As far as I know, you can't use NB to put multiple pages in one file.
OK, as I was suspecting. Of course, I can use export multiple pages but I don't like a lot the trick of making an animation. Probably I will use the SC binding so I will batch-generate n scripts for n pages and call n renderings.
Then I will re-assemble all the pdfs using ConTeXt.
Thanks a lot
-a-
Hi Andrea,
There's the PAGENUM variable which contains the current page NodeBox is exporting. So inside a single script you can create blocks that do different things on different pages.
In its simplest form:
if PAGENUM == 1: # do book cover stuff elif PAGENUM == 2: # do book foreword stuff elif PAGENUM == 3: # etc...Best regards,
Tom
pages?
Posted by andrea valle on Jan 05, 2008Hi, newbie here
(I was the one who made (all) the questions in Torino...)
I started using NB for our seminars' announcemente and I'm having great fun.
So, I'd like to use NB for my projects on musical notation (before, I have used MetaPost and PyX).
So, hmm, some questions will follow hence on.
First one:
Is there a way to tell NB to create another "page"?
I need multiple pages, and afaik, NB allows only multiple exportations from one script. I just need something like a \page command.
?
Sorry fo the dumb question
Thanks a lot
Best
-a-