Configuring punctuation checker for custom quotation marks

Build 1501 on 14/Nov/2017  This topic last edited on: 4/Nov/2014, at 18:01

Various quotation marks can be used to enclose direct quotations. You have to customize the punctuation rules for appropriate quotation marks.

Table of ANSI codes for standard quotation marks

Quotation marks

CHR code

Double top aligned

147,148

Double bottom-top

132,148

Double bottom-top open-open

132,147

Single top aligned

145,146

Single bottom-top

130,146

Single bottom-top open-open

130,145

Guillemet

187,171

Inverted Guillemet

171,187

Defining system-wide custom quotation marks

For some languages different than English, you may need to define system-wide custom quotation marks. To do it, open the EditorialConfig, and locate the <Dict> node.

Within that node, add new lines with:

<Item Name="glbDLQuote" Value="<yourchrcode>" /> 

<Item Name="glbDRQuote" Value="<yourchrcode>" />

where <yourchrcode> is a value from the previous table.

Defining typography-level custom quotation marks

In some multi-language publications, you may need to define typography-level custom quotation marks. To do it, open the EditorialConfig, and locate the <Dict> node.

Within that node, add new lines with:

<Item Name="<typographyid>_glbDLQuote" Value="<yourchrcode>" /> 

<Item Name="<typographyid>_glbDRQuote" Value="<yourchrcode>" />

where <typographyid> is the id of the typography and <yourchrcode> is a value from the previous table

Configure punctuation checker for the custom quotation marks

To achieve it, the following standard entries in GlobalConfig are supposed to look like:

For

C

Code

Note

new paragraph

\n

\o\n\sl

Add the left quotation mark to the new paragraph definition. In this example, the chr 147 is added.

right quotation mark

l

NON ENGLISH

\s\n.,!?:;

 

ENGLISH

\s\n

See the note about character l.

 

For further details, see links on the bottom of this topic.

See also Quotation marks and commas/periods in American English and Quotation marks and commas/periods in other languages.

IMPORTANT: To make these changes available to the GN4 users, after you saved the GLOBALCONFIG.XML file and imported it into the database, or after you modified it in EdAdmin4 and saved, recycle the GN4 application pools on all IIS servers and then make all users log out and log back in.