.mellel -> html

For all things Mellel

Moderators: Eyal Redler, redlers, Ori Redler

fbrzvnrnd
Already downloaded the guide
Posts: 25
Joined: Thu May 15, 2008 7:37 pm

.mellel -> html

Post by fbrzvnrnd »

I need to work on a book with simple formatting, internal links, PDF and HTML as last output.
Mellel is ok for the PDF, but exporting in RTF to try after a HTML conversion, I lost the internal links.

Is there a way to have a HTML output and links from a .mellel file?


f.
ozean
Knows everything, can prove it
Posts: 322
Joined: Thu Oct 20, 2005 12:28 pm
Location: Norway
Contact:

Re: .mellel -> html

Post by ozean »

You might want to try Stephen Still’s exporter. Check out his thread:

http://forum.redlers.com/viewtopic.php?f=1&t=687
fbrzvnrnd
Already downloaded the guide
Posts: 25
Joined: Thu May 15, 2008 7:37 pm

Re: .mellel -> html

Post by fbrzvnrnd »

I see, but it fails to convert internal hyperlink...


f.
Stephen Still
Knows everything, can prove it
Posts: 113
Joined: Thu Oct 20, 2005 2:59 am

Re: .mellel -> html

Post by Stephen Still »

That would be because I put it together before cross-referencing was in Mellel. I will have a look at it over the Australia Day long weekend and see if I can't get that working.

Offers of beer would, of course, expedite this.

-Stephen.
fbrzvnrnd
Already downloaded the guide
Posts: 25
Joined: Thu May 15, 2008 7:37 pm

Re: .mellel -> html

Post by fbrzvnrnd »

That would be because I put it together before cross-referencing was in Mellel. I will have a look at it over the Australia Day long weekend and see if I can't get that working.
Well, good news!

Actually (thanks to Rosenau!) I tried the .mellel -> mmd -> xhtml exporting that has good results.
The limit I have seen yesterday using this way, is that the name of the hyperlink has to be the same name of the heading. But I'm still testing and here and there, I found some other little problems (appling a variation G inside the cross-references windows do not work during the mmd translation).

I'll be happy to test your version too.
Offers of beer would, of course, expedite this.
Are you sure? Usually alcool creates strange code ;)

f
signinstranger
Knows everything, can prove it
Posts: 112
Joined: Sat Sep 02, 2006 12:53 pm
Location: Germany
Contact:

Re: .mellel -> html

Post by signinstranger »

Australia Day
Ah...that explains why the local amateur theatre group here has put on a production featuring an AC/DC cover band. :twisted:
Stephen Still
Knows everything, can prove it
Posts: 113
Joined: Thu Oct 20, 2005 2:59 am

Re: .mellel -> html

Post by Stephen Still »

signinstranger wrote:
Australia Day
Ah...that explains why the local amateur theatre group here has put on a production featuring an AC/DC cover band. :twisted:
Yep, they're making us all proud.
Stephen Still
Knows everything, can prove it
Posts: 113
Joined: Thu Oct 20, 2005 2:59 am

Re: .mellel -> html

Post by Stephen Still »

fbrzvnrnd wrote:
Offers of beer would, of course, expedite this.
Are you sure? Usually alcool creates strange code ;)

f
Strange, but beautiful (in the way that many things are beautiful after half a dozen beers).

-S
Stephen Still
Knows everything, can prove it
Posts: 113
Joined: Thu Oct 20, 2005 2:59 am

Re: .mellel -> html

Post by Stephen Still »

As an update, I've now got pretty substantial preliminary support for cross-references in the HEAD version of the stylesheet (at http://cinaedulus.org/svn/mellel2html). There are still some kinks and some bits which are lacking support, but I'd appreciate feedback from anyone who felt inclined to give it a try. I'm aiming to have something a bit more final in the next week or so.

-Stephen.
fbrzvnrnd
Already downloaded the guide
Posts: 25
Joined: Thu May 15, 2008 7:37 pm

Re: .mellel -> html

Post by fbrzvnrnd »

I'll be happy to test it, but I do not know how to use the .xsl file I downloaded.

f.
Stephen Still
Knows everything, can prove it
Posts: 113
Joined: Thu Oct 20, 2005 2:59 am

Re: .mellel -> html

Post by Stephen Still »

Sorry f,

Easiest way would be to download:

http://still.id.au/Mellel%20HTML%20Exporter.zip

Run the Mellel XSLT Export Runner script, select the document you want to transform, and then the xslt stylesheet enclosed with the download. This should work with both compressed and uncompressed mellel xml.

Let me know if you have any problems!

-Stephen.
fbrzvnrnd
Already downloaded the guide
Posts: 25
Joined: Thu May 15, 2008 7:37 pm

Re: .mellel -> html

Post by fbrzvnrnd »

I try:
but after the conversion the hyperlinks (cross references to auto-title) are not working...

f.
Reiner
Knows everything, can prove it
Posts: 475
Joined: Thu Oct 20, 2005 5:48 am
Location: Germany

Re: .mellel -> html

Post by Reiner »

Hi Stephen,

thanks for your work. But sadly cross refs are also not working here, not even is their text there.

Also auto-titles are not exported correctly.

(Mac OS X 10.4.11)

best regards
Reiner
Stephen Still
Knows everything, can prove it
Posts: 113
Joined: Thu Oct 20, 2005 2:59 am

Re: .mellel -> html

Post by Stephen Still »

Any chance that I can get cut down sample documents to play around with?

Reiner: none of the cross-reference text is showing up? What kind of cross-references are you using? What exactly is wrong with the exporting of auto-titles?

fbrzvnrnd: I take it that your cross-reference text is showing up, but that hyperlinks between the cross-reference and the auto-title are not working as expected?

-Stephen.
fbrzvnrnd
Already downloaded the guide
Posts: 25
Joined: Thu May 15, 2008 7:37 pm

Re: .mellel -> html

Post by fbrzvnrnd »

Hi,

yes, as you can see in the file I attach in the example, the word 'please' has to be an hyperlink. But after exporting in html it is not.

f.
Post Reply