{conversion} is for questions about file conversions, like converting EPS to PDF for the use with {pdftex}.

learn more… | top users | synonyms

19
votes
2answers
1k views

Automated age calculation

How can I calculate my age at compile-time in LaTeX? Something like: I'm \myage{day}{month}{year} years old. would be most awesome.
4
votes
1answer
230 views

awk script for coverting BibTeX to XHTML

I found several nawk and gawk scripts scattered all over the Internet for converting BibTeX files to HTML mostly written in 90s. A quick look into source code indicates, not surprisingly, that some of ...
2
votes
2answers
1k views

How to prepare my LaTeX based book for Word based proof reading? [duplicate]

Possible Duplicate: Workflow for converting LaTeX into Open Office / MS Word Format I am making a book using memoir and I am planning to try a proof reading service that uses Word. Does ...
7
votes
1answer
300 views

HTML converter possible as a TeX package?

I know there are a lot of threads on existing Tex-HTML converters already, but I have a question about the feasibility of creating one. Existing tools use other scripting languages to parse raw TeX ...
5
votes
2answers
3k views

How do I convert a beamer based LaTeX file to HTML?

I have a LaTeX beamer-based presentation that I would like to convert to HTML. How do I go about it? I've tried the typical LaTeX to HTML translators (eg. tth). But they do not handle beamer ...
0
votes
1answer
2k views

Using the command window to convert LaTeX to HTML [closed]

I am trying to convert a LaTeX file to HTML. I have tried to do this by typing cmd into the search bar of the START menu. When the black background box comes up, I type in htlatex filename.tex where ...
19
votes
1answer
8k views

TikZ to non-PDF

How do I tell TikZ to output to a standalone image file? Like JPG, PNG, etc? Yes, there is a way to output it to PDF, then do a snapshot. But this is for mathematical-visual comparisons, and I need ...
9
votes
2answers
366 views

What characters in a normal text document will screw up LaTeX?

I'm thinking of making a simple script to turn Project Gutenburg texts into LaTeX documents, so that they are nicely typeset and ready for reading. However to do that I'll need a fairly good list of ...
2
votes
1answer
272 views

Converting to mixture of HTML (chapter/section headers) and PDF (individual chapters/sections)

I have a large collection of notes that currently consists of a large number of individual "chapters" that I manually number and keep track of. E.g. visit ...
7
votes
2answers
13k views

