From c9b2540d9d69c3cffd92d4881c6b6a4aaff53561 Mon Sep 17 00:00:00 2001 From: jbarlow83 Date: Tue, 5 Jul 2016 13:48:19 -0700 Subject: [PATCH] Fix some .rst formatting errors --- README.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index ee31263e..7106017d 100644 --- a/README.rst +++ b/README.rst @@ -54,6 +54,8 @@ Debian and Ubuntu Users of Debian 9 or later or Ubuntu 16.10 or later may simply ``apt-get install ocrmypdf``. +.. _Docker: + Installing the Docker image ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -187,14 +189,16 @@ Ubuntu 14.04 only installs ``unpaper`` version 0.4.2, which is not supported by Installing on Windows ~~~~~~~~~~~~~~~~~~~~~ -Direct installation on Windows is not possible. Install the Docker container as described above. Ensure that your command prompt can run the docker "hello world" container. +Direct installation on Windows is not possible. Install the _`Docker` container as described above. Ensure that your command prompt can run the docker "hello world" container. + +Running on Windows +~~~~~~~~~~~~~~~~~~ The command line syntax to run ocrmypdf from a command prompt will resemble:: docker run -v /c/Users/sampleuser:/home/docker ocrmypdf --skip-text test.pdf output.pdf -where /c/Users/sampleuser is a Unix representation of the Windows path C:\Users\sampleuser, assuming a user named "sampleuser" is running ocrmypdf on a file in their home directory, and the files "test.pdf" and "output.pdf" are in the sampleuser folder. The Windows user must have read and write permissions. - +where /c/Users/sampleuser is a Unix representation of the Windows path C:\\Users\\sampleuser, assuming a user named "sampleuser" is running ocrmypdf on a file in their home directory, and the files "test.pdf" and "output.pdf" are in the sampleuser folder. The Windows user must have read and write permissions. Installing HEAD revision from sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -251,7 +255,7 @@ languages can be requested. Support ------- -Once ocrmypdf is installed, the built-in help which explains the command syntax and options can be accessed via +Once ocrmypdf is installed, the built-in help which explains the command syntax and options can be accessed via:: ocrmypdf --help