Questions tagged [postscript]

{postscript} concerns the PostScript page description language that forms the base for PS, EPS and PDF formats common to (La)TeX

Filter by
Sorted by
Tagged with
3
votes
2answers
65 views

Points of psline are in reverse order in Postscript code

I build an animation (using animateinline of animate-package in a beamer presentation) containing a \psline with 4 points. The points are calculated with "postscript math". I wanted to include the ...
1
vote
0answers
26 views

Unable to view postscript files using psv in TeX Live on Windows

I installed TeX Live 2019 on Windows 10 last year and tried to use the built-in psv to read postscript files. It opened with an error message, which I cannot remember now. This year, I installed TeX ...
0
votes
0answers
21 views

modifying postscript file: shifting content and resizing page or crop content

I have a program that produces postscript file. The file has a text block vertically in the middle of an A4 page. The text block fits A5 size in landscape mode. I would like to convert the ps file ...
0
votes
0answers
26 views

How to skew (slant) a box with the graphics/graphicx package? [duplicate]

In the graphics/graphicx packages there are commands \rotatebox, \resizebox, \scalebox and even \reflectbox. But how can I slant/skew something in the same way? (I'm missing a \skewbox command.) (...
2
votes
1answer
115 views

How to write PostScript commands for “calculation” and “intersection” in the following problem?

This is my code. \documentclass[pstricks]{standalone} \usepackage{pst-intersect} \usepackage{pst-eucl,pstricks-add,pst-calculate} \usepackage{pstricks-add,pst-calculate} \usepackage{auto-pst-pdf} \...
1
vote
3answers
65 views

Show postscript point versus Anglo-Saxon point

I am doing a practical job comparing the postscript point (1/72) with the Anglo-Saxon point (1/72.27). I need help to be able to show the difference in size in a character (it is indistinct of which). ...
4
votes
2answers
112 views

ghostscript gives undefined in --execute— when using color.tex with pstricks on plain tex

Assume the following plain TeX file: \input pstricks \input color \pscircle{1.5} \bye Compiling using eTeX works fine, dvips too. However the resulting PS file can't be processed using gs, I'll post ...
0
votes
1answer
109 views

Getting started drawing basic 3D objects with TikZ [closed]

Is it possible to draw this with TikZ (or perhaps a similar package related to postscript, metapost, SVG, etc.)? Sorry, I don't have much to offer this time. I usually like to provide a bunch of code ...
6
votes
2answers
250 views

Are Knuth's fonts searchable in pdf yet?

Donald Knuth at the Desktop Publishing Pioneers meeting laments that converting to pdf using his fonts yields pdf files without searchable text. Is this fixed yet? https://youtu.be/WVRMPihnZZM?t=4363
1
vote
0answers
141 views

Is there a Windows 64-bit alternative to Wolfgang Schulter's WMF2EPS utility? [closed]

For many years I used Wolfgang Schulter's WMF2EPS Postscript driver to programmatically convert WMF/EMF (Windows/Enhanced Metafiles) to EPS (Encapsulated Postscript). My suite of programs and scripts ...
1
vote
0answers
43 views

how to convert metafont created fonts to PS 1 fonts

I have a font (for the script of my language) which was created using metafont. But as is the usual problem with 8-bit fonts it does not scale well. So I have had to create multiple tfm files for ...
6
votes
2answers
302 views

tikzpicture won't render 'usable' PS code

I use tikz (and tikzpicture) a fair bit, but files that used to compile fine before the latest slew of updates to pgf, and pstricks, no longer seem to do so (at least, on my MikTeX installation). The ...
4
votes
1answer
62 views

How can I intercept postscript instructions in a file loaded with includegraphics?

The psfrag package has the capability to intercept certain instructions in eps files, and replace them with new instructions. In this way, it is possible to replace fonts in an image with the fonts ...
2
votes
0answers
563 views

Montserrat font/package, “invalidfont” error when printing

I'm using the montserrat package to use the Montserrat font and I'm having troubles printing the resulting PDF. This is a trivial minimal example: \documentclass{article} \usepackage[utf8]{inputenc}...
6
votes
1answer
125 views

TeXcolorrgb vs. setrgbcolor

I wonder if there is a tiny difference of the produced color within the resulting pdf. Within this given example - two colored lines differently setup. One line is setup with LaTeX, the other line ...
2
votes
0answers
131 views

Notes between two columns with multicol

I have been working to get notes (possibly margin notes, but doesn't have to be) in between two columns of text. This question has proved useful, however it works with the twocolumn option for the ...
1
vote
0answers
114 views

Is converting a PDF file to Post Script a lossless operation? [closed]

I will use pstops to do some rearranging of a PDF-file, but first I need to convert it to Post Script. Is that a lossless operation? That is, are the curves in a Post Script file described using the ...
3
votes
2answers
491 views

Calculating data inside pst-plot/postscript and conditionally coloring the plot

I am getting lots of simulated data in tables with 13 columns, from where I want to plot the following: The x axis should be column number 12 (E), which is fine with plotNoX=12. The y axis should be ...
4
votes
2answers
408 views

Is it possible to use ALT 227 (π) as a PostScript constant?

Is it possible to use π as a PS constant in my attempt below? \documentclass[pstricks]{standalone} \usepackage{pst-plot} \begin{document} \pspicture(\psPiTwo,4) \pstVerb{/2π {2 Pi mul} def} \psplot{0}...
3
votes
0answers
132 views

Boundary of a path as a new path?

Is it possible to use the boundary of a shape defined as some path as a new path? In the following example \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=3] \...
1
vote
0answers
68 views

PostScript Driver for DVI Files has stopped working

How do i enable the PostScript Driver for DVI Files to work properly.I am not able to insert pictures in my latex document in PCTEX. How can i fix this problem?
1
vote
1answer
164 views

Using a PS-specific package with XeTeX

I've a package I'd much like to use, MayaPS (for typesetting Mayan glyphs, with many features that make glyph composition easy), but the package comes only as a PostScript thing, and the authors have ...
3
votes
1answer
46 views

How does PSTricks determine the final path direction of composite objects made by \reversepath?

Let me divide the discussion into 2 cases: Using \CW \documentclass[border=12pt]{standalone} \usepackage{pstricks} \def\CW{\psline(2,2)(3,4)(4,1)(4,-3)} \begin{document} \begin{pspicture}[...
6
votes
2answers
230 views

How do PostScript interpreters know the meanings of PGF-specific operators, such as 'pgfe' and 'pgfstr'?

A TikZ node "lives" in a TeX box. With latex as the TeX engine these boxes are converted to PostScript directives. Use \showbox to see how a box like this is implemented by following these steps. ...
3
votes
2answers
252 views

`latex` and `pdflatex` produce different colors given the same TikZ picture

Consider the following LaTeX manuscript featuring a TikZ picture* containing an empty, red-bordered node placed at the picture's origin. \documentclass{article} \usepackage{tikz} \begin{document} ...
1
vote
2answers
3k views

pdflatex and gnuplot's epslatex

I'm having some trouble trying to use gnuplot's epslatex terminal in a tex document to be compiled with pdflatex. The figure appears too big in the final pdf, and the axis' tics are not in math mode, ...
2
votes
1answer
120 views

Calculated label rotation in postscript

Elaborating on a solution obtained from the accepted answer of my earlier question, I would like to rotate upside-down labels on the righthand side of the rosetta using modulus. \documentclass[...
8
votes
1answer
312 views

Microtype package is not supported dvips output

I am using microtype package for good kerning text output. I am using below mentioned settings in my tex file. \usepackage{microtype} \DisableLigatures[f]{size=normalsize-}%disable Ligatures I ...
3
votes
0answers
833 views

How to convert a dvi file to an encapsulated postscript file?

I heard that we can use dvips –E to convert dvi to encapsulated postscript. But I do not know what is dvips -E. I can not find a command like "dvips -E" in my Texmaker. Clearly, I am a rookie. Can ...
1
vote
0answers
106 views

Default font used by PSTricks?

I am trying to recreate this drawing: https://commons.wikimedia.org/wiki/File:Cartesian_coordinates_2D.svg There are instructions at the end, but I want to skip some steps. Namely, I want to import ...
1
vote
1answer
336 views

pstricks: Color area under graph: what is dup?

For coloring an area under a graph, there exist multiple approaches with pstricks. I found a solution that was never mentioned on stack-exchange, but seems to be really simple: \psplot[linewidth=1pt,...
1
vote
1answer
122 views

Why Latex compiler seems to be bound to PostScript?

I am considering the following facts about the latex compiler: It only takes PostScript (PS) or Encapsulated PostScript (EPS) files as image input; It produces only DVI files as output, which can be ...
1
vote
2answers
229 views

Font with PSTricks and Beamer

I am creating standard beamer presentations. Moreover I use PSTricks to produce my pictures in a separate file. Afterwards I include the pdf with the pictures into the presentation. Unfortunatelly ...
3
votes
0answers
325 views

Problem with Greek letters in mathptmx [closed]

I'm new to Latex and I'm supposed to write a journal paper using the template provided by the journal itself. The guides in the template suggest using PostScript fonts by the package "mathptmx". I ...
1
vote
3answers
9k views

Print to EPS file in Windows 10

In Windows 7 and older versions I did this to generate EPS: I installed a driver for a postcript printer (from HP for example). Set "file" as printer port, so that output was directed to a file ...
2
votes
3answers
1k views

TeXStudio and GSview problem: file .ps does not exist

I have updated TeXStudio and now, when I compile, all work without errors. But If I "compile and view" or simple "view" The answer is: File 'path\paper.ps' does not exist from GSview. Till ...
0
votes
0answers
866 views

Dvi-ps-pdf Unrecoverable error, exit code 1 (/stackunderflow in --begin--)

I'm trying to compile a tex file via tex-dvi-ps-pdf, in a MacOS X. I've seen: Ghostscript 8.57: Unrecoverable error, exit code 1 auto-pst-pdf throws 'MiKTeX GPL Ghostscript 9.05: Unrecoverable ...
1
vote
1answer
197 views

Is it possible to build a table with strings of dingbats instead of horizontal rules?

I know you can make or create an table with tabbing or tabular. But is it possible to build a table with dingbats instead of \hlines? My code so far you could make the top line with \dingline{190} ...
2
votes
2answers
237 views

Running PSTricks image on TeXShop

I am trying to compile the following pstricks image which I asked in another post: \mathversion{sans}\setlength\fboxsep{0pt} \begin{postscript} $\begin{pmatrix} 0 & 0 & 0 & 0 ...
2
votes
2answers
2k views

How to modify postscript file to use the same font as the main document

I have to include a Postscript picture in a latex document. The ps file is generated by another program. I would like to modify the font within the ps so that it correspond to the same main font of ...
1
vote
0answers
286 views

Lyx does not export postscript file! [closed]

I try to export a lyx file to .ps format. But while I hit the save button I got the following error: "No information to export the format Postscript" Any help will be appreciated. Thanks,
0
votes
0answers
106 views

eps2pgf error: /undefined in currentlinecap

I'm encountering a problem when converting .eps to .pgf with eps2pgf. I'm running OSX Yosemite with Java version 1.8.0_31. This is what I input in Terminal: java -jar eps2pgf.jar figure1.eps -o ...
4
votes
1answer
194 views

Why is my \special{ps: …} not getting the dimensions correct?

Trying things out without relying on pstricks to see if I can write my own postscript code embedded within a LaTeX document. \documentclass{article} \begin{document} Hello world! \special{ps: ...
4
votes
3answers
624 views

Drawing an oval around Text using postscript in latex and also create a macro for the same without tikz package

The solution is simple when I use packages like tikz. But I am not supposed to use packages. I need to use post script in latex. I am trying to draw this oval using two lines and two curves in a macro ...
0
votes
0answers
31 views

Pixelated image in postscript format! [duplicate]

I have a big problem with the figures in my paper. I need to submit a postscript file to a journal. Figures are in a good shape while I directly convert the file to pdf. But while I save the file in ...
1
vote
1answer
256 views

Pixelated image in ps format!

I have a big problem with the figures in my paper. I need to submit a postscript file to a journal. Figures are in a good shape while I directly convert the file to pdf. But while I save the file in ...
3
votes
0answers
3k views

dvi to eps conversion

It's possible to convert dvi to eps format each page like http://www.tug.org/texinfohtml/dvipng.html. I want each page equation convert to eps format.
1
vote
1answer
340 views

Generate new or change a line color with Postscript notation

I'd like to use \psset{linecolor = blue!\mapDFVtoColor} whereas \mapDFVtoColor is defined as something like \def\mapDFVtoColor{20 40 add 3.5 div} Here's a bit longer but condensed example \...
92
votes
13answers
23k views

Why do people still use Postscript?

I submitted a journal paper this morning, and they asked me to include a PDF file, which I expected, and a Postscript (PS) file. Generating the PS file proved more difficult, because some of my ...
3
votes
1answer
260 views

Is there a function for rad2deg and deg2rad for use in pst-solides3d?

Basically I'm using pst-solides3d to produce 3d-perspective figures. When writing the 3d transform parameters for rotateOpoint3d, it is required to have a unit of degree. But when writing an argument ...