Compare commits

..

No commits in common. "6bfa5f2e380e7513257a5373e537f9f3e461f439" and "e6c49c127f8e39cebb970232676d1532ba490c29" have entirely different histories.

4 changed files with 118 additions and 174 deletions

View File

@ -635,7 +635,7 @@ def checkLatex(dtl_tools):
''' Check latex, return lyx_check_config '''
path, LATEX = checkProg('a Latex2e program', ['latex $$i', 'latex2e $$i'])
#-----------------------------------------------------------------
path, PLATEX = checkProg('pLaTeX, the Japanese LaTeX', ['uplatex $$i', 'platex $$i'])
path, PLATEX = checkProg('pLaTeX, the Japanese LaTeX', ['platex $$i'])
if PLATEX:
# check if PLATEX is pLaTeX2e
writeToFile('chklatex.ltx', r'\nonstopmode\makeatletter\@@end')

View File

@ -539,7 +539,6 @@ LaTeXプリアンブル
\end_layout
\begin_layout JLReq Setup
sidenote_type=symbol
\end_layout
@ -2341,22 +2340,7 @@ appendix_
\end_inset
に変えることによって,
本文部分/後付け/付録に関する設定に変えることができます(これらは
\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
\begin_inset Info
type "l7n"
arg "Japanese Book (JLReq Class)"
\end_inset
\end_layout
\end_inset
でのみ使用することができます).
本文部分/後付け/付録に関する設定に変えることができます.
\end_layout
\begin_layout Itemize

View File

@ -20,43 +20,3 @@ Input jlreq-common.inc
ClassOptions
Other book
End
Style Front_Matter
Category Structure
LatexType Command
LatexName frontmatter
KeepEmpty 1
ResetArgs 1
Margin First_Dynamic
NextNoIndent 1
ParSkip 0
TopSep 2.5
BottomSep 0.5
ParSep 0
Align Center
LabelType Static
LabelBottomSep 0
LeftMargin M
LabelString "--- Front Matter ---"
Font
Family Sans
Series Bold
Size Largest
Color textlabel1
EndFont
End
Style Main_Matter
CopyStyle Front_Matter
Category Structure
LatexName mainmatter
LabelString "--- Main Matter ---"
End
Style Back_Matter
CopyStyle Front_Matter
Category Structure
LatexName backmatter
LabelString "--- Back Matter ---"
End

View File

@ -1,104 +1,104 @@
# Japanese jlreq textclass definition file.
# Author : Koji Yokota (yokota@lyx.org)
# Author : Koji Yokota (yokota6@gmail.com)
#
# This class internally loads following packages:
# Any time: l3keys2e, lmodern
# With non-LuaLaTeX: everyhook
# With LuaLaTeX: luatexja, luatexja-adjust
# Any time: l3keys2e, lmodern
# With non-LuaLaTeX: everyhook
# With LuaLaTeX: luatexja, luatexja-adjust
Format 107
Style Part
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the part"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the part"
InsertCotext 1
EndArgument
End
Style Part*
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the part"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the part"
InsertCotext 1
EndArgument
End
Style Chapter
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the chapter"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the chapter"
InsertCotext 1
EndArgument
TocLevel 0
End
Style Chapter*
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the chapter"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the chapter"
InsertCotext 1
EndArgument
End
Style Section
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the section"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the section"
InsertCotext 1
EndArgument
TocLevel 1
End
Style Section*
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the section"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the section"
InsertCotext 1
EndArgument
End
Style Subsection
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the subsection"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the subsection"
InsertCotext 1
EndArgument
TocLevel 2
End
Style Subsection*
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the subsection"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the subsection"
InsertCotext 1
EndArgument
End
Style Subsubsection
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the subsubsection"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the subsubsection"
InsertCotext 1
EndArgument
TocLevel 3
End
Style Subsubsection*
Argument post:1
LabelString "Subtitle|u"
Tooltip "Subtitle of the subsubsection"
InsertCotext 1
LabelString "Subtitle|u"
Tooltip "Subtitle of the subsubsection"
InsertCotext 1
EndArgument
End
Style Abstract_over_Columns
CopyStyle Abstract
InTitle 1
LabelString "Abstract"
Category FrontMatter
LatexType Command
LatexName jlreqabstract
CopyStyle Abstract
InTitle 1
LabelString "Abstract"
Category FrontMatter
LatexType Command
LatexName jlreqabstract
Preamble
\newcommand{\jlreqabstract}[1]{%
\begin{abstract}%
@ -109,39 +109,39 @@ Style Abstract_over_Columns
End
Style JLReq_Setup
InPreamble 1
LatexType Command
LatexName jlreqsetup
Category FrontMatter
LabelType Static
LabelString "JLReq Setup"
LabelSep "M"
LeftMargin "MMMMMMM"
InPreamble 1
LatexType Command
LatexName jlreqsetup
Category FrontMatter
LabelType Static
LabelString "JLReq Setup"
LabelSep "M"
LeftMargin "MMMMMMM"
Font
Family Typewriter
Size Small
Family Typewriter
Size Small
EndFont
LabelFont
Color eolmarker
Family Sans
Color eolmarker
Family Sans
EndFont
ParagraphGroup 1
PassThru 1
HTMLTag !--
ParagraphGroup 1
PassThru 1
HTMLTag !--
End
InsetLayout Flex:Endnote
LyxType custom
LatexType Command
LatexName endnote
Counter footnote
Decoration Classic
LabelString "Endnote"
ForcePlain 1
BgColor background
LyxType custom
LatexType Command
LatexName endnote
Counter footnote
Decoration Classic
LabelString "Endnote"
ForcePlain 1
BgColor background
ResetsFont true
HTMLLabel \arabic{footnote}
HTMLInnerTag div
HTMLLabel \arabic{footnote}
HTMLInnerTag div
HTMLStyle
span.flex_endnote_label {
vertical-align: super;
@ -165,18 +165,18 @@ InsetLayout Flex:Endnote
padding: 1em;
}
EndHTMLStyle
AddToToc footnote
IsTocCaption true
DocBookTag footnote
DocBookTagType inline
AddToToc footnote
IsTocCaption true
DocBookTag footnote
DocBookTagType inline
End
InsetLayout Flex:Sidenote
CopyStyle Flex:Endnote
LatexName sidenote
LabelString "Sidenote"
HTMLLabel \arabic{footnote}
HTMLInnerTag div
CopyStyle Flex:Endnote
LatexName sidenote
LabelString "Sidenote"
HTMLLabel \arabic{footnote}
HTMLInnerTag div
HTMLStyle
span.flex_sidenote_label {
vertical-align: super;
@ -201,21 +201,21 @@ InsetLayout Flex:Sidenote
}
EndHTMLStyle
Argument post:1
LabelString "Note"
MenuString "Endnote contents"
Tooltip "Contents of the sidenote. Only makes sense when \jlreqsetup{sidenote_type=symbol} is specified in the preamble."
Mandatory 0
LeftDelim {
RightDelim }
LabelString "Note"
MenuString "Endnote contents"
Tooltip "Contents of the sidenote. Only makes sense when \jlreqsetup{sidenote_type=symbol} is specified in the preamble."
Mandatory 0
LeftDelim {
RightDelim }
EndArgument
End
InsetLayout Flex:Warichu
CopyStyle Flex:Endnote
LatexName warichu
LabelString "Warichu"
HTMLLabel \arabic{footnote}
HTMLInnerTag div
CopyStyle Flex:Endnote
LatexName warichu
LabelString "Warichu"
HTMLLabel \arabic{footnote}
HTMLInnerTag div
HTMLStyle
span.flex_warichu_label {
vertical-align: super;
@ -242,17 +242,17 @@ InsetLayout Flex:Warichu
End
InsetLayout Flex:Warichu*
CopyStyle Flex:Warichu
LatexName warichu*
LabelString "Warichu*"
PassThru 1
MultiPar 1
ParbreakIgnored 1
CopyStyle Flex:Warichu
LatexName warichu*
LabelString "Warichu*"
PassThru 1
MultiPar 1
ParbreakIgnored 1
Font
Family Typewriter
Family Typewriter
EndFont
HTMLLabel \arabic{footnote}
HTMLInnerTag div
HTMLLabel \arabic{footnote}
HTMLInnerTag div
HTMLStyle
span.flex_warichu__label {
vertical-align: super;
@ -279,36 +279,36 @@ InsetLayout Flex:Warichu*
End
InsetLayout Flex:Tatechuyoko
LatexType Command
LyxType charstyle
LatexName tatechuyoko*
LabelString "Tatechuyoko"
Decoration Conglomerate
LatexType Command
LyxType charstyle
LatexName tatechuyoko*
LabelString "Tatechuyoko"
Decoration Conglomerate
End
InsetLayout Flex:Jidori
CopyStyle Flex:Tatechuyoko
LatexName jidori
LabelString "Jidori"
CopyStyle Flex:Tatechuyoko
LatexName jidori
LabelString "Jidori"
Argument 1
LabelString "Length"
MenuString "Jidori Length|L"
Tooltip "Length of Jidori. Contents is fit to this length."
Mandatory 1
AutoInsert 1
LabelString "Length"
MenuString "Jidori Length|L"
Tooltip "Length of Jidori. Contents is fit to this length."
Mandatory 1
AutoInsert 1
EndArgument
End
InsetLayout Flex:Akigumi
CopyStyle Flex:Tatechuyoko
LatexName akigumi
LabelString "Akigumi"
MenuString "Akigumi (LuaLaTeX)"
CopyStyle Flex:Tatechuyoko
LatexName akigumi
LabelString "Akigumi"
MenuString "Akigumi (LuaLaTeX)"
Argument 1
LabelString "Char Space"
MenuString "Char Space|D"
Tooltip "Distance between chars is set to this length."
Mandatory 1
AutoInsert 1
LabelString "Char Space"
MenuString "Char Space|D"
Tooltip "Distance between chars is set to this length."
Mandatory 1
AutoInsert 1
EndArgument
End