Texmaker and TeXstudioconfiguring texmaker

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
kanthgs
Posts: 2
Joined: Mon Mar 12, 2007 12:50 pm

configuring texmaker

Post by kanthgs »

Hi,

I have configuered texmaker and in quick build options I have selected "pdfLatex+view Pdf", But after compiling, Pdf file does't open automatically. I need to go to the folder and open it. One more thing is, If the respective Pdf file is open, instead of over righting it, compiler gives lot of error messages. Please someone help me in this regard.


Thanks in advance,


Shivakanth.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

leonardo
Posts: 2
Joined: Mon Mar 19, 2007 6:17 pm

Re: configuring texmaker

Post by leonardo »

Have you configured the path for the pdfviewer? It is the 10^th item of the configuration widget.
LO
fuchi8
Posts: 4
Joined: Wed Mar 19, 2008 6:16 pm

Re: configuring texmaker

Post by fuchi8 »

hi, i've got the same problem and i selected the path for the pdf viewer (i use Preview in the applications folder) but it doesn't work; then i get a lot of errors about the control sequence but the command are corrects (\begin, \usepackage...).

Could someone help me?

valentina
eumetaxas
Posts: 5
Joined: Wed May 28, 2008 8:31 am

Re: configuring texmaker

Post by eumetaxas »

i am using texmaker for a year now. this works perfectly on LINUX but never manage to work it on windows and tried lots of solutions
User avatar
T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

Re: configuring texmaker

Post by T3. »

Quick check on my system (Vista 32bit) shows that quick build with "pdfLatex+view Pdf" works as desired. How did you configure texmaker?

As for overwriting open files - it cannot be done if you use Acrobat Reader as your viewer because it locks open files so that pdftex cannot write on them. You always have to close them. This can be automated by using DDE interface of acroread but unfortunately texmaker does not have support for DDE (but e.g. TeXnicCenter does) so you might consider different text editor or different pdf viewer.

Cheers,

Tomek
eumetaxas
Posts: 5
Joined: Wed May 28, 2008 8:31 am

Re: configuring texmaker

Post by eumetaxas »

thanx for the answer!

in commands tab for pdfviewer
"C:/Program Files/Adobe/Reader 8.0/Reader/AcroRd32.exe" %.pdf

and the same command in users quick build option. It does not open the file if any other pdf file is opened at the momment. Says document not found or something similar.

Thanx again!
User avatar
T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

configuring texmaker

Post by T3. »

OK, issue confirmed. It seems that acrobat likes when files are given with full path. Unfortunately I don't see any option in texmaker to specify full path in configuration of called programs. As a workaround you can launch acro through a batch script wrapper like this:

Code: Select all

@start "" "C:\path\to\where\you\have\AcroRd32.exe" "%~f1"
This will make sure that full path to a .pdf file is given. Save the above line in 'viewpdf.bat' and specify it in texmaker configuration instead of acroread.

Cheers,

Tomek
Last edited by T3. on Thu May 29, 2008 7:25 pm, edited 1 time in total.
eumetaxas
Posts: 5
Joined: Wed May 28, 2008 8:31 am

Re: configuring texmaker

Post by eumetaxas »

thanx!!!!!!!!
worked like a charm!
thank you!
gugulanul
Posts: 1
Joined: Fri Jun 20, 2008 5:41 pm

Re: configuring texmaker

Post by gugulanul »

Hi!

I had the same problem, acroread (launched from TexMaker) couldn't find the file to open. The issue was the same, acroread wanted the absolute path to the file. I had some pdf file still opened from another directory. After I closed all my acroreads and hit the TexMaker quickbuild button, it compiled and opend my pdf.

Nevertheless, the solution with the script is very nice.

See you!
anasazi
Posts: 1
Joined: Thu Jul 15, 2010 10:48 pm

Re: configuring texmaker

Post by anasazi »

Dear all,

I have exactly the same problem.. However I have no idea how I should do what you describe .. here are my qestions :

- Where should I go to configure the path ?
and
-What should I write there

Pardon me and thanks in advance :D

Yannis
Post Reply