#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 unavailable
\textclass scrbook
\use_default_options true
\begin_modules
tabs-within-sections
figs-within-sections
eqs-within-sections
\end_modules
\maintain_unincluded_children false
\language british
\language_package default
\inputencoding auto
\fontencoding global
\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
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\float_placement !h
\paperfontsize 11
\spacing single
\use_hyperref true
\pdf_title "Lyx Table Bug Perhaps?"
\pdf_author "Norman Dunbar"
\pdf_subject "Table caption/numbering bug in master documents"
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks true
\pdf_pdfborder true
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\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 false
\use_refstyle 1
\boxbgcolor #ff557f
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 2
\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 Part
Part 1
\end_layout
\begin_layout Chapter
Lyx 2.2.4 Table in a Master Chapter
\end_layout
\begin_layout Standard
\series bold
Problem
\series default
:
\emph on
Tables and figures are numbered incorrectly when used in master-child documents
with the
\series bold
Koma Script Book
\series default
document template.
When previewing them the child documents, the PDF generates correct table/figur
e numbering of the format
\begin_inset Quotes eld
\end_inset
n.n.n: Caption text
\begin_inset Quotes erd
\end_inset
.
However, when the child is included in the master document, the generated
Master and Child PDF incorrectly numbers them as
\begin_inset Quotes eld
\end_inset
n.n.n.: Caption text
\begin_inset Quotes erd
\end_inset
- the third digit has an additional dot character immediately before the
colon.
The problem only appears when the book is separated into parts.
\end_layout
\begin_layout Standard
This chapter is the master document.
\end_layout
\begin_layout Standard
I've tested the problem in chapter, section and sub-sections.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement !h
wide false
sideways false
status open
\begin_layout Plain Layout
\noindent
\align center
\begin_inset Tabular
\begin_inset Text
\begin_layout Plain Layout
Col 1
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 2
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 3
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 4
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
Master Chapter Table
\begin_inset CommandInset label
LatexCommand label
name "tab:Master-Chapter-Table"
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\end_layout
\end_inset
\end_layout
\begin_layout Section
Table in a Master Section
\end_layout
\begin_layout Standard
Table in a
\emph on
section
\emph default
.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement !h
wide false
sideways false
status open
\begin_layout Plain Layout
\noindent
\align center
\begin_inset Tabular
\begin_inset Text
\begin_layout Plain Layout
Col 1
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 2
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 3
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 4
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
Master Section Table
\begin_inset CommandInset label
LatexCommand label
name "tab:Master-Section-Table"
\end_inset
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
Table in a Master Sub-Section
\end_layout
\begin_layout Standard
Table in a
\emph on
sub-section
\emph default
.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement !h
wide false
sideways false
status open
\begin_layout Plain Layout
\noindent
\align center
\begin_inset Tabular
\begin_inset Text
\begin_layout Plain Layout
Col 1
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 2
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 3
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
Col 4
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
x
\end_layout
\end_inset
|
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
|
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Caption Standard
\begin_layout Plain Layout
Master Sub-Section Table
\begin_inset CommandInset label
LatexCommand label
name "tab:Master-Sub-Section-Table-1"
\end_inset
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Part
Part 2
\end_layout
\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "childDocument.lyx"
\end_inset
\end_layout
\end_body
\end_document