Text Formatting ⇒ Question on package error: need perltex?
Question on package error: need perltex?
Hi, I've been trying to implement the thumby package, but when compiling it returns an error: Package perltex error: document must be compiled using perltex.
So how do I do this? I'm on win7 64 bit using texniccenter.
Thanks!
So how do I do this? I'm on win7 64 bit using texniccenter.
Thanks!
NEW: TikZ book now 40% off at Amazon.com for a short time.

- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
Re: Question on package error: need perltex?
We need a minimal working example.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)
Re: Question on package error: need perltex?
Ok sorry here you go:
I want thumbs on the side of the pages for my full document (7 chapters)
I think I need to run it through perl somehow but I have no clue what to do.
\documentclass[10pt,a4paper,twoside]{report}
\usepackage{thumby}
\thumbySides{two}
\thumbyTotalChapters{10}
\thumbyPageHeight{795}
\thumbyThumbWidth{42.5}
\thumbyForeground{white}
\thumbyBackground{black}
\thumbyNumberFormat{\Huge\textbf{$chapter number}}
\thumbySetup
\usepackage[Conny]{fncychap}
\ChNameUpperCase \ChTitleUpperCase \ChNameVar{\centering\Huge\rm\bfseries}
\ChNumVar{\Huge} \ChRuleWidth{2pt} \ChTitleVar{\centering\Huge\rm}
\begin{document}
\chapter{Chapter 1}
\section{bla}
bla bla bla
\newpage
bla
\end{document}
I want thumbs on the side of the pages for my full document (7 chapters)
I think I need to run it through perl somehow but I have no clue what to do.
\documentclass[10pt,a4paper,twoside]{report}
\usepackage{thumby}
\thumbySides{two}
\thumbyTotalChapters{10}
\thumbyPageHeight{795}
\thumbyThumbWidth{42.5}
\thumbyForeground{white}
\thumbyBackground{black}
\thumbyNumberFormat{\Huge\textbf{$chapter number}}
\thumbySetup
\usepackage[Conny]{fncychap}
\ChNameUpperCase \ChTitleUpperCase \ChNameVar{\centering\Huge\rm\bfseries}
\ChNumVar{\Huge} \ChRuleWidth{2pt} \ChTitleVar{\centering\Huge\rm}
\begin{document}
\chapter{Chapter 1}
\section{bla}
bla bla bla
\newpage
bla
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Question on package error: need perltex?
Is it so difficult to tag source code by using the code environment of the forum? Read the thumby manual thoroughly and install perltex if necessary.
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Question on package error: need perltex?
Sorry I never noticed that option. I have the perltex package too but how do I get texniccenter to run it through perl or something?
I'm sory Im just a noob on this. The thumpy pdf manual -which I read- says I have to run twice perltex --latex=pdflatex
how the hell do I achieve that?
sorry for being a pain in the ass
I'm sory Im just a noob on this. The thumpy pdf manual -which I read- says I have to run twice perltex --latex=pdflatex
how the hell do I achieve that?

sorry for being a pain in the ass
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Question on package error: need perltex?
It's hard to overlook because it can be found in the button list right above the input window when writing a post.Faust wrote:Sorry I never noticed that option. [...]
Just open a command prompt and type in that line.
Code: Select all
perltex --latex=pdflatex filename.tex
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Question on package error: need perltex?
ok thanks, but I'd like this automatically executed from texniccenter when compiling a document. Is this possible?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Question on package error: need perltex?
Integrate the two runs into the post-processing section of a build profile. But from my point of view it's not worth the effort unless you always work with the thumby package.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Question on package error: need perltex?
well I have several problems now:
when running a commandline prompt and typing in the following:
perltex --latex=latex d:\test.tex
I get an error, it says file c:.test.tex not found (I specifically typed a "\" but it returns a ".")
retyping the exact same location e.g. d:\test.tex will find the file and it will produce a dvi file, but the output location is c:\users\faust instead of where my document is located.
The resulting dvi file does not look quite as expected, chapter numbers do not appear in the thumbs.
Running through pdflatex instead of latex does work better.
I am using tikz in my document so I cant use pdf2latex directly.
However when I'm trying to put in a file that uses figures this method will return an error on all images, saying file not found.
Last, when I want to insert the command line into texniccenters output profiles, what should I enter in the specific fields for "executable" and "arguments" in the postprocessor tab? I've made a new postprocessor before the Dvips postprocessor and ghostscript one.
Thank you for your help, appreciated.
when running a commandline prompt and typing in the following:
perltex --latex=latex d:\test.tex
I get an error, it says file c:.test.tex not found (I specifically typed a "\" but it returns a ".")
retyping the exact same location e.g. d:\test.tex will find the file and it will produce a dvi file, but the output location is c:\users\faust instead of where my document is located.
The resulting dvi file does not look quite as expected, chapter numbers do not appear in the thumbs.
Running through pdflatex instead of latex does work better.
I am using tikz in my document so I cant use pdf2latex directly.
However when I'm trying to put in a file that uses figures this method will return an error on all images, saying file not found.
Last, when I want to insert the command line into texniccenters output profiles, what should I enter in the specific fields for "executable" and "arguments" in the postprocessor tab? I've made a new postprocessor before the Dvips postprocessor and ghostscript one.
Thank you for your help, appreciated.
Re: Question on package error: need perltex?
ok, one problem is solved, kinda:
When putting all my files in the c:\users\faust folder it compiles properly using pdflatex.
using latex.exe there appears no text in the thumbs. I think I'll go with localghost's suggestion of only using this package when I need to -final run-.
When putting all my files in the c:\users\faust folder it compiles properly using pdflatex.
using latex.exe there appears no text in the thumbs. I think I'll go with localghost's suggestion of only using this package when I need to -final run-.