Conversion ToolsTexDict can be customized?

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
User avatar
emime
Posts: 9
Joined: Wed Apr 15, 2009 10:43 pm

TexDict can be customized?

Post by emime »

Hello,
I need a way to specify the placement of a math text inside a postscript source according to default postscript coordinates (lower-left edged) (don't ask me why?:).
At the beginning my reasoning was the following:
  • 1) Write my text as mymath.tex
    2) Get a mymath.dvi using latex
    3) Get a mymath.ps using divps
    4) Use the code inside mymath.ps to place text where required using postscript operators like moveto, etc.
Unfortunately, this way is not easy (and may be not the correct one). The mymath.ps is a file that contains a TexDict very hard to reverse engineer and the final math text is placed inside the postscript according to the latex article class specifications (a4paper and so on).

So, the final questions:
  • 1) Do you know how tex.pro file is generated? Is there some documentation about?
    2) Are there any options to customize the TexDict in the way the text is placed at default postscript coordinates?
    3) Is there a way to treat the generated postscript as a single and unique string to move where I like inside the document?
    4) Is there a smarter way to do what I want? That is, convert and include a math strings coded as tex in a postscript source?
Thanks a lot
emi

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
emime
Posts: 9
Joined: Wed Apr 15, 2009 10:43 pm

Re: TexDict can be customized?

Post by emime »

Hello,
I found the answer by myself :) in the 5002.EPSF_Spec.pdf of adobe :geek:.

Now I'm able to write in Tex, get the eps, include it in my ps and translate it where I need.

bye
Post Reply