Browse Source

Fix user guide PDF generating

Loïc Hoguin 9 years ago
parent
commit
072b2636a6
1 changed files with 8 additions and 4 deletions
  1. 8 4
      doc/src/guide/installation.asciidoc

+ 8 - 4
doc/src/guide/installation.asciidoc

@@ -43,8 +43,9 @@ if you need additional references.
 You can install Erlang/OTP silently using the `/S` switch
 You can install Erlang/OTP silently using the `/S` switch
 on the command line:
 on the command line:
 
 
-[source,batch]
+----
 C:\Users\essen\Downloads> otp_win64_18.0.exe /S
 C:\Users\essen\Downloads> otp_win64_18.0.exe /S
+----
 
 
 ==== Installing MSYS2
 ==== Installing MSYS2
 
 
@@ -66,16 +67,18 @@ and extract it under 'C:\'. Assuming you downloaded the
 archive as 'msys2.tar.xz' and put it in 'C:\', you can
 archive as 'msys2.tar.xz' and put it in 'C:\', you can
 use the following commands to extract it:
 use the following commands to extract it:
 
 
-[source,batch]
+----
 C:\> 7z x msys2.tar.xz
 C:\> 7z x msys2.tar.xz
 C:\> 7z x msys2.tar > NUL
 C:\> 7z x msys2.tar > NUL
+----
 
 
 Then you can run the two commands needed to perform the
 Then you can run the two commands needed to perform the
 post-installation setup:
 post-installation setup:
 
 
-[source,batch]
+----
 C:\> C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy bash pacman pacman-mirrors msys2-runtime"
 C:\> C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy bash pacman pacman-mirrors msys2-runtime"
 C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syu"
 C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syu"
+----
 
 
 ==== Installing the required MSYS2 packages
 ==== Installing the required MSYS2 packages
 
 
@@ -96,8 +99,9 @@ You can also run commands under the MSYS2 environment from
 the Windows command line or batch files. This command will
 the Windows command line or batch files. This command will
 install GNU Make and Git:
 install GNU Make and Git:
 
 
-[source,batch]
+----
 C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S git make"
 C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S git make"
+----
 
 
 You can use similar `bash` commands if you need to run programs
 You can use similar `bash` commands if you need to run programs
 inside the MSYS2 environment from a batch file.
 inside the MSYS2 environment from a batch file.