Package Details: mnemosyne 2.8-1

Git Clone URL: https://aur.archlinux.org/mnemosyne.git (read-only, click to copy)
Package Base: mnemosyne
Description: A flash-card tool with a sophisticated card review algorithm
Upstream URL: http://www.mnemosyne-proj.org
Keywords: Anki flashcard learn memorize
Licenses: GPL
Conflicts: mnemosyne-bzr
Submitter: wide-eyed
Maintainer: billypilgrim
Last Packager: billypilgrim
Votes: 85
Popularity: 0.018816
First Submitted: 2007-11-04 20:08
Last Updated: 2021-07-12 06:22

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 9 Next › Last »

gojun077 commented on 2013-08-24 05:05

You are a godsend, smls!!! Thanks to the path info you gave me for latex tmp files created by Mnemosyne, I was able to track down tmp.tex and open it in Gummi, my LaTeX editor. The problem was that tmp.tex failed to build at all due to a missing font!

My LaTeX preamble in Mnemosyne was as follows:

\documentclass[12pt]{article}
\usepackage{amsmath, amsfonts, amssymb, cancel}
...

Unfortunately the LaTeX font package cancel.sty in \usepackage above was missing from my Arch install! The font is provided by the package texlive-extralatex

Now creating LaTeX cards works perfectly when running Mnemosyne as a local user. I wonder why running Mnemosyne as root allowed LaTeX to render despite missing one font file, however...

gojun077 commented on 2013-08-24 05:00

You are a godsend, smls!!! Thanks to the path info you gave me for latex tmp files created by Mnemosyne, I was able to track down tmp.tex and open it in Gummi, my LaTeX editor. The problem was that tmp.tex failed to build at all due to a missing font!

My LaTeX preamble in Mnemosyne was as follows:

\documentclass[12pt]{article}
\usepackage{amsmath, amsfonts, amssymb, cancel}
...

Unfortunately the LaTeX font package cancel.sty in \usepackage above was missing from my Arch install! The font is provided by the package texlive-extralatex

Now creating LaTeX cards works perfectly when running Mnemosyne as a local user. I wonder why running Mnemosyne as root allowed LaTeX to render despite missing one font file, however...

smls commented on 2013-08-23 11:36

@gojun077
If the problem persists, try manually following the individual steps that Mnemosyne performs, to see where exactly the problem lies:

1) Create a file called tmp.tex with the following content:

\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$\sqrt{x^3}$
\end{document}

2) Execute the command...

latex tmp.tex

...which will try to create a file called tmp.dvi in the same folder. Be sure to also check the console output for errors.

3) Execute the command...

dvipng -D 200 -T tight tmp.dvi

...which will try to create a file called tmp1.png in the same folder.

smls commented on 2013-08-23 11:29

@gojun077
That's strange, there should not be any need for special permissions or groups - for me it just works.

Mnemosyne creates its LaTeX related temporary tex/dvi/png files in this folder (insert the name of your Mnemosyne database in place of "___TMP___", if you have given it an explicit name.):

~/.local/share/mnemosyne/___TMP___.db_media/_latex

Make sure that there are no permission problems with this folder, and if there are old files there that may cause problems, remove them.

gojun077 commented on 2013-08-23 06:01

Thanks for your help in the dvipng / LaTeX thread on the main Arch Linux forums (https://bbs.archlinux.org/viewtopic.php?pid=1315420#p1315420) -- Now dvipng LaTeX rendering works in mnemosyne if I run it as root. When I run mnemosyne as regular user and try to create a card with LaTeX, however, the CLI output says "tmp.dvi: No such file or directory" and Mnemosyne complains, "Problem with latex. Are latex and dvipng installed?"

This seems to be a file permission issue, but ls -l shows dvipng as r-x for regular users. Does my regular user need to be member of some group (i.e. tex) to be able to run LaTeX as non-root? After the texlive update I accidentally overwrote my /etc/group file when merging .pacnew files but have mostly recovered my original settings.

I'm not sure if this is the right place to post this issue, as mnemosyne AUR package works just fine -- I seem to be having problems with texlive which is just an optional dependency for mnemosyne...

Note: LaTeX editors like Gummi, which render to PDF, are working just fine for me (I can run it as local user).

smls commented on 2013-03-29 18:56

@gojun077
Thanks, I've bumped the version number of the mnemosyne-bzr package.
For the mnemosyne package, I prefer to stick to stable releases only.

gojun077 commented on 2013-03-29 17:21

According to main developer Peter Bienstman 2.2.1 RC1 released yesterday:
https://groups.google.com/forum/?fromgroups=#!topic/mnemosyne-proj-users/AIUxvJ3a1Sw

smls commented on 2013-01-08 03:01

done

prettyvanilla commented on 2013-01-08 02:00

2.2a was released (http://mnemosyne-proj.org/whats-new), and even though the changelog only concerns windows, the tarball on sourceforge has also been renamed accordingly, so the PKGBUILD needs updating.

Anonymous comment on 2012-08-03 06:05

Working reliably now with version 2.0.1, thank you.