Jump to content
Sign in to follow this  
Joe Cummings

Capitalize first letter of pronoun

Recommended Posts

I cannot seem to get the [sPP] to capitalize the first letter of His or Her pronoun. What is wrong? [RF: Child] is in the Principle field and [RF:Mother] in the Witness field.

 

 

[:CR:][:CR:][RF:Child] was born <[DD]> <[L]>. <[sPP] mother's name was [RF:Mother]><, whose age on the birth date was [RE:Mother]>. <[M]>.

 

Richard was born on Thu. 30 Jul 1885 at New York, USA. his mother's name was Anna, whose age on the birth date was 21 years.

 

Thanks,

Joe

Share this post


Link to post
Share on other sites

Joe,

 

Nothing's wrong. No variable recognize periods in the middle of the Sentence Structure as being the end of one grammatical sentence - it could just as well indicate an abbreviation.

 

You must insert capitalization in mid-Sentence Structure manually:

[:CR:][:CR:][RF:Child] was born . . .

 

Then add a Female Sentence:

[:CR:][:CR:][RF:Child] was born . . .

 

Or, reword the Sentence to the output of the variable doesn't need to be capitalized, although I don't see an easy way to do that in this case.

Share this post


Link to post
Share on other sites

First, you have an additional issue with your sentence template by having two variables within a single set of conditional brackets: [sPP] and [RF:Mother]. The TMG HELP explicitly states that “Conditional brackets and variables cannot be nested” and implies that only one variable may be included within a single set of conditional brackets. However it can be shown as an undocumented feature that if multiple variables are included within a single set of conditional brackets, the text within the brackets will be output but only if all variables within those brackets have value.

 

So while your sentence template violates TMG's specified rules, it can work.

 

Second, as Terry notes you must explicitly deal with capitalization for multiple sentences within a single sentence template. To explicitly specific an initial capital, use TMG's "First Letter Capitalize" formatting codes. Try:

 

 

Again, while this sentence template still violates TMG's rules about nested variables, it will work since [sPP] will "always" have value in this Subject's sentence. Thus whether [RF:Mother] has value will control the presence of the clause.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×