🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #857

CS3: typography and end nested style delimiters

#857
From: andrea_laue
Date: Thu, 26 Feb 2009 22:17
14 lines
1715 bytes
Hello,

I'm trying to trick InDesign into exporting INX files in which all nested style delimiters are marked by an ENS character (a processing instruction in the exported INX). This makes the transform to XML much easier, because you can group adjacent, like-styled text without actually processing that text to find instances of character delimiters.

I've written a JavaScript to process a layout, inserting an ENS character at every instance of any non-ENS delimiter (as defined in the paragraph style). The problem is that this seems to affect the layout in unanticipated ways.

All seems well -- the nested character styles are properly applied, and InDesign seems to be paying attention to the required character delimiters and ignoring the inserted ENS characters. Mostly.

In some cases, the ENS characters affect the typography of a paragraph. They seem to adjust applied kerning. The flow of text adjusts slightly at the insertion of the ENS character.

I'd much appreciate any input on how InDesign handles ENS characters, especially when they aren't called for by the nested style definition.

Thanks,
Andrea
Technical Details
Message-ID: <59b80fb5.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,150cf093325bdac5,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: andrea_laue@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: CS3: typography and end nested style delimiters
Message-ID: <59b80fb5.-1@webcrossing.la2eafNXanI>
Date: Thu, 26 Feb 2009 14:17:38 -0800
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit