Hi,

I have some trouble when trying to getting this ERT to work correctly:

\begin{psmatrix}[colsep=0.5cm]
\psframebox{Yes} & \psframebox{No} & C \\ 
\psframebox{Yesy} & \psframebox{No} & C \\
\ncline{->}{1,1}{2,1}
\end{psmatrix}

I've put \usepackage{pst-node} in the document preamble.

This works (ps2pdf) as long as I use the standard book layout. When I
use pdflatex this does not work (as I understand obviously).

On the other hand, if I generate pdf from my books (without any
pstricks) with ps2pdf I get a complaint "LaTex Error: Cannot determine
size of graphic logo.png". But this works fine with pdflatex.

Does anyone have a workaround? I run 1.4.0pre2.

Maarten


=====================my layout===========================

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{book in van Oord stijl}
# Book textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Transposed by Pascal André <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by serveral developers.

# Input general definitions
Input stdclass.inc
Input numreport.inc

# Global parameters.
Sides           2
PageStyle       Headings

# There is no abstract environment in book.cls
NoStyle Abstract
        
# a few changes to the bibliography
Style Bibliography
  TopSep                4
  LabelString           Bibliography
  # label font definition
  LabelFont 
    Series              Bold
    Size                Huge
  EndFont
End


Preamble

% Lettertype
\usepackage[scaled=0.92]{helvet}
\renewcommand{\familydefault}{\sfdefault}

% Marges
\addtolength{\evensidemargin}{-22pt}
\addtolength{\voffset}{-0.3in}
\oddsidemargin 0.0in
\textwidth 6.3in
\textheight 9.0in

% Versiebeheer tags
\usepackage{rcs}

% Kop en voetteksten
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\footrulewidth}{0.5pt}
\renewcommand{\headrulewidth}{0.5pt}
\newsavebox{\oordlogo}
\savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}}
\rhead{\usebox{\oordlogo}}

\lhead{Left top}
\chead{Middle top}

\rfoot{Right bottom}
\cfoot{\thepage}
\lfoot{Left bottom}

% Conditionele teksten
\usepackage{ifthen}
\newcommand{\boot}{Volvox Hopper}

% file-namen afbreken
\usepackage{path}
\discretionaries |[EMAIL PROTECTED]&*()_+`-=#{}[]:";<>,.?\/| % truukje om
taakmenuhelpfile en
%mainmenuhelpfile goed af te breken. k en u erbij, ' eruit
% dit is wel tricky, maar voorlopig werkt het

% Indexen en PDF opties
\usepackage{chappg}
\usepackage{tocbibind}
\usepackage{cmap}

\usepackage[
    plainpages=false,
    %linktocpage=true,
    pdfpagelabels=true,
    pdftex,
    bookmarks=true,
    a4paper=true,
    pdfpagemode=UseOutlines,
    bookmarksnumbered=true]{hyperref}
EndPreamble

Reply via email to