L.Stirton | 5 Jun 2007 00:33
Picon
Picon
Favicon

Emacs - imaxima-latex - breqn

Hello,

I hope you will forgive if this is not the right forum. I have a complex
problem that (I think) concerns the interaction between Emacs,
imaxima-latex and the breqn package. The problem is that I cannot LaTeX
imaxima-latex buffers.

I am using OS X 10.4.9, Carbon Emacs Spring 2007 edition and Maxima
5.11.0. If I try "which breqn" or "which breqn94" in terminal I get
nothing, just another cursor (isn't that odd in itself?). However, I
believe breqn is installed because if I try to do something in imaxima it
renders properly. I recall that when I first installed Maxima, this didn't
happen because breqn was not installed--but this was easily fixed. Also, a
spotlight search tells me that I have breqn94 in
sw/share/texmf-dist/tex/latex. I am using gwTex. And I tried sudo texhash

However when I try to process a file created by an imaxima-latex butter I
get the following (rather long) error message.

Running `LaTeX' on `imaxima' with ``pdflatex  -interaction=nonstopmode
"\input" imaxima.tex''
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, nohyphenation, german,
nger
man, spanish, french, italian, dutch, ukenglish, loaded.
(./imaxima.tex (/usr/local/gwTeX/texmf.texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/gwTeX/texmf.texlive/tex/latex/base/leqno.clo)
(Continue reading)

Eric Bednarz | 5 Jun 2007 01:22
Picon

Re: Aquamacs browse-url vs type/creator

David Reitter <david.reitter <at> gmail.com> writes:

Hi,

with apologies for the late reaction; currently I have everything but
time (otherwise I probably wouldn't have posted in the first place ;).

> Do sgml-mode and nxml-mode produce files with different endings, such
> as .html and .xhtml?

No, I actually have set them up to load according to extension when I
find a file (i.e. +/- .html->psgml, .xhtml->nxml).

> As I suggested earlier: have you tried Aquamacs 1.0rc3/4 (i.e., a
> nightly build)?

No; as I mentioned, the problem has magically disappeared.
Unfortunately, given my current schedule, I'm inclined to be happy
with that for the time being (and normally I wouldn't be, really).

> [...] But I don't see how Sgml-mode would assist
> you better in actually designing web pages.

Is that 'design' as in information architecture, interaction design,
graphic design, database design, style sheets or descriptive markup? :)

> I provides no
> specialization for HTML.

It reads the document type declaration subset; I have no idea how much
(Continue reading)

Peter Dyballa | 5 Jun 2007 10:40
Picon

Re: Emacs - imaxima-latex - breqn


Am 05.06.2007 um 00:33 schrieb L.Stirton <at> uea.ac.uk:

> I am using OS X 10.4.9, Carbon Emacs Spring 2007 edition and Maxima
> 5.11.0. If I try "which breqn" or "which breqn94" in terminal I get
> nothing, just another cursor (isn't that odd in itself?).

No, that's the correct behaviour! The which command can be used to  
find executables by the name given in this shell's search path for  
executable. You can learn a programme's purpose by invoking

	man <command>

in Terminal or in Emacs with f1-f2 (function key 1-function key 2)  
and then typing the command's name in mini-buffer.

> However, I believe breqn is installed because if I try to do  
> something in imaxima it
> renders properly.

Yes, in TeX Live 2007 it should be installed. To check whether this  
is the case you can use kpsewhich:

	kpsewhich <package>.sty
	kpsewhich <package>.cls

and the documentation can be viewed via

	texdoc <package>

(Continue reading)

Alex Hamann | 5 Jun 2007 16:57
Picon

Re: latex - xelatex toolbar icon

thanks everybody.
(I do not find any time to look into it right now but hopefully I  
will quite soon. )
A.

Am 31.05.2007 um 23:01 schrieb Peter Dyballa:

>
> Am 31.05.2007 um 17:50 schrieb Alex Hamann:
>
>> I was wondering if there was anything I can do to force Aquamacs  
>> to run xelatex on a given file instead of standard latex by  
>> clicking on the icon in the tool bar.
>
> Add this customisation (you can also use the customisation interface):
>
> 	 '(TeX-command-list (quote (("XeTeX" "%`xetex%(mode)%' %t" TeX-run- 
> TeX nil (plain-tex-mode context-mode texinfo-mode ams-tex-mode))  
> ("XeTeXx" "%`xetex -output-driver=xdvipdfmx%(mode)%' %t" TeX-run- 
> TeX nil (plain-tex-mode context-mode texinfo-mode ams-tex-mode))  
> ("XeLaTeX" "%`xelatex%(mode)%' %t" TeX-run-TeX nil (latex-mode  
> doctex-mode ams-tex-mode)) ("XeLaTeXx" "%`xelatex -output- 
> driver=xdvipdfmx%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex- 
> mode ams-tex-mode)) ("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" "% 
(Continue reading)

David Reitter | 5 Jun 2007 17:26
Picon
Gravatar

Re: Aquamacs browse-url vs type/creator


On 5 Jun 2007, at 00:22, Eric Bednarz wrote:

>
>> [...] But I don't see how Sgml-mode would assist
>> you better in actually designing web pages.
>
> Is that 'design' as in information architecture, interaction design,
> graphic design, database design, style sheets or descriptive  
> markup? :)

At least html-helper-mode provides key bindings (and menu items) for  
a variety of tags. It is unfortunate that only HTML is processed and  
everything else (Javascript, CSS) involves narrowing the buffer.

In SGML-mode, the first thing I've tried is "Validate", and  
unfortunately, I've had a true "free software experience":

nsgmls -s index.shtml
/bin/bash: line 1: nsgmls: command not found

So it's got a command in the menu for which it needs an external tool  
that isn't included.

I've just taken a quick look at nXhml-mode. This is pretty nifty. It  
needs some adaptation to Aquamacs and the Mac (Tools submenu, mainly,  
and some key bindings perhaps). If someone did that, we could include  
it in Aquamacs 1.1.

--
(Continue reading)

David Reitter | 5 Jun 2007 19:59
Picon
Gravatar

Aquamacs 1.0 released

Aquamacs Emacs 1.0
http://aquamacs.org

After more than two years of development, the Aquamacs Project has  
now released version 1.0, which features enhanced usability.

Aquamacs is a Mac-friendly variant of the widely-used editor Emacs.  
It is a versatile, fast and mature editor for source code, web pages,  
typesetting documents and all other forms of text. Emacs is a text  
editor of legendary flexibility and has made millions of programmers  
and writers very productive. Numerous packages allow users to extent  
its functionality.

Aquamacs is adapted to the Mac's "Aqua" user interface. That means  
more than just the fact that this version of Emacs runs as a standard  
OS X application. But earlier versions of Emacs also had an  
enormously complex user interface. That is different in Aquamacs,  
which behaves the way Mac users expect. Aquamacs looks good and  
integrates well with other applications on the Mac. Normal OS X  
keyboard commands are offered along with the extended Emacs ones. No  
complicated installation is needed. Yet it's still a real GNU Emacs  
with all the ergonomy and extensibility that this world-class editor  
is famous for.

Aquamacs 1.0 includes the following features:

* A comprehensive text editing environment, with specialized support  
for nearly every computer language (C/C++, Python, Ruby, Perl, Java,  
AppleScript, Lisp, etc.) and text/markup format (HTML, XML, LaTeX, etc.)

(Continue reading)

Alex Hamann | 5 Jun 2007 20:31
Picon

Re: Aquamacs 1.0 released

congratulations and thanks for all the work.
Without Aquamacs I would probably never have started looking into emacs.
A.

Am 05.06.2007 um 19:59 schrieb David Reitter:

> Aquamacs Emacs 1.0
> http://aquamacs.org
>
> After more than two years of development, the Aquamacs Project has  
> now released version 1.0, which features enhanced usability.
>
> Aquamacs is a Mac-friendly variant of the widely-used editor Emacs.  
> It is a versatile, fast and mature editor for source code, web  
> pages, typesetting documents and all other forms of text. Emacs is  
> a text editor of legendary flexibility and has made millions of  
> programmers and writers very productive. Numerous packages allow  
> users to extent its functionality.
>
> Aquamacs is adapted to the Mac's "Aqua" user interface. That means  
> more than just the fact that this version of Emacs runs as a  
> standard OS X application. But earlier versions of Emacs also had  
> an enormously complex user interface. That is different in  
> Aquamacs, which behaves the way Mac users expect. Aquamacs looks  
> good and integrates well with other applications on the Mac. Normal  
> OS X keyboard commands are offered along with the extended Emacs  
> ones. No complicated installation is needed. Yet it's still a real  
> GNU Emacs with all the ergonomy and extensibility that this world- 
> class editor is famous for.
>
(Continue reading)

Bill Clementson | 5 Jun 2007 20:12
Picon

Re: Aquamacs 1.0 released

Congratulations David! You've spent a long time getting Aquamacs Emacs
fine-tuned for the Mac platform and it is a great Emacs distribution
almost entirely due to your personal efforts and your oversight of the
project.

Well done and congratulations once again on the 1.0 release.

--
Bill Clementson

On 6/5/07, David Reitter <david.reitter <at> gmail.com> wrote:
> Aquamacs Emacs 1.0
> http://aquamacs.org
>
> After more than two years of development, the Aquamacs Project has
> now released version 1.0, which features enhanced usability.
>
> Aquamacs is a Mac-friendly variant of the widely-used editor Emacs.
> It is a versatile, fast and mature editor for source code, web pages,
> typesetting documents and all other forms of text. Emacs is a text
> editor of legendary flexibility and has made millions of programmers
> and writers very productive. Numerous packages allow users to extent
> its functionality.
>
> Aquamacs is adapted to the Mac's "Aqua" user interface. That means
> more than just the fact that this version of Emacs runs as a standard
> OS X application. But earlier versions of Emacs also had an
> enormously complex user interface. That is different in Aquamacs,
> which behaves the way Mac users expect. Aquamacs looks good and
> integrates well with other applications on the Mac. Normal OS X
(Continue reading)

Alex Hamann | 5 Jun 2007 23:30
Picon

Re: latex - xelatex toolbar icon


ok, this seems a little strange:
I managed to include xelatex wich xdvipfdmx to my tex-command-list  
and used this line as tex command

	xelatex -output-driver='xdvipdfmx -q -E' "% (mode)\input %t"

it worked for a moment but after I updated to Aquamacs 1.0 it stopped  
doing so:
this is as far as the run gets:

	Running `XeLaTeX & xdvipfmx' on `1' with ``xelatex -output- 
driver='xdvipdfmx -q -E' "%
	(mode)\input 1.tex"''
	This is XeTeX, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
	entering extended mode

	*

and the process keeps running but nothing happens.
(do not get me wrong: I am not saying that there is something wrong  
with the new release. I am saying that my understanding of what I am  
actually customizing here is very limited and therefore I can not  
track the problem.)
could anybody point out what I may have screwed up in the  
customization and what I should fill in as command?

from Peter Dyballa's answer to my problem I extracted the following line

	xelatex -output-driver='xdvipdfmx -q -E' \"%(mode)\\input %t\"
(Continue reading)

Cesareo Garci’a Rodicio | 5 Jun 2007 23:36
Favicon

Re: Aquamacs 1.0 released

Congratulations every body and special thanks to you !!

Nice work, please keep going ;-)

David Reitter escribió:
> Aquamacs Emacs 1.0
> http://aquamacs.org
> 
> After more than two years of development, the Aquamacs Project has now 
> released version 1.0, which features enhanced usability.
> 
> Aquamacs is a Mac-friendly variant of the widely-used editor Emacs. It 
> is a versatile, fast and mature editor for source code, web pages, 
> typesetting documents and all other forms of text. Emacs is a text 
> editor of legendary flexibility and has made millions of programmers and 
> writers very productive. Numerous packages allow users to extent its 
> functionality.
> 
> Aquamacs is adapted to the Mac's "Aqua" user interface. That means more 
> than just the fact that this version of Emacs runs as a standard OS X 
> application. But earlier versions of Emacs also had an enormously 
> complex user interface. That is different in Aquamacs, which behaves the 
> way Mac users expect. Aquamacs looks good and integrates well with other 
> applications on the Mac. Normal OS X keyboard commands are offered along 
> with the extended Emacs ones. No complicated installation is needed. Yet 
> it's still a real GNU Emacs with all the ergonomy and extensibility that 
> this world-class editor is famous for.
> 
> Aquamacs 1.0 includes the following features:
> 
(Continue reading)


Gmane