in

Quark Forums

XPress tag importing, swapping <B> bold for true bold fonts...

Last post 03-18-2009 12:36 PM by Witcher. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-18-2009 7:32 AM

    • Witcher
    • Top 50 Contributor
    • Joined on 07-22-2004
    • philadelphia
    • Posts 287

    XPress tag importing, swapping <B> bold for true bold fonts...

    Can I get a hand here?
    Figuring out XPress tag importing.

    Been using the excellent RTF-to-XPress tag applescripts, from www.puntspatie.nl

    I would like to, after getting the RTF converted to plain text, switch fake bolds to a true bold font (in this case AGaramond Semibold).

    In the Tex-Edit script, I want to change this code (which will give me fake bolds):
        replace looking for "^*" looking for styles {style:{bold}, off styles:{italic, underline}} replacing with "<B>^*<B>"

    to this:
        replace looking for "^*" looking for styles {style:{bold}, off styles:{italic, underline}} replacing with "<f AGaramond Bold>^*<f$>"

    but that code seems to cause "corruption" in the Xpress tagged file.

    Can anyone see how to do this/where I went wrong?

    The Publi Script Forum
    They taught me everything

    http://publi-script.com/Forums/index.php?board=4.0
  • 03-18-2009 8:05 AM In reply to

    Re: XPress tag importing, swapping <B> bold for true bold fonts...

    It may be that the font name needs to be in quotes.

    EDIT: The old QXP manual I have actually uses the term "inch marks". So that would be straight quotes. From the manual: f "Palatino", which would go inside the greater than/less than symbols that I can't seem to get to print on the forum page.

  • 03-18-2009 12:36 PM In reply to

    • Witcher
    • Top 50 Contributor
    • Joined on 07-22-2004
    • philadelphia
    • Posts 287

    Re: XPress tag importing, swapping <B> bold for true bold fonts...

    Yeah, that would be the issue. Thanks!
    The Publi Script Forum
    They taught me everything

    http://publi-script.com/Forums/index.php?board=4.0
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems