Latex problems in 2.7.1

56 views
Skip to first unread message

Garrison Taylor

unread,
Mar 22, 2020, 9:44:10 PM3/22/20
to mnemosyne-proj-users
Hi,

I just updated my Mnemosyne to 2.7.1 on MacOS. Before, I had latex working just fine. After the update, it gives the "Problem with latex. Are latex and dvipng installed?" message. My path variable is still set properly, so that shouldn't be the problem. Any ideas on what the problem could be?

Thanks,
Taylor

Peter Bienstman (UGent-imec)

unread,
Mar 23, 2020, 3:26:44 AM3/23/20
to mnemosyne-...@googlegroups.com, Devin Howard (devin@callysto.com)
Putting Devin, our Mac developer, in CC.

Cheers,

Peter
--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/924B52E3-9096-4FD9-900F-CFD207DB0E6A%40gmail.com.

Devin Howard

unread,
Mar 29, 2020, 5:50:26 PM3/29/20
to mnemosyne-proj-users
Sorry for the late reply here. I didn't change anything related to LaTeX recently. As far as I know, the latest change was to make the Mac code look for LaTeX here:

latex = "/usr/local/bin/latex -output-format=dvi -interaction=nonstopmode"
dvipng = "/usr/local/bin/dvipng -D 200 -T tight tmp.dvi"

I've never actually set it up before myself, and as far as I understand, any changes to the setup break different sets of users. So I'm not really sure what to do.

It looks like on https://mnemosyne-proj.org/help/adding-media.php we suggest downloading MacTex. I'm going to try downloading that from https://www.tug.org/mactex/mactex-download.html and see if I can reproduce/fix the issue.

On Monday, March 23, 2020 at 12:26:44 AM UTC-7, Peter Bienstman (UGent-imec) wrote:
Putting Devin, our Mac developer, in CC.

Cheers,

Peter

-----Original Message-----
From: mnemosyne-...@googlegroups.com <mnemosyne-...@googlegroups.com> On Behalf Of Garrison Taylor
Sent: 23 March 2020 02:44
To: mnemosyne-proj-users <mnemosyne-...@googlegroups.com>
Subject: [mnemosyne-proj-users] Latex problems in 2.7.1

Hi,

I just updated my Mnemosyne to 2.7.1 on MacOS. Before, I had latex working just fine. After the update, it gives the "Problem with latex. Are latex and dvipng installed?" message. My path variable is still set properly, so that shouldn't be the problem. Any ideas on what the problem could be?

Thanks,
Taylor

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsub...@googlegroups.com.

Devin Howard

unread,
Apr 19, 2020, 5:19:11 PM4/19/20
to mnemosyne-proj-users
Hi Taylor,

Are you able to share a few details?

1. What are the contents of the file ~/Library/Mnemosyne/config.py? Specifically the last two lines relating to latex and dvipng
2. What is the location of your LaTeX installation? There are a few ways to install and I'm hoping to replicate the conditions under which you experience this issue

For now, I'm trying with /usr/local/bin/latex as the path, which is the same as the default installer, and using "brew cask install basictex" from https://brew.sh 

Garrison Taylor

unread,
Apr 23, 2020, 12:08:07 AM4/23/20
to mnemosyne-proj-users
Hi Devin,

it looks like the problem was that I have latex and dvipng installed to a different local than Mnemosyne was expecting (/Library/TeX/texbin/ instead of /usr/local/bin/). I believe that I had configured this in the past, and then my config.py was reset when I updated Mnemosyne to 2.7.1 (I had some syncing issues that made me have to erase ~/Library/Mnemosyne/). I changed the config.py and it's working for me now.

I installed LaTeX through the CTAN mirror of MacTex (http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg).

Thanks,
Taylor

On Apr 19, 2020, at 17:19, Devin Howard <de...@callysto.com> wrote:

Hi Taylor,

Are you able to share a few details?

1. What are the contents of the file ~/Library/Mnemosyne/config.py? Specifically the last two lines relating to latex and dvipng
2. What is the location of your LaTeX installation? There are a few ways to install and I'm hoping to replicate the conditions under which you experience this issue

For now, I'm trying with /usr/local/bin/latex as the path, which is the same as the default installer, and using "brew cask install basictex" from https://brew.sh 

On Sunday, March 29, 2020 at 2:50:26 PM UTC-7, Devin Howard wrote:
Sorry for the late reply here. I didn't change anything related to LaTeX recently. As far as I know, the latest change was to make the Mac code look for LaTeX here:

latex = "/usr/local/bin/latex -output-format=dvi -interaction=nonstopmode"
dvipng = "/usr/local/bin/dvipng -D 200 -T tight tmp.dvi"

I've never actually set it up before myself, and as far as I understand, any changes to the setup break different sets of users. So I'm not really sure what to do.

It looks like on https://mnemosyne-proj.org/help/adding-media.php we suggest downloading MacTex. I'm going to try downloading that from https://www.tug.org/mactex/mactex-download.htmland see if I can reproduce/fix the issue.

On Monday, March 23, 2020 at 12:26:44 AM UTC-7, Peter Bienstman (UGent-imec) wrote:
Putting Devin, our Mac developer, in CC. 

Cheers, 

Peter 

-----Original Message----- 
From: mnemosyne-...@googlegroups.com <mnemosyne-...@googlegroups.com> On Behalf Of Garrison Taylor 
Sent: 23 March 2020 02:44 
To: mnemosyne-proj-users <mnemosyne-...@googlegroups.com> 
Subject: [mnemosyne-proj-users] Latex problems in 2.7.1 

Hi, 

I just updated my Mnemosyne to 2.7.1 on MacOS. Before, I had latex working just fine. After the update, it gives the "Problem with latex. Are latex and dvipng installed?" message. My path variable is still set properly, so that shouldn't be the problem. Any ideas on what the problem could be? 

Thanks, 
Taylor 

-- 
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsub...@googlegroups.com. 
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/924B52E3-9096-4FD9-900F-CFD207DB0E6A%40gmail.com. 

-- 
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/29d0ee34-6f5b-4828-87a4-13b88090cafb%40googlegroups.com.

Devin Howard

unread,
Apr 23, 2020, 12:19:41 AM4/23/20
to mnemosyne-proj-users
Thanks. That confirms my theory. I had changed the path in the default config for a GitHub issue a while back but I think it makes sense to revert that change so that it looks on the default PATH for latex. Then anyone with a strange setup can just change it themselves. I'll do that so in the next release the default will be just "latex" rather than "/usr/local/bin/latex"

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com. 
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/924B52E3-9096-4FD9-900F-CFD207DB0E6A%40gmail.com. 

-- 
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/29d0ee34-6f5b-4828-87a4-13b88090cafb%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mnemosyne-proj-users/5to7btvw8Do/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/6302C96B-DCCD-4DA0-B6C5-9BEB0C75AEBF%40gmail.com.
Reply all
Reply to author
Forward
0 new messages