Package hyperref Error: Wrong driver option `pdftex' when using mk4ht

I am trying to convert TeX, made using moderncv, to .doc format. I am trying to use the following 2 commands pdflatex filename.tex mk4ht oolatex filename.tex But I'm getting the following error ! ...
2
votes
2answers
5k views

Converting eps to png - dimensions [closed]

When I convert EPS to PNG using this command gs -dSAFER -dBATCH -dNOPAUSE -r600 -sDEVICE=pnggray -sOutputFile=%1.png "%1.eps" I get PNG picture with large dimensions, although the bounding box ...
15
votes
4answers
2k views

Conversion pt to mm or cm

Is there any way how to convert pt to mm or cm in plain TeX?
2
votes
0answers
4k views

Convert Latex to odt using tex4ht [closed]

Based on advice from this question I'm trying to use tex4ht to convert a latex document into something readable by MS Word. I was planning to use tex4ht to convert .tex to odt format. I'm running ...
7
votes
1answer
462 views

how can I prepare a word document, so that writer2latex will give me the best result?

I'm in the process of converting some Word documents to latex. I decided to go the following route: Word -> ODF (with odf export or via libreoffice) -> latex (writer2latex). The documents ...
3
votes
2answers
499 views

Whitespace problems with DVIPNG with LaTeX

I am trying to use LaTeX to output DVI files, then use DVIPNG to make images for, say, a website. The problem is when I take something like this: \documentclass{article} \pagestyle{empty} ...
1
vote
3answers
2k views

Creating standalone eps files and using batch files to automate the process

I have been looking at these posts How to fix EPS with incorrect bounding box? Cannot determine size of graphic in * (no BoundingBox) How to convert PDF to EPS? How to produce EPS instead of PS ...
32
votes
3answers
3k views

Convert any number to corresponding word

This is a wild one: can anyone write a code that converts a number into the corresponding word? e.g.: 4 -> 'four' 31 -> 'thirty-one' and so on. Obviously, it is not enough to build an array ...
12
votes
2answers
987 views

How do I tweak the output of tex4ht's latex-to-openoffice conversion?

Every now and then I am required to circulate a document in Word format; I write in LaTeX, of course. I use xelatex because I frequently need Unicode; I do bibliographies with biblatex; and I ...
1
vote
1answer
512 views

How to convert a preprint pdf into something more readable? [closed]

I'm talking about a pdf document that was created via LaTeX (probably pdflatex) but the tex source of which is not available. I'd appreciate a solution that is less manual than trying to convert the ...
6
votes
1answer
1k views

LaTeX to plain text for e.g. generation of statistics

I would like to convert a large LaTeX project (i.e. spanning multiple files) into plain text. The purpose is generation of statistics, so representing mathematics is not an issue. In fact, all ...
4
votes
1answer
659 views

What is the fastest--to-install TeX to HTML converter for windows?

I just came by this http://tug.org/applications/tex4ht/mn-mswin.html And I find it a bit extreme to need 20 steps just to set up a software. Is there any simpler, more reasonable, alternative?
6
votes
1answer
480 views

Converting text math to TeX math (e.g. automatically filling in \left(, \right), \frac, etc)

At some point, it occurred to me that another level of abstraction may be possible on top of LaTeX. For example, why should I type \left( \frac{\frac{a}{b + c} \frac{w + \lambda}{z}}{x\left[ ...
4
votes
2answers
509 views

Convert a picture or figure to EPS or PDF file

In my document I'm embedding figures using the following code: \begin{figure}[!t] \centering \def\svgwidth{1.2\columnwidth} \resizebox{\columnwidth}{!}{ \endlinechar=255\relax ...
6
votes
1answer
911 views

tex4ht leaving equations unchanged

I'm trying to convert a LaTeX document to a webpage that'll be hosted on a server that's capable of processing and rendering simple TeX equations, but not doing section-level formatting. So I'm ...
4
votes
1answer
10k views

Converting a PDF document to PostScript/LaTeX

I have a resume in PDF format. I have seen people linking to PostScript versions of their resume. I am not sure why they do that yet. How can I convert my PDF document to a LaTeX/PostScript document? ...
2
votes
0answers
3k views

Converting pdf to LaTeX? [duplicate]

Possible Duplicate: How to convert PDF to (La)TeX? is there a way to convert pdf to LaTeX? I don't need the conversion to be very accurate. It's fine for me as long as it is "almost there". ...
3
votes
1answer
228 views

What is the “simplest” to install restructured-text to TeX software (for windows)

I am looking for a simple software (for windows) that can turn the reStructured-text format into TeX. "Simple" to install means that you can basically unzip a file with the software, and you could ...
0
votes
1answer
516 views

Problem with pdflatex and colored output files: PNG and PDF

I need to create PNG and PDF files from the same .tex source using pdflatex (Texlive 2010, Ubuntu). To make PNG files, there's no problem with dvipng utility. But with PDF files (created by the ...
5
votes
1answer
727 views

LaTeX with no embedded Fonts

I have a simple question, I would like to produce some latex document which has all its fonts rendered in vector graphic form, no embedded fonts, is this possible and how can I achieve this by using ...
1
vote
2answers
1k views

Matlab, Inkscape, ConTeXt and automatic image conversion?

I want to use matlab plots in my ConTeXt document, but preprocess them in Inkscape. I wonder if there is some recommended workflow. So far what I'm doing is this: save matlab figure as 'fig', so I ...
3
votes
1answer
437 views

Changing the paper size of a document without changing anything else

I found a nice piece of software (pdf2swf) that converts pdf files to browse-able flash files, but prevents them from being downloaded. I have a "book" document that I wrote in LaTeX and I want to ...
4
votes
2answers
452 views

Is there a way to compile a LaTeX table into tab delimited text?

I am submitting a manuscript to a journal1 that will only accept Word or .rtf submissions (arrrg!) and they require that tables be tab separated text. Is there a way to compile LaTeX tables into tab ...
0
votes
1answer
2k views

Convert LaTeX file to HTML or ePub [duplicate]

Possible Duplicate: Use LaTeX to produce Epub May be this question was asked before but I could not find relevant info to solve the problem. I have a need to convert my Latex file to ePub ...
0
votes
1answer
3k views

ps2pdf -dEPSCrop input.eps cannot crop input with \pagecolor{<non-white>}

If I set \pagecolor{} to any color other than white, I will get a strange result. rem batch.bat takes a file name without extension. latex -interaction=nonstopmode %1 dvips -E %1 -o %1-temp.eps ...
2
votes
2answers
296 views

Ghostscript questions [related: preview package to print standalone PDFs]

Using the preview package to generate individual PDFs of images within your document has been covered, for example, in this thread. However, I am trying to understand how you can use Ghostscript to ...
4
votes
2answers
6k views

Converting MS Word mathtype to LaTeX

Does anyone know of an easy, effective, and preferably free way to convert Word documents with Mathtype 5.2 equations to the LaTeX format?
1
vote
2answers
1k views

How can I create PDF & EPS exactly as big as my PSTricks picture but without using pdfcrop?

This question is made to accompany the existing question: How can I create a pdf document exactly as big as my tikz picture?. Constraints: It is not allowed to use pdfcrop by any means whatsoever. ...
2
votes
0answers
183 views

Wiki to Latex conversion [duplicate]

Possible Duplicate: How to convert mediawiki syntax to latex? A couple of months ago I came across a tool/system for converting Wiki marked up text to latex. I did many searches with ...
0
votes
1answer
494 views

How to automate a job of changing tags in a bunch of EPS images and convert them to PDF

This post is a continuation to my earlier post here: Creating standalone eps files and using batch files to automate the process Xport gave good answers that work! One goal of this whole process ...
2
votes
0answers
404 views

Translate ONLY italian text, inside LaTeX sources, into english [closed]

I want to translate my LaTeX italian sources into english, using e.g. "google translate". I must "extract" italian text, leaving LaTeX keywords and formulas unchanged. Example: ...
1
vote
2answers
896 views

What is the correct syntax to do arithmetic for length and dimensionless macros?

I want to set papersize based on PSTricks settings. The PSTricks settings may be a value without dimension and/or a value with dimension. Honestly I have not read the TeXBook because of my laziness. ...
2
votes
1answer
733 views

Adjusting a converted OTF font for LaTeX

I have bought OTF Adobe Garamond Pro and successfully converted it to use with LaTeX (using otfinst.py). It works well including ligatures, old-style numerals, small caps, etc., but the problem is ...
5
votes
3answers
3k views

How to convert characters to LaTeX code?

How to convert characters of type á ê õ ção to \'a \^e \~o \c{c} \~a automatically?
1
vote
2answers
4k views

Is it possible to convert PDF to TXT file using GhostScript? [closed]

Someone wants to convert PDF to TXT as explained in C# GhostScript - Not able to successfully convert from PDF to TXT file. I am not sure whether GhostScript can do that. Is it possible?
2
votes
2answers
358 views

What unit should we use when working with (La)TeX and PSTricks to minimize conversion error?

I want to minimize conversion error when working with PSTricks and (La)TeX. The conversion error really affects the accuracy of bounding box, the thickness of LaTeX's \fbox and the thickness of ...
2
votes
1answer
439 views

How to improve accuracy when working with PSTricks?

I have tried this with TikZ that produces the same issue, you can try Leo's solution here. In other words, this issue is NOT specific to PSTricks. The hidden idea is to avoid cropping with pdfcrop ...
4
votes
2answers
1k views

Is there a command to convert cm to bp?

I want to convert a length in cm (centimeter) to bp (big point). Is there a command to convert cm to bp?
0
votes
1answer
1k views

How to produce EPS instead of PS using latex.exe followed by dvips?

How to produce EPS instead of PS using latex.exe followed by dvips?
6
votes
2answers
17k views

How to fix EPS with incorrect bounding box?

I want to get a standalone EPS graphic from DVI. This process can be done using the batch file as follows latex %1 dvips -E %1 -o %1.eps And the test file is as follows \documentclass{minimal} ...
7
votes
1answer
1k views

Convert from LaTeX to Plain TeX

Is there a way to convert a LaTeX document, which uses a lot of packages and macros, into Plain TeX, such that all macros are expanded and all dependencies on external packages are gone?