From 013985b872bbb180a589775bda41ac160cea3f4a Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 15 Aug 2021 19:55:15 +0200 Subject: DOCS/input: update osd-ass-cc documentation - Replace the legacy --osd-status-msg with the newer --osd-msg3. - Escape \b in show-text "This is ${osd-ass-cc/0}{\b1}bold text". - Link the Flat command syntax section because it's no longer true that you always need to escape \, since C escape sequences are not interpreted with single and custom quotes. --- DOCS/man/input.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index a13a8e359a..32d82d9dba 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -3057,13 +3057,14 @@ Property list .. admonition:: Example - - ``--osd-status-msg='This is ${osd-ass-cc/0}{\\b1}bold text'`` - - ``show-text "This is ${osd-ass-cc/0}{\b1}bold text"`` + - ``--osd-msg3='This is ${osd-ass-cc/0}{\\b1}bold text'`` + - ``show-text "This is ${osd-ass-cc/0}{\\b1}bold text"`` Any ASS override tags as understood by libass can be used. Note that you need to escape the ``\`` character, because the string is - processed for C escape sequences before passing it to the OSD code. + processed for C escape sequences before passing it to the OSD code. See + `Flat command syntax`_ for details. A list of tags can be found here: http://docs.aegisub.org/latest/ASS_Tags/ -- cgit v1.2.3