diff --git a/doc/tex/app-sms.tex b/doc/tex/app-sms.tex
index ec65a66f950db3c5175fb93b3a466d0e78823c4f..d40d57aa13e385c83df8c7438d7420358ad54b34 100644
--- a/doc/tex/app-sms.tex
+++ b/doc/tex/app-sms.tex
@@ -151,7 +151,7 @@ exten = _X./_80058752[0-8]0,1,Goto(smsmtrx,${EXTEN}-${CALLERID(num):8:1},1)
 \end{astlisting}
 
    Alternatively, if you have the correct national prefix on incoming
-   CLI, e.g. using dahdi_hfc, you might use:
+   CLI, e.g. using dahdi\_hfc, you might use:
 \begin{astlisting}
 \begin{verbatim}
 exten = _X./08005875290,1,Goto(smsmtrx,${EXTEN},1)
diff --git a/doc/tex/queuelog.tex b/doc/tex/queuelog.tex
index 4200e55d88f49adadefa0a85dfbb3c2ce679fefa..312ef7c5eb65c4aa29ea3ae799c9bedbf2c429d7 100644
--- a/doc/tex/queuelog.tex
+++ b/doc/tex/queuelog.tex
@@ -106,7 +106,7 @@ member!
 A call was answered by an agent, but the call was dropped because the
 channels were not compatible.
 
-\textbf{TRANSFER(extension$|$context$|$holdtime$|$calltime$|$origposition$)}
+\textbf{TRANSFER(extension$|$context$|$holdtime$|$calltime$|$origposition)}
 
 Caller was transferred to a different extension.  Context and extension
 are recorded. The caller's hold time and the length of the call are both