Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 153028
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: TeX herd <tex@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Serge Gavrilov <serge@pdmi.ras.ru>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tex4ht-20070505_p0055.ebuild dev-tex/tex4ht-20070505_p0055.ebuild (bump again) text/plain Maxim Loginov 2007-05-09 13:33 0000 1.90 KB Details
tex4ht-20070928_p1435.ebuild another version bump and oolatex works text/plain Gerard Vermeulen 2007-09-30 15:52 0000 2.35 KB Details
tex4ht-20071024_p0140.ebuild bumped version and added java use flag text/plain Gerard Vermeulen 2007-10-28 20:35 0000 2.59 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 153028 depends on: Show dependency tree
Bug 153028 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-27 12:33 0000
See http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html

Now TeX4ht supports Open Document format.

------- Comment #1 From Jakub Moc (RETIRED) 2006-12-09 02:11:40 0000 -------
*** Bug 157583 has been marked as a duplicate of this bug. ***

------- Comment #2 From Maxim Loginov 2007-05-09 13:33:56 0000 -------
Created an attachment (id=118649) [details]
dev-tex/tex4ht-20070505_p0055.ebuild (bump again)

the newest version, it worsk for me with tetex-3.0_p1-r3

------- Comment #3 From pavel sanda 2007-07-31 12:42:10 0000 -------
hi, i tried newer version renaming to tex4ht-20070717_p0228.ebuild and 
oolatex doesnt work for me.
error message i get is 
System call: java -classpath //texmf-dist/tex4ht/bin xtpipes -i
//texmf-dist/tex4ht/xttl/ -o exam.4oo exam.tmp
Exception in thread "main" java.lang.NoClassDefFoundError: xtpipes

i guess that path //texmf-dist/tex4ht/ bin,xttl should be sed-ed to some 
appropriate location, but havent found that yet.

------- Comment #4 From Gerard Vermeulen 2007-09-30 15:49:53 0000 -------
oolatex depends on some java classes.

Ebuild modifications are:
- add >=virtual/jdk-1.5 to DEPEND
- add >=virtual/jre-1.5 to RDEPEND
- add an extra sed statement to make oolatex find the compiled java files
  (see item 14 of http://www.cse.ohio-state.edu/~gurari/TeX4ht/uupdate.html)
- compile the java files
- install the compiled java files
- install the .4xt files (also needed by oolatex)
- replace has_tetex_3 with latex-package_has_tetex_3 (I do not understand why
it
  is needed, but on my system it is).

I tested oolatex on a non-trivial tex file and it works.

------- Comment #5 From Gerard Vermeulen 2007-09-30 15:52:17 0000 -------
Created an attachment (id=132247) [details]
another version bump and oolatex works

------- Comment #6 From Alexis Ballier 2007-10-16 22:32:54 0000 -------
hmmm, would it be possible to make java optional ?
java is not supported on all architectures, this would restrict tex4ht :/

I suppose that would mean not installing jh* binaries; but oolatex wouldn't
work

------- Comment #7 From Gerard Vermeulen 2007-10-17 17:33:42 0000 -------
Yes, java could be made optional but I would not install oolatex in case that
java has not been installed (I stumbled on the oolatex bug when trying to
convert a latex file to open document from LyX).

I can modify the ebuild if you like.

When fixing oolatex I was wondering if it is possible to use use gcj instead
instead of a default java (I suppose that gcj is more portable than the other
java's). I can give it a try when the gcj invokation resembles the javac
invokation (I am an ebuild and a java newbie).  

------- Comment #8 From Alexis Ballier 2007-10-28 18:51:09 0000 -------
(In reply to comment #7)
> Yes, java could be made optional but I would not install oolatex in case that
> java has not been installed (I stumbled on the oolatex bug when trying to
> convert a latex file to open document from LyX).
> 
> I can modify the ebuild if you like.

Yes, please :)
I didn't check what exactly needs java, neither where the class files are (they
shouldnt be installed if java is not wanted).

> When fixing oolatex I was wondering if it is possible to use use gcj instead
> instead of a default java (I suppose that gcj is more portable than the other
> java's). I can give it a try when the gcj invokation resembles the javac
> invokation (I am an ebuild and a java newbie).  

I don't know much about gcj (even less than about java...), but I don't think
we can assume it's present on the system, it would require to check if gcc has
been built with the gcj useflag.

------- Comment #9 From Gerard Vermeulen 2007-10-28 20:35:35 0000 -------
Created an attachment (id=134572) [details]
bumped version and added java use flag

Here you are:
1. the java classes are only compiled when the java use flag is enabled.
2. the /usr/bin/oo* scripts are not installed when the java use flag is
disabled
3. the compiled java files and helper (xml) files are only installed when the
java
   use flag is enabled.
4. add a message that the ODF converters require the java use flag.

Gerard

------- Comment #10 From Alexis Ballier 2007-10-30 17:52:39 0000 -------
thanks Gerard, it's now bumped. I'll make it installable with texlive as it's
currently not possible.

I've done small modifications to match gentoo way of handling java stuff
(thanks to wltjr), and renamed ht to ht.tex4ht in order to avoid collision with
hteditor.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug