Christoph Weyer | 12 Dec 10:24 2014
Picon

TikZ 3.0 - path fading and Acrobat XI

Hello,

I have the following problem. After using TiKZ 3.0 I can not print my
generated documents in Acrobat XI. Acrobat shows the document as normal,
but when I try to print there is an error message that no page for
printing is available. When I use a version prior TiKZ 3.0 no error
occurs. The problem occurs under MiKTeX and TeXLive.

Here is a small example that produces the described behaviour:

\documentclass{scrartcl}

\usepackage{tikz}
\usetikzlibrary{fadings}

\begin{document}
  \begin{tikzpicture}
    \fill[fill=green,path fading=circle with fuzzy edge 10 percent]
        (0,0) circle (3cm);
  \end{tikzpicture}
\end{document}

Kind regards
Christoph

--

-- 
Institute of Telematics
Hamburg University of Technology
Schwarzenbergstrasse 95
21073 Hamburg, Germany
(Continue reading)

robert papanicola | 23 Sep 20:11 2014
Picon

[fit] and [tranform shape]

comportemen of [fit] associated with [tranform shape] has changed since the last release. 
the problem is stated here : http://tex.stackexchange.com/questions/183457/inconsistent-behavior-of-tikz-fit-and-transform-shape

I find that the proposed solutions are regressions

robert

--
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Marshall Feldman | 17 Sep 21:19 2014
Picon

PGF, TikZ, LyX, and TikZ-Editor under OS X

Hello,

I'm new to this list because I just started using PGF/TikZ and now have a few questions. I'm hoping someone out there has passed this way before. I have two fairly general questions.

I'm working on a book project and using LyX to write the book. Because the book will involve several different macroeconomic models, I plan to use TikZ to draw a series of stock/flow diagrams. I will use these both for explaining the models in the book, as well as for developing my own thinking about them as they evolve.

So at the most basic level is the question of what's the best way to do this with LyX. I realize half of this may be a question more about LyX than PGF/TikZ, but because my second question is primarily about PGF/TikZ and the two are related, I am posting them both here.

I have successfully produced PGF/TikZ diagrams in straight LaTeX and some simple diagrams in an otherwise bare LyX file by inserting LaTeX commands in a LyX Tex Code block (ERT). The next step will be to create more complex documents, with figures inserted as figure floats with captions, and then somehow insert the figures themselves. "Somehow" because I'm unsure of the best way to do this.

Ideally the inserted figure would basically just be the PGF/TikZ code, as when one uses straight LaTeX with PGF/TikZ. This will probably have to be within a Tex Code block (ERT). In turn, this would be on sub-document of some kind, most likely a child document. So the top-level document would be a regular LyX file with captioned figure floats; In turn, each figure float would use a child document for its figure, and each child document would just have an ERT block containing the instructions to draw the diagram (i.e., \begin{tikzpicture} ... \end{tikzpicture}). The diagram would then be rendered in the LyX document via the Instant Preview feature and on the final output via pdfLaTeX.

