| |
---|
| | </template> |
---|
| | |
---|
| | |
---|
| | <!-- |
---|
| | Choose a valid delimiter for a LaTeX inline verbatim macro (e.g., \verb or \lstinline). "Valid" means that the delimiter can't occur in the source text. The function thus scans through a list of possible delimiters and looking for those that don't occur in the source text. It actually finds /all/ valid delimiters for the source text because of the effective parallel execution of for-each on sequences, but it only returns the first one found. If no valid delimiter can be found, the function raises an error and terminates the transformation. |
---|
| | Choose a valid delimiter for a LaTeX inline verbatim macro (e.g., \verb or \lstinline). "Valid" means that the delimiter can't occur in the source text. The function thus scans through a list of possible delimiters and looking for those that don't occur in the source text. |
---|
| | |
---|
| | $source-text: The source text to be wrapped inside a \verb macro. |
---|
| | |
---|
| | Returns: The function actually finds /all/ valid delimiters for the source text because of the effective parallel execution of xsl:for-each on sequences, but it only returns the first one found. If no valid delimiter can be found, the function raises an error and terminates the transformation. |
---|
| | --> |
---|
| | <function name="infosci:choose-delimiter" as="xs:string"> |
---|
| | <common formats="/latex/xelatex/"> |
---|
| | <xsl:param name="source-text" /> |
---|
| |
---|
|