[texhax] Converting LaTeX files into MS Word

Joel Salomon joelcsalomon at gmail.com
Thu Nov 23 09:31:23 CET 2006


> Here is figtex.cmd:
<snip>
> I have a fuller version at home with some error checking,

…which I've included here:

	@if "%1"=="" goto usage
	:top
	latex %~n1.tex
	dvips -E %~n1.dvi -o %~n1.ps
	epstool --copy --bbox %~n1.ps %~n1.eps
	epstopdf %~n1.eps
	@shift
	@if "%1"=="" (goto end) else (goto top)
	
	:usage
	@echo usage: figtex file ...
	
	:end
	@echo.

--Joel


More information about the texhax mailing list