I am learning with PerlTeX on Windows in TeXworks. I have simple question, for which I wasnt able to find answer in package PerlTeX documentation:
Is it possible to output PerlTeX compilation into .pdf?
So far I am able to output only into .dvi, which is for me very unsuitable. If testing is needed, please consider this MWE (actually taken from egregs wonderful answer perltex fails when using fourier package macro expression as argument to perl macro)
\documentclass{article}
\usepackage{fourier}
\usepackage{letltxmacro}
\makeatletter
\AtBeginDocument{\LetLtxMacro\mathbb\math@bb}
\makeatother
\usepackage{perltex}
\perlnewcommand\simplycopy[1]{return $_[0];}
\begin{document}
This works: $\mathbb{N}$
This works too: $\simplycopy{\mathbb{N}}$
\end{document}

perltex --latex=pdflatex <filename>will usepdflatexand produce PDF output. – egreg Sep 09 '19 at 09:29