Use Flex Code inset instead of typewriter custom font style.

Change markup to use semantic markup instead of hard-coded
typewriter for code examples containing --.
Works around false positive warning on changed dashes
leading to lyx2lyx export ctest failures.
This commit is contained in:
Günter Milde 2018-01-12 00:31:31 +01:00
parent d97a3b154b
commit 0fb2edacdc
3 changed files with 102 additions and 22 deletions

View File

@ -1,4 +1,4 @@
#LyX 2.3 created this file. For more info see http://www.lyx.org/
#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
@ -22679,7 +22679,14 @@ status collapsed
\family typewriter
svn update --non-interactive
svn update
\family default
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
--non-interactive
\lang english
\begin_inset Quotes qld
@ -22694,6 +22701,11 @@ svn update --non-interactive
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Subsubsection
@ -23767,8 +23779,18 @@ new project
Para información sobre el uso del programa cliente de Subversion, ejecuta
\family typewriter
svn --help
svn
\family default
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
--help
\end_layout
\end_inset
en línea de comandos de DOS.
\end_layout
@ -24451,14 +24473,26 @@ Información de la versión
soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
del último ingreso.
Todos se obtienen de
\family typewriter
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
git log -n 1 --pretty=format:%H%n%an%n%ai
\family default
\end_layout
\end_inset
.
La información de l versión del árbol se obtiene vía
\family typewriter
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
git describe --abbrev --dirty --long
\family default
\end_layout
\end_inset
.
Véase
\begin_inset CommandInset ref

View File

@ -1,4 +1,4 @@
#LyX 2.3 created this file. For more info see http://www.lyx.org/
#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
@ -23105,7 +23105,12 @@ Ditto.
\end_inset
\family typewriter
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
svn update --non-interactive
\begin_inset Quotes qld
\end_inset
@ -23115,6 +23120,11 @@ svn update --non-interactive
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Subsubsection
@ -24268,10 +24278,18 @@ new project
\family default
.
For information on using the Subversion client program, run
\family typewriter
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
svn --help
\family default
in a DOS shell.
\end_layout
\end_inset
in a DOS shell.
\end_layout
\begin_layout Enumerate
@ -25059,14 +25077,30 @@ Version Info
supports GIT hash number of the last commit to the file, author name, date
and time of last commit.
All those are extracted from
\family typewriter
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
git log -n 1 --pretty=format:%H%n%an%n%ai
\family default
\end_layout
\end_inset
.
Tree version information is obtained via
\family typewriter
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
git describe --abbrev --dirty --long
\family default
\end_layout
\end_inset
.
See
\begin_inset CommandInset ref

View File

@ -1,4 +1,4 @@
#LyX 2.3 created this file. For more info see http://www.lyx.org/
#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
@ -21301,13 +21301,25 @@ git log
\begin_layout Standard
\SpecialChar LyX
ファイルの最終コミットのGITハッシュ番号・著者名・最終コミットの日時をサポートしますこれらの情報はすべて
\family typewriter
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
git log -n 1 --pretty=format:%H%n%an%n%ai
\family default
\end_layout
\end_inset
によって抽出されます.ツリーバージョン情報は,
\family typewriter
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
git describe --abbrev --dirty --long
\family default
\end_layout
\end_inset
で取得されます.詳細については,第
\begin_inset CommandInset ref
LatexCommand ref