I realize I could just use PGF/TikZ to generate diagrams in pdf format, but I want the figures to be susceptible to easy editing. This is especially important because as the models increase in complexity I will probably want to change the graphical conventions in the diagrams (e.g., replacing rectangles with pentagons as the shape for financial institutions.

Is this the best way to accomplish my goal of having flexible, editable diagrams throughout the book, or is there a better way to address this?

My second question concerns composing the diagrams themselves. Since I'm new to PGF/TikZ, since the project will last a few years during some which I will not be working with diagrams, and since I intend to take advantage of the programability of PGF/TikZ, I want to use a "parser/renderer" that displays the resulting figure as one edits the PGF/TikZ code. TikzEdt is such a parser/renderer, as is Fred Peschanski's TikZ-Editor. But since I'm using Macs and the site for TikzEdt has disabled OSX downloads due to problems, so I think I'm left with TikZ-Editor as my only option.

But thus far I've been unable to make TikZ-Editor work. I downloaded the dmg file and installed the program. But when run it, it throws an error message saying it can't find "preview.sty."

I checked with TeX Live, which says preview.sty is installed. So I thought Tikz-Editor is not installed properly. Its README file says it needs Python, PyQt, QScintilla, and ImageMagick. Moreover, I'm using Macs running OS X, and the README file says a Mac OS X installation must have Python packages altgraph and modulegraph installed and pyinstaller to build the bundle. I started doing this but soon realized all this is very unlike what one usually encounters with Macs. For example, I can only find source code for PyQt, and while compiling the program is not beyond me, I've never had to do this before for common Mac software. So I started looking for a complete, pre-compiled bundle for TikZ-Editor, and I soon came across a forum page saying that TikZ-Editor was not seeing preview.sty because its search path was not right. But I cannot find a way to change the search path in TikZ-Editor. (I also looked to see if there's a forum devoted TikZ-Editor so I could ask my questions there, but so far have not found one.)

Basically my questions boil down to:
  1. What is the best way to include PGF/TikZ graphics in a complex document being composed in LyX?
  2. What is the best and most efficient way to develop the commands for PGF/TikZ graphics, particularly with an development environment combining syntax checking, code parsing, and dynamic (WYSIWYG) rendering of the graphic being developed?

Sorry to be so long-winded. I just want to give enough information so that you wizards out there can give meaningful help. Please share your wisdom if you've tread this path before, and please help me if you can.

Thanks.

    Marsh

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Paul BOURDET | 17 Sep 12:19 2014
Picon

datavisualization with plain TeX

Hello,

When loading the datavisualization library, an error occurs :

the lines 2398 to 2401 in the file tikzlibrarydatavisualization.code.tex
call for the macro \tikzdvdeclarestylesheetcolorseries defined in line 2386
and this macro call two macros
  • \definecolorseries
  • \resetcolorseries
which are defined in xcolor.sty, but not in color.sty, the only one which is usable under plain TeX.

For the moment beeing I've just commented those 4 lines but I hope there are other remedies.

Thank you for your comments

Paul BOURDET
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Greg Bennett | 8 Sep 00:54 2014
Picon

Tikz and Latex math mode

Good afternoon all,
I am trying to (1) draw diagrams and position them, and
                     (2) fit these gracefully inside $$ .. $$ structures.
I seem to have settled (1) below, but (2) still eludes me.
I have not managed  to find sections of the manual covering such things -
perhaps I don't recognize them! And I looked in the archives
without success.

Comments and Latex code follows.

Thanks in advance for any and all advice and assistance.

Cheers
Greg Bennett
%-- Start code
%% This is tikz-try.tex
%% Can I draw tableau diagrams ?
%% This will need tikz and, later, math mode in LaTeX when
%% I need to take functions of diagrams.

%% The diagrams consist of rows of boxes, left aligned, one under the other
%% always with non-increasing lengths. They correspond to the partition
%% of integers.

%% Thus 4 = 2+1+1 leads to a diagram with row1 having 2 (empty) square boxes,
%% row 2 has 1, and row 3 has 1.

%% Since the bottom line of each row doubles as the top line of the row beneath it,
%% and since tha right side of, e.g., the first box is the left side of the second,
%% I really only need to draw a sequence of left, bottom shapes - reverse Ls,
%% and then (1) draw a top line, and (2) draw the left sides for the first box in
%% each row.

\documentclass{article}
\usepackage{tikz}
\begin{document}


%% Flexibility suggests that the code for a row take 3 arguments:
%% x,y for the top left of its initial box to allow arbitrary placement,
%% n for the number of cells. Here goes!

\newcommand{\drawrow}[3]{% x1, y1, n
\foreach \shift in {1,...,#3}{
\draw[line width=1pt] ( #1 + \shift,#2)--(#1 + \shift, #2 - 1);
\draw[line width=1pt] (#1 + \shift,#2 - 1)--(-1 + #1 + \shift, #2 - 1);
}
}

\newcommand{\drawleft}[2]{%x1, y1
\draw[line width=1pt] (#1,#2)--(#1, #2 - 1);
}

%% Now the top row
\newcommand{\toprow}[3]{%x1, y1, n
\draw[line width=1pt] (#1,#2)--(#1+#3,#2); % top line
\drawleft{#1}{#2}; % close the first box on the left
\drawrow{#1}{#2}{#3}; % draw the rest of the reverse-L shapes
}

%% and then other rows
\newcommand{\otherrow}[3]{%x1, y1, n
\drawleft {#1}{-1*#2}; % left close this row
\drawrow{#1}{-1*#2}{#3}; % draw the reverse-L shapes
}

%% Here (I hope) and some diagrams side by side
%% with some symbols too.

\begin{tikzpicture}[scale=0.5]
\toprow{1}{0}{2};
\otherrow{1}{1}{1};
\otherrow{1}{2}{1};
\draw (4,-1) node {$ = $};
\toprow{6}{0}{1};
\otherrow{6}{1}{1};
\otherrow{6}{2}{1};
\draw (9,-1) node {$ + $};
\toprow{11}{0}{2};
\otherrow{11}{1}{1};
\end{tikzpicture}

%% That looks about right

%% Now I need to wrap the left diagram as an argument to a function D
%% since the result is D(first diagram) = second diagram + third diagram.

%% Try putting the whole thing inside math delimiters:
$$
D = \left(
\begin{tikzpicture}[scale=0.5]
\toprow{1}{0}{2};
\otherrow{1}{1}{1};
\otherrow{1}{2}{1};
\end{tikzpicture}
\right)
\begin{tikzpicture}[scale=0.5]
\draw (4,-1) node {$ = $};
\toprow{6}{0}{1};
\otherrow{6}{1}{1};
\otherrow{6}{2}{1};
\draw (9,-1) node {$ + $};
\toprow{11}{0}{2};
\otherrow{11}{1}{1};
\end{tikzpicture}
$$

%% Well that's not quite right in two ways. The diagrams need to be lowered
%% relative to the parentheses, and those need to become a bit smaller.
%%


\end{document}
%--End code
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Paul BOURDET | 7 Sep 13:41 2014
Picon

Problem using plain TeX and the circuits package.

Hi,

when I tried to reproduce the electric schema p.574 of the manual with the code

\tikz [circuit ee IEC] {
\node (R1) [resistor,point up,ohm=5] at (3,1) {};
\node (R2) [resistor,ohm=10k]
at (0,0) {};
\draw (R2) -| (R1);
}

I noticed this problem :

  • the use of \mathrm in the package code make impossible the use of the option "ohm=xx" ;

Is there a way to overrun this ?

Thank you for your answers

Paul Bourdet
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Xavier | 27 Aug 18:09 2014
Picon

TikZ bug in ConTeXt

Hi,

Anyone could help me with this bug: http://www.ntg.nl/pipermail/ntg-context/2014/077374.html
It seems that ConTeXt does not change the TikZ color. I don't know it it's context or tikz bug.

Can anyone test it?
I use context minimals.

Thanks in advance,
Xavier
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Anuschka Schaffner | 6 Aug 14:01 2014

pgf 3.0 manual nonlineartransformations example

Dear all,

today I installed MacTeX2014 on my computer, mainly because of pgf 3.0.
I want to explore this cool new nonlineartransformation feature and
started by testing the examples from the manual (starting p. 1057).
By surrounding the \def\polartransformation with a pair of \makeatletter
\makeatother I was able to get the polar transformation working.

Now I am stuck with the examples regarding the curvilinear library...
I am getting an error
"! Undefined control sequence.
<argument> \pgf
l.14	\draw (0,-30pt) grid [step=10pt] (80pt,30pt);
?"
with the following code:

\documentclass[tikz]{standalone}
\usepgfmodule{nonlineartransformations}
\usetikzlibrary{curvilinear}
\begin{document}
\begin{tikzpicture}
\draw [help lines] (0,0) grid (3,2);
{
\pgfsetcurvilinearbeziercurve
{\pgfpoint{0mm}{20mm}}
{\pgfpoint{11mm}{20mm}}
{\pgfpoint{20mm}{11mm}}
{\pgfpoint{20mm}{0mm}}
\pgftransformnonlinear{\pgfpointcurvilinearbezierpolar\pgf <at> x\pgf <at> y}%
\draw (0,-30pt) grid [step=10pt] (80pt,30pt);
% Add a "barb":
\draw [blue, very thick] (20pt,10pt) -- (0,0) -- (20pt,-10pt);
}
\draw[red, very thick]
(0mm,20mm) .. controls (11mm,20mm) and (20mm,11mm) .. (20mm,0mm);
\end{tikzpicture}
\end{document}

This is working, however, with the \polartransformation in effect (and
eliminated \pgfsetcurvilinearbeziercurve{}{}{}{} and curvilinear library).

Reading the manual, I would expect the \pgfpointcurvilinearbezierpolar
to have two arguments {}{}, missing in the code. But just putting \pgf <at> x
and \pgf <at> y there doesn't do the trick. (Don't laugh at me, I don't know
anything about this low level commands and was just trying...)

Do you have any suggestions?

Thanks and all the best,
Anuschka

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
Andy | 17 Jul 22:52 2014
Picon

document class change causes tikz errors

I have a flowchart that works in the article document class, but when I
change document class to mnthesis, it does not recognize tikZ.  Any ideas? 
Does the document class file (mnthesis.cls) have to inside the Latex program
file to be activated, or does it just need to be in the same folder as the
test1.tex file?  Here is a file of my flow chart (test1.tex).  Next is a
file of the 'mnthesis.cls' file.  Any help is appreciated.

% thesis.tex: Primary TeX control file for thesis.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt, oneside]{article} % change to 'mnthesis' to run U of M
thesis document
\usepackage{epsfig,epic,eepic,units}
\usepackage{hyperref}
\usepackage{url}
\usepackage{longtable}
\usepackage{mathrsfs}
\usepackage{multirow}
\usepackage{bigstrut}
\usepackage{amssymb}
\usepackage{graphicx}

\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{float}
\usepackage{booktabs}
\usepackage{chngcntr}
\usepackage{pgfplots}  %pgfplots.sourceforge.net\pgfplots.pdf
\pgfplotsset{compat=1.8}
\usepackage{rotating}
\usepackage{pdfpages}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes}

\usetikzlibrary{shapes,decorations,shadows}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{decorations.shapes}
\usetikzlibrary{fadings}
\usetikzlibrary{patterns}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.text}
\usetikzlibrary{decorations.footprints}
\usetikzlibrary{decorations.fractals}
\usetikzlibrary{shapes.gates.logic.IEC}
\usetikzlibrary{shapes.gates.logic.US}
\usetikzlibrary{fit,chains}
\usetikzlibrary{positioning}
\usepgflibrary{shapes}
\usetikzlibrary{scopes}

\counterwithin{table}{section}
\counterwithin{figure}{section}

\linespread{1.3}
\begin{document}

\begin{figure}
	\caption{Flowchart of Zambian Modeled Economy}
\tikzstyle{demand} = [draw, rectangle, fill=blue!50, text width=29em, text
centered, minimum height=10mm, node distance=4em]
\tikzstyle{market} = [draw, diamond, fill=blue!50, text width=2em, text
centered, minimum height=12mm, node distance=4em]
\tikzstyle{stage} = [draw, rectangle, fill=blue!50, text width=5em, text
centered, minimum height=8mm, node distance=4em]
\tikzstyle{sector}=[draw, circle, fill=red!50,minimum height=20mm, text
width=4em, text centered]
\tikzstyle{line} = [draw, -stealth, thick]

\begin{tikzpicture}
\footnotesize

%Consumer Demand
\node [demand] (consdemand) {Consumer Demand\\$y_{m}$$\leq$$q_{m}$
\hspace{12mm}     $y_{s}$=$q_{s}$ \hspace{16mm}    $y_{r}$=$q_{r}$ 
\hspace{12mm}  $y_{d}$=$q_{d}$};

%Manufacturing
\node [market, below of=consdemand, yshift=-25, xshift=-40mm] (manfmkt)
{Manf Market};
\node [stage, below of=manfmkt, yshift=-18mm] (MLK) {Labor and Capital};
\node [sector, below of=MLK, yshift=-104mm] (manuf) {Manu-facturing};
\node [stage, left of=manfmkt, xshift=-13mm,yshift=0mm] (imex2) {Imports,
Exports};
\node [stage, left of=manuf, yshift=-15mm, xshift=-24mm] (factorinc) {HH
Factor Income};

%Modern Food Channel
\node [market, below of=consdemand, yshift=-9mm, xshift=-14mm] (modfoodmkt)
{Modern Food Mkt};
\node [stage, below of=modfoodmkt, yshift=-2mm] (modfoodret) {Modern Food
Ret};
\node [stage, below of=modfoodret, yshift=-2mm] (MFLK) {Labor and Capital};
\node [market, below of=MFLK, yshift=-2mm] (WSfoodmkt) {WSale Output};
\node [stage, below of=WSfoodmkt, yshift=-2mm] (processors) {Processors};
\node [market, below of=processors, yshift=-2mm] (comfarmoutput) {Com Farm
Output($Y_{c}$)};
\node [stage, below of=comfarmoutput, yshift=-2mm] (commfarms) {Labor and
Capital};
\node [market, below of=commfarms, yshift=-2mm] (modlandmkt) {Modern Land
Mkt};
\node [stage, below of=modlandmkt, yshift=-2mm] (commland) {Commercial Land
($H_{c}$)};
\node [sector, below of=commland, yshift=-6mm] (modfood) {Modern Food
Channel};
\node [stage, left of=comfarmoutput, xshift=-39mm,yshift=0mm] (imex1)
{Imports, Exports};

%Services Channel
\node [market, below of=consdemand, yshift=-9mm, xshift=13mm] (servicesmkt)
{Services Market};
\node [stage, below of=servicesmkt, yshift=-18mm] (SLK) {Labor and Capital};
\node [sector, below of=SLK, yshift=-103mm] (serv) {Services};

%Traditional Food Channel
\node [market, below of=consdemand, yshift=-9mm, xshift=40mm] (tradfoodmkt)
{Trad Food Mkt};
\node [stage, below of=tradfoodmkt, yshift=-2mm] (tradfoodret) {Traditional
Food Ret};
\node [stage, below of=tradfoodret, yshift=-2mm] (TLK) {Labor and Capital};
\node [market, below of=TLK, yshift=-34mm] (tradfarmoutput) {Trad Farm
Output($Y_{h}$)};
\node [stage, below of=tradfarmoutput, yshift=-2mm] (SHfarms) {Labor and
Capital};
\node [market, below of=SHfarms, yshift=-2mm] (tradlandmkt) {Trad Land Mkt};
\node [stage, below of=tradlandmkt, yshift=-2mm] (smallholderland)
{Smallholder Land ($H_{h}$)};
\node [sector, below of=smallholderland, yshift=-6mm] (tradfood)
{Traditional Food Channel};

% Path Lines
\path [line][<->] (comfarmoutput) -- (imex1);
\path [line] [<->] (imex1) -- (imex2);
\path [line] [<->] (imex2) -- (manfmkt);
\path[line] (manfmkt) -- (consdemand);
\path[line] (modfoodmkt) -- (consdemand);
\path[line] (servicesmkt) -- (consdemand);
\path[line] (tradfoodmkt) -- (consdemand);
\path[line] (MLK) -- (manfmkt);
\path[line] (SLK) -- (servicesmkt);
\path[line] (MFLK) -- (modfoodret);
\path[line] (TLK) -- (tradfoodret);
\path[line] (tradfarmoutput) -- (TLK);
\path[line][->>,very thick] (manuf) |- (factorinc);
\path[line][->>,very thick] (modfood) |- (factorinc);
\path[line][->>,very thick] (serv) |- (factorinc);
\path[line][->>,very thick] (tradfood) |- (factorinc);
\path[line][->>,very thick] (factorinc) |- (consdemand);
%\draw[->] (manuf) -- (manuf -| consdemand);

\end{tikzpicture}
\end{figure}
\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% mnthesis.cls: mnthesis document class (Latex)
% Les Clowney ----- modified by K. Thorne for UofMinn
%
%  5/12/89   make version for University of Minnesota
%  11/23/89  modifications for 11-pt version for UofM
%  2/14/90   correct entries to table of contents
%  3/25/94   add in signature and abstract signature pages. -Jeff Nelson
%  5/4/2005  Modify to latex2e class format from old style format - BPS
%  5/24/2007 Fix the title and abstract page formatting. - BPS
% 11/17/2009 Fixed ordering of acknowledgments and abstract as required - PP
% 11/17/2009 'References' added to Table of Contents as required - PP
% 11/17/2009 Note: Table of content and list of Figures are ok in 'draft'
format, not in 'final' (which is default) - PP
% 5/21/2010 Added Dedication - EB
% 5/24/2010 Added section to correctly give M.S. thesis or Ph.D.
dissertation - EB
% 11/23/2010 Fixed the issue with restarting the numbering of pages if both
Acknowledgement and Dedication pages are present
%            If Dedication page alone is present please uncomment line 406  
- Sriram Doraiswamy
% 11/23/2010 Fixed the problem where additional pages of Acknowledgement
were not correctly numbered - Sriram Doraiswamy
% 11/25/2010 Name of the advisor and Master of Arts or Science appears
properly - Sriram Doraiswamy

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Summary of New Commands (many are not used outside of the style file)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%The following are primarily for the titlepage et al....
%\draft			(this invokes the macro \draftrue)
%\copyrightpage		(make a copyright page)
%\figurespage		(make a page for list of figures)
%\tablespage		(make a page for list of tables)
%\title{thesis title}	(this is defined by the report style)
%\author{author's name}	(this is defined by the report style)
%\phd			(if invoked then \phdtrue is set.)
%\degree{degree type}	(Default "Master of Science")
%
%\words{words in abstract}
%\abstract{the body of the abstract}
%\acknowledgements{the body of the acknowledgments}
%\dedication{the body of the dedication}
%\director{the principal advisor's name}
%\submissionyear{year of submission to the Graduate School}
%\submissionmonth{month of submission to the Graduate School}
%(The default dates used will be those at which the document was prepared)
%\begin-end{vita}  (begin single spacing after this point for the vita)
%
%       ******* Booleans *******
%\ifpagestyletopright	(invoke \pagestyle{topright})
%\ifdraft		(Will do some things differently if draft. Set by \draft)
%\ifcopyright		(Add a copyright notice? (Set by \copyrightpage)
%\ifabstract		(set if command \abstract invoked)
%\ifpreface		(set if command \preface invoked)
%\ifextra		(set if command \extra invoked)
%\ifacknowledgements	(set by \acknowledgements)
%\ifabstract		(set by \abstract)
%\iffigures
%\iftables
%\ifafterpreface (afterpreface sections pagenumber must be at topright
%               corner. If user has chosen a header then it must be
overridden.)
%               (Produce a List of figures? The default is to do so.)
%\tablestrue
%               (Produce a List of tables?)
%\begin/end{descriptionlist} (Basically a modified  \description.)
%\fullpagefigure Creates a figure where the page is a vbox whose
%                height is \textheight.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Redefine the way that LaTeX starts up so that its simpler to use.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{report.cls}\relax
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PAGE LAYOUT
% We need 1" (~72pt) margins except on binding edge, where it is 1 1/2".
% They are a bit larger to handle lines with overfull boxes.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% My Definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\paperheight}{11.0in}
\setlength{\paperwidth}{8.5in}

%\setlength{\oddsidemargin}{1.937cm}  % default -> 2.0 cm odd side
%\setlength{\oddsidemargin}{0.55in} % final version to grad school
\setlength{\oddsidemargin}{0.55in}
\setlength{\evensidemargin}{0.1in} % default -> 3.4 cm even side
%\setlength{\evensidemargin}{0.1in} % default -> 3.4 cm even side

%\setlength{\topmargin}{0.75in}
\setlength{\topmargin}{0.25in}
%\setlength{\headheight}{0.0in}
\setlength{\headheight}{0.4in}
\setlength{\headsep}{0.1in}

\setlength{\marginparsep}{0in}
\setlength{\marginparwidth}{0in}

\setlength{\textwidth}{5.75in}
%\setlength{\textheight}{8.25in}
\setlength{\textheight}{7.85in}

\setlength{\footskip}{0.4in}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Documentstyle Modifications
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\brokenpenalty=10000 % Do not break pages at hyphens.

% use baselinestretch of 2.0 for 10 pt
% use baselinestretch of 1.6 for 11 pt
%
\def\baselinestretch{1.6}
%\ <at> normalsize
%\def\baselinestretch{1.2}

\ <at> addtoreset{equation}{chapter} % Set things up so that the equation,
% thefigure, and thetable counters are reset by incrementing
% thechapter. (The others are correct in the report style.)

% use Table of Contents rather than default of Contents
%\def\tableofcontents {
%  \ <at> restonecolfalse
%  \if <at> twocolumn
%    \ <at> restonecoltrue\onecolumn
%  \fi
%  \chapter*{Table of Contents\ <at> mkboth{TABLE OF CONTENTS}{TABLE OF
CONTENTS}}
%  \ <at> starttoc{toc}
%  \if <at> restonecol
%    \twocolumn
%  \fi
%}

% single space bibliography, quotations and verse.
\renewenvironment{thebibliography}[1] {
  \chapter*{References}
  \ <at> mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}
  \list{\ <at> biblabel{\ <at> arabic\c <at> enumiv}} {
    \settowidth\labelwidth{\ <at> biblabel{#1}}
    \leftmargin\labelwidth
    \advance\leftmargin\labelsep
    \ <at> openbib <at> code
    \usecounter{enumiv}
    \let\p <at> enumiv\ <at> empty
    \renewcommand\theenumiv{\ <at> arabic\c <at> enumiv}
  }
  \sloppy
  \clubpenalty4000
  \ <at> clubpenalty \clubpenalty
  \widowpenalty4000
  \sfcode`\.=1000\relax
  %\sfcode`\.\ <at> m
} {
  \def\ <at> noitemerr {
    \ <at> latex <at> warning{Empty `thebibliography` environment}
  }
  \endlist
}

% This pageheadings will place numbers at top righthand corners
\def\ps <at> topright {
  \let\ <at> mkboth\ <at> gobbletwo
  \def\ <at> oddhead{\rm\hfil\thepage}
  \let\ <at> evenhead\ <at> oddhead
  \def\ <at> evenfoot{}
  \def\ <at> oddfoot{}
}

%  ***** Verbatim listing macro ****
%  Code from the TeXbook for inputting a file and listing it verbatim in
%  \tt mode. Will not properly handle tabs.  This code hasn't been
%  rigorously tested so it should be used cautiously.  Note that the
%  left quote. "`", is redefined when the macro is finally used or `
%  isn't properly handled.
\def\uncatcodespecials{\def\do##1{\catcode`##1=12 }\dospecials}
\def\setupverbatim {
  \tt \def\par{\leavevmode\endgraf}\catcode`\`=\active
  \obeylines \uncatcodespecials \obeyspaces
} {
  \obeyspaces\global\let =\
}
\def\listing#1{
  \par\begingroup\setupverbatim\input#1
  \endgroup
}

% This is in limbo right now...make heading and subheading as in Scribe.
\def\tempheading{
  \ <at> startsection{donothing}{donothing}{\z <at> }
  {-3.25ex plus -1ex minus -.2ex}{1.5ex plus .2ex}
  {\centering\large\bf}
}
\def\heading{\tempheading*}
\def\subheading{\subsection*}

% Single Space Figures, Tables, and Footnotes
% Redefine the macro used for floats (including figures and tables) so
% that single spacing is used.  (Note \def\figure{\ <at> float{figure}set
% single spacing} doesn't work because figure has an optional argument)
\def\ <at> xfloat#1[#2] {
  \ifhmode
    \ <at> bsphack\ <at> floatpenalty -\ <at> Mii
  \else
    \ <at> floatpenalty-\ <at> Miii
  \fi
  \def\ <at> captype{#1}
  \ifinner
    \ <at> parmoderr\ <at> floatpenalty\z <at> 
  \else\ <at> next\ <at> currbox\ <at> freelist {
    \ <at> tempcnta\csname ftype <at> #1\endcsname
    \multiply\ <at> tempcnta\ <at> xxxii\advance\ <at> tempcnta\sixt <at>  <at> n
    \ <at> tfor \ <at> tempa :=#2\do {
      \if\ <at> tempa h\advance\ <at> tempcnta \ <at> ne\fi
      \if\ <at> tempa t\advance\ <at> tempcnta \tw <at> \fi
      \if\ <at> tempa b\advance\ <at> tempcnta 4\relax\fi
      \if\ <at> tempa p\advance\ <at> tempcnta 8\relax\fi
    }
    \global\count\ <at> currbox\ <at> tempcnta
  } \ <at> fltovf\fi
  \global\setbox\ <at> currbox\vbox\bgroup
  \def\baselinestretch{1}\ <at> normalsize
  \boxmaxdepth\z <at> 

% leave captions indented, I hope
% \hsize\columnwidth
  \ <at> parboxrestore
}

% Single space footnotes.
\long\def\ <at> footnotetext#1{
  \insert\footins{
    \def\baselinestretch{1}\footnotesize
    \interlinepenalty\interfootnotelinepenalty
    \splittopskip\footnotesep
    \splitmaxdepth \dp\strutbox \floatingpenalty \ <at> MM
    \hsize\columnwidth \ <at> parboxrestore
    \edef\ <at> currentlabel{\csname p <at> footnote\endcsname\ <at> thefnmark}
    \ <at> makefntext {
      \rule{\z <at> }{\footnotesep}
      \ignorespaces
      #1\strut
    }
  }
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% User commands
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\draft{\drafttrue}
\def\copyrightpage{\copyrighttrue}
\def\figurespage{\figurestrue}
\def\tablespage{\tablestrue}
\def\phd{
  \phdtrue\def\ <at> degree{Doctor Of Philosophy}
  \def\ <at> initials{Ph.D.}
}
\def\ms{
  \phdfalse\def\ <at> degree{Master Of Science}
  \def\ <at> initials{M.S.}
}
\long\def\abstract#1{\abstracttrue\gdef\ <at> abstract{#1}}
\long\def\preface#1{\prefacetrue\gdef\ <at> preface{#1}}
\long\def\extra#1{\extratrue\gdef\ <at> extra{#1}}
\long\def\acknowledgements#1{\acknowledgementstrue\gdef\ <at> acknowledgements{#1}}
\long\def\dedication#1{\dedicationtrue\gdef\ <at> dedication{#1}}
\def\abbreviations#1{\abbreviationspagetrue\gdef\ <at> abbreviations{#1}}

\def\initials#1{\gdef\ <at> initials{#1}}
\def\degree#1{\phdfalse\gdef\ <at> degree{#1}}
\def\program#1{\gdef\ <at> program{#1}}
\def\words#1{\gdef\ <at> words{#1}}
\def\campus#1{\gdef\ <at> campus{#1}}
\def\director#1{\gdef\ <at> director{#1}}
\def\words#1{\gdef\ <at> words{#1}}
\def\approvals#1{\gdef\ <at> approvals{#1}}
\def\submissionmonth#1{\gdef\ <at> month{#1}}
\def\submissionyear#1{\gdef\ <at> year{#1}}

% defaults
\def\ <at> initials{Ph.D.}
\def\ <at> degree{Doctor of Philosophy}
\def\ <at> campus{University of Minnesota}
\def\ <at> title{}
\def\ <at> author{}
\def\ <at> program{}
\def\ <at> words{34}
\def\ <at> director{}
\def\ <at> words{}
\def\ <at> month{
  \ifcase\the\month\or
  January\or February\or March\or April\or May\or June\or
  July\or August\or September\or October\or November\or December\fi
}
\def\ <at> year{\number\the\year}

% conditionals and defaults
\newif\ifdraft			\draftfalse
\newif\ifafterpreface		\afterprefacefalse
\newif\ifcopyright		\copyrightfalse
\newif\iffigures		\figuresfalse
\newif\iftables			\tablesfalse
\newif\ifabstract		\abstractfalse
\newif\ifpreface		\prefacefalse
\newif\ifextra			\extrafalse
\newif\ifacknowledgements	\acknowledgementsfalse
\newif\ifdedication		\dedicationfalse
\newif\ifabbreviationspage	\abbreviationspagefalse
\newif\ifphd			\phdfalse
\newif\ifpagestyletopright	\pagestyletoprighttrue

\newcommand\titlep {
  \vbox to \textheight {
    \parskip0pt
    \parindent0pt
    \typeout{Title}
    \null\nobreak\vskip 10bp {
      \def\baselinestretch{1}\ <at> normalsize
      \centering\Large\bf\uppercase\expandafter{\bf\ <at> title}
      \par\nobreak
    }
    \vskip 4ex plus 2ex minus 2ex {
      \centering\bf
      \ifdraft {
        DRAFT VERSION CREATED ON \uppercase\expandafter{\today}\\
      }\else 
        A \ifphd{DISSERTATION}\else{THESIS}\fi\ \\
        SUBMITTED TO THE FACULTY OF THE GRADUATE SCHOOL \\
        OF THE UNIVERSITY OF MINNESOTA \\
        BY \\
% probably want to add space.
% \vskip 36bp minus 36bp
        \vskip 2ex plus 2ex minus 2ex
        \ <at> author\par
        \nobreak
        \vskip 2ex plus 2ex minus 2ex
        IN PARTIAL FULFILLMENT OF THE REQUIREMENTS \\
        FOR THE DEGREE OF\\
%       \ifphd{Doctor of Philosophy}\else{Master of Science}\fi\ \\
        \ifphd{Doctor of Philosophy}\else \ <at> degree          \fi\ \\
        \vskip 1ex plus 1ex minus 1ex
        \ <at> director\par
        \vskip 1ex plus 1ex minus 1ex
        \ <at> month, \ <at> year\\
      \fi %close ifdraft
    }
  }
  \newpage
}% end titlep

\newcommand\copyrightp {
  \typeout{Copyright}
  \null\vfil
  \begin{center}
  \bf\large\copyright\ \ <at> author\ \ \ <at> year\ \\
  ALL RIGHTS RESERVED
  \end{center}
  \vfil\newpage
}

\def\desclabel#1{{\bf#1\hfill}}
\def\descriptionlist#1 {
  \list{} {
    \settowidth\labelwidth{#1}
    \leftmargin\labelwidth
    \let\makelabel\desclabel
  }
}
\let\enddescriptionlist=\endlist

\def\unnumberedsection#1 {
  \chapter*{#1}
  \addcontentsline{toc}{chapter}{#1}
  \typeout{#1}
}

% The signature, title, copywrite, and abstract pages
\newcommand\beforepreface {
%  \ifabstract {
  \ifacknowledgements {  
    \c <at> page1 % set page counter so that next is 1
    \pagestyle{empty}

% Title page
    \titlep

% Copywrite page
    \ifcopyright\copyrightp\fi

%Acknowledgements 

  \pagenumbering{roman}    
  \pagestyle{plain} 
  \ifacknowledgements

    \unnumberedsection{Acknowledgements}

%    \addcontentsline{toc}{chapter}{Acknowledgements}
%    \null\vskip -20bp
%    \begin{center} {
%    }
%    \large\bf\
%    Acknowledgements
%    \end{center}
%    \vskip 8bp

    \ <at> acknowledgements\fi   
  \vfil\newpage  
  }  

%Dedication

% \pagenumbering{roman}     
  \ifdedication

    \unnumberedsection{Dedication}

%    \addcontentsline{toc}{chapter}{Dedication}
%    \null\vskip -20bp
%    \begin{center} {
%    }
%    \large\bf\
%    Dedication
%    \end{center}
%    \vskip 8bp

    \ <at> dedication\fi   
  \vfil\newpage  

% An abstract to be bound into the thesis
%    \pagestyle{plain}
%    \pagenumbering{roman}
%    \addcontentsline{toc}{chapter}{Abstract}
%    \null\vskip -20bp
%    \begin{center} {
%      \large\bf\expandafter{\ <at> title} \large
%      \vskip 8bp
%      by \ <at> author \\
%      %Under the supervision of \ <at> director
%      \vskip 8bp
%    }
%    \large\bf\
%    Abstract
%    \end{center}
%    \vskip 8bp
%    \ <at> abstract
%  } \fi
%  \typeout{Abstract}
%  %\eject
}

\newcommand\afterpreface {
% Insert all of the text between the title (and copyright) pages and the
main
% body of the thesis.
%  \pagenumbering{roman}
%  \ifpreface {
%    \unnumberedsection{Preface}
%    \ <at> preface
%  } \fi
%  \ifacknowledgements
%    \unnumberedsection{Acknowledgements}
%    \ <at> acknowledgements
%  \fi
%  \ifdedication 
%    \unnumberedsection{Dedication}
%    \ <at> dedication
%   \fi

    \pagestyle{plain}
%    \pagenumbering{roman}
    \ifabstract {
    \addcontentsline{toc}{chapter}{Abstract}
    \null\vskip -20bp
    \begin{center} {
    }
    \large\bf\
    Abstract
    \end{center}
    \vskip 8bp
    \ <at> abstract
   \fi
  \typeout{Abstract}
}

  \tableofcontents
  \iftables
    \addvspace{10bp}
    \let\saveaddvspace=\addvspace
    \def\addvspace##1{}
    \listoftables
    \let\addvspace=\saveaddvspace
  \fi

 
  \iffigures
    \addvspace{10bp}
    \let\saveaddvspace=\addvspace
    \def\addvspace##1{}
    \listoffigures
    \let\addvspace=\saveaddvspace
  \fi

  \ifabbreviationspage {
    \def\baselinestretch{1}
    \ <at> normalsize
    \unnumberedsection{List of Abbreviations}
    \ <at> abbreviations
  } \fi
  \ifextra {
%   \chapter*{}
    \typeout{extra}
    \newpage
    \ <at> extra
  } \fi
  \newpage
  \afterprefacetrue
  \c <at> page0 % set page counter so that next is 1
  \pagenumbering{arabic}
  \pagestyle{topright}
}

\def\vita {
  \unnumberedsection{Vita}
  \bgroup\def\baselinestretch{1}
  \ <at> normalsize
}

\def\endvita{\egroup}

% Fullpage floats:
\def\fullpagefigure {
  \ <at> float{figure}[p]
  \vbox to \textheight
  \bgroup
}
\def\endfullpagefigure{\egroup\end <at> float}

\def\fullpagetable {
  \ <at> float{table}[p]
  \vbox to \textheight
  \bgroup
}
\def\endfullpagetable{\egroup\end <at> float}

% Redefine appendix to print Appendix []. ... page # in table of contents.
\def\appnumberline#1{
  \advance\hangindent\ <at> tempdima
  \hbox{Appendix #1. }
}

\renewcommand\appendix {
  \par
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \def\ <at> chapapp{Appendix}
  \def\thechapter{\Alph{chapter}}
% Redefine  <at> chapter  so that appnumberline (ratherline) is used.
  \def\ <at> chapter[##1]##2 {
    \ifnum \c <at> secnumdepth >\m <at> ne
      \refstepcounter{chapter}
      \typeout{\ <at> chapapp\space\thechapter.}
      \addcontentsline{toc}{chapter}
      {\protect \appnumberline{\thechapter}##1}
    \else
      \addcontentsline{toc}{chapter}{##1}
    \fi
    \chaptermark{##1}
% Don't add extra space to lists of figures and tables after chapters.
 \addtocontents{lof}{\protect\addvspace{10pt}}
 \addtocontents{lot}{\protect\addvspace{10pt}}
    \if <at> twocolumn
      \ <at> topnewpage[\ <at> makechapterhead{##2}]
    \else
      \ <at> makechapterhead{##2}
      \ <at> afterheading
    \fi
  }
}

\renewcommand\listoffigures {
  \ <at> restonecolfalse
  \if <at> twocolumn
    \ <at> restonecoltrue
    \onecolumn
  \fi
  \chapter* {
    List of Figures
    \ <at> mkboth{LIST OF FIGURES}{LIST OF FIGURES}
  }
  \addcontentsline{toc}{chapter}{List of Figures}
  \ <at> starttoc{lof}
  \if <at> restonecol\twocolumn\fi
}

\renewcommand\listoftables {
  \ <at> restonecolfalse
  \if <at> twocolumn
    \ <at> restonecoltrue
    \onecolumn
  \fi
  \chapter* {
    List of Tables
    \ <at> mkboth{LIST OF TABLES}{LIST OF TABLES}
  }
  \addcontentsline{toc}{chapter}{List of Tables}
  \ <at> starttoc{lot}
  \if <at> restonecol\twocolumn\fi
}

\renewcommand{\bibname}{References} 
\renewenvironment{thebibliography}[1]
     {\chapter*{\bibname}%
      \addcontentsline{toc}{chapter}{\bibname}
      \ <at> mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
      \list{\ <at> biblabel{\ <at> arabic\c <at> enumiv}}%
           {\settowidth\labelwidth{\ <at> biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \ <at> openbib <at> code
            \usecounter{enumiv}%
            \let\p <at> enumiv\ <at> empty
            \renewcommand\theenumiv{\ <at> arabic\c <at> enumiv}}%
      \sloppy
      \clubpenalty4000
      \ <at> clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\ <at> m}
     {\def\ <at> noitemerr
       {\ <at> latex <at> warning{Empty `thebibliography' environment}}%
      \endlist}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

--
View this message in context: http://pgf-and-tikz.10981.n7.nabble.com/document-class-change-causes-tikz-errors-tp4780.html
Sent from the PGF and TikZ mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
Susan Dittmar | 14 May 13:23 2014
Picon
Picon

pgfpages: reordering of pages

Hi folks,

I use pgfpages a lot, but there's one feature I would like to use which I don't 
know how to access (or whether it's possible at all): Is there a way to place a 
shipout command between the created logical pages? I would like to use this for 
example for the creation of booklets.

Here's a short non-working example. It creates two logical pages (A4), which I 
would like pgfpages to output unchanged, but with their order reversed:

\documentclass[a4paper]{scrartcl}
\usepackage[a4paper,margin=5mm]{geometry}
\usepackage{pgfpages}
\pgfpagesdeclarelayout{switch 2}
{
     \edef\pgfpageoptionheight{\the\paperwidth}
     \edef\pgfpageoptionwidth{\the\paperheight}
     \def\pgfpageoptionborder{0pt}
}
{
     \pgfpagesphysicalpageoptions
     {%
         logical pages=2,%
         physical height=\pgfpageoptionheight,%
         physical width=\pgfpageoptionwidth,%
     }
     \pgfpageslogicalpageoptions{2}
     {%
         resized width=\pgfpageoptionwidth,%
         resized height=\pgfpageoptionheight,%
         center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight},%
         %%% execute shipout after placing this page! %%%
     }%
     \pgfpageslogicalpageoptions{1}
     {%
         resized width=\pgfpageoptionwidth,%
         resized height=\pgfpageoptionheight,%
         center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight},%
     }%
}
\pgfpagesuselayout{switch 2}[a4paper]
\begin{document}
page one
\newpage
page two
\end{document}

Thanks for any help,

	Susan

PS: I know that pdfpages could be an alternative, but for several reasons I 
would love to stick to pgfpages for this project.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
Michael Hallgren | 24 Apr 15:08 2014
Picon

Problem compiling the PGF manual from CVS

Hi,

Attempting to build the PGF manual from fresh CVS sources, I die as
follows:

! LuaTeX error .../generic/pgf/graphdrawing/lua/pgf/gd/routing/library.lua:26: m
odule 'pgf.gd.routing.NecklaceRouting' not found:
        no field package.preload['pgf.gd.routing.NecklaceRouting']
        [kpse lua searcher] file not found: 'pgf.gd.routing.NecklaceRouting'
        [kpse C searcher] file not found: 'pgf.gd.routing.NecklaceRouting'
        no file '/usr/local/lib/lua/5.2/pgf.so'
        no file '/usr/local/lib/lua/5.2/loadall.so'
        no file './pgf.so'
        [oberdiek.luatex.kpse_module_loader]-eroux Search failed
stack traceback:
        [C]: in function 'require'
        .../generic/pgf/graphdrawing/lua/pgf/gd/routing/library.lua:26: in main chunk
        [C]: in function 'require'
        [\directlua]:1: in function 'lookup'
        [\directlua]:1: in function 'pgf_lookup_and_require'
        [\directlua]:1: in main chunk.
<argument> ...drawing library '\pgf <at> temp ' not found}}') end}
                                                   \fi
l.102 ...yered,examples,force,phylogenetics,routing}
                                                 
?

Known problem?


Cheers,
mh

p, li { white-space: pre-wrap; }
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

Gmane