LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-19-2017, 11:21 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Gvim and Latex: PCManfm does not produce pdf in right folder.


I am using Gvim text editor with tex_pdf.vim ( https://github.com/vim-scripts/TeX-PDF ) for converting tex files to pdf files. I use following steps to create pdf from tex file kept in ~/mytexfolder, while I am logged in as abcd with home folder as /home/abcd:

* Open file manager, open ~/mytexfolder
* Double click on tex file to open it in Gvim
* Press F9 in Gvim to create a pdf file.

Above steps produce pdf files all right.

The problem is this: If I use Dolphin or Thunar file manager, the pdf file is created in ~/mytexfolder (and this is the desired location). However, if I use PFManFM file manager (in LXDE desktop), it creates pdf file (also intermediate files) in my home folder (/home/abcd) and I have to manually transfer them to ~/mtexfolder every time.

Firstly, where is the problem: in Gvim, tex_pdf.vim or in PCManFM? Secondly, how can I correct this problem so that the pdf file is created in the folder from which tex file was loaded (~/mytexfolder in above example) when I use PCManFM? Thanks for your help.

Note: If I open the tex file from commandline after cd to mytexfolder, Gvim creates pdf file in that folder only.

Also, other files (like text files) opened in Gvim from PCManFM folder, get saved to correct folder, when saved from Gvim after editing.

Last edited by rng; 07-19-2017 at 11:54 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PCManFM isn't showing folder icons. folatt Linux - Newbie 1 12-25-2016 08:18 PM
animation in latex pdf RudraB Linux - Software 1 10-29-2013 07:47 AM
Pdf printer and latex in ubintu 12.04 HARSHITGARG Linux - Software 1 10-20-2012 02:16 PM
pdf--->> latex, graphics possible? realos Linux - General 2 05-31-2004 04:50 AM
LaTeX to pdf kwigibo Linux - General 2 01-04-2003 07:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration