mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
DocBook: implement SciPoster.
This commit is contained in:
parent
59acb375d1
commit
877806f208
@ -427,8 +427,9 @@ export/mathmacros/testcases_speed_docbook5
|
||||
export/mathmacros/testcases_environments_docbook5
|
||||
export/mathmacros/masterOfSpace_docbook5
|
||||
export/doc/sl/Tutorial_docbook5
|
||||
# - Sidebars can be nested in LyX (mostly with shapepar), but not in DocBook.
|
||||
export/doc(|/de|/es|/fr|/ja)/Additional_docbook5
|
||||
# - Sidebars can be nested in LyX (mostly with shapepar), but not in DocBook. Also, multicol issues (like columns in
|
||||
# columns).
|
||||
export/doc(|/de|/es|/fr|/ja|/ru)/Additional_docbook5
|
||||
# - Many templates are too complex for automatic conversion to work reliably.
|
||||
# The resulting documents should still be easy to fully convert into DocBook.
|
||||
# - AASTeX.
|
||||
@ -529,6 +530,9 @@ export/templates/Articles/American_Psychological_Association_%28APA%29,_v._7_doc
|
||||
# - Empty figure. Dedications: IEEE wants them in the preamble, DocBook outside. How to implement biographies?
|
||||
# They should have their own section...
|
||||
export/templates/Articles/IEEE_Transactions(.*)_docbook5
|
||||
# - Bibliography in the middle of the document (potentially fixable, but complicated, because some documents have
|
||||
# several bibliographies, like books with one bibliography per chapter), subsections.
|
||||
export/export/docbook/SciPoster_docbook5
|
||||
|
||||
Sublabel: docbook poster
|
||||
# Posters cannot be properly exported, the LyX documents are too far from
|
||||
|
@ -22,16 +22,25 @@ InsetLayout Flex:Multiple_Columns
|
||||
Mandatory 1
|
||||
DefaultArg 2
|
||||
PassThru 1
|
||||
DocBookTag IGNORE
|
||||
EndArgument
|
||||
Argument 2
|
||||
LabelString "Preface"
|
||||
Tooltip "An optional preface"
|
||||
DocBookTag para
|
||||
DocBookAttr role='preface'
|
||||
DocBookArgumentBeforeMainTag true
|
||||
EndArgument
|
||||
Argument 3
|
||||
LabelString "Space Before Page Break"
|
||||
Tooltip "Free space that needs to be on the page to start the multiple columns on this page"
|
||||
Requires 2
|
||||
DocBookTag IGNORE
|
||||
EndArgument
|
||||
ResetsFont true
|
||||
ResetsFont true
|
||||
DocBookWrapperTag NONE
|
||||
DocBookTag NONE
|
||||
DocBookNotInPara true
|
||||
DocBookItemTag para
|
||||
End
|
||||
|
||||
|
@ -181,3 +181,11 @@ InsetLayout Flex:Most_Giant_Snippet
|
||||
LabelString "Most Giant"
|
||||
LeftDelim {\VERYHuge{}
|
||||
End
|
||||
|
||||
# InsetLayout Flex:Multiple_Columns
|
||||
# DocBookWrapperTag NONE
|
||||
# DocBookTag NONE
|
||||
# DocBookItemWrapperTag NONE
|
||||
# DocBookItemTag NONE
|
||||
# DocBookNotInPara true
|
||||
# End
|
||||
|
@ -10,18 +10,19 @@
|
||||
Format 85
|
||||
|
||||
InsetLayout Flex:SectionBox
|
||||
LyXType custom
|
||||
LabelString "Section Box"
|
||||
LatexType environment
|
||||
LatexName sectionbox
|
||||
Decoration classic
|
||||
MultiPar true
|
||||
CustomPars true
|
||||
Requires sectionbox
|
||||
LyXType custom
|
||||
LabelString "Section Box"
|
||||
LatexType environment
|
||||
LatexName sectionbox
|
||||
Decoration classic
|
||||
MultiPar true
|
||||
CustomPars true
|
||||
Requires sectionbox
|
||||
Argument 1
|
||||
LabelString "Width"
|
||||
MenuString "Section Box Width|S"
|
||||
Tooltip "Width of the section Box"
|
||||
DocBookTag IGNORE
|
||||
EndArgument
|
||||
Argument 2
|
||||
LabelString "Heading"
|
||||
@ -34,19 +35,24 @@ InsetLayout Flex:SectionBox
|
||||
Size Large
|
||||
Series Bold
|
||||
EndFont
|
||||
DocBookTag title
|
||||
DocBookTagType paragraph
|
||||
DocBookArgumentBeforeMainTag true
|
||||
EndArgument
|
||||
ResetsFont true
|
||||
ResetsFont true
|
||||
DocBookTag section
|
||||
DocBookItemTag para
|
||||
End
|
||||
|
||||
InsetLayout Flex:SubsectionBox
|
||||
CopyStyle Flex:SectionBox
|
||||
LabelString "Subsection Box"
|
||||
LatexName subsectionbox
|
||||
CopyStyle Flex:SectionBox
|
||||
LabelString "Subsection Box"
|
||||
LatexName subsectionbox
|
||||
End
|
||||
|
||||
InsetLayout Flex:SubsubsectionBox
|
||||
CopyStyle Flex:SectionBox
|
||||
LabelString "Subsubsection Box"
|
||||
LatexName subsubsectionbox
|
||||
CopyStyle Flex:SectionBox
|
||||
LabelString "Subsubsection Box"
|
||||
LatexName subsubsectionbox
|
||||
End
|
||||
|
||||
|
@ -673,6 +673,7 @@ void InsetText::docbook(XMLStream & xs, OutputParams const & rp, XHTMLOptions op
|
||||
runparams.docbook_prepended_arguments = std::move(prependedArguments);
|
||||
|
||||
// - Deal with the first item.
|
||||
// TODO: in things like SciPoster, this should also check if the item tag is allowed. Hard to formalise for now...
|
||||
if (writeOuterTag) {
|
||||
if (!il.docbookitemwrappertag().empty() && il.docbookitemwrappertag() != "NONE" && il.docbookitemwrappertag() != "IGNORE")
|
||||
xml::openTag(xs, il.docbookitemwrappertag(), il.docbookitemwrapperattr(), il.docbookitemwrappertagtype());
|
||||
|
Loading…
Reference in New Issue
Block a user