Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some programming languages ​​are not passed through to LaTeX/listings #3374

Closed
Wandmalfarbe opened this issue Jan 24, 2017 · 0 comments
Closed

Comments

@Wandmalfarbe
Copy link
Contributor

When I write a fenced codeblock (markdown) with SPARQL code inside I expect generated latex code with SPARQL as a language for the listing. Pandoc produces LaTeX code without any language definition.

Source markdown document:

```sparql
select ?name
where {
	?volcano a dbo:Volcano.
	?volcano dbp:name ?name.
}
order by asc (?name)
limit (10)
```

Expected result:

\begin{lstlisting}[language=sparql]
select ?name
where {
	?volcano a dbo:Volcano.
	?volcano dbp:name ?name.
}
order by asc (?name)
limit (10)
\end{lstlisting}

Observed result:

\begin{lstlisting}
select ?name
where {
	?volcano a dbo:Volcano.
	?volcano dbp:name ?name.
}
order by asc (?name)
limit (10)
\end{lstlisting}

Maybe the language list from Pandoc is out of date? The list of supported languages for listings is in the listings documentation on page 13.

@jgm jgm closed this as completed in a5d855d Jan 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant