mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-01 05:25:55 +00:00
384 lines
6.0 KiB
Plaintext
384 lines
6.0 KiB
Plaintext
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||
|
\lyxformat 573
|
||
|
\begin_document
|
||
|
\begin_header
|
||
|
\save_transient_properties true
|
||
|
\origin unavailable
|
||
|
\textclass article
|
||
|
\use_default_options true
|
||
|
\maintain_unincluded_children false
|
||
|
\language greek
|
||
|
\language_package default
|
||
|
\inputencoding auto-legacy
|
||
|
\fontencoding auto
|
||
|
\font_roman "default" "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
|
||
|
\use_microtype false
|
||
|
\use_dash_ligatures true
|
||
|
\graphics default
|
||
|
\default_output_format pdf2
|
||
|
\output_sync 0
|
||
|
\bibtex_command default
|
||
|
\index_command default
|
||
|
\float_placement class
|
||
|
\float_alignment class
|
||
|
\paperfontsize default
|
||
|
\spacing single
|
||
|
\use_hyperref false
|
||
|
\papersize default
|
||
|
\use_geometry false
|
||
|
\use_package amsmath 1
|
||
|
\use_package amssymb 1
|
||
|
\use_package cancel 1
|
||
|
\use_package esint 1
|
||
|
\use_package mathdots 1
|
||
|
\use_package mathtools 1
|
||
|
\use_package mhchem 1
|
||
|
\use_package stackrel 1
|
||
|
\use_package stmaryrd 1
|
||
|
\use_package undertilde 1
|
||
|
\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 1
|
||
|
\use_minted 0
|
||
|
\index Index
|
||
|
\shortcut idx
|
||
|
\color #008000
|
||
|
\end_index
|
||
|
\secnumdepth 3
|
||
|
\tocdepth 3
|
||
|
\paragraph_separation indent
|
||
|
\paragraph_indentation default
|
||
|
\is_math_indent 0
|
||
|
\math_numbering_side default
|
||
|
\quotes_style french
|
||
|
\dynamic_quotes 0
|
||
|
\papercolumns 1
|
||
|
\papersides 1
|
||
|
\paperpagestyle default
|
||
|
\tablestyle 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 Subsection*
|
||
|
|
||
|
\lang english
|
||
|
languages in tables and insets
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Standard
|
||
|
|
||
|
\lang english
|
||
|
This Greek document with English text parts demonstrates some of the problems
|
||
|
with language inside tables and insets.
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Standard
|
||
|
|
||
|
\lang english
|
||
|
Text not marked up as English will be written in Greek letters
|
||
|
\begin_inset Foot
|
||
|
status collapsed
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\lang english
|
||
|
unless non-TeX fonts are used
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
using the
|
||
|
\begin_inset Quotes fld
|
||
|
\end_inset
|
||
|
|
||
|
LGR transliteration
|
||
|
\begin_inset Quotes frd
|
||
|
\end_inset
|
||
|
|
||
|
(due to Greek letters at the place of Latin ones in the used TeX font),
|
||
|
eg.
|
||
|
|
||
|
\lang greek
|
||
|
|
||
|
\begin_inset Quotes fld
|
||
|
\end_inset
|
||
|
|
||
|
logos
|
||
|
\lang english
|
||
|
|
||
|
\begin_inset Quotes frd
|
||
|
\end_inset
|
||
|
|
||
|
.
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Standard
|
||
|
|
||
|
\lang english
|
||
|
However, this also happens for text in a table inside English parts
|
||
|
\begin_inset Tabular
|
||
|
<lyxtabular version="3" rows="1" columns="2">
|
||
|
<features tabularvalignment="middle">
|
||
|
<column alignment="center" valignment="top">
|
||
|
<column alignment="center" valignment="top">
|
||
|
<row>
|
||
|
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
|
||
|
\begin_inset Text
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
left
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
</cell>
|
||
|
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
|
||
|
\begin_inset Text
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
right column
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
</cell>
|
||
|
</row>
|
||
|
</lyxtabular>
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Standard
|
||
|
|
||
|
\lang english
|
||
|
unless the Language of the content is explicitely set to English
|
||
|
\begin_inset Tabular
|
||
|
<lyxtabular version="3" rows="1" columns="2">
|
||
|
<features tabularvalignment="middle">
|
||
|
<column alignment="center" valignment="top">
|
||
|
<column alignment="center" valignment="top">
|
||
|
<row>
|
||
|
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
|
||
|
\begin_inset Text
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\lang english
|
||
|
left
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
</cell>
|
||
|
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
|
||
|
\begin_inset Text
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\lang english
|
||
|
right column
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
</cell>
|
||
|
</row>
|
||
|
</lyxtabular>
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
.
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Standard
|
||
|
|
||
|
\lang english
|
||
|
The same problem is seen with footnote
|
||
|
\begin_inset Foot
|
||
|
status open
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
English text not marked up.
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
insets
|
||
|
\begin_inset Foot
|
||
|
status open
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\lang english
|
||
|
marked up English text
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
and marginal notes
|
||
|
\begin_inset Marginal
|
||
|
status open
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
English text not marked up
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
as well as
|
||
|
\begin_inset Note Greyedout
|
||
|
status open
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
greyed out text
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
.
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Standard
|
||
|
|
||
|
\lang english
|
||
|
Date inset and filename inset use current language.
|
||
|
English:
|
||
|
\begin_inset Info
|
||
|
type "date"
|
||
|
arg "loclong"
|
||
|
\end_inset
|
||
|
|
||
|
, Greek:
|
||
|
\lang greek
|
||
|
|
||
|
\begin_inset Info
|
||
|
type "date"
|
||
|
arg "loclong"
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\lang english
|
||
|
.
|
||
|
The source file is
|
||
|
\begin_inset Quotes fld
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\begin_inset Info
|
||
|
type "buffer"
|
||
|
arg "name"
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\begin_inset Quotes frd
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\lang greek
|
||
|
|
||
|
\begin_inset Foot
|
||
|
status collapsed
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\lang english
|
||
|
In Greek text it would be output as
|
||
|
\lang greek
|
||
|
|
||
|
\begin_inset Quotes fld
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\begin_inset Info
|
||
|
type "buffer"
|
||
|
arg "name"
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\begin_inset Quotes frd
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\lang english
|
||
|
, like any Latin words and abbreviations it must be set to a different language
|
||
|
to appear right.
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\lang english
|
||
|
.
|
||
|
So does a hyperlink to the
|
||
|
\begin_inset CommandInset href
|
||
|
LatexCommand href
|
||
|
name "LyX home"
|
||
|
target "http://www.lyx.org"
|
||
|
literal "false"
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
site.
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Standard
|
||
|
|
||
|
\lang english
|
||
|
\begin_inset Float table
|
||
|
placement b
|
||
|
alignment document
|
||
|
wide false
|
||
|
sideways false
|
||
|
status open
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\lang english
|
||
|
\begin_inset Caption Standard
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\lang english
|
||
|
Table float with Greek caption prefix in the GUI but English in the output.
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\end_layout
|
||
|
|
||
|
\begin_layout Plain Layout
|
||
|
|
||
|
\end_layout
|
||
|
|
||
|
\end_inset
|
||
|
|
||
|
|
||
|
\end_layout
|
||
|
|
||
|
\end_body
|
||
|
\end_document
|