From f532f3f38f1c430ae273d01acec8d2be2605b219 Mon Sep 17 00:00:00 2001 From: savoury1 <43487468+savoury1@users.noreply.github.com> Date: Wed, 6 Mar 2024 12:35:35 -0800 Subject: DOCS/man/input.rst: fix incorrect syntax Some incorrect syntax is used in DOCS/man/input.rst with https://github.com/mpv-player/mpv/commit/c678033c1d60b48ae02fbbe4815869b9504a17f6 causing failure of PDF manual generation with rst2pdf. There are single rather than double back-ticks for insert-at and insert-at-play so this is fixed and a couple of typos are also corrected with this commit. --- DOCS/man/input.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index f3e222d8c1..aa9f9af35a 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -483,11 +483,11 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_). is currently playing, start playback. (Always starts with the added file, even if the playlist was not empty before running this command.) - The third argument is an insertion index, used only by the `insert-at` and - `insert-at-play` actions. When used with those actions, the new item will be - insert at the position in the playlist, or appended to the end if - is less than 0 or greater than the size of the playlist. This - argument will be ignored for all other actions. + The third argument is an insertion index, used only by the ``insert-at`` and + ``insert-at-play`` actions. When used with those actions, the new item will + be inserted at the index position in the playlist, or appended to the end if + index is less than 0 or greater than the size of the playlist. This argument + will be ignored for all other actions. The fourth argument is a list of options and values which should be set while the file is playing. It is of the form ``opt1=value1,opt2=value2,..``. @@ -524,11 +524,11 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_). new playlist, even if the internal playlist was not empty before running this command.) - The third argument is an insertion index, used only by the `insert-at` and - `insert-at-play` actions. When used with those actions, the new playlist - will be insert at the position in the internal playlist, or appended - to the end if is less than 0 or greater than the size of the - internal playlist. This argument will be ignored for all other actions. + The third argument is an insertion index, used only by the ``insert-at`` and + ``insert-at-play`` actions. When used with those actions, the new playlist + will be inserted at the index position in the internal playlist, or appended + to the end if index is less than 0 or greater than the size of the internal + playlist. This argument will be ignored for all other actions. ``playlist-clear`` Clear the playlist, except the currently played file. -- cgit v1.2.3