Not signed in (Sign In)

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthoruhlhorn
    • CommentTimeJul 21st 2012
     
    Hi,

    is it possible to export pictures and footnotes (as endnotes) in to the epub file format?

    Kind regards
    Gerhard
    •  
      CommentAuthorgoetz
    • CommentTimeJul 23rd 2012
     

    Yes, both pictures and footnotes can be exported in the ePub file format. If you still have Ulysses 2.1.3, you can export footnotes as endnotes, if you already have Ulysses 2.1.4, they are exported as an ePub footnote (like this one).
    The manual for ePub export should explain how to insert pictures and footnotes quite nicely.

    •  
      CommentAuthoruhlhorn
    • CommentTimeJul 23rd 2012 edited
     
    No, it’s not working. I got the footnote and image tags in the ePub:
    I am writing {{footnote1}} and in the ePub I can read {{footnote1}}. The exporter is not replacing the tags. :-(

    In LaTeX and PDF it will work fine, but not in ePub.
    •  
      CommentAuthorgoetz
    • CommentTimeJul 23rd 2012
     

    How did you reference the footnotes/images in the notes? For footnotes, it should be {{footnote1-You footnote text}}. For images, it's [[image1-the actual image-an image description]]. Please note the last part is required for Web Export and ePub export: you need to add a textual description to the image which is displayed below the exported image. If you don't want that, contact us directly at support@the-soulmen.com and we can set up something for you.

    •  
      CommentAuthoruhlhorn
    • CommentTimeJul 23rd 2012
     
    Yes, I did do so. In PDF it works fine, the same in ePub it doesn’t work. Maybe it’s a bug in Ulysses. Perhaps only when the software runs localized.
    •  
      CommentAuthorgoetz
    • CommentTimeJul 24th 2012
     

    Localization should not have an impact on the export functionality of Ulysses. In fact, I just tried exporting an ePub with a picture inside using the german localization of Ulysses and the image was included in the exported ePub. I think the easiest would be to send us the Ulysses project (or just a minimal sample containing the images/footnotes that are not exported).

    •  
      CommentAuthoruhlhorn
    • CommentTimeJul 24th 2012 edited
     
    I am testing Ulysses with ePub because I’ll make an ebook for mathematics. This test contains only a picture and some blind text. So I can give You this data via a public link, it’s no problem:

    [https://dl.dropbox.com/u/207742/temp/ePub_Ulysses_test.zip](https://dl.dropbox.com/u/207742/temp/ePub_Ulysses_test.zip "Ulysses test project ePub")

    Gerhard
    •  
      CommentAuthorgoetz
    • CommentTimeJul 24th 2012
     

    Thanks a lot, I'll take a look at it!

    •  
      CommentAuthorgoetz
    • CommentTimeJul 26th 2012 edited
     

    I think I have figured it out. For the PDF and RTF exporters, you don't need to create a separate inline style for footnotes and images since they are handled in a special way. However, the ePub Export requires you to do so since footnote/images are just like any other inline style and can be exported in different ways. Thus, you need to create inline styles for footnotes (preferably with {{ and }} as start and end tags, respectively) and images (with [[ and ]] as start and end tags). Then, you need to assign these inline styles to the actions of the same names in the ePub export. In this way, you can export images and footnotes for PDF, RTF and ePub.

    There was also one little error in your Ulysses Project: the image formula in the Notepad needs to be followed by another dash character ("-") in order to be processed correctly.

    Now two problems remain:
    (1) The formatting for images are different for RTF/PDF and for ePub. While the latter requires you to add a description, the former does not. When exporting an image note with a description, it will be included in the RTF/PDf export even though you don't want it to be. Therefore the description should actually be removed from the formatting for images.
    (2) The ePub Export of Ulysses 2.1.4 only includes in-place footnotes and no endnotes.

    I resolved both problems by customizing the template of the ePub Exporter, in which images don't need a description anymore and endnotes are included as a separate inline style action. Since the ePub Exporter is just like any other Web Export template, you can simply download the following ePub template at http://media.the-soulmen.com/.../ePubTemplate.zip, unzip and copy it to the folder ~/Library/Containers/com.soulmen.ulysses2/Data/Library/Application Support/Ulysses/Exporter/Web/ (if you have the App Store Version) or ~/Library/Application Support/Ulysses/Exporter/Web/ (if you have the Non-App Store Version). To get to these folders, open Finder, press Cmd-Shift-G and copy&paste the path into the text field. Restart Ulysses, open the Exporter panel and select the Web Export instead of ePub Export. On the top, you can select the "ePub" template. The rest of the interface should now look exactly like the ePub Template.

    You can also find the updated version of your Ulysses project at this Dropbox link.

    •  
      CommentAuthoruhlhorn
    • CommentTimeJul 27th 2012 edited
     
    Your Link is not active, sorry.

    # Not Found
    The requested URL /pub/ulysses/downloads/ePubTemplate.zip was not found on this server.
    •  
      CommentAuthorgoetz
    • CommentTimeJul 29th 2012
     

    Strange. In the meantime, try this Dropbox Link for the template. I didn't check the files again, but it should work.

    •  
      CommentAuthoruhlhorn
    • CommentTimeJul 30th 2012 edited
     
    > … and copy it to the folder ~/Library/Containers/com.soulmen.ulysses2/Data/Library/Application Support/Ulysses/Exporter/Web/ (if you have the App Store Version) or ~/Library/Application Support/Ulysses/Exporter/Web/ (if you have the Non-App Store Version).

    Where is the difference between these paths?!?

    I have only:

    …/Exporter/FormattedText
    and
    …/Exporter/LaTeX.
    •  
      CommentAuthorgoetz
    • CommentTimeJul 30th 2012 edited
     

    Where is the difference between these paths?!?

    The paths differ by the subpath "Containers/com.soulmen.ulysses2/Data/Library/". The first path is relevant to you when you purchased Ulysses in the Mac App Store, the second one is relevant when you already owned Ulysses before it was sold on the Mac App Store.

    I have only …/Exporter/FormattedText and …/Exporter/LaTeX.

    Sorry, I forgot about that. If there is no folder "Web" inside the Exporter folder, just creating one by hand should do the job.

    •  
      CommentAuthoruhlhorn
    • CommentTimeJul 30th 2012 edited
     
    Ah, now I can see the difference. ;-) The middle of the path is different.

    > Sorry, I forgot about that. If there is no folder "Web" inside the Exporter folder, just creating one by hand should do the job.

    Okay. I will do so.
    •  
      CommentAuthoruhlhorn
    • CommentTimeJul 30th 2012
     
    It’s not working. Sorry.
    •  
      CommentAuthorgoetz
    • CommentTimeAug 2nd 2012
     

    What part of it is not working? Does Ulysses not launch? Does ePub not show up in the Web Export? Does the export fail?

    •  
      CommentAuthoruhlhorn
    • CommentTimeAug 2nd 2012
     
    It’s the same as before. I can see my Tags in the text.
    •  
      CommentAuthorVivien
    • CommentTimeAug 8th 2012
     

    Hello I'm taking over :-)

    Just to make sure I understand you correctly, I'm asking again.

    To get images and footnotes in ePub to work, first go to the Inline Style preferences via Ulysses>Preferences>Inline Styles and add a style for images and one for footnotes. Then use this tags to mark your image and footnotes. Second, in the exporter, set your Inline Styles with the Description "Image" to the the Action Image and set "Footnotes" to Footnotes.

    Now the export should work in the wished way.

    I did an ePub export myself with the inclusion of pictures and footnotes, which worked as expected. Here is my document if you'd like to try it with that one: http://cl.ly/371H0W3v0O1Z

    I hope this helps.

    All the best, Vivien

    •  
      CommentAuthoruhlhorn
    • CommentTimeAug 8th 2012 edited
     
    Ah Yessss!!! Now I found my mistake. :-) I didn’t set the „Inline Styles“ in the export window to „Image“ and „Footnote“. And when using images, I have to use two dashes and three parts in this manner:
    [[tag-IMAGE-caption]]

    Thank You Vivien!


    Cool, it’s possible to use vector PDFs as image on an iPad. :-) This is good to use formulas made in LaTeX.

    But there is a new question: Is its possible to change the text „Image 1“ to e.g. „Formula 1“ or the german „Abbildung 1“?

    And is it possible to center images? on the page?
    •  
      CommentAuthorgoetz
    • CommentTimeAug 13th 2012
     

    But there is a new question: Is its possible to change the text „Image 1“ to e.g. „Formula 1“ or the german „Abbildung 1“?

    Do you want to have image headings/descriptions in the exported ePub? (If you don't, you can use the custom template I described above)
    The thing is, with the current approach, you cannot export to both PDF and ePub since the description text will show up in the exported PDF, this is why I provided you with the ePub template.
    If you want to have image headings in the ePub, I could provide you with such a template. However, does "Abbildung" alone suffice for you? What about "Formel" or "Tabelle"?

    And is it possible to center images? on the page?

    They should be horizontally centered in iBooks. Are they not?

    •  
      CommentAuthoruhlhorn
    • CommentTimeAug 13th 2012
     
    > They should be horizontally centered in iBooks. Are they not?
    They are not.

    For the rest I have to do some work (e.g. read Your text again). I’ll come back later …
    •  
      CommentAuthorgoetz
    • CommentTimeAug 14th 2012 edited
     

    My ePub looks as follows in iBooks: https://skitch.com/e-gootz/ecwky/photo
    (For this, I added a description to the image note, as in
    [[formel1-IMAGE-A description for the formula.]])

    •  
      CommentAuthoruhlhorn
    • CommentTimeAug 14th 2012
     
    Yes, but the first word should not be "image 1". Is it possible to change this into some other text?
    •  
      CommentAuthorgoetz
    • CommentTimeAug 16th 2012
     

    Like that?
    I updated the custom WebExport template for ePub export (similarly to the one above) and uploaded it here. If you've already installed the custom template, remove it first. Then, copy the unzipped folder of this new template to the WebExport template folder as discussed above and follow the steps. I created three different types of actions for images (in the export template): images, formulas, and tables. For instance, if all the images in your Ulysses project are formulas, then you can simply assign the "Formula" style action to the Inline Style for images and should get the same output as in the screenshot.

    •  
      CommentAuthoruhlhorn
    • CommentTimeAug 18th 2012
     
    Ihr sitzt im Raum Leipzig? Und ich mühe mich mit meinen mageren Englischkenntnissen ab. :-)
    •  
      CommentAuthorVivien
    • CommentTimeAug 22nd 2012
     

    Tut uns Leid, aber das konnten wir nicht wissen :-) Dafür gibt es aber auch ein Deutschsprachiges Forum, schon gesehen?

    Herzliche Grüße Vivien

    •  
      CommentAuthoruhlhorn
    • CommentTimeAug 22nd 2012
     
    Nein. Dann können wir ja dort weitermachen. :-D
    •  
      CommentAuthoruhlhorn
    • CommentTimeAug 22nd 2012 edited
     
    Okay, I found two problems:
    Here is one xhtml file from the epub document. And as You can see, there is a title of the chapter and the title of the image. But where can I define these titles?

    Where can I define the chapter title, I want to have it in german e.g.:
    ![Ulysses Chapter Title](https://dl.dropbox.com/u/207742/permanent/Ulysses/UlyssesChapterTitleKl.PNG "Ulysses Chapter Title")

    And where can I define the title of images? I want to have it in german, and I want have other text like "Tabelle" or "Formel":
    ![Ulysses Image Title](https://dl.dropbox.com/u/207742/permanent/Ulysses/UlyssesImageTitleKl.PNG "Ulysses Image Title")
    •  
      CommentAuthoruhlhorn
    • CommentTimeAug 22nd 2012
     
    > Like that?

    Yes, like that. :-)

    Can I change it only in the template files and not in Ulysses itself?
    I need "Abbildung…", "Formel…" and "Tabelle…" within the same document.
    •  
      CommentAuthorgoetz
    • CommentTimeAug 24th 2012 edited
     

    Can I change it only in the template files and not in Ulysses itself? I need "Abbildung…", "Formel…" and "Tabelle…" within the same document.

    I'm a bit confused. Does the custom template not work for you? This should contain exactly these three types. If you use that template, you don't need to change anything in the template files, just select them as an action for the inline style:

    Screenshot

    If you want to use all three types, you need to create an Inline Style for each type to distinguish between them and then assign each Style its corresponding action in the exporter.