lyx_mirror/lib/examples/localization_test.lyx
Guillaume Munch 10cbed2abe Examples: remove parbreak and latexpar separators
The difference has been validated with diffpdf.

The following could not be tested and were left unchanged:

docbook_article.lyx
lilypond.lyx
linguistics.lyx
springer/sv*.lyx
de/linguistics.lyx
es/linguistics.lyx
ja/FeynmanDiagrams.lyx
ja/lilypond.lyx
ja/beamer.lyx
ja/xypic.lyx

The following is the script that I used (in lib/examples):

LYX=../../build/src/lyx
$LYX -E pdf2 $1.old.pdf $1
sed -i "s/^\\\\begin_inset Separator parbreak$/\\\\begin_inset Separator plain/" $1
sed -i "/^\\\\begin_inset Separator latexpar$/ { N; d; }" $1
$LYX -e lyx $1
$LYX -E pdf2 $1.pdf $1
diffpdf $1.old.pdf $1.pdf
2016-05-08 22:14:46 +01:00

434 lines
6.3 KiB
Plaintext

#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 508
\begin_document
\begin_header
\save_transient_properties true
\origin /systemlyxdir/examples/
\textclass article
\use_default_options false
\begin_modules
theorems-ams
theorems-ams-extended
linguistics
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "lmodern" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 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 1
\use_package cancel 0
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 0
\use_package mhchem 1
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine basic
\cite_engine_type default
\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 Title
\SpecialChar LyX
localization test
\end_layout
\begin_layout Section
Description
\end_layout
\begin_layout Standard
This document contains large part
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Note that all of them can not be used simulataneously in one file, so few
strings will be missing.
\end_layout
\end_inset
of layout environments and insets which can be translated automatically
by \SpecialChar LyX
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
These are on the top of normal babel translations and could be regarded
as an extension.
\end_layout
\end_inset
in case proper translation is provided in .po file (for a given language)
and layouttranslations file is generated from it.
\end_layout
\begin_layout Standard
First of all change the language of this document to your own
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
You may need to save this document elsewhere, in case the file is readonly.
\end_layout
\end_inset
(or the one to be tested).
Then you can test how much is this language supported in
\end_layout
\begin_layout Itemize
GUI
\end_layout
\begin_deeper
\begin_layout Itemize
simply scroll through the whole document in \SpecialChar LyX
window and check all layouts/insets
inside the sections 2&3 are properly translated.
\end_layout
\begin_layout Itemize
click on the environments box (left top combo box) and scroll through the
listing.
The most important part is the section of mathematical environments.
\end_layout
\end_deeper
\begin_layout Itemize
final document output - scroll through the whole document in output viewer
of ps/pdf file and again check proper translation.
\end_layout
\begin_layout Standard
In case you are interested to improve or fix the support of your language,
please drop an email to \SpecialChar LyX
development list.
\end_layout
\begin_layout Section
Test of environments
\end_layout
\begin_layout Assumption
qasassa
\end_layout
\begin_layout Assumption*
abbbbbb
\end_layout
\begin_layout Acknowledgement
hggg
\end_layout
\begin_layout Acknowledgement*
uuuu
\end_layout
\begin_layout Axiom
jjjj
\end_layout
\begin_layout Axiom*
uuuu
\end_layout
\begin_layout Case
ddd
\end_layout
\begin_layout Claim
kkkk
\end_layout
\begin_layout Claim*
hhhh
\end_layout
\begin_layout Conclusion
ffff
\end_layout
\begin_layout Conclusion*
frrrr
\end_layout
\begin_layout Condition
rrrr
\end_layout
\begin_layout Condition*
hhhh
\end_layout
\begin_layout Conjecture
uiiil
\end_layout
\begin_layout Conjecture*
rrrrrr
\end_layout
\begin_layout Corollary
nnn
\end_layout
\begin_layout Corollary*
oioio
\end_layout
\begin_layout Criterion
hhh
\end_layout
\begin_layout Criterion*
asdas
\end_layout
\begin_layout Definition
asdasd
\end_layout
\begin_layout Definition*
asdad
\end_layout
\begin_layout Example
asdaa
\end_layout
\begin_layout Example*
wewe
\end_layout
\begin_layout Exercise
oiuk
\end_layout
\begin_layout Exercise*
asdae
\end_layout
\begin_layout Fact
grt
\end_layout
\begin_layout Fact*
reeer
\end_layout
\begin_layout Notation
lhasdf
\end_layout
\begin_layout Notation*
asdasd
\end_layout
\begin_layout Note
asdfe
\end_layout
\begin_layout Problem
sadasd
\end_layout
\begin_layout Problem*
asdads
\end_layout
\begin_layout Proof
asassa
\end_layout
\begin_layout Proposition
sdfsdf
\end_layout
\begin_layout Proposition*
erteer
\end_layout
\begin_layout Question
sadas
\end_layout
\begin_layout Question*
asdads
\end_layout
\begin_layout Remark
sdfsdf
\end_layout
\begin_layout Remark*
ghfdhg
\end_layout
\begin_layout Summary*
as
\end_layout
\begin_layout Theorem
asdasd
\end_layout
\begin_layout Theorem*
asdasd
\end_layout
\begin_layout Section
Test of insets and listings
\end_layout
\begin_layout Standard
\begin_inset Float algorithm
placement H
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
hhh
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset FloatList algorithm
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Float tableau
placement H
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
fggf
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset FloatList tableau
\end_inset
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "float,language={C++}"
inline false
status open
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
ccc
\end_layout
\end_inset
while(true);
\end_layout
\end_inset
\begin_inset CommandInset toc
LatexCommand lstlistoflistings
\end_inset
\end_layout
\end_body
\end_document