[pstricks] babel clashing with the arrow arguments

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Jun 16 18:45:13 CEST 2011


Am 16.06.2011 11:34, schrieb Ales Horak:

> I had encountered a problem with the arrow arguments for PSTricks
> node connections. to reproduce it (I am using texlive-2009-7 on
> ubuntu) I have done:
>
>      - download pstricks and pst-node of June 14 2011 to pstricks
>        subdirectory
>      - create node.tex:
>
>          \documentclass{article}
>          \usepackage[czech]{babel}
>          \usepackage{pst-node}
>
>          \begin{document}
>
>          \cnode(0,1){.25}{A}
>          \pnode(3,0){B}
>          \ncline{<-}{A}{B}
>
>          \end{document}

use it this way:

  {\shorthandoff{-}
  \cnode(0,1){.25}{A}
  \pnode(3,0){B}
  \ncline{->}{A}{B}}

the - character is active in the czech language and the arrow
is checked by #1-#2

Herbert


More information about the PSTricks mailing list