# [OS X TeX] : stupiid question

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Sat May 28 18:22:35 EDT 2022

Having fixed my minimal test example, I was able to experiment and came away with a usable workaround to the problems I was having earlier.
However, my experience leaves me with two questions—both are now matters of idle curiosity, so not requiring ASAP (or even eventual) answers.
But let me ask them:

1, I was trying to create a picture showing the ways the sub-squares in a partition of the square (into nine congruent squares of length 1/3) could be ordered linearly
so that successive sub-squares share an edge.  So I have a 3X3 grid and want to insert a node in the center of each cell, then draw nclines connecting them.
This worked fine using the format \cnodeput(x,y){nodename}{number} for the nodes and  \ncline{codename}{nextnodename} for the inclines.
But when I tried to add arrows to the nclines using the format \ncline{->}{codename}{nextnodename} my typesetting crashed.  I still don’t know why, since it worked
fine for the minimal example.  I could live without the arrowheads, but just for luck I tried the alternative format \ncline[arrows=->]{codename}{nextnodename} and this
worked fine (both in the minimal example and in the book project).  So I don’t need to know why, but I am curious about the difference between the two formats, which
I have always treated as equivalent.  What about the difference between them would make one work and the other crash?

2. I have a second, even less pressing question.  For “put” commands (\rput, \uput) the starred versions (\rput*, \uput*) sanctify (:-) the object being “put” —the
object gets a little halo of space around it and anything that crosses its space via an earlier command is erased—at least the part under the halo.
But when I tried the analogous modification of the \ncline command (\ncline*—which the Graphics Companion acknowledges as a real thing, even though it is called not useful )
the opposite occurs:  instead of a bit of the edge from the grid being erase, the whole \ncline gets erased.   Is there a way to “sanctify” an \ncline—to make it the forefront
object relative to any object created earlier in the pspicture environment?

If anyone has the interest, time and energy to answer either question, I’ll be thankful.

Cheers
Ziggy Nitecki

On May 28, 2022, at 17:20, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu<mailto:Zbigniew.Nitecki at tufts.edu>> wrote:

Thanks, Luis, you found the problem.  I use the TeXShop editor very naively, so the suggestion by Michal Hoppe was for me too much technical jargon, and I couldn’t see why my book project, which certainly didn’t explicitly use his suggested input, worked when this didn’t.  Luis jogged my memory and I realized that I use the prelude
% !TEX TS-program = latex
(which I presume is shorthand for latex+dvips) in my book project.  I added it to the test file and it worked, except for two typos—one which I thank Michael for spotting, and the other became obvious once I got the thing to run.

Murray, I don’t use a Mac Studio—I have no idea what that even is.  I use my MacBook Pro with TexShop and no fancy gadgets that I am aware of.

Everyone, thanks for your suggestions.  The smack! to my forehead was not as loud as I expected, but it was still there.  ouch.  :-)

On May 28, 2022, at 15:05, Luís Sequeira <lfsequeira at gmail.com<mailto:lfsequeira at gmail.com>> wrote:

You are probably typesetting your document with pdflatex.

Use latex+dvips, or xelatex, to typeset documents that use pstricks.

Sent from my iPhone
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

Begin forwarded message:

From: Michael Hoppe <mh at michael-hoppe.de<mailto:mh at michael-hoppe.de>>
Subject: Re: [OS X TeX] stupiid question
Date: May 28, 2022 at 15:31:29 EDT
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu<mailto:macosx-tex at email.esm.psu.edu>>
Reply-To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu<mailto:macosx-tex at email.esm.psu.edu>>

Insert

\usepackage[latex={-interaction=nonstopmode -shell-escape},%
pspdf={-dALLOWPSTRANSPARENCY},%
pdfcrop={--hires},crop=on]{auto-pst-pdf}

to your preamble.  And correct

\end{pspicture{}

to

\end{pspicture}

Mike

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
From: Murray Eisenberg <murray at math.umass.edu<mailto:murray at math.umass.edu>>
Subject: benchmark LaTeX on Mac Studio?
Date: May 28, 2022 at 16:51:03 EDT
To: "Nitecki, Zbigniew H." <Zbigniew.Nitecki at tufts.edu<mailto:Zbigniew.Nitecki at tufts.edu>>
Cc: Eisenberg Murray <murray at math.umass.edu<mailto:murray at math.umass.edu>>

Do I recall that in a post to the MacOSX-TeX mailing list, you said you were running TeX on a Mac Studio?

If so, then:

(1) Which particular Mac Studio are you using — one with the M1 Max chip or one with the M1 Ultra chip, and in either case the base model or a custom configuration?

(2)  I have a favor to ask: would you be willing to time a complete run of pdflatexmk on a document of mine — a new edition of a topology book?

I would send the document in the form of a zip archive consisting of a main directory that contains the root .tex file along with subdirectories holding all the files needed — aside from MacTeX 2022/TeXLive 2022.

The whole process, including unzipping the archive and running the pdflatexmk engine to completion of its 5 or 5 passes should take no more than 8 minutes.

The reason I’m asking is that, on my 2019 iMac, a single pass of latex now takes around a minute, and a complete run of pdflatexmk now takes around 5 minutes. As I’m still writing and editing but need to see the complete current state of the document, that is just wasting too much time!

So I’m considering whether to upgrade to a Mac Studio but want to see whether the upgrade does significantly decrease the LaTeX processing time of my by-now 600+ page book.

Murray

——
Murray Eisenberg                                murray at math.umass.edu<mailto:murray at math.umass.edu>
Mathematics & Statistics Dept.
University of Massachusetts Amherst

From: "Nitecki, Zbigniew H." <Zbigniew.Nitecki at tufts.edu<mailto:Zbigniew.Nitecki at tufts.edu>>
Subject: [OS X TeX] stupiid question
Date: May 28, 2022 at 14:54:24 EDT
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu<mailto:macosx-tex at email.esm.psu.edu>>
Reply-To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu<mailto:macosx-tex at email.esm.psu.edu>>

I’m trying to run a test to see why the pst-nodes package is not letting me do certain things inside a big book project.
I set up a minimal test file which (I think) calls all the relevant packages called by my much bigger book file.
The commands inside this file (as is, before introducing the eventual changes which lead to problems in my book file) work fine in the context of my book project,
but in this stand-alone form I get the error message  (when typesetting as latex)

./NodeTest.tex:19: Undefined control sequence.
\c at lor@to at ps ->\PSTricks
_Not_Configured_For_This_Format
l.19 \pspolygon(
0,0)(4,0)(4,4)(0,4)

I thought \pspolygon was a basic command in PSTricks.  What have I forgotten to load?

I’m sure my forehead will feel a loud smack! when I find out.
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
<NodeTest.tex>----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20220528/1869ddfd/attachment.htm>


More information about the MacOSX-TeX mailing list