Ben | 2 Mar 2012 23:29
Picon

Re: TikZ support

FlorĂȘncio Neves <florencioneves <at> gmail.com> writes:

> 
> Hi,
> 
> I have written a sketch of style file for the TikZ drawing package. If
> you find the functionality relevant and the code of acceptable
> quality, I will be happy to contribute it.
> 
> There are two things I don't know how to do: one is to implement a
> parser for TikZ's "subpackage" system, the other is how to make the
> current key-val functionality of AUCTeX work better with pgfkeys,
> which allows blank spaces in keys and values.
> 
> Best regards,
> FlorĂȘncio Neves.
> 
> Attachment (tikz.el): text/x-emacs-lisp, 7812 bytes
> 
> _______________________________________________
> auctex-devel mailing list
> auctex-devel <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/auctex-devel
> 

I've also worked some on support for TikZ in AUCTeX, but I think I've taken it
in a different direction than you have.  My code is available githib; there's a
screenshot, a link, and discussion of the code at
http://tex.stackexchange.com/a/30252/5277.  I was focused only on getting
precise syntax highlighting, rather than fitting in smoothly with AUCTeX's
(Continue reading)

Sheng Xue | 10 Mar 2012 08:47
Picon

where can I download the latest development version of auctex?

Thanks!

Regards,
Sheng
Ralf Angeli | 10 Mar 2012 08:59

Re: where can I download the latest development version of auctex?

You can get the sources via CVS, see
<URL:http://savannah.gnu.org/cvs/?group=auctex>.

--

-- 
Ralf
Richard Hansen | 13 Mar 2012 21:39
Picon

[PATCH] Add support for symlinks in TeX-synctex-output-page

If the path leading up to TeX-master contains symbolic links,
expand-file-name might not return a path that matches the synctex
file.  This patch changes TeX-synctex-output-page to also try the
result of file-truename when looking for the output page.
---
 tex.el |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/tex.el b/tex.el
index 3d2500e..65b291c 100644
--- a/tex.el
+++ b/tex.el
 <at>  <at>  -1610,14 +1610,20  <at>  <at>  enabled and the `synctex' binary is available."
   (let* ((file (file-relative-name (buffer-file-name)
 				   (file-name-directory
 				    (TeX-active-master))))
-	 (abs-file (concat (expand-file-name (or (file-name-directory (TeX-active-master))
-						 (file-name-directory (buffer-file-name))))
-			   "./" file)))
+	 (master-dir-relmaybe (or (file-name-directory (TeX-active-master))
+				  (file-name-directory (buffer-file-name))))
+	 (abs-file (concat (expand-file-name master-dir-relmaybe) "./" file))
+	 (master-dir-abs (if (file-name-absolute-p master-dir-relmaybe)
+			     master-dir-relmaybe
+			   (concat (file-name-as-directory default-directory)
+				   master-dir-relmaybe)))
+	 (true-file (concat (file-truename master-dir-abs) "./" file)))
     ;; It's known that depending on synctex version one of
     ;; /absolute/path/./foo/bar.tex, foo/bar.tex, or ./foo/bar.tex (relative to
     ;; TeX-master, and the "." in the absolute path is important) are needed.
(Continue reading)


Gmane