May pstool call lualatex instead of pdflatex?












0















I'm working with a document containing huge bibliography.
That forced me to switch to lualatex, because pdflatex generated errors:



{csname blx@nih@authorendcsname {{{hash=8ce87b4dc27b48d204336f9068cETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...688a7851}{family={Kotam{ä}ki}, fami
lyi={Kbibinitperiod }, gi...
l.202365 }
! ==> Fatal error occurred, no output PDF file produced!


The lualatex handled the file correctly, but then I needed to add a figure, which required use of pstool to replace a few placeholders with LaTeX processed text.
Unfortunately, it seems that pstool calls pdflatex again, as I get the following in the figure-pstool.log:



This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian (prelo
aded format=latex 2018.12.25) 16 JAN 2019 22:54
entering extended mode
[...]
{csname blx@nih@authorendcsname {{{hash=8ce87b4dc27b48d204336f9068cETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...iod }}}{{hash=dd6e000d600d547b04bd57
d6485bc7bf}{family={Nogima...
l.202365 }

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.


Is there any way to have pstool to call lualatex instead of pdflatex to avoid memory limitations?










share|improve this question


















  • 1





    pstool needs to call (dvi)latex to use psfrag but why is it having to process the bibliography?

    – David Carlisle
    Jan 16 at 23:06











  • anyway you always have the option of doing what pstool is automating, make a small document with just the image and the psfrag replacements process that with latex/dvips/ps2pdf to get a pdf file then just include that using graphics package in your main lualatex document

    – David Carlisle
    Jan 16 at 23:34











  • A few of those placeholders are supposed to be replaced by the bibliography references.

    – wzab
    Jan 16 at 23:35











  • ah:-)..........

    – David Carlisle
    Jan 16 at 23:35






  • 1





    I suppose you could try dvilualatex

    – David Carlisle
    Jan 16 at 23:39
















0















I'm working with a document containing huge bibliography.
That forced me to switch to lualatex, because pdflatex generated errors:



{csname blx@nih@authorendcsname {{{hash=8ce87b4dc27b48d204336f9068cETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...688a7851}{family={Kotam{ä}ki}, fami
lyi={Kbibinitperiod }, gi...
l.202365 }
! ==> Fatal error occurred, no output PDF file produced!


The lualatex handled the file correctly, but then I needed to add a figure, which required use of pstool to replace a few placeholders with LaTeX processed text.
Unfortunately, it seems that pstool calls pdflatex again, as I get the following in the figure-pstool.log:



This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian (prelo
aded format=latex 2018.12.25) 16 JAN 2019 22:54
entering extended mode
[...]
{csname blx@nih@authorendcsname {{{hash=8ce87b4dc27b48d204336f9068cETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...iod }}}{{hash=dd6e000d600d547b04bd57
d6485bc7bf}{family={Nogima...
l.202365 }

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.


Is there any way to have pstool to call lualatex instead of pdflatex to avoid memory limitations?










share|improve this question


















  • 1





    pstool needs to call (dvi)latex to use psfrag but why is it having to process the bibliography?

    – David Carlisle
    Jan 16 at 23:06











  • anyway you always have the option of doing what pstool is automating, make a small document with just the image and the psfrag replacements process that with latex/dvips/ps2pdf to get a pdf file then just include that using graphics package in your main lualatex document

    – David Carlisle
    Jan 16 at 23:34











  • A few of those placeholders are supposed to be replaced by the bibliography references.

    – wzab
    Jan 16 at 23:35











  • ah:-)..........

    – David Carlisle
    Jan 16 at 23:35






  • 1





    I suppose you could try dvilualatex

    – David Carlisle
    Jan 16 at 23:39














0












0








0








I'm working with a document containing huge bibliography.
That forced me to switch to lualatex, because pdflatex generated errors:



{csname blx@nih@authorendcsname {{{hash=8ce87b4dc27b48d204336f9068cETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...688a7851}{family={Kotam{ä}ki}, fami
lyi={Kbibinitperiod }, gi...
l.202365 }
! ==> Fatal error occurred, no output PDF file produced!


The lualatex handled the file correctly, but then I needed to add a figure, which required use of pstool to replace a few placeholders with LaTeX processed text.
Unfortunately, it seems that pstool calls pdflatex again, as I get the following in the figure-pstool.log:



This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian (prelo
aded format=latex 2018.12.25) 16 JAN 2019 22:54
entering extended mode
[...]
{csname blx@nih@authorendcsname {{{hash=8ce87b4dc27b48d204336f9068cETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...iod }}}{{hash=dd6e000d600d547b04bd57
d6485bc7bf}{family={Nogima...
l.202365 }

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.


Is there any way to have pstool to call lualatex instead of pdflatex to avoid memory limitations?










share|improve this question














I'm working with a document containing huge bibliography.
That forced me to switch to lualatex, because pdflatex generated errors:



{csname blx@nih@authorendcsname {{{hash=8ce87b4dc27b48d204336f9068cETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...688a7851}{family={Kotam{ä}ki}, fami
lyi={Kbibinitperiod }, gi...
l.202365 }
! ==> Fatal error occurred, no output PDF file produced!


The lualatex handled the file correctly, but then I needed to add a figure, which required use of pstool to replace a few placeholders with LaTeX processed text.
Unfortunately, it seems that pstool calls pdflatex again, as I get the following in the figure-pstool.log:



This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian (prelo
aded format=latex 2018.12.25) 16 JAN 2019 22:54
entering extended mode
[...]
{csname blx@nih@authorendcsname {{{hash=8ce87b4dc27b48d204336f9068cETC.
! TeX capacity exceeded, sorry [main memory size=5000000].
<argument> ...iod }}}{{hash=dd6e000d600d547b04bd57
d6485bc7bf}{family={Nogima...
l.202365 }

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.


Is there any way to have pstool to call lualatex instead of pdflatex to avoid memory limitations?







pdftex luatex pstool






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 16 at 22:16









wzabwzab

1265




1265








  • 1





    pstool needs to call (dvi)latex to use psfrag but why is it having to process the bibliography?

    – David Carlisle
    Jan 16 at 23:06











  • anyway you always have the option of doing what pstool is automating, make a small document with just the image and the psfrag replacements process that with latex/dvips/ps2pdf to get a pdf file then just include that using graphics package in your main lualatex document

    – David Carlisle
    Jan 16 at 23:34











  • A few of those placeholders are supposed to be replaced by the bibliography references.

    – wzab
    Jan 16 at 23:35











  • ah:-)..........

    – David Carlisle
    Jan 16 at 23:35






  • 1





    I suppose you could try dvilualatex

    – David Carlisle
    Jan 16 at 23:39














  • 1





    pstool needs to call (dvi)latex to use psfrag but why is it having to process the bibliography?

    – David Carlisle
    Jan 16 at 23:06











  • anyway you always have the option of doing what pstool is automating, make a small document with just the image and the psfrag replacements process that with latex/dvips/ps2pdf to get a pdf file then just include that using graphics package in your main lualatex document

    – David Carlisle
    Jan 16 at 23:34











  • A few of those placeholders are supposed to be replaced by the bibliography references.

    – wzab
    Jan 16 at 23:35











  • ah:-)..........

    – David Carlisle
    Jan 16 at 23:35






  • 1





    I suppose you could try dvilualatex

    – David Carlisle
    Jan 16 at 23:39








1




1





pstool needs to call (dvi)latex to use psfrag but why is it having to process the bibliography?

– David Carlisle
Jan 16 at 23:06





pstool needs to call (dvi)latex to use psfrag but why is it having to process the bibliography?

– David Carlisle
Jan 16 at 23:06













anyway you always have the option of doing what pstool is automating, make a small document with just the image and the psfrag replacements process that with latex/dvips/ps2pdf to get a pdf file then just include that using graphics package in your main lualatex document

– David Carlisle
Jan 16 at 23:34





anyway you always have the option of doing what pstool is automating, make a small document with just the image and the psfrag replacements process that with latex/dvips/ps2pdf to get a pdf file then just include that using graphics package in your main lualatex document

– David Carlisle
Jan 16 at 23:34













A few of those placeholders are supposed to be replaced by the bibliography references.

– wzab
Jan 16 at 23:35





A few of those placeholders are supposed to be replaced by the bibliography references.

– wzab
Jan 16 at 23:35













ah:-)..........

– David Carlisle
Jan 16 at 23:35





ah:-)..........

– David Carlisle
Jan 16 at 23:35




1




1





I suppose you could try dvilualatex

– David Carlisle
Jan 16 at 23:39





I suppose you could try dvilualatex

– David Carlisle
Jan 16 at 23:39










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470451%2fmay-pstool-call-lualatex-instead-of-pdflatex%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470451%2fmay-pstool-call-lualatex-instead-of-pdflatex%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?