Sujet : Re: TexLive vs pdf PS
De : jbb (at) *nospam* notatt.com (Jeff Barnett)
Groupes : comp.text.texDate : 27. Nov 2024, 09:07:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vi6k06$3ttok$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 11/27/2024 12:51 AM, Jeff Barnett wrote:
Whoops! I meant Tex Works, not TexLive.
sorry if I'm asking my questions in the wrong forum; if that's the case, please redirect me to the right place.
I'm in the process of building new Windows 11 machines after running Windows 7 for about a decade. I installed MiXTeX on a new machine and was delighted to see that it included the TexLive editor which I have heard of but never used. So I tried a few line example and ran PDFLaTeX on it - TexLive picked up the MiXTeX compiler without any real assist from me. I displayed the output file then typed control-p at which time I was told that the TexLive viewer wasn't clever enough to print and I was offered a choice to use the machine (Windows) default viewer.
Since my default, was the Adobe Reader, that choice would have the undesirable effect of locking the file so I could not recompile until I remembered to quit Adobe. I downloaded the Sumatra PDF program which more gently interacts with TeX-based systems, made it my default PDF handler, recompiled my example, tried to print the PDF output, got the same message and elected to "use the Windows default program (= Sumatra at this point). Happily, it printed.
For reasons not germane to my problem, I need to have the default PDF handler set to The Adobe Reader. So I switched that default back to Adobe after closing TexLive. Next, I repeated the process of using TexLive to to compile my test file and display the PDF output. The only thing in TexLive's memory was that it was supposed to use the default PDF handler. Since that was now, Adobe, that's what it used. The fact that it was set to Sumatra the last time through was forgotten.
So my question is obvious after this lengthy description: How do I tell TexLive to use Sumatra in a way that the choice will be remembered?