diff options
author | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-12-23 14:04:58 +0000 |
---|---|---|
committer | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-12-23 14:04:58 +0000 |
commit | d858fdbad24c7e8c90552ecc1f4e963c378dadf2 (patch) | |
tree | c8fee03a19abe3e2993e39bf4e934519d21282c2 | |
parent | ebc8f976306c6e53dca1671b8f902bbe8164c21b (diff) |
formatting: escape \ldots in lstlisting
\ldots does not work within lstlisting, the result is
\ldots verbatim in the PDF output.
To fix, make $ an escape character, and escape the sequence:
$\ldots$
VIRTIO-115
Cc: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/branches/v1.0@452 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rw-r--r-- | content.tex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content.tex b/content.tex index 66a1ed4..56c9807 100644 --- a/content.tex +++ b/content.tex @@ -4786,10 +4786,12 @@ according to the native endian of the guest rather than The controlq is used for other SCSI transport operations. Requests have the following format: +{ +\lstset{escapechar=\$} \begin{lstlisting} struct virtio_scsi_ctrl { le32 type; -\ldots +$\ldots$ u8 response; }; @@ -4803,6 +4805,7 @@ struct virtio_scsi_ctrl { #define VIRTIO_SCSI_S_FAILURE 9 #define VIRTIO_SCSI_S_INCORRECT_LUN 12 \end{lstlisting} +} The \field{type} identifies the remaining fields. |