Previous: Other difference values, Up: Replacements without any argument


G.2.3.2 Highlighting %? special texts

The following highlighting %? special texts are respected:

%1
%1 is replaced by the starting highlighting sequence respectively the starting marking character that is used for highlighting the actual day (see Global option --highlighting=text). This attains, that all succeeding text of the line after this special text is displayed in the same way as the highlighted respectively marked actual day. %1 is used together with the %2 special text, which turns off this enabled highlighting sequence respectively produces the ending marking character. If a %1 text is not succeeded by a %2 text on the line, Gcal automatically inserts such a %2 text at the end of the line.

For example:

          Only %1THIS%2 word is highlighted in this line.
          %1This text is highlighted up to%2 here.
          All from %1here up to the end of the line is highlighted.

%2
%2 is replaced by the ending highlighting sequence respectively the ending marking character that is used for highlighting the actual day. This attains, that a possibly active highlighting according to the actual day is turned off respectively an ending marking character is produced. %2 is used together with the %1 special text. The %2 text has no affect if no preceding %1 text was found on the line.
%3
%3 is replaced by the starting highlighting sequence respectively the starting marking character that is used for highlighting a holiday, (see Global option --highlighting=text). This attains, that all succeeding text of the line after this special text is displayed in the same way as the highlighted respectively marked holiday. %3 is used together with the %4 special text, which turns off this enabled highlighting sequence respectively produces the ending marking character. If a %3 text is not succeeded by a %4 text on the line, Gcal automatically inserts such a %4 text at the end of the line.

For example:

          Only %3THIS%4 word is highlighted in this line.
          %3This text is highlighted up to%4 here.
          All from %3here up to the end of the line is highlighted.

%4
%4 is replaced by the ending highlighting sequence respectively the ending marking character that is used for highlighting a holiday. This attains, that a possibly active highlighting according to a holiday is turned off respectively an ending marking character is produced. %4 is used together with the %3 special text. The %4 text has no affect if no preceding %3 text was found on the line.
%5
%5 is replaced by the starting highlighting sequence respectively the starting marking character that is used for highlighting the actual day if a fixed date is on today's date, (see Global option --highlighting=text). This attains, that all succeeding text of the line after this special text is displayed in the same way as the highlighted respectively marked actual day. %5 is used together with the %6 special text, which turns off this enabled highlighting sequence respectively produces the ending marking character. If a %5 text is not succeeded by a %6 text on the line, Gcal automatically inserts such a %6 text at the end of the line.
%6
%6 is replaced by the ending highlighting sequence respectively the ending marking character that is used for highlighting the actual day if a fixed date is on today's date. This attains, that a possibly active highlighting according to the actual day is turned off respectively an ending marking character is produced. %6 is used together with the %5 special text. The %6 text has no affect if no preceding %5 text was found on the line.
%7
%7 is replaced by the starting highlighting sequence respectively the starting marking character that is used for highlighting a holiday if a fixed date is on a legal holiday date, (see Global option --highlighting=text). This attains, that all succeeding text of the line after this special text is displayed in the same way as the highlighted respectively marked holiday. %7 is used together with the %8 special text, which turns off this enabled highlighting sequence respectively produces the ending marking character. If a %7 text is not succeeded by a %8 text on the line, Gcal automatically inserts such a %8 text at the end of the line.
%8
%8 is replaced by the ending highlighting sequence respectively the ending marking character that is used for highlighting a holiday if a fixed date is on a legal holiday date. This attains, that a possibly active highlighting according to a holiday is turned off respectively an ending marking character is produced. %8 is used together with the %7 special text. The %8 text has no affect if no preceding %7 text was found on the line.
%9
%9 is replaced by the starting highlighting sequence respectively the starting marking character that is used for highlighting the actual day if a fixed date is on today's date; otherwise %9 is replaced by the starting highlighting sequence respectively the starting marking character that is used for highlighting a holiday if a fixed date is on a legal holiday date, (see Global option --highlighting=text). This attains, that all succeeding text of the line after this special text is displayed in the same way as the highlighted respectively marked actual day or holiday. %9 is used together with the %0 special text, which turns off this enabled highlighting sequence respectively produces the ending marking character. If a %9 text is not succeeded by a %0 text on the line, Gcal automatically inserts such a %0 text at the end of the line.
%0
%0 is replaced by the ending highlighting sequence respectively the ending marking character that is used for highlighting the actual day if a fixed date is on today's date; otherwise %0 is replaced by the ending highlighting sequence respectively the ending marking character that is used for highlighting a holiday if a fixed date is on a legal holiday date. This attains, that a possibly active highlighting according to today's date or a holiday is turned off respectively an ending marking character is produced. %0 is used together with the %9 special text. The %0 text has no affect if no preceding %9 text was found on the line.