I am working in InDesign on a PC.. I need to update files that were previously created on a mac. The previous editor used Helvetica Fractions as her type face of choice when formatting fractions, though PC does not have this font available. I know that 1=z, 2=x, 3=c, etc. when converting to Arial and each numerator appears as a capital letter and each denominator appears as lowercase, also all forward slashes are converted to backslashes. Currently I use the GREP expressions:
To change the letters to numbers:
Find: [Z|z] Find Format: Helvetica fractions Change to: 1. (at this point i don’t change the format to Arial, that comes later for me)
To change the formatting and slashes:
Find: (\d+)\(\d+) Find Format: Helvetica fractions Change to: $1/$2 Change Format to: Arial regular.
I run this GREP for each individual fraction and while it has each fraction highlighted i run a script to format the selected fraction with the numerator being superscript and denominator being subscript.
What I want to know is this…
Is there a way to combine all of the GREP expressions into one and have something that will find Z\v , B\. , and X\c to make them 1/4, 5/9, and 2,3 respectively. or will I need to have a different expression for each section as I have been doing?