[pstricks] Non breakable space (~) with PSTricks

Jorge Ramos neyuru at gmail.com
Thu Jun 30 21:33:30 CEST 2011


Strangely, I couldn't reproduce anymore the previous behaviour but
found another and more important bugsy: I am using the latest packages
from Miktex 2.9 and Texniccenter 1.0 stable release. Try this:


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{amsbook}%

\usepackage{amsmath}%
\usepackage{amsfonts}%
\usepackage{amssymb}%
\usepackage{graphicx}
\usepackage[latin1]{inputenc}
\usepackage{bm}
\usepackage[spanish]{babel}
\usepackage{verbatim}
\usepackage{color}
\usepackage{pstricks}

\begin{document}
\frontmatter
\title{Prueba}

\mainmatter

\part{The First Part}

\chapter{About the AMS Book or Monograph Class}
heloooo
\twocolumn

hihihi
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

It gives me 0 errors, 0 warnings, 0 bad boxes... But when the package
pstricks is enabled in the preamble I can't, for some obscure reason
preview the changes made in the document. e.g. Try placing some text
without the package and it previews perfectly in Yap, but when the
package is enabled, it no longer makes changes to the output file
(Yap, I haven't tried with PDF)

thanks,

jorge.


2011/6/30 Herbert Voss <Herbert.Voss at fu-berlin.de>:
> Am 30.06.2011 06:23, schrieb Jorge Ramos:
>>
>> I have noticed that when the PSTricks package is summoned in the
>> preamble, the tilde character (~) ceases to work in my documents, e.g.
>>
>> \usepackage{pstricks}
>> \begin{document}
>> ... see page~3... %@ line x
>> \end{document}
>>
>> yap should print a non-breakable space :
>>
>> yap->
>> %%%%%%%%%%%%%%%%%%
>> ...
>> ... se page 3 ...
>> ...
>> %%%%%%%%%%%%%%%%%
>>
>> but ~ ceases to work:
>>
>> yap->
>> %%%%%%%%%%%%%%%%
>> ... se page
>> 3...
>
> I cannot see this:
>
> \documentclass[a5paper]{article}
> \usepackage{pstricks}
> \begin{document}
> \noindent
> \rule{\linewidth}{1pt}
>
> some nonsense see some nonsense see some nonsense xx page~3 ... %@line x
>
> \end{document}
>
> gives an overfull hbox with "page 3" not broken at the line end.
> Replace the ~ with a space and you'll get the default linebreak.
>
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>


More information about the PSTricks mailing list