ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* a question about ConTeXt + AUCTeX
@ 2008-05-15  9:02 Dalyoung Jeong
  2008-05-15 10:50 ` Hans Hagen
  2008-05-15 12:00 ` Thomas A. Schmitz
  0 siblings, 2 replies; 11+ messages in thread
From: Dalyoung Jeong @ 2008-05-15  9:02 UTC (permalink / raw)
  To: ntg-context

Dear all,

Recently I installed Aquamacs Emacs which is nicely working. And I  
also found AUCTeX macros in the wiki.
Since I am a newbie to AUCTeX, I don't know how to apply such codes to  
Aquamacs.

Would someone tell me how to do that?

When I choose PDFConTeXt-en>command > ConTeXt, it runs with the command
"texexec --once --pdf ...".
Is there any way to change it to "texmfstart texexec ..."?

Thank you.

Dalyoung Jeong
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: a question about ConTeXt + AUCTeX
@ 2008-05-17  8:11 Dalyoung Jeong
  2008-05-17  8:53 ` Jean Magnan de Bornier
  0 siblings, 1 reply; 11+ messages in thread
From: Dalyoung Jeong @ 2008-05-17  8:11 UTC (permalink / raw)
  To: ntg-context

Dear Thomas,

Thank you for your reply.

XeTeX+ ConTeXt is working after adding a command as you said. 
(customize-variaable)
But Lua + ConTeXt is not working.

If I do "mtxrun --script context ...", then it complains.
%%%%%%%
Running `Other' on `test-lua' with ``mtxrun --script context %t''

MtxRun | unknown script: context
%%%%%%%%%%%%%%%%%

If I changed the command "texmfstart texexec --lua %t", then I got the  
following.

Running `LuaConTeXt' on `test-lua' with ``texmfstart texexec --lua  
test-lua.tex''
TeXExec | processing document 'test-lua.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test-lua.top
TeXExec | using randomseed 828
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | using format name /Users/dalyoung/luatex-cache/context/ 
5759d5068ca15ba6658b2e6454390744/formats/cont-en.fmt
LuaTools | no luc/lua with name /Users/dalyoung/luatex-cache/context/ 
5759d5068ca15ba6658b2e6454390744/formats/cont-en
LuaTools |
LuaTools | runtime: 0.023 seconds
TeXUtil | parsing file test-lua.tui
TeXUtil | shortcuts : 169
TeXUtil | expansions: 308
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 21
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.891602

LuaConTeXt finished at Sat May 17 16:14:24


However, the same command  worked well in a terminal.

Maybe the system setup of yours is different from mine.
Usually I run "source .luatex" first before running luatex.
So my guess is that emacs couldn't know the luatex path even though it  
is known in another program "terminal".

Am I correct? If so, how to apply environment .luatex to global  
condition? Otherwise, what are wrong in my setup?

Thank you.

Best regards,

Dalyoung Jeong


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: a question about ConTeXt + AUCTeX
@ 2008-05-19  4:03 Dalyoung Jeong
  2008-05-19  7:44 ` Thomas A. Schmitz
  0 siblings, 1 reply; 11+ messages in thread
From: Dalyoung Jeong @ 2008-05-19  4:03 UTC (permalink / raw)
  To: ntg-context

Thank you for all the replies.

I open "Aquamacs emacs" from the terminal in which "source .luatex"  
was executed.
Then it worked fine.

For other methods, I'll try later.

By the way, is it normal to run "luatools --generate" and "luatools -- 
ini --verbose --compile ..." whenever I start computer? Or, I missed  
something in my setup.

Thank you again.

Best regards,

Dalyoung Jeong
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-11-28  8:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-15  9:02 a question about ConTeXt + AUCTeX Dalyoung Jeong
2008-05-15 10:50 ` Hans Hagen
2008-05-15 12:00 ` Thomas A. Schmitz
     [not found]   ` <492F42BE.7000605@googlemail.com>
2008-11-28  8:08     ` Thomas A. Schmitz
2008-05-17  8:11 Dalyoung Jeong
2008-05-17  8:53 ` Jean Magnan de Bornier
2008-05-17  9:18   ` Thomas A. Schmitz
2008-05-17  9:28     ` Taco Hoekwater
2008-05-17 16:06       ` Thomas A. Schmitz
2008-05-19  4:03 Dalyoung Jeong
2008-05-19  7:44 ` Thomas A. Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).