<div dir="ltr"><div>Hi,</div><div><br></div><div>Please check the attached <b>screenshot showcasing the texstudio configuration</b>. <br></div><div><br></div><div>Following is the error I get when I run the pdflatex via the command line:  <b>==> It seems pdflatex.fmt file is not found</b><br></div><div><br></div><div>[madhavan@localhost test_latexdiff]$ pdflatex version1.tex <br>warning: kpathsea: configuration file texmf.cnf not found in these directories: /home/madhavan/anaconda2/bin:/home/madhavan/anaconda2/bin/share/texmf-local/web2c:/home/madhavan/anaconda2/bin/share/texmf-dist/web2c:/home/madhavan/anaconda2/bin/share/texmf/web2c:/home/madhavan/anaconda2/bin/texmf-local/web2c:/home/madhavan/anaconda2/bin/texmf-dist/web2c:/home/madhavan/anaconda2/bin/texmf/web2c:/home/madhavan/anaconda2:/home/madhavan/anaconda2/share/texmf-local/web2c:/home/madhavan/anaconda2/share/texmf-dist/web2c:/home/madhavan/anaconda2/share/texmf/web2c:/home/madhavan/anaconda2/texmf-local/web2c:/home/madhavan/anaconda2/texmf-dist/web2c:/home/madhavan/anaconda2/texmf/web2c:/home/texmf-local/web2c:/home/madhavan:/home/madhavan/share/texmf-local/web2c:/home/madhavan/share/texmf-dist/web2c:/home/madhavan/share/texmf/web2c:/home/madhavan/texmf-local/web2c:/home/madhavan/texmf-dist/web2c:/home/madhavan/texmf/web2c.<br>This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)<br><br>kpathsea: Running mktexfmt pdflatex.fmt<br>warning: kpathsea: configuration file texmf.cnf not found in these directories: /home/madhavan/anaconda2/bin:/home/madhavan/anaconda2/bin/share/texmf-local/web2c:/home/madhavan/anaconda2/bin/share/texmf-dist/web2c:/home/madhavan/anaconda2/bin/share/texmf/web2c:/home/madhavan/anaconda2/bin/texmf-local/web2c:/home/madhavan/anaconda2/bin/texmf-dist/web2c:/home/madhavan/anaconda2/bin/texmf/web2c:/home/madhavan/anaconda2:/home/madhavan/anaconda2/share/texmf-local/web2c:/home/madhavan/anaconda2/share/texmf-dist/web2c:/home/madhavan/anaconda2/share/texmf/web2c:/home/madhavan/anaconda2/texmf-local/web2c:/home/madhavan/anaconda2/texmf-dist/web2c:/home/madhavan/anaconda2/texmf/web2c:/home/texmf-local/web2c:/home/madhavan:/home/madhavan/share/texmf-local/web2c:/home/madhavan/share/texmf-dist/web2c:/home/madhavan/share/texmf/web2c:/home/madhavan/texmf-local/web2c:/home/madhavan/texmf-dist/web2c:/home/madhavan/texmf/web2c.<br>/home/madhavan/anaconda2/bin/mktexfmt: kpsewhich -var-value=TEXMFROOT failed, aborting early.<br>BEGIN failed--compilation aborted at /home/madhavan/anaconda2/bin/mktexfmt line 25.<br>I can't find the format file `pdflatex.fmt'!</div><div><br></div><div>Look forward to your response and support.</div><div>Thanks and regards,</div><div>Madhavan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 31, 2020 at 11:13 AM Lars Madsen <<a href="mailto:daleif@math.au.dk">daleif@math.au.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Then I don't understand the error message, it is the '/home/madhavan/anaconda2/bin/' that I do not understand<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Can you run pdflatex by hand via the commandline?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
How is pdflatex specified in the texstudio configuration?<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_9127863889720030402Signature">
<div>
<div></div>
<div name="divtagdefaultwrapper">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px"><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">/Lars Madsen</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">Institut for Matematik / Department of Mathematics</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">Aarhus Universitet / Aarhus University</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">Mere info:
</span><a href="http://au.dk/daleif@imf" target="_blank"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">http://au.dk/daleif@math</span></a><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">
 / More information: </span><a href="http://au.dk/en/daleif@imf" target="_blank"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">http://au.dk/en/daleif@math</span></a><br>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="gmail-m_9127863889720030402appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_9127863889720030402divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Bomidi Lakshmi Madhavan <<a href="mailto:madhavanbomidi@gmail.com" target="_blank">madhavanbomidi@gmail.com</a>><br>
<b>Sent:</b> 31 August 2020 07:29<br>
<b>To:</b> Lars Madsen <<a href="mailto:daleif@math.au.dk" target="_blank">daleif@math.au.dk</a>><br>
<b>Cc:</b> Bob Tennent <<a href="mailto:rdtennent@gmail.com" target="_blank">rdtennent@gmail.com</a>>; <a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a> <<a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a>><br>
<b>Subject:</b> Re: How can I install MikTex on CentOS 7?</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi,<br>
<div><br>
</div>
<div>Yes. The location of pdflatex is obtained as below:</div>
<div><br>
</div>
<b>(base) [madhavan@localhost ~]$ which pdflatex<br>
</b>
<div><b>~/anaconda2/bin/pdflatex</b></div>
<div><br>
</div>
<div>Look forward to your support.</div>
<div>Thanks and regards,</div>
<div>Madhavan<br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Mon, Aug 31, 2020 at 11:01 AM Lars Madsen <<a href="mailto:daleif@math.au.dk" target="_blank">daleif@math.au.dk</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Is pdflatex even at that specified location?<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div>
<div id="gmail-m_9127863889720030402x_gmail-m_-1797350415552061240Signature">
<div>
<div name="x_divtagdefaultwrapper">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">/Lars Madsen</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">Institut for Matematik / Department of Mathematics</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">Aarhus Universitet / Aarhus University</span><br>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">Mere info:
</span><a href="http://au.dk/daleif@imf" target="_blank"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">http://au.dk/daleif@math</span></a><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">
 / More information: </span><a href="http://au.dk/en/daleif@imf" target="_blank"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0)">http://au.dk/en/daleif@math</span></a><br>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="gmail-m_9127863889720030402x_gmail-m_-1797350415552061240appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_9127863889720030402x_gmail-m_-1797350415552061240divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> texhax <texhax-bounces+daleif=<a href="mailto:imf.au.dk@tug.org" target="_blank">imf.au.dk@tug.org</a>> on behalf
 of Bomidi Lakshmi Madhavan <<a href="mailto:madhavanbomidi@gmail.com" target="_blank">madhavanbomidi@gmail.com</a>><br>
<b>Sent:</b> 31 August 2020 06:23<br>
<b>To:</b> Bob Tennent <<a href="mailto:rdtennent@gmail.com" target="_blank">rdtennent@gmail.com</a>><br>
<b>Cc:</b> <a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a> <<a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a>><br>
<b>Subject:</b> Re: How can I install MikTex on CentOS 7?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hi Bob,<br>
<br>
Greetings. I have a work computer with Centos 7 installed. On the 'downloads' section (<a href="https://miktex.org/download" target="_blank">https://miktex.org/download</a>), Miktex is not available for installation on Centos 7. Though I tried to use the commands
 given for Centos 8, the installation is not happening. I am aware of tex-live as an alternative but I am well acquainted with Miktex for long-time. I have even installed tex-live along with TexStudio. When I click 'Build & view', I get the following error
 message:<br>
<br>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Could not start Build & View:PdfLaTeX:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">"/home/madhavan/anaconda2/bin/pdflatex" -synctex=1 -interaction=nonstopmode</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br>
</p>
</div>
<div></div>
<div>Look forward to your response.</div>
<div><br>
</div>
<div>Thanks and regards,</div>
<div>Madhavan</div>
<div></div>
<div>---------------------------------</div>
<div>Dr. Bomidi Lakshmi Madhavan</div>
<div></div>
<div>National Atmospheric Research Laboratory (NARL)</div>
<div>Gadanki - 517 112, Chittoor (Dist.)</div>
<div>Andhra Pradesh, INDIA</div>
</div>
<br>
<div>
<div dir="ltr">On Thu, Aug 27, 2020 at 10:09 PM Bob Tennent <<a href="mailto:rdtennent@gmail.com" target="_blank">rdtennent@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
 >|<br>
 >|I have CentOS 7 on my working PC. I wanted to install<br>
 >|Miktex on the same but surprised to find that it is<br>
 >|available only for CentOS 8. Is there a way to get MikTex<br>
 >|compatible on CentOS 7?<br>
<br>
You'd be more likely to get a suitable response from the<br>
MikTeX support site but my advice would be to follow<br>
the suggested instructions for CentOS8. After all, the<br>
miktex.repo file has<br>
<br>
<a href="https://miktex.org/download/fedora/28/" rel="noreferrer" target="_blank">https://miktex.org/download/fedora/28/</a><br>
<br>
as the baseurl so I doubt there's anything CentOS8-specific.<br>
<br>
Bob T.<br>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>

</blockquote></div>