Back

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

Forum Replies Created

Viewing 2 posts - 46 through 47 (of 47 total)
  • Author
    Posts
  • in reply to: Tables – 5 columns become 3 #14351051
    Nick B
    Participant

    Hi Alistair

    I haven’t used liquid layouts but it feels like that should work. My only other suggestion is a bit of a hacky way, which may work if your table cell contents are fairly straightforward. Having a cell delimiter that isn’t part of your table contents is the main thing – you have a choice of tab, comma or paragraph but I only verified it works using Tab.

    1. convert the table to text, using Tab (or your choice of delimiter) for _both_ row and column separator
    2. convert the text back to a table, using the same delimiter for both row and column separator – as long as the separator for columns and rows is the same it will ask how many columns you want

    Not particularly clean, but it will handle inline or anchored images and quick if it works.

    Nick

    in reply to: GREP style that selects the last instance in a paragraph #14347056
    Nick B
    Participant

    You already have your answer on how to achieve the selection, but in case you wanted to know why your original suggestion didn’t work, the “.+” will include any intervening opening or closing parentheses, so it:

    – finds the first “(”
    – matches “.+” (including any parentheses)
    – matches the “)” at the end per the rule

    If there was no closing parenthesis then obviously even though it matched the first two parts, the expression would return nothing. So as others have pointed out, you just have to make sure the middle rule is matching what you want, i.e. no opening parentheses, in which case when it finds the first “(” it will not match the expression but when it gets to the last “(” it will.

Viewing 2 posts - 46 through 47 (of 47 total)