[Bug 1877185] Re: maxima-emacs returns LaTeX error

2021-12-09 Thread Camm Maguire
** Changed in: maxima (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877185

Title:
  maxima-emacs returns LaTeX error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1877185] Re: maxima-emacs returns LaTeX error

2021-06-21 Thread Adam Plaice
It'd be nice if this minimal patch were applied to maxima-emacs. (It
works!)

Fortunately, the bug has also been filed and solved upstream:

https://sourceforge.net/p/maxima/bugs/3687/

so at least it will likely be resolved in later versions of Ubuntu, if
not in 20.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877185

Title:
  maxima-emacs returns LaTeX error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1877185] Re: maxima-emacs returns LaTeX error

2021-01-07 Thread Fukanchik
The patch works. Can it please be applied to the emacs-lisp package ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877185

Title:
  maxima-emacs returns LaTeX error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1877185] Re: maxima-emacs returns LaTeX error

2020-10-28 Thread Tomoaki Sato
Thanks, it works!

First, I installed ubuntu 20.04 cleanly (on VMware Workstation Player), and 
installed TeXLive2019.
And I installed emacs, maxima, and maxima-emacs. In this environment, no 
problems occur (of course).

Next, I installed TeXLive2020 on another instance of ubuntu 20.04,
Then, the LaTeX error occurs.

Finally, I applied the patch to imaxima.el on TeXLive2020, then the
error is removed.

I will test some other expressions on maxima in this environment.

Thanks again and regards,

 
Tomoaki Sato (cxn00...@nifty.ne.jp)

> From:   "Ilya G. Ryabinkin" <1877...@bugs.launchpad.net>
> Reply-To: Bug 1877185 <1877...@bugs.launchpad.net>
> To:cxn00...@nifty.ne.jp
> Subject:  [Bug 1877185] Re: maxima-emacs returns LaTeX error
>

> I have resolve the bug, but testing and releasing is necessary.
>
> In a nutshell, the issue is caused by a clash of macro definitions
> between `breqn` and `amsmath`.
>
> According to http://mirror.physik-pool.tu-
> berlin.de/pub/CTAN/macros/latex/contrib/breqn/breqn.pdf, Sec. 2 (package
> loading), a certain order of loading packages in a document's preamble
> is necessary:
>
> ```
> The breqn package automatically loads amsmath to avoid loading order 
> conflicts. It also automatically loads flexisym and mathstyle, but in some 
> cases these packages need to be loaded separately.
>
> The canonical order for package loading is:
> 3\usepackage{amsmath}
> \usepackage{flexisym}
> \usepackage{breqn}
> ```
>
> That is, LaTeX template inside `imaxima.el` must be updated; patch is
> attached.
>
> A caveat though: there are TWO places where LaTeX template is defined
> (see the patch), the bug is fixed by the second; I have introduced the
> changes in the first part, but it must be tested.
>
> ** Patch added: "latex_breqn_fix.patch"
>  
> https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+attachment/5428184/+files/latex_breqn_fix.patch
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1877185
>
> Title:
>  maxima-emacs returns LaTeX error
>
> Status in maxima package in Ubuntu:
>  Confirmed
>
> Bug description:
>  Ubuntu 20.04.
>  maxima-emacs 5.43.2-3
>
>  Install emacs, maxima,and maxima-emacs (sudo apt install emacs maxima 
> maxima-emacs).
>  Launch emacs.
>  Type Esc x, and "imaxima".
>  For the prompt ("%i1"), input a mathematical expression followed by a 
> semicolon (for example, "1+2;"), and type Enter.
>  maxima-emacs returns "LaTeX error in: 3".
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 20.04
>  Package: maxima-emacs 5.43.2-3
>  ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
>  Uname: Linux 5.4.0-29-generic x86_64
>  ApportVersion: 2.20.11-0ubuntu27
>  Architecture: amd64
>  CasperMD5CheckResult: skip
>  CurrentDesktop: ubuntu:GNOME
>  Date: Thu May  7 05:28:52 2020
>  InstallationDate: Installed on 2020-05-06 (0 days ago)
>  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 
> (20200506.1)
>  PackageArchitecture: all
>  ProcEnviron:
>  PATH=(custom, no user)
>  XDG_RUNTIME_DIR=
>  LANG=ja_JP.UTF-8
>  SHELL=/bin/bash
>  SourcePackage: maxima
>  UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877185

Title:
  maxima-emacs returns LaTeX error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1877185] Re: maxima-emacs returns LaTeX error

2020-10-27 Thread Ubuntu Foundations Team Bug Bot
The attachment "latex_breqn_fix.patch" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877185

Title:
  maxima-emacs returns LaTeX error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1877185] Re: maxima-emacs returns LaTeX error

2020-10-27 Thread Ilya G. Ryabinkin
I have resolve the bug, but testing and releasing is necessary.

In a nutshell, the issue is caused by a clash of macro definitions
between `breqn` and `amsmath`.

According to http://mirror.physik-pool.tu-
berlin.de/pub/CTAN/macros/latex/contrib/breqn/breqn.pdf, Sec. 2 (package
loading), a certain order of loading packages in a document's preamble
is necessary:

```
The breqn package automatically loads amsmath to avoid loading order conflicts. 
It also automatically loads flexisym and mathstyle, but in some cases these 
packages need to be loaded separately.

The canonical order for package loading is:
3\usepackage{amsmath}
\usepackage{flexisym}
\usepackage{breqn}
```

That is, LaTeX template inside `imaxima.el` must be updated; patch is
attached.

A caveat though: there are TWO places where LaTeX template is defined
(see the patch), the bug is fixed by the second; I have introduced the
changes in the first part, but it must be tested.

** Patch added: "latex_breqn_fix.patch"
   
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+attachment/5428184/+files/latex_breqn_fix.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877185

Title:
  maxima-emacs returns LaTeX error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1877185] Re: maxima-emacs returns LaTeX error

2020-05-11 Thread Tomoaki Sato
I found this error was returned in another new distribution (Fedora 32),
so I suspected this is a bug of latex, not of maxima nor of emacs.

I built emacs and maxima from the latest source codes (emacs: 26.3;
maxima: 5.43.2 on SBCL) on ubuntu 18.04, and installed TeXLive2019, then
error wasn't returned. However, with TeXLive2020, error was returned
again.

(By the way, I add to .emacs just

(autoload 'imaxima "imaxima" "Image support for Maxima." t)

line).

Maybe same enbug happened in latex.

I think I should close this bug report, and report on latex, but I will
wait some other comments for a while.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877185

Title:
  maxima-emacs returns LaTeX error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1877185] Re: maxima-emacs returns LaTeX error

2020-05-10 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: maxima (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877185

Title:
  maxima-emacs returns LaTeX error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs