Jump to content
You must now use your email address to sign in [click for more info] ×

Peter Kahrel

Members
  • Posts

    26
  • Joined

  • Last visited

Posts posted by Peter Kahrel

  1. Our priority for scripting is Photo and things like developing RAW files, adding meta data, . . . etc.

    > Creating documents and text processing is 'pretty', but it's of zero interest to us compared to the aforementioned raw and image processing which happens every minute of every day and is where the real time savings are.

    What complete nonsense. Processing text documents can be as time-consuming (or even more so than) whatever you you do in Photo. If you can't automate various typesetting aspects you'll lose a lot of time.

  2. Search results of expressions that use lookahead and/or lookaround aren't processed correctly. Search results are displayed in the Find panel, but they are not highlighted in the text and cannot be changed by a replacement text.

    This is the case with lookahead (?=...), the classic lookbehind (?<=...), and the modern, variable-length, lookbehind, \K

    P.

  3. Thank you, Walt, found it. But since in the interface the item is in the Text menu, I'd have expected it to be in the Text section in the KBSC editor. Miscellaneous would be for things that aren't available in the interface, such as a shortcut (like InDesign's) to activate the last used entry field in panel, a shortcut to close all documents, etc.

     

    P.

  4. Some search characters get replaced with an icon. I think that is helpful.

    I disagree. Those icons take a lot of space and you have to select them from a dropdown every time. They should have text equivalents, such as \r for line break. If Affinity get serious about providing scripting support, text equivalents of those icons are needed anyway.

    Maybe a little "reset format" button that only shows up when there is a format set.

    Yes, that would be very useful.

    P.

  5. On 11/28/2018 at 5:05 PM, MikeW said:

    The request was for GREP as used in InDesign, which I believe uses PCRE (including in its JavaScript).

    InDesign uses the Boost libraries for its GREP. Those are probably Perl-compatible -- InDesign's GREP is very powerful. InDesign's JavaScript (ExtendScript), however, uses standard JS regular expressions, much less powerful than InDesign's (e.g. no lookbehind, no Unicode properties).

    Peter

  6. I'll add my vote for footnote and endnote support.

    > Hope you can implement it in a similar way like in InDesign, . . .

    Please, Affinity, whatever you do, don't look at InDesign's notes. Footnotes are at the document level in InDesign, they should be at the level of the story. That way each story can have its own numbering style and start number. It should also be possible (as it isn't in InDesign), to set the first footnote in a text as an uncued note. And users should be able to define their own sequence and appearance of note symbols (asterisk, pilcrow, dagger, double dagger, paragraph symbol, etc.).

    > Visit any university library and you'll find that endnotes replaced footnotes long ago, perhaps in the 1950s.

    Complete nonsense. Academic publishers prefer footnotes.

    > In the era before computers, endnotes were far easier to typeset.

    That's why notes were set as endnotes at some stage. Endnotes hung on for non-academic texts and in texts published by penny-pinching publishers, but nowadays footnotes are preferred by many. Footnotes are still more labour-intensive than endnotes, but the difference in effort is not nearly as big as it used to be.

    > In today's world, their appearance at the bottom of a page is seen as clutter by most readers. 

    In my experience, readers just get annoyed by having to go to the end of the book (or worse, to the end of the chapter in multi-authored volumes). 

  7. On 9/12/2018 at 12:12 AM, kimtorch said:

    I believe Python would turn existing ID users off - it certainly would me as I don't want to learn yet another language.

    Probably not. Python support is a popular item in InDesign's feature request forum (User voice).

    > If Affinity do the syntax and object model right, a lot of existing ID code could even be reusable/transportable which would be a HUGE consideration to switching.

    That would indeed be useful but is hardly likely to happen.

  8. Seneca wrote:

    > I don't think that a half-hearted approach to scripting will do.
    > Do it properly from the start. We should be able to automate everything. InDesign is a good example here.

    I wholeheartedly agree. Scripting is useful only when you can script everything you can do in the interface. That's what sets InDesign scripting apart from Photoshop, Illustrator and all the other scriptable Adobe applications. In InDesign you can script everything. Photoshop and the others expose only part of their document models, which has frustrated script writers for years. I'm for JavaScript and/or Python. If you go for JavaScript, please add a component that allows us to read and write files.

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.