From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85872 Path: news.gmane.org!not-for-mail From: Bill Meahan Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt with Emacs Date: Fri, 10 Jan 2014 14:57:14 -0500 Message-ID: <52D0509A.8030106@meahan.net> References: Reply-To: lists@meahan.net, mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1775762402==" X-Trace: ger.gmane.org 1389383803 20566 80.91.229.3 (10 Jan 2014 19:56:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2014 19:56:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 10 20:56:51 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1iCG-0000js-GM for gctc-ntg-context-518@m.gmane.org; Fri, 10 Jan 2014 20:56:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD355101F3; Fri, 10 Jan 2014 20:56:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 68+bkQsHN-yO; Fri, 10 Jan 2014 20:56:45 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 747D0101E6; Fri, 10 Jan 2014 20:56:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93B25101E6 for ; Fri, 10 Jan 2014 20:56:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UuAK3KyCWqTJ for ; Fri, 10 Jan 2014 20:56:42 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 2116F101DE for ; Fri, 10 Jan 2014 20:56:41 +0100 (CET) Original-Received: from mail14c40.carrierzone.com (mail14c40.carrierzone.com [209.235.156.154]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0AK8JUI011070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 10 Jan 2014 21:08:20 +0100 X-Authenticated-User: subscribed_lists.meahan.net Original-Received: from [192.168.1.114] (d27-96-221-12.nap.wideopenwest.com [96.27.12.221]) (authenticated bits=0) by mail14c40.carrierzone.com (8.13.6/8.13.1) with ESMTP id s0AJuYjJ031060 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 10 Jan 2014 19:56:37 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-CTCH-RefID: str=0001.0A020209.52D05075.0136, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.235.156.154; country=US; region=FL; city=Fort Lauderdale; postalcode=33301; latitude=26.1209; longitude=-80.1273; metrocode=528; areacode=954; http://maps.google.com/maps?q=26.1209,-80.1273&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Lck8jol - db481b1ed262 - 20140110 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85872 Archived-At: This is a multi-part message in MIME format. --===============1775762402== Content-Type: multipart/alternative; boundary="------------060409040308040101070008" This is a multi-part message in MIME format. --------------060409040308040101070008 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 1/10/2014 1:52 PM, Fabrice Couvreur wrote: > Hello, > I use Emacs as an editor and I compile my files with LuaLaTeX by > adding the following lines to the end of the file: > > %%% Local Variables: > %%% Mode: LaTeX > %%% LaTeX-command "LuaLaTeX-shell-escape" > %%% End: > > I discovered ConTeXt, and I would like to know which lines to add to > the end of files. > Thank you. > This /fragment/ from my .emacs file should show you some other helpful settings ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(ConTeXt-clean-intermediate-suffixes (quote ("\\.tuc" "\\.tui" "\\.tup" "\\.ted" "\\.tes" "\\.top" "\\.log" "\\.tmp" "\\.run" "\\.bck" "\\.rlg" "\\.mpt" "\\.mpx" "\\.mpd" "\\.mpo" "\\.tuo" "\\.tub" "\\.top" "-mpgraph\\.mp" "-mpgraph\\.mpd" "-mpgraph\\.mpo" "-mpgraph\\.mpy" "-mprun\\.mp" "-mprun\\.mpd" "-mprun\\.mpo" "-mprun\\.mpy"))) '(ConTeXt-clean-output-suffixes (quote ("\\.tuc" "\\.log" "\\.dvi" "\\.pdf" "\\.ps"))) '(ConTeXt-engine nil) '(LaTeX-beamer-item-overlay-flag nil) '(LaTeX-biblatex-use-Biber nil) '(LaTeX-mode-hook (quote (preview-mode-setup))) '(TeX-PDF-mode t) '(TeX-bar-LaTeX-buttons (quote (new-file open-file dired kill-buffer save-buffer undo cut copy paste [separator nil] latex next-error view nil))) '(TeX-bar-TeX-buttons (quote (new-file open-file dired kill-buffer save-buffer undo cut copy paste [separator nil] tex next-error view nil))) '(TeX-close-quote "}") '(TeX-command-list (quote (("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" "context --once --synctex %t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "context --synctex %t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function nil 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") ("Other" "" TeX-run-command t t :help "Run an arbitrary command")))) '(TeX-default-mode (quote context-en-mode)) '(TeX-engine (quote luatex)) '(TeX-kpathsea-path-delimiter t) '(TeX-modes (quote (tex-mode plain-tex-mode latex-mode doctex-mode))) '(TeX-open-quote "\\quotation{") '(TeX-source-correlate-method (quote synctex)) '(TeX-source-correlate-mode t) '(TeX-source-correlate-start-server t) '(TeX-view-predicate-list (quote ((nil nil)))) '(TeX-view-program-list (quote (("Sumatra PDF" ("\"C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe\" -reuse-instance" (mode-io-correlate " -forward-search %b %n") " %o"))))) '(TeX-view-program-selection (quote (((paper-letter style-pstricks) "dvips and start") (output-dvi "Yap") (output-pdf "Sumatra PDF") (output-html "start")))) -- Bill Meahan, Westland, Michigan --------------060409040308040101070008 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 1/10/2014 1:52 PM, Fabrice Couvreur wrote:
Hello,
I use Emacs as an editor and I compile my files with LuaLaTeX by adding the following lines to the end of the file:

%%% Local Variables:
%%% Mode: LaTeX
%%% LaTeX-command "LuaLaTeX-shell-escape"
%%% End:

I discovered ConTeXt, and I would like to know which lines to add to the end of files.
Thank you.



This /fragment/ from my .emacs file should show you some other helpful settings


;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(ConTeXt-clean-intermediate-suffixes (quote ("\\.tuc" "\\.tui" "\\.tup" "\\.ted" "\\.tes" "\\.top" "\\.log" "\\.tmp" "\\.run" "\\.bck" "\\.rlg" "\\.mpt" "\\.mpx" "\\.mpd" "\\.mpo" "\\.tuo" "\\.tub" "\\.top" "-mpgraph\\.mp" "-mpgraph\\.mpd" "-mpgraph\\.mpo" "-mpgraph\\.mpy" "-mprun\\.mp" "-mprun\\.mpd" "-mprun\\.mpo" "-mprun\\.mpy")))
 '(ConTeXt-clean-output-suffixes (quote ("\\.tuc" "\\.log" "\\.dvi" "\\.pdf" "\\.ps")))
 '(ConTeXt-engine nil)
 '(LaTeX-beamer-item-overlay-flag nil)
 '(LaTeX-biblatex-use-Biber nil)
 '(LaTeX-mode-hook (quote (preview-mode-setup)))
 '(TeX-PDF-mode t)
 '(TeX-bar-LaTeX-buttons (quote (new-file open-file dired kill-buffer save-buffer undo cut copy paste [separator nil] latex next-error view nil)))
 '(TeX-bar-TeX-buttons (quote (new-file open-file dired kill-buffer save-buffer undo cut copy paste [separator nil] tex next-error view nil)))
 '(TeX-close-quote "}")
 '(TeX-command-list (quote (("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" "context --once --synctex %t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "context  --synctex %t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function nil 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") ("Other" "" TeX-run-command t t :help "Run an arbitrary command"))))
 '(TeX-default-mode (quote context-en-mode))
 '(TeX-engine (quote luatex))
 '(TeX-kpathsea-path-delimiter t)
 '(TeX-modes (quote (tex-mode plain-tex-mode latex-mode doctex-mode)))
 '(TeX-open-quote "\\quotation{")
 '(TeX-source-correlate-method (quote synctex))
 '(TeX-source-correlate-mode t)
 '(TeX-source-correlate-start-server t)
 '(TeX-view-predicate-list (quote ((nil nil))))
 '(TeX-view-program-list (quote (("Sumatra PDF" ("\"C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe\" -reuse-instance" (mode-io-correlate " -forward-search %b %n") " %o")))))
 '(TeX-view-program-selection (quote (((paper-letter style-pstricks) "dvips and start") (output-dvi "Yap") (output-pdf "Sumatra PDF") (output-html "start"))))
-- 
Bill Meahan, Westland, Michigan

 
 

--------------060409040308040101070008-- --===============1775762402== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1775762402==--