Recent Changes
Recent Changes · Search:
 

Wikipublisher supports various styles of typographic quotes — that is, interpretation of the double (outer) and single (inner) straight quotation marks " and '. The variable $SmartQuoteStyle controls how outer and inner quotation marks will be interpreted. The default value is “GB” and produces the British style. Options for typographic quotes illustrates the supported styles.

StyleOuter quotesInner quotes
CH« … »‹ … ›
DE„ … “‚ … ‘
DK» … «› … ‹
ES« … »“ … ”
FI” … ”’ … ’
FR«  …  »“ … ”
GB“ … ”‘ … ’
NL„ … ”‚ … ’
PL„ … ”« … »
SE» … »‘ … ’

For example, to select the Danish style, add the following to local/config.php:


    $SmartQuoteStyle = 'DK';

If the text contains adjacent outer and inner quote marks, Wikipublisher inserts a thin space between them (except when the style is FR, which requires a space between outer quote marks — guillemets — and the quoted text). For example: “You say, ‘tom-eh-toe!’ and I say, ‘tom-ah-toe!’ ”

Quotes are smartened automatically into the correct opening or closing values. If necessary, authors can force a right curly quote with a backtick-quote (`'): rock ’n’ roll. The backtick-quote will always produce a right single quote mark, regardless of the smart quote style setting.

Page last modified on 06 September 2010 at 06:59 AM