Bug 814434

Summary: Missing types for two delimiters as [n] or [s]
Product: [Fedora] Fedora Reporter: Raul Fajardo <rfajardo>
Component: texlive-texmfAssignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: jnovy, pertusus, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-09 07:28:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Processed file with TeX Live 2012 none

Description Raul Fajardo 2012-04-19 20:51:23 UTC
While describing a new language, [n] or [s] delimiter types are not recognized. Below, you find an example which reproduces the issue. 

example.tex:
\documentclass{article}
\usepackage{listings}

\usepackage[usenames]{color}
\usepackage[normalem]{ulem}

\definecolor{gray}{rgb}{0.4,0.4,0.4}
\definecolor{darkblue}{rgb}{0.0,0.0,0.6}
\definecolor{cyan}{rgb}{0.0,0.6,0.6}

\lstset{
  basicstyle=\ttfamily,
  columns=fullflexible,
  showstringspaces=false,
  commentstyle=\color{gray}\upshape
}

\lstdefinelanguage{XML}
{
  morestring=[b]",
  morestring=[s]{>}{<},
  morecomment=[s]{<?}{?>},
  stringstyle=\color{black}\textbf,
  identifierstyle=\color{darkblue},
  keywordstyle=\color{cyan},
  morekeywords={greeting}% list your attributes here
}

\begin{document}

\begin{lstlisting}[language=XML, float,
    basicstyle=\scriptsize,
    frame=lines,
    breaklines=true,
    tabsize=2]
<greeting>Hello</greeting>
\end{lstlisting}

\end{document}

Comment 1 Jindrich Novy 2012-10-07 16:03:43 UTC
Created attachment 623030 [details]
Processed file with TeX Live 2012

Is this the correct output after processing the input file?

Comment 2 Raul Fajardo 2012-10-08 14:02:24 UTC
(In reply to comment #1)
> Created attachment 623030 [details]
> Processed file with TeX Live 2012
> 
> Is this the correct output after processing the input file?

Yes, it is.

Comment 3 Jindrich Novy 2012-10-09 07:28:15 UTC
Thanks. Closing RAWHIDE then.