Jump to content


Photo

Preposition Cap first letter.


  • Please log in to reply
3 replies to this topic

#1 Joe Cummings

Joe Cummings
  • Members
  • 95 posts
  • Gender:Male
  • Location:Cotopaxi, CO

Posted 22 September 2013 - 02:49 PM

TMG V8.08 Windows 7 Home.

 

Given sentences:

[RF:Child] is first. [RS:Child] is second]

 

Child=Charles

 

Output is:

Charles is first. his is second.

 

Is there any way to get the sentence to read:

Charles is first. His is second.

?



#2 Terry Reigel

Terry Reigel
  • Moderators
  • 4,643 posts
  • Gender:Male
  • Location:Boone, NC

Posted 22 September 2013 - 03:24 PM

Joe,

The only way to do that is:

[RF:Child] is first. His is second

You may be able to restructure the sentence so that the capital isn't needed, which might be a better solution if you don't know in advance the sex of the subject.

TMG doesn't try to figure out that you have started a new sentence (how would it know whether the period is supposed to end a sentence or indicates an abbreviation?) Nor is there any way to indicate that a variable is supposed to output starting with a capital letter.


Terry

See my Tutorials and Articles on using TMG at tmg.reigelridge.com

The Second Edition of my book, A Primer for The Master Genealogist, is still available
. For more information see my website.

#3 Joe Cummings

Joe Cummings
  • Members
  • 95 posts
  • Gender:Male
  • Location:Cotopaxi, CO

Posted 23 September 2013 - 05:36 AM

Thanks Terry. I will have to restructure the sentence as you suggested.



#4 Terry Reigel

Terry Reigel
  • Moderators
  • 4,643 posts
  • Gender:Male
  • Location:Boone, NC

Posted 23 September 2013 - 08:53 AM

You're welcome, Joe. :)
Terry

See my Tutorials and Articles on using TMG at tmg.reigelridge.com

The Second Edition of my book, A Primer for The Master Genealogist, is still available
. For more information see my website.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users