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 
<http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg>).

Thanks,
Taylor

> On Apr 19, 2020, at 17:19, Devin Howard <[email protected]> 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 <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 
> <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 
> <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: [email protected] <> <[email protected] <>> 
> On Behalf Of Garrison Taylor 
> Sent: 23 March 2020 02:44 
> To: mnemosyne-proj-users <[email protected] <>> 
> 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 [email protected] <>. 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mnemosyne-proj-users/924B52E3-9096-4FD9-900F-CFD207DB0E6A%40gmail.com
>  
> <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 [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mnemosyne-proj-users/29d0ee34-6f5b-4828-87a4-13b88090cafb%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/29d0ee34-6f5b-4828-87a4-13b88090cafb%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
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 via email to