|
I have already created a quotation scheme for myself. It uses ""quote"" syntax, like this: ""Citations are useful for quoting people,"" Gustav said one day.\\ ''"What's the difference from just using italics?"'' John Doe asked.\\ ""No need to remember the double quotes and the italics, and easier \ to pick out the things characters say,"" answered Gustav. This produces: “Citations are useful for quoting people,” Gustav said one day. The Markup I’ve used to make this happen goes like this:
if ($format=='pdf') { Markup('""', 'inline', '/""(.*?)""/',
'<tbook:visual markup="it">"$1"</tbook:visual>'); }
else { Markup('""', 'inline', '/""(.*?)""/', '<cite>"$1"</cite>'); }
finally the CSS goes like this: Now, I use Arial for the rest of the site, so the different font face stands out nicely as being ‘different’ from the rest. To have a look, check out the wiki syntax summary on my my (new) wiki at http://www.parakoos.eu/pmWiki/Site/WikiSyntax The second syntax box contains the text example above so you can see what it looks like. The recipe is also active on this page. Contributor: Gustav Andersson, Wednesday, 31 October 2007 Note that by default under Wikipublisher, two double quote characters produce a double prime (inch) mark: for example 6″. Two single quote characters produce a prime (foot) mark: 6′. |