Menu

wxd2lat

Dirk Krause
← Previous ↑ Home ↑ Programs → Next

wxd2lat — Convert wxdkdraw → PDF+TeX / EPS+TeX / PGF

Description

Wxd2lat converts wxdkdraw drawings to vector graphics formats used in LaTeX/pdfLaTeX environments.

  • Standalone images
    Wxd2lat can produce *.tex files for direct pdflatex processing resulting in a standalone PDF file.
  • Objects for inclusions in LaTeX documents
    Wxd2lat can produce *.tex files or *.tex/*.pdf or *.tex/*.eps file pairs for inclusion in LaTeX documents.

Examples

Produce PDF+TeX file pair for image

To produce a PDF+TeX file pair (x.pdf and x.tex) from the x.wxd file:

wxd2lat -lpdf x.wxd

To include the image in a LaTeX document you want to process with pdflatex:

\begin{figure}%
{\centering%
\input{x.tex}\caption{My image}\label{fig:my-image}%
}%
\end{figure}

Produce EPS+TeX file pair for image

To produce a EPS+TeX file pair (x.eps and x.tex) from the x.wxd file:

wxd2lat -leps x.wxd

To include the image in a LaTeX document you want to process with LaTeX/dvixxx

\begin{figure}%
{\centering%
\input{x.tex}\caption{My image}\label{fig:my-image}%
}%
\end{figure}

Produce TeX file for image

To produce a TeX file x.tex from the x.wxd file:

wxd2lat -ltex x.wxd

To include the image in a LaTeX document:

\begin{figure}%
{\centering%
\input{x.pgf}\caption{My image}\label{fig:my-image}%
}%
\end{figure}

In the preamble use

\usepackage{pgfcore}

Produce standalone PDF file

To produce a standalone PDF file x.pdf from the x.wxd file:

wxd2lat -ltex x.wxd
pdflatex x

Alternatively you can use

wxd2lat -lpdf x.wxd
pdflatex x

instead.


Conversion to other file formats

The [gxhints:wiki:Home] page shows how to convert from wxd to eps, pdf, svg, png, jpeg, ico, and xpm.


Manual

See the [wxd2lat manual] for detailed information.

← Previous ↑ Home ↑ Programs → Next

Related

Wiki: Home
Wiki: wxd2lat manual
Wiki: wxdkdraw manual
Wiki: wxdkdraw
gxhints - Graphics conversion hints: Wiki: Home

MongoDB Logo MongoDB