helpListings package for LaTeX - Support: sr #274, How could I get hyphens when...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

sr #274: How could I get hyphens when language=bash in listings?

Submitted by:  Brooks Moses <brooks>
Submitted on:  Tue Apr 12 19:50:49 2011  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Tue Apr 12 19:50:49 2011, original submission:

Don Pope wrote, on Sun, 20 Feb 2011 10:31:37 +0800 (CST):


Dear Mr. Moses
As I'm using the listings package to print some bash commands, I find that all hyphen in the command turned into minus sign. How could I get hyphens? I hope to receive your help.
The context of my latex file list below:
\lstdefinestyle{cmds}{
basicstyle=\small,
columns=fullflexible,
language=bash,
prebreak=\space,
numbers=left,numberstyle=\tiny,stepnumber=2,numbersep=5pt,
tabsize=2,frame=leftline,
breaklines=true,
breakatwhitespace=true,
extendedchars=false
}
..........................
\begin{lstlisting}[style=cmds]
sudo apt-get install texlive-full latex-beamer latex-cjk-all fontforge
\end{lstlisting}

Brooks Moses <brooks>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by brooks (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray