Recent Changes · Search:

Support the Project

Wikipublisher

PmWiki

edit SideBar

Wikipublisher.TypographicQuotes History

Hide minor edits - Show changes to output

06 September 2010 at 06:59 AM by John Rankin - force nobreak in header
Changed line 4 from:
||! Style ||! Outer quotes ||! Inner quotes ||
to:
||! Style ||! Outer` quotes ||! Inner` quotes ||
06 September 2010 at 06:32 AM by John Rankin - support straight quotes
Changed line 26 from:
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.
to:
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.
06 September 2010 at 04:50 AM by John Rankin - center headings in table
Changed line 4 from:
||!Style ||!Outer quotes ||!Inner quotes ||
to:
||! Style ||! Outer quotes ||! Inner quotes ||
06 September 2010 at 04:34 AM by John Rankin - add table reference
Changed lines 1-2 from:
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.
to:
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. Tab(typographicQuotes) illustrates the supported styles.
Changed line 9 from:
|| FI || ” ... ” || ’ ... ’ ||
to:
|| FI || ” ... ” || ’ ... ’ ||
Added line 19:
Changed line 26 from:
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.
to:
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.
07 September 2009 at 08:46 PM by John Rankin - describe typographic quotes
Added lines 1-26:
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.

||border=1 cellpadding=3 id=typographicQuotes"Options for typographic quotes"
||!Style ||!Outer quotes ||!Inner 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.
Creative Commons License
Edit · History · Print · Recent Changes · Search · Links
Page last modified on 06 September 2010 at 06:59 AM