Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 15 posts - 121 through 135 (of 340 total)
  • Author
    Posts
  • in reply to: NEED HELP: Adding Suffix To Character String #113438
    Peter Kahrel
    Participant

    > I’ve got hundreds of text boxes applied to a character style

    Not sure what you mean here. How does one apply a text box to a character style? Can you explain what you’re after?

    P.

    Peter Kahrel
    Participant

    Aha. So you have more than one text frame on each master page, is that correct?

    Peter Kahrel
    Participant

    That’s a basic InDesign thing. Hold the Shift key down when you place the text. Look under ‘auto flow’ (or something like that) in the InDesign help file or a book.

    P.

    Peter Kahrel
    Participant

    I think I understand what you’re after, not sure — your explanation isn’t entirely clear. E.g., what do you mean by ‘a book which will have A, B, A, B etc.’? And you format text in a spreadsheet then paste it in InDesign? Wel. . .

    Anyway, here’s what I think you’re after. On a master spread, place a text frame on the left-hand page and one on the right-hand page. Now when you thread the two frames on the master, and you place the text on a document page, the text flows from p. 1 to p. 2, p2 to p. 3, etc.

    When you do not thread the frames on the master, then place the text on p. 1, the full text flows from p.1 to p. 3, from p. 3 to p. 5, etc. And when you place a second text stream on p. 2, it will flow on the even pages only.

    Maybe you don’t need a script all!

    P.

    in reply to: Multi-page sidebars – how? #111823
    Peter Kahrel
    Participant

    A separate paragraph style. Include paragraph shading.

    P.

    in reply to: Unknown character #111365
    Peter Kahrel
    Participant

    Unfortunately you can’t delete them globally because text anchors share their code (U+FEFF) with index markers, tags, endnote delimiters, and several other things. You could try and see what goes on with this script and selectively delete them:
    https://www.kahrel.plus.com/indesign/text_anchors.html
    Or you can open the story editor, where you can see them better, and delete them in there. Do make a copy of your document, because you may be deleting more than is good for you.

    in reply to: Unknown character #111362
    Peter Kahrel
    Participant

    They are text anchors. They overlap the following text because they themselves have no width, whereas their screen representations do. You can check them by opening the Story editor (Edit > Edit in story editor).

    P.

    in reply to: Hidden Characters #110424
    Peter Kahrel
    Participant

    65Bit surely puts those anchors there for a reason, but you could ask what the purpose is and whether it’s safe to remove those characters. On the other hand, maybe it’s safer to redefine your script’s notion of what constitutes an empty cell. Instead of saying ‘a cell is empty if its text is an empty string’, say ‘a cell is empty if its text is a (: character) or an empty string’. And add your content to the cell’s content.

    in reply to: Hidden Characters #110419
    Peter Kahrel
    Participant

    > unless there’s a difference in a minor version but i couldnt figure out how to find this exactly

    Help > Ctrl+click ‘About InDesign

    > The only difference is that i got EeasyCatalog installed on 1 pc

    That’ll be the one where you see that : code, right? That code indicates a text anchor, which is probably placed there by EasyCatalog. You can verify that by uninstalling EasyCatalog and see if that makes a difference in InDesign.

    in reply to: Overset issue #110210
    Peter Kahrel
    Participant

    With the current paragraph language/hypenation settings, the string can’t be broken and is too long for the text frame. When you add spaces that problem doesn’t occur. Instead of spaces, add discretionary line breaks: find the centre dots and replace with ^k (in the Text tab of the Find/Change dialog).

    in reply to: MathType in InDesign for Mac? #109960
    Peter Kahrel
    Participant

    I second David’s comment: forget MathType, go for movemen’s MathTools. MathTools’s equations are plain text. It comes with various predefined character styles so that various parts of equations can be coloured in different ways. You can enter equations in InDesign, and you can translate MathType EPSs to MathTools equations. MathTools supports scripting. And MathTools equations export well to PDF, Epub, and HTML.

    Peter

    in reply to: Invalid characters in index #105201
    Peter Kahrel
    Participant

    Hard to say. Can you send me that file? Please use pkahrel@gmail.com and I’ll have a look.

    P.

    in reply to: Word equations to indesign #105189
    Peter Kahrel
    Participant

    MathTools can convert MathType equations in placed Word files to its (MathTool’s) own format. Works very well.

    in reply to: Invalid characters in index #105188
    Peter Kahrel
    Participant

    I had the same experience a few times, and it turned out to be curly quotes. Double ones for sure, forgot whether single ones were a problem too. After replacing the curly quotes with a temporary character the index generated fine. After generation reverted to quotes in the generated index. Double quotes aren’t always a problem, that’s the confusing part. Accented character have never been a problem in my experience.

    Peter Kahrel
    Participant

    Interesting. The below script does what you want. An alternative would be to place the sidenotes anchored frames (a variant of https://www.kahrel.plus.com/indesign/sidenotes.html). This alternative requires the set-up of some styles but is probably easier to use in the long run.

    Anyway, here’s the script. Select the footnote you want to convert and run the script.

    Peter

    function () {
      if (app.selection.length && app.selection[0] instanceof Character && app.selection[0].contents == SpecialCharacters.FOOTNOTE_SYMBOL) {
        var sep = app.documents[0].footnoteOptions.separatorText.length;
        var story = app.selection[0].parentStory;
        var n = story.insertionPoints.itemByRange (0, app.selection[0].index).footnotes.length;
        var fnote = story.footnotes[n];
        var ix = fnote.storyOffset.index;
        var enote = fnote.storyOffset.createEndnote();
        // InDesign adds a space after the new endnote, delete it.
        if (story.characters[p+1].contents == ' ') {
          story.characters[p+1].contents = '';
        }
        fnote.characters.itemByRange (0, sep+1).contents = '';
        fnote.texts[0].move (LocationOptions.AFTER, enote.insertionPoints[-1]);
        fnote.remove();
      }
    }());
Viewing 15 posts - 121 through 135 (of 340 total)