// description des commandes par Adobe //NewFindChangeList.txt //Data file for use with the TextCleanup.jsx script for InDesign CS2. // //The format of each record in the file is: //findPropertieschangePropertiesrangedescription // //Where: // is a tab character // //findProperties is a properties record (as text) // //changeProperties is a properties record (as text) // //range is either "all" or "once" (Use "all" with caution, as it is very easy to end up in an infinite loop. //Never use "all" when finding/changing formatting.) // //description is a description of the find/change operation // //Very simple example: //{findText:" "} {changeText:" "} Find all double spaces and replace with single spaces. // //More complex example: //{findText:"^9^9.^9^9"} {applied character style:"price"} Find $10.00 to $99.99 and apply the character style "price". // //All InDesign search metacharacters are allowed in the findText properties; all but the wildcards are allowed in the changeText properties. // //More examples: //Red text changes. //{findText:"", strikeThru:true, fillColor:"Red"} {changeText:"", strikeThru:true, position:superscript, fillColor:"Black",} once Red strike. //{findText:"", underline:true, fillColor:app.activeDocument.colors.item("Red")} {changeText:"", underline:true, position:superscript, fillColor:"Black",} once Red underline. //{findText:"", fillColor:color "Red" or active document} {changeText:"", position:superscript, fillColor:"Black",} once Red text. //Blue text changes. //{findText:"", strikeThru:true, fillColor:color "Blue" of active document} {changeText:"", strikeThru:true, position:subscript, fillColor:"Black",} once Blue strike. //{findText:"", underline:true, fillColor:color "Blue" of active document} {changeText:"", underline:true, position:subscript, fillColor:"Black",} once Blue underline. //{findText:"", fillColor:color "Blue" of active document} {changeText:"", position:subscript, fillColor:"Black",} once Blue text. // // changements pour typo franaise par Cobab // gestion des blancs {findText:" "} {changeText:" "} all Remplace toutes les doubles espaces par une seule. {findText:"^t^t"} {changeText:"^t"} all Remplace toutes les doubles tabulations par une seule. {findText:"^p^w"} {changeText:"^p"} all Remplace toutes les fins de paragraphe suivis d'une espaces par un return seul. {findText:"^w^p"} {changeText:"^p"} all Remplace toutes les espaces suivis d'une fin de paragraphe par un return seul. // gestion des tirets (ici tirets courts demi-cadratin ; remplacer ^= par ^_ pour avoir les tirets longs cadratins l'ancienne) {findText:" - "} {changeText:" ^= "} once Remplace les espace - dive - espace par un tiret court blanchi. {findText:"^s- "} {changeText:" ^= "} once Remplace les inscable - dive - espace par un tiret court blanchi. {findText:" -^s"} {changeText:" ^= "} once Remplace les espace - dive - inscable par un tiret court blanchi. {findText:"^s-^s"} {changeText:" ^= "} once Remplace les inscable - dive - inscable par un tiret court blanchi. {findText:"^s^= "} {changeText:" ^= "} once Remplace les inscable - tiret court - espace par un tiret court blanchi. {findText:" ^=^s"} {changeText:" ^= "} once Remplace les espaces - tiret court - inscable par un tiret court blanchi. {findText:"^s^=^s"} {changeText:" ^= "} once Remplace les inscable - tiret court - inscable par un tiret court blanchi. {findText:"--"} {changeText:"^_"} once Remplace les doubles dives par un tiret long. // points de suspension (il est ncessaire de les traiter avant les autres signes de ponctuation) {findText:"..."} {changeText:""} all vrais points de suce. {findText:"^w"} {changeText:""} all suppr. espace avant suce. {findText:"^w"} {changeText:""} all suppr. espace aprs suce. {findText:""} {changeText:" "} once rtablit espace aprs suce. // autres signes de ponctuation {findText:"^w."} {changeText:"."} all supp. espace avant le point. {findText:"^w"} {changeText:""} all supp. espaces aprs . {findText:"^w"} {changeText:""} all supp. espaces avant . {findText:"^w"} {changeText:""} all supp. espaces aprs . {findText:""} {changeText:"^<"} once rtablit la fine aprs . {findText:"^w"} {changeText:""} all supp. espaces avant . {findText:""} {changeText:"^<"} once rtablit la fine avant . {findText:"^w!"} {changeText:"!"} all supp. espaces avant !. {findText:"!"} {changeText:"^