Copy link to clipboard
Copied
8. de chercher plus de véritables [1] partenariats avec la société civile afin que les défenseurs des droits de l'homme se sentent pleinement [2] soutenus par l'UE;
[1] HRW: Central Asia : Five Years of EU engagement
[2] http://www.senat.fr/rap/r96-2013,1054/r96-374.html.
This is a little sample of xml-text we get from external sources. There's no link between the false "footnote-ref [1]" in de text and the false "endnote text".
Is there a possibility to convert those "notes" to real notes in de text, but not to end-notes? Sometimes these kind of notes extend to more than 100.
thnkx
Hi,
Just to show the way:
...var
myDoc = app.activeDocument,
mStory = myDoc.textFrames.item("story").parentStory,
mEndNotes = myDoc.textFrames.add( {name:"EndNotes"} ),
k, len, cIP, currPara, currFoot, mMarkers;
app.findGrepPreferences = app.changeGrepPreferences = null;
//---------------------------------------------
// edit doc.footnoteOption here
with (myDoc.footnoteOptions)
{
showPrefixSuffix = FootnotePrefixSuffix.PREFIX_SUFFIX_BOTH;
prefix = "[";
suffix = "]";
separator
Copy link to clipboard
Copied
The document is just stories extracted from different books.
Each story starts with a Drop cap. The first paragraph of each story has been assigned a 'Body 1' character style.
The remaining
The footnote text appears after the story and has been assigned a paragraph style.
Copy link to clipboard
Copied
The remaining paragraphs in the story have been assigned a 'body' paragraph style.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now