Bug 814434 - Missing types for two delimiters as [n] or [s]
Summary: Missing types for two delimiters as [n] or [s]
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive-texmf
Version: 16
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-19 20:51 UTC by Raul Fajardo
Modified: 2013-07-02 23:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-09 07:28:15 UTC
Type: Bug


Attachments (Terms of Use)
Processed file with TeX Live 2012 (37.73 KB, application/pdf)
2012-10-07 16:03 UTC, Jindrich Novy
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.