Stack Posted November 5, 2008 Share Posted November 5, 2008 Hi all, I'm setting up a job that requires author names to be small caps. I created a rule which takes care of that, however, one of the letters is accented. Even though the rule changes everything to small caps, what should be "É" is returning "é". I set up the original file in InDesign, and I've verified that the font (Berkeley Bold) does include special characters in both cases. Here's the rule in JS to convert to small caps: Var1="Author"; CaseSelection="smallcaps"; if(CaseSelection == "allcaps") return ToUpper(Field(Var1)); if(CaseSelection == "smallcaps") return "<smallcap>" + Field(Var1) + "</smallcap>"; if(CaseSelection == "propercase") return ToTitleCase(Field(Var1)); if(CaseSelection == "lowercase") return ToLower(Field(Var1)); Is it possible that additional coding can be added to this rule? Thanks! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.