[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] help needed invoking makefile
From: |
Patrick Drechsler |
Subject: |
[Bug-AUCTeX] help needed invoking makefile |
Date: |
Sat, 16 Jun 2007 00:25:24 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
Hi,
this is really not a bug report.
I have a large latex project including many subdirectories. Also,
I have a single Makefile in the root folder of this
project. Since Emacs is able to parse the "stuff-at-the-end":
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../../main"
%%% End:
I was wondering if it's possible to pass the "TeX-master"
information to Emacs' `M-x compile' command.
I would like to use a function `M-x pd-make' --only for this project--
which invokes the Makefile located in the root folder of this project,
even if I am invoking `M-x compile' (or `M-x pd-make') from a buffer
which is visiting a file within a subfolder of this project.
Can somebody help me? Or should I rather post this to emacs.help?
Cheers,
Patrick
Emacs : GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2007-03-18 on golem
Package: 2007-05-05
current state:
==============
(setq
AUCTeX-date "2007-05-05"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("style" "auto"
"/home/patrick/data/uni/literature/bibtex-stuff/style"
"/home/patrick/data/uni/literature/bibtex-stuff/auto"
"/usr/local/share/emacs/site-lisp/auctex/style"
"/usr/local/var/auctex")
TeX-auto-save t
TeX-parse-self t
TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX
nil (plain-tex-mode texinfo-mode ams-tex-mode) :help
"Run plain TeX")
("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode
doctex-mode) :help "Run LaTeX")
("Makeinfo" "makeinfo %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with HTML output")
("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
("ConTeXt" "texexec --once --texutil %(execopts)%t"
TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
(context-mode) :help "Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run
BibTeX") ("View" "%V" TeX-run-discard t t :help "Run Viewer")
("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help "View the
printer queue" :visible TeX-queue-command)
("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
"Generate PostScript file")
("Index" "makeindex %s" TeX-run-command nil t :help "Create
index file")
("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
:help "Check LaTeX file for correctness")
("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
t :help "Spell-check the document")
("Clean" "TeX-clean" TeX-run-function nil t :help "Delete
generated intermediate files")
("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
"Delete generated intermediate and output files")
("ps4pdf" "ps4pdf %s" TeX-run-command t t :help "Run
ps4pdf"))
)
--
Psychiatrists say that 1 of 4 people are mentally ill.
Check 3 friends. If they're OK, you're it.
- [Bug-AUCTeX] help needed invoking makefile,
Patrick Drechsler <=