I've attached an ebuild and a patch for installing ivritex 1.2.1 on tetex 3.0
Created attachment 111196 [details] the proposed ebuild
Created attachment 111198 [details, diff] the patch that the ebuild uses
*** Bug 142312 has been marked as a duplicate of this bug. ***
Please put this into portage. Latest ivritex provides culmus fonts support, and the font in previous versions are not true type.
This ebuild doesn't seem to work with tetex 3.0_p1-r6. I think there's some problem with updmap, tried to fix it, but no luck...
The ivritex project is obsolete for modern TeX distros such as the ones available on portage. The ivritex project is only needed to use Hebrew on teTeX-2.*. The best way to get culmus fonts support (and hebrew fonts on general for LaTeX) in the culmus-latex package available from the ivritex project. https://sourceforge.net/project/showfiles.php?group_id=33341 As a member of the ivritex project (I maintain the culmus-latex package) I can say this is also the official stance of the project. The ivritex website is planned to be updated soon, in order to reflect this advances that occurred in the Hebrew support in TeX.
Ok, thanks for the clarification. In this case, maybe this bug should be closed as a wontfix, and an enhancement request should be opened for culmus-latex package?
TeX team, please have a look at comment #6 and think about removing ivritex from Portage plus adding culmus-latex
Created attachment 167060 [details] culmus-latex ebuild please try this culmus-latex ebuild
>>> Install culmus-latex-0.6 into /tmp/portage/dev-tex/culmus-latex-0.6/image/ category dev-tex mkdir -p /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/dvips/culmus/ \ /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/afm/public/culmus/ \ /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/type1/public/culmus/ \ /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/enc/dvips/culmus/ \ /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/map/dvips/ \ /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/tfm/public/culmus/ \ /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/vf/public/culmus/ \ /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/tex/latex/culmus/ \ /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/tex/generic/0babel/ cp -p /usr/share/fonts/culmus//*.afm /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/afm/public/culmus/ cp -p /usr/share/fonts/culmus//*.pfa /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/type1/public/culmus/ cp -p *.pfb /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/type1/public/culmus/ cp: cannot stat `*.pfb': No such file or directory make: *** [pkginstall] Error 1
culmus-latex-0.7 was released a week ago, is it possible to update the ebuild and test it?
I suggest using culmus-latex-0.7_src.tar.gz for the new ebuild, as it uses the culmus fonts installed in the system. The other package is targeted at other distribution where the Tex font utilities are not part of the core package and not installed by default. The only change necessary for the current ebuild by Alexis is to change the SRC_URI line to SRC_URI="mirror://sourceforge/ivritex/${P}_src.tar.gz" The bug reported in comment #10 was fixed in this version of culmus-latex (the makefile was broken in 0.6).
culmus-latex 0.7 in the tree now :) now... what to do about ivritex ? simply remove it ?
app-office/lyx-1.5.6 depends on ivritex if he is in LINGUAS, so that should be sorted out.
If >=tetex-3.0 or texlive is installed LyX should require culmus-latex if "he" is specified in the Linguas. Ivritex is obsolete for modern TeX distros as they already include the Ivritex patches.
Guy, have you tried if lyx + latex-culmus - ivritex works correctly for hebrew lyx documents? In lyx ebuild we still have pointer on http://cs.haifa.ac.il/~dekelts/lyx/instructions2.html for hebrew usage. Is it OK to remove it?
Created attachment 170008 [details, diff] A patch to the lyx ebuild to use culmus-latex
I've been using this configuration for some time now (about a year). It's ok to remove Ivritex. Also see http://wiki.lyx.org/LyX/HebrewOnLinux Dekel Tsur's instructions for LyX are pretty old and should be avoided (many things changed since it was written, it predates LyX 1.3). I've added a patch against lyx-1.6.0_rc4.ebuild, that changes the ebuild to reflect the changes that occured in Hebrew support. I made it depend on culmus-latex, removed Dekel Tsur's bind file and preference file. I also changed the elog message for Hebrew support, to a more general message for RTL support and made it appear also for when Arabic is enabled. The patch should also apply to the version of Lyx-1.5 in the tree (I can create separate patches if necessary).
>I've added a patch against lyx-1.6.0_rc4.ebuild great. does it mean hebrew ouput works with rc4 too? (i've seen some complaints from some gentooist recently.) >The patch should also apply to the version of Lyx-1.5 in the tree (I can create >separate patches if necessary). please do also we need to rekeyword culmus for other archs.
Created attachment 170013 [details, diff] lyx-1.5.5 patch
Created attachment 170014 [details, diff] lyx-1.5.6 patch
The lyx-1.4.4 ebuild just requires erplacing dev-tex/ivritex with dev-tex/culmus-latex in its dependencies > great. does it mean hebrew ouput works with rc4 too? (i've seen some complaints from some gentooist recently.) I've just compiled an hebrew document with LyX-1.6.0-rc4 and it works, if he's interested I can help him via the Ivritex mailing list.
I think I'm the guy you're talking about :) Sorry if I shouldn't have posted to the lyx ML but to ask here first. The problem with 1.6_rc4 was with mixed sentences (starting in hebrew but containing english words) - is that working well for you? I patched the ebuild and wanted to test rc4 right now but culmus-latex-0.7 doesn't merge: cp -p *.pfb /var/tmp/portage/dev-tex/culmus-latex-0.7/image//usr/share/texmf-site/fonts/type1/public/culmus/ cp: cannot stat `*.pfb': No such file or directory Wasn't this supposed to be fixed in 0.7? BTW, I also get lots of QA notices: * ./mkCLMnkd.sh: line 53: t1binary: command not found * ./mkCLMnkd.sh: line 57: t1binary: command not found I'll be able to test as soon as this gets fixed :) PS, the summary should be changed and the ivritex and culmus-latex ebuilds attached should be deleted.
Apparently there is a missing dependency in culmus-latex on app-text/t1utils. The pfb is caused by mkCLMnkd.sh failing to create them (the missing t1binary). I hope there aren't any other missing dependencies :) BTW culmus-latex doesn't depend on media-fonts/culmus on runtime (as well as on t1utils), so if you like they can be moved out of RDEPEND to DEPEND. > The problem with 1.6_rc4 was with mixed sentences (starting in hebrew but > containing english words) - is that working well for you? Just re-verified it, it should work. What error do you get? > PS, the summary should be changed and the ivritex and culmus-latex ebuilds > attached should be deleted. I changed the summery, but I couldn't delete the culmus-latex ebuild.
(In reply to comment #24) > Apparently there is a missing dependency in culmus-latex on app-text/t1utils. > The pfb is caused by mkCLMnkd.sh failing to create them (the missing t1binary). > I hope there aren't any other missing dependencies :) > > BTW culmus-latex doesn't depend on media-fonts/culmus on runtime (as well as on > t1utils), so if you like they can be moved out of RDEPEND to DEPEND. thanks, just fixed it as you suggested :)
The English word was shown in hebrew letters with a weird L in front of it. I'll soon re-test this and report back. Thanks a lot :)
That did fix it, I've removed ivritex and emerged lyx-1.6_rc4 (which pulled culmus-latex in). I removed ~/.lyx to start fresh and configured the RTL but in the PDF there is no hebrew, just the english text. I tried choosing the article (Hebrew) document class, but that gives me an error when I try to use pdflatex. Any suggestions?
btw the line in lyx patches + if use linguas_he || linguas_ar; then is wrong. one needs "uselinguas_ar"
Pavel has made the change to lyx 1.6.0_rc5 ebuild to use culmus-latex instead of ivritex. That means we'll have to get matching keywords before unmasking (or drop the keywords). @arches: please keyword dev-tex/culmus-latex
(In reply to comment #29) > @arches: please keyword dev-tex/culmus-latex forgot alpha
Added ~sparc.
Marked ~hppa.
~alpha/~ia64/~x86 done
~ppc64
Marked ~ppc and closing since we're the last arch.
*** Bug 179251 has been marked as a duplicate of this bug. ***