EndnoteRange element in IDML is currently unsupported.

Issue #856 resolved
KONSTANTINOS CHATZITHEODOROU created an issue

It seems that the “EndnoteRange” that appears in my IDLM is unsuported this is why the text is not exported. Would it be possible to add it?

This is the story file which contains the EndnoteRange element.

\<?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34; standalone=&#34;yes&#34;?>

\<idPkg:Story xmlns:idPkg=&#34;http://ns.adobe.com/AdobeInDesign/idml/1.0/packaging&#34; DOMVersion=&#34;14.0&#34;>

\<Story Self=&#34;u7478&#34; AppliedTOCStyle=&#34;n&#34; UserText=&#34;true&#34; IsEndnoteStory=&#34;true&#34; TrackChanges=&#34;false&#34; StoryTitle=&#34;$ID/&#34; AppliedNamedGrid=&#34;n&#34;>

\<StoryPreference OpticalMarginAlignment=&#34;false&#34; OpticalMarginSize=&#34;12&#34; FrameType=&#34;TextFrameType&#34; StoryOrientation=&#34;Horizontal&#34; StoryDirection=&#34;LeftToRightDirection&#34; />

\<GridDataInformation FontStyle=&#34;$ID/&#34; PointSize=&#34;9.21259842519685&#34; CharacterAki=&#34;0&#34; LineAki=&#34;6.909448818897637&#34; HorizontalScale=&#34;100&#34; VerticalScale=&#34;100&#34; LineAlignment=&#34;LeftOrTopLineJustify&#34; GridAlignment=&#34;AlignEmCenter&#34; CharacterAlignment=&#34;AlignEmCenter&#34; />

\<InCopyExportOption IncludeGraphicProxies=&#34;true&#34; IncludeAllResources=&#34;false&#34; />

\<ParagraphStyleRange AppliedParagraphStyle=&#34;ParagraphStyle/$ID/NormalParagraphStyle&#34; LeftIndent=&#34;14.173228346456694&#34; FirstLineIndent=&#34;-14.173228346456694&#34; Hyphenation=&#34;false&#34; SpaceAfter=&#34;2.834645669291339&#34;>

\<CharacterStyleRange AppliedCharacterStyle=&#34;CharacterStyle/$ID/[No character style]&#34; FontStyle=&#34;45 Light&#34; PointSize=&#34;6&#34; KerningMethod=&#34;$ID/Optical&#34; Tracking=&#34;-5&#34; FillTint=&#34;90&#34;>

\<Properties>

\<Leading type=&#34;unit&#34;>8</Leading>

\<AppliedFont type=&#34;string&#34;>Univers LT Pro</AppliedFont>

\</Properties>

\</CharacterStyleRange>

\<EndnoteRange Self=&#34;u7491&#34; SourceEndnote=&#34;u7490&#34;>

\<CharacterStyleRange AppliedCharacterStyle=&#34;CharacterStyle/$ID/[No character style]&#34; FontStyle=&#34;45 Light&#34; PointSize=&#34;6&#34; KerningMethod=&#34;$ID/Optical&#34; Tracking=&#34;-5&#34; FillTint=&#34;90&#34;>

\<Properties>

\<Leading type=&#34;unit&#34;>8</Leading>

\<AppliedFont type=&#34;string&#34;>Univers LT Pro</AppliedFont>

\</Properties>

\<Content> <?ACE 4?> XXXXXXX </Content>

\</CharacterStyleRange>

\<CharacterStyleRange AppliedCharacterStyle=&#34;CharacterStyle/$ID/[No character style]&#34; FontStyle=&#34;45 Light Oblique&#34; PointSize=&#34;6&#34; KerningMethod=&#34;$ID/Optical&#34; Tracking=&#34;-5&#34; FillTint=&#34;90&#34;>

\<Properties>

\<Leading type=&#34;unit&#34;>8</Leading>

\<AppliedFont type=&#34;string&#34;>Univers LT Pro</AppliedFont>

\</Properties>

\<Content>XXXXXXX</Content>

\</CharacterStyleRange>

\<CharacterStyleRange AppliedCharacterStyle=&#34;CharacterStyle/$ID/[No character style]&#34; FontStyle=&#34;45 Light&#34; PointSize=&#34;6&#34; KerningMethod=&#34;$ID/Optical&#34; Tracking=&#34;-5&#34; FillTint=&#34;90&#34;>

\<Properties>

\<Leading type=&#34;unit&#34;>8</Leading>

\<AppliedFont type=&#34;string&#34;>Univers LT Pro</AppliedFont>

\</Properties>

\<Content>XXXXXXX &lt;</Content>

\</CharacterStyleRange>

\<CharacterStyleRange AppliedCharacterStyle=&#34;CharacterStyle/Hyperlink&#34;>

\<Properties>

\<Leading type=&#34;unit&#34;>8</Leading>

\</Properties>

\<HyperlinkTextSource Self=&#34;u6ef3&#34; Name=&#34;Source&#34; Hidden=&#34;false&#34; AppliedCharacterStyle=&#34;n&#34;>

\<Content>XXXXXXX</Content>

\</HyperlinkTextSource>

\</CharacterStyleRange>

\<CharacterStyleRange AppliedCharacterStyle=&#34;CharacterStyle/$ID/[No character style]&#34; FontStyle=&#34;45 Light&#34; PointSize=&#34;6&#34; KerningMethod=&#34;$ID/Optical&#34; Tracking=&#34;-5&#34; FillTint=&#34;90&#34;>

\<Properties>

\<Leading type=&#34;unit&#34;>8</Leading>

\<AppliedFont type=&#34;string&#34;>Univers LT Pro</AppliedFont>

\</Properties>

\<Content>&gt;, XXXXXXX</Content>

\</CharacterStyleRange>

\</EndnoteRange>

\<CharacterStyleRange AppliedCharacterStyle=&#34;CharacterStyle/$ID/[No character style]&#34; FontStyle=&#34;45 Light&#34; PointSize=&#34;6&#34; KerningMethod=&#34;$ID/Optical&#34; Tracking=&#34;-5&#34; FillTint=&#34;90&#34;>

\<Properties>

\<Leading type=&#34;unit&#34;>8</Leading>

\<AppliedFont type=&#34;string&#34;>Univers LT Pro</AppliedFont>

\</Properties>

\<Br />

Comments (34)

  1. Chase Tingley

    @KONSTANTINOS CHATZITHEODOROU Do you have a sample IDML file you could attach that demonstrates the problem? It will be easier to work from a real document than a snippet.

  2. KONSTANTINOS CHATZITHEODOROU reporter

    Hi

    I will ask my company tomorrow morning and will let you know.

    Konstantinos

  3. YvesS

    Info from Konstantinos : “Unfortunately, I am not good at programming and cannot do PR. However, I know that it's because of the name in the xml element. Attached you can see an IDML file and it's PDF. Whatever is with $ is okay but the text in the penultimate page is not imported.”

  4. Denis Konovalyenko

    @KONSTANTINOS CHATZITHEODOROU , I have taken a look at this in the scope of @YvesS changes and have to say that the produced related story structure has some differences:

    I do not have a required InDesign version at hand at the moment to check the UI. Would you be able to clarify whether the attached roundtripped document (856.out.idml) is viewed with the same user experience (no style changes, etc)?

  5. Konstantinos Chatzitheodorou
      <div class="preview-container wiki-content"><!-- loaded via ajax --></div>
      <div class="mask"></div>
    </div>
    

    </div> </form>

  6. Denis Konovalyenko

    @Konstantinos Chatzitheodorou , thank you for the exported PDF!

    Do you think it would be possible for you to make one more export of the attached Or_T_FR_2.idml? It looks like the end notes content is different…

  7. Denis Konovalyenko

    @Konstantinos Chatzitheodorou , thank you very much for the export!

    It seems that the styles are not the same. So, there has to be implemented another way of merging them, i.e. the existing ParagraphStyleRange under EndnoteRange mustn't be present.

    We will probably need your help in testing and PDF exporting one more time when another solution gets ready. :)

  8. Konstantinos Chatzitheodorou

    sure! Happy to help or provide you with more idml files. Meanwhile, the solution that works for me is the following: I replace the EndnoteRange with Footnote and the problem is solved.

    I cannot publish files in public but I can email you a few files so that you can check. Feel free to email me kchatzitheodorou@gmail.com

  9. Denis Konovalyenko

    @Konstantinos Chatzitheodorou , thank you for providing important details!

    As for your help, would it be possible for you to compose a simple document with just 1-2 pages where some words would be devoted to the main story and some to the endnotes?

    E.g.:

    The first paragraph1.

    The second paragraph2.


    1 An endnote for the first paragraph.

    2 An endnote for the second paragraph.

  10. Konstantinos Chatzitheodorou

    my tikal command is

    Okapi Tikal - Localization Toolset

    Version: 2.0.36

    Extraction to Moses InlineText
    Source language: en
    Default input encoding: UTF-8
    Filter configuration: okf_idml
    Input: 2sentences.idml
    Done in 0.984s

  11. Denis Konovalyenko

    @Konstantinos Chatzitheodorou , thank you for your help!

    I would like to ask you for one more round of checks - could you please open and compare the following pairs of documents (I will attach them in my next message)

    • 856-1.idml and 856-1.out.idml
    • 856-2.idml and 856-2.out.idml

    The endnotes styles should look like in original documents.

    Also, it would be great if you export 856-1.out.idml and 856-2.out.idml to PDF and attach them to this issue.

  12. Konstantinos Chatzitheodorou

    I checked them and it seems that the 856-1 pairs are the same while the 856-2 are not the same. One footnote is missing. Can you please send me the tikal’s export (xlf or en file would work) so that I can check?

  13. Denis Konovalyenko

    @Konstantinos Chatzitheodorou , thank you for your feedback! It was really helpful!

    I am going to prepare XLIFFs without translations… Meanwhile, I would appreciate it if you could take another look at one more variant - 856-2a.out.idml and let me know whether its endnote styles look the same?

  14. Konstantinos Chatzitheodorou

    Hi Denis

    Can you tell me in which version this fix is included?

    Best regards

    Konstantinos

  15. Denis Konovalyenko

    @Konstantinos Chatzitheodorou , the fix should be available in the current snapshots on https://oss.sonatype.org (search for “okapi-filter-idml”) and after 1.44.0 release.

    Here is a direct snapshot link to jar archive (at the time of writing).

  16. Log in to comment