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

BryceB

New Members
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    BryceB got a reaction from Fun Art Sam in Retain italic and bold on imported text   
    Thanks Wosven! I tried your workaround and it worked for me. To remind myself how it works (and for those who aren't find & replace experts) I posted a screen capture to YouTube showing how I follow your steps. The search and replace with regular expressions is a little tricky if you've never done that kind of thing before.
    Preserving bold and italic text when importing to Affinity Publisher.
  2. Like
    BryceB got a reaction from Wosven in Retain italic and bold on imported text   
    Thanks Wosven! I tried your workaround and it worked for me. To remind myself how it works (and for those who aren't find & replace experts) I posted a screen capture to YouTube showing how I follow your steps. The search and replace with regular expressions is a little tricky if you've never done that kind of thing before.
    Preserving bold and italic text when importing to Affinity Publisher.
  3. Like
    BryceB reacted to MikeA in Retain italic and bold on imported text   
    @BryceB
    Thanks for making that video. One thing I noticed in the discussion about regular expressions: unless Affinity Publisher's implementation of regexes is different from what I used in Perl, then:
    .*
    means not "one or more of any character" but "zero or more of any character." If you want "one or more," use:
    .+
    If Affinity Publisher supports this, there's also:
    .?
    ... to mean "zero or one of the preceding character or expression (in this case: "any character"). Now of course I'm going to have to find out if it also supports greedy vs. non-greedy matches. How time will fly...
    It was interesting to see that you were able to use "$1" for the "captured" buffer. A comment I saw here a couple of days ago used "\1" instead. So then I thought: Affinity Publisher must require "\1" rather than "$1". Clearly it doesn't.
    In Perl, "\1" can be used in the replacement string but is more likely to be used within the search string — to refer to something captured to a buffer via parentheses — within the same search string.
    I was surprised you were able to use "Apply 'Body' to Paragraphs". I would have thought the command should be "Apply 'Body' to paragraphs and preserve character formatting" (or "...and preserve local formatting").
    After reading that Publisher doesn't yet support style merging, I'm tempted to go about it this way:
    1. Style everything precisely as needed in the word-processing program (I use the Softmaker Office editor called TextMaker, which writes .docx format).
    2. Import the word-processor file — Publisher will create new styles named to match those of the incoming document.
    3. Tell Publisher just to delete all unused styles in the document.
    Wonder if it'd work. :- )
     
  4. Like
    BryceB got a reaction from MikeA in Retain italic and bold on imported text   
    Thanks Wosven! I tried your workaround and it worked for me. To remind myself how it works (and for those who aren't find & replace experts) I posted a screen capture to YouTube showing how I follow your steps. The search and replace with regular expressions is a little tricky if you've never done that kind of thing before.
    Preserving bold and italic text when importing to Affinity Publisher.
×
×
  • 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.