More suggestions

1 view
Skip to first unread message

Andrzej Zadrożny

unread,
Jun 25, 2008, 4:57:04 AM6/25/08
to desigle-discuss
Hi

I have some more suggestions
1. My multi-file book project doesn't work good in DeSiGLE, because:
* symlinking to /tmp dir (why not compile in directory where files
are? patch attached)
* compiling included file is not always possible, kile (kde
integrated latex enviroment) solves this by working in "Master
Document' mode -> you edit one file, and enviroment compiles only
master document (for example: opened in another tab)

2. I would like to see also features like:
* line numbering, i think this is crucial
* one click opening of files included with \input ( my suggestions
is to underline this file, and open it in new tab when clicked).


Patch for avoiding symlinking to /tmp:
diff -n desigle.py.1 desigle.py
d556 1
a556 1
file, self.tex_file = tempfile.mkstemp('.tex', 'desigle_')
d672 1
a672 11
if not self.tex_docs: return

if self.get_current_tex_doc().fq_filename:
DOC_DIR =
os.path.dirname(self.get_current_tex_doc().fq_filename)
else:
DOC_DIR = '/tmp'

if DOC_DIR != os.path.dirname( self.tex_file ):
os.popen('rm "%s".*' % self.tex_file[:-4] ).close()
file, self.tex_file = tempfile.mkstemp('.tex',
'desigle_', DOC_DIR )
self.pdf_file = self.tex_file[:-4]+'.pdf'
d674 1
d687 16
a702 1
os.chdir( DOC_DIR )
d726 2
a727 4
#if os.path.isfile( self.tex_file ):
os.remove( self.tex_file )
if os.path.isfile( self.tex_file ):
os.popen('rm "%s".*' % self.tex_file[:-4] ).close()
Reply all
Reply to author
Forward
0 new messages