Use special type of quotes in ref style

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
UlrikeD
Jr. Propeller Head
Posts: 5
Joined: Wed Jan 04, 2017 3:58 am

Use special type of quotes in ref style

Post by UlrikeD »

Hi,
For pdf output, I use a xref style that includes quotes:

MadCap|xref
{
color: inherit;
text-decoration: none;
mc-format: '{i}{quote}{paratext}{quote}{/i} en la página {page}';
}

How can I adapt the quote type in a translated project?
Some languages use angular quotes, or position them differently, e.g. French: « »
Thanks for any help :-)
Ulrike
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Use special type of quotes in ref style

Post by ChoccieMuffin »

Could you use localised stylesheets so you have one for each language? As you have "on page" already translated I suspect you already do that. If that's the case, you may need to use the unicode value for your quote marks for each language.
Or I've removed that potential problem by just having the title in italics (as you already do) and I just don't use quote marks!

Disclaimer: It's a long time since I had to roll my sleeves up and deal with localisation, so my suggestion might be out of date.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
UlrikeD
Jr. Propeller Head
Posts: 5
Joined: Wed Jan 04, 2017 3:58 am

Re: Use special type of quotes in ref style

Post by UlrikeD »

Thanks for your response. Yes, I use localized style sheets, they go through Lingo.
Unicode doesn't work here.
Replacing {quote} with Unicode {00AB} just adds {00AB} to the output, same with {guillemotleft} or other formats. Or is there some hidden trick? I am not a tech expert and new to css - maybe I didn't use the correct syntax?

Removing the quotes from the style is the very last option, if nothing else helps.

Thanks,
Ulrike
Post Reply