Skip to main content
Known Participant
April 7, 2021
Question

how can i uppercase first letter in a variable that uses current month?

  • April 7, 2021
  • 3 replies
  • 1032 views

how can i uppercase first letter in a variable that uses current month?
where is this info dragged from?

    This topic has been closed for replies.

    3 replies

    LinSims
    Community Expert
    Community Expert
    April 9, 2021

    I wonder if the issue is with the dictionaries. I just tested most of the languages available, and I can't see a pattern to why sometimes it's initial-capped and sometimes it isn't. (German is, French and Italian aren't, Finnish isn't but Polish is ... it's a mess!)

    Community Expert
    April 12, 2021

    I did not check all languages. In some languages months are generally spelled upper case. E.g. German, English. Lower case: Italian, French, Spanish. At least that's what my dictionaries say. And this is the same in this date variable.

    Therefore the spelling in this variable is perfectly correct.

    The problem is, when the date variable starts with the month and this variable starts a sentence or paragraph.

    Then the spelling will not be correct in some languages.

    Why does this upper case icon which Bob mentioned does not work?

    Bob_Niland
    Community Expert
    Community Expert
    April 12, 2021

    Winfried Reng: Why does this upper case icon which Bob mentioned does not work?

    Icon?
    The casing options are radio-button menu items with pull-down lists, under the Language election in the Character and Paragraph:Font dialogs. You pick one of three case forcings (none Initial Caps), and then turn it on or off.

    Community Expert
    April 7, 2021

    The month name and also the upper/lower case spelling is derived from the paragraph language.

    I think that you cannot control yourself, whether the month starts with an upper or lower case character.

     

    Bob_Niland
    Community Expert
    Community Expert
    April 7, 2021

    The display of these variable building blocks (at least in English) can be controlled by the caps options in Character and/or Paragraph format, but the options are limited to:
    Small Caps
    Lowercase
    Uppercase

    LinSims
    Community Expert
    Community Expert
    April 7, 2021

    Are you asking how to change the name of the variable, or are you asking how to ensure that the name of the month brought in by the variable is initial capped?

     

    FrameMaker has a number of predefined system variables for inserting dates and times, including Creation  Date and Modification Date. You can modify which building blocks are used in each of the system variables but cannot rename the variables themselves. The building blocks pulls their values from the computer's clock/calendar, and the names are brought in correctly capitalized.

     

    The building blocks for time and date are not usable in user created variables.