mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 06:49:43 +00:00
Add test for verbatim environment in tex2lyx tests
This commit is contained in:
parent
be42f1398d
commit
83e2c45d83
@ -34,6 +34,7 @@ TEST_FILES = \
|
||||
test/test-modules.tex \
|
||||
test/test-refstyle-references.tex \
|
||||
test/test-structure.tex \
|
||||
test/verbatim.tex \
|
||||
test/XeTeX-polyglossia.tex \
|
||||
test/xfigtest.fig \
|
||||
test/xfigtest.pstex \
|
||||
@ -49,7 +50,9 @@ TEST_RESULTS = \
|
||||
test/test-insets.lyx.lyx \
|
||||
test/test.lyx.lyx \
|
||||
test/test-modules.lyx.lyx \
|
||||
test/test-refstyle-references.lyx.lyx \
|
||||
test/test-structure.lyx.lyx \
|
||||
test/verbatim..lyx.lyx \
|
||||
test/XeTeX-polyglossia.lyx.lyx
|
||||
|
||||
TESTS = test/runtests.py
|
||||
|
@ -13,7 +13,7 @@ project(test)
|
||||
set(_tex_tests test.ltx test-structure.tex test-insets.tex
|
||||
test-modules.tex box-color-size-space-align.tex
|
||||
CJK.tex CJKutf8.tex XeTeX-polyglossia.tex
|
||||
test-refstyle-references.tex)
|
||||
test-refstyle-references.tex verbatim.tex)
|
||||
|
||||
foreach(_fl ${_tex_tests})
|
||||
set(fl ${_fl})
|
||||
|
85
src/tex2lyx/test/verbatim.lyx.lyx
Normal file
85
src/tex2lyx/test/verbatim.lyx.lyx
Normal file
@ -0,0 +1,85 @@
|
||||
#LyX file created by tex2lyx 2.1.0dev
|
||||
\lyxformat 459
|
||||
\begin_document
|
||||
\begin_header
|
||||
\textclass article
|
||||
\begin_preamble
|
||||
|
||||
|
||||
\end_preamble
|
||||
\use_default_options false
|
||||
\maintain_unincluded_children false
|
||||
\language english
|
||||
\language_package none
|
||||
\inputencoding auto
|
||||
\fontencoding default
|
||||
\font_roman default
|
||||
\font_sans default
|
||||
\font_typewriter default
|
||||
\font_math auto
|
||||
\font_default_family default
|
||||
\use_non_tex_fonts false
|
||||
\font_sc false
|
||||
\font_osf false
|
||||
\font_sf_scale 100
|
||||
\font_tt_scale 100
|
||||
\graphics default
|
||||
\default_output_format default
|
||||
\output_sync 0
|
||||
\bibtex_command default
|
||||
\index_command default
|
||||
\paperfontsize default
|
||||
\spacing single
|
||||
\use_hyperref false
|
||||
\papersize default
|
||||
\use_geometry false
|
||||
\use_package amsmath 1
|
||||
\use_package amssymb 0
|
||||
\use_package esint 1
|
||||
\use_package mathdots 0
|
||||
\use_package mathtools 0
|
||||
\use_package mhchem 0
|
||||
\use_package stackrel 0
|
||||
\use_package stmaryrd 0
|
||||
\use_package undertilde 0
|
||||
\cite_engine basic
|
||||
\cite_engine_type numerical
|
||||
\biblio_style plain
|
||||
\use_bibtopic false
|
||||
\use_indices false
|
||||
\paperorientation portrait
|
||||
\suppress_date false
|
||||
\justification true
|
||||
\use_refstyle 0
|
||||
\index Index
|
||||
\shortcut idx
|
||||
\color #008000
|
||||
\end_index
|
||||
\secnumdepth 3
|
||||
\tocdepth 3
|
||||
\paragraph_separation indent
|
||||
\paragraph_indentation default
|
||||
\quotes_language english
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\html_math_output 0
|
||||
\html_css_as_file 0
|
||||
\html_be_strict false
|
||||
\end_header
|
||||
|
||||
\begin_body
|
||||
|
||||
\begin_layout Verbatim
|
||||
$src set packetSize_ 100000
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_body
|
||||
\end_document
|
5
src/tex2lyx/test/verbatim.tex
Normal file
5
src/tex2lyx/test/verbatim.tex
Normal file
@ -0,0 +1,5 @@
|
||||
\documentclass{article}
|
||||
\begin{document}
|
||||
\begin{verbatim} $src set packetSize_ 100000 \end{verbatim}
|
||||
\end{document}
|
||||
|
Loading…
Reference in New Issue
Block a user