From 0092ae8676648a925ea66cbb5e2930fbb1f64dfc Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 16 Jan 2015 12:17:47 +0100 Subject: manpage: fix osd-ass-cc examples The "\\" escape was rendered as "\" on the website. I'm hoping quoting this in ``...`` will render it correctly. Also add an example for show_text, which awkwardly does not require escaping the "\". --- DOCS/man/input.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 02274716bd..2751c7348f 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1479,13 +1479,16 @@ Property list .. admonition:: Example - --osd-status-msg='This is ${osd-ass-cc/0}{\\b1}bold text' + - ``--osd-status-msg='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. + A list of tags can be found here: http://docs.aegisub.org/latest/ASS_Tags/ + ``vo-configured`` Return whether the VO is configured right now. Usually this corresponds to whether the video window is visible. If the ``--force-window`` option is -- cgit v1.2.3