I have Geany 2.0 on windows 10. I have successfuly compiled my .tex file but am unable to create the corresponding .pdf (program exited with code: 9009) I tried to manually add the address of Evince to the PATH variable. The problem did not solve. I would appreciate any comment on it.
Can you run evince from the command line?
No.
Then its not going to run from inside Geany, you need to fix that issue first.
FWIW, evince is a document *viewer*, it's not gonna help *create* PDFs. And if you already have a PDF viewer you can use it instead as well.
Well "compile" means `pdflatex` to me, which "just does" PDF and is in most tex distros IIRC.
Well I read "but am unable to create the corresponding .pdf", so I am not exactly sure which step doesn't work.
Well I read "but am unable to create the corresponding .pdf", so I am not exactly sure which step doesn't work.
Good point, I read evince and thought the OP had the PDF, but now I'm not sure either.
Oh wait, the default latex filetype file has both `latex` and `pdflatex` as default build commands and `evince` as the "execute" command, but its probably not available on Windows, which is why the OP can't run it from the command line either.
Sorry, maybe my explanation was not clear. The .tex file is successfully compiled. That is the corresponding .pdf is already created but as you mentioned 'evince' is not being recognized by geany/windows therefore the process of View PDF File(F5) is not working. I tried to install SumatraPDF. But I do not know how to change the syntax in the corresponding "Set Build Commands" for geary to successfully run F5 and show the .pdf
On Mon, Jan 15, 2024, 14:21 elextr ***@***.***> wrote:
Oh wait, the default latex filetype file has both latex and pdflatex as default build commands and evince as the "execute" command, but its probably not available on Windows, which is why the OP can't run it from the command line either.
— Reply to this email directly, view it on GitHub https://github.com/geany/geany/issues/3745#issuecomment-1892166586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAW35BVZ457XF4AXNDWARWLYOUUMBAVCNFSM6AAAAABB2CMTXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSGE3DMNJYGY . You are receiving this because you authored the thread.Message ID: ***@***.***>
I think I found a way. I added the line bellow to the "Execute Commands" section for viewing .pdf files:
start ""/max "%e.pdf"
Thanks again for your comments, and sorry if I was not clear.
On Mon, Jan 15, 2024, 15:42 Sina Nakhostin ***@***.***> wrote:
Sorry, maybe my explanation was not clear. The .tex file is successfully compiled. That is the corresponding .pdf is already created but as you mentioned 'evince' is not being recognized by geany/windows therefore the process of View PDF File(F5) is not working. I tried to install SumatraPDF. But I do not know how to change the syntax in the corresponding "Set Build Commands" for geary to successfully run F5 and show the .pdf
On Mon, Jan 15, 2024, 14:21 elextr ***@***.***> wrote:
Oh wait, the default latex filetype file has both latex and pdflatex as default build commands and evince as the "execute" command, but its probably not available on Windows, which is why the OP can't run it from the command line either.
— Reply to this email directly, view it on GitHub https://github.com/geany/geany/issues/3745#issuecomment-1892166586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAW35BVZ457XF4AXNDWARWLYOUUMBAVCNFSM6AAAAABB2CMTXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSGE3DMNJYGY . You are receiving this because you authored the thread.Message ID: ***@***.***>
github-comments@lists.geany.org