mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
Compare commits
2 Commits
e6c49c127f
...
6bfa5f2e38
Author | SHA1 | Date | |
---|---|---|---|
|
6bfa5f2e38 | ||
|
291a62263e |
@ -635,7 +635,7 @@ def checkLatex(dtl_tools):
|
|||||||
''' Check latex, return lyx_check_config '''
|
''' Check latex, return lyx_check_config '''
|
||||||
path, LATEX = checkProg('a Latex2e program', ['latex $$i', 'latex2e $$i'])
|
path, LATEX = checkProg('a Latex2e program', ['latex $$i', 'latex2e $$i'])
|
||||||
#-----------------------------------------------------------------
|
#-----------------------------------------------------------------
|
||||||
path, PLATEX = checkProg('pLaTeX, the Japanese LaTeX', ['platex $$i'])
|
path, PLATEX = checkProg('pLaTeX, the Japanese LaTeX', ['uplatex $$i', 'platex $$i'])
|
||||||
if PLATEX:
|
if PLATEX:
|
||||||
# check if PLATEX is pLaTeX2e
|
# check if PLATEX is pLaTeX2e
|
||||||
writeToFile('chklatex.ltx', r'\nonstopmode\makeatletter\@@end')
|
writeToFile('chklatex.ltx', r'\nonstopmode\makeatletter\@@end')
|
||||||
|
@ -539,6 +539,7 @@ LaTeXプリアンブル
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout JLReq Setup
|
\begin_layout JLReq Setup
|
||||||
|
|
||||||
sidenote_type=symbol
|
sidenote_type=symbol
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
@ -2340,7 +2341,22 @@ appendix_
|
|||||||
\end_inset
|
\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
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Itemize
|
\begin_layout Itemize
|
||||||
|
@ -20,3 +20,43 @@ Input jlreq-common.inc
|
|||||||
ClassOptions
|
ClassOptions
|
||||||
Other book
|
Other book
|
||||||
End
|
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
|
||||||
|
@ -1,104 +1,104 @@
|
|||||||
# Japanese jlreq textclass definition file.
|
# Japanese jlreq textclass definition file.
|
||||||
# Author : Koji Yokota (yokota6@gmail.com)
|
# Author : Koji Yokota (yokota@lyx.org)
|
||||||
#
|
#
|
||||||
# This class internally loads following packages:
|
# This class internally loads following packages:
|
||||||
# Any time: l3keys2e, lmodern
|
# Any time: l3keys2e, lmodern
|
||||||
# With non-LuaLaTeX: everyhook
|
# With non-LuaLaTeX: everyhook
|
||||||
# With LuaLaTeX: luatexja, luatexja-adjust
|
# With LuaLaTeX: luatexja, luatexja-adjust
|
||||||
|
|
||||||
Format 107
|
Format 107
|
||||||
|
|
||||||
Style Part
|
Style Part
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the part"
|
Tooltip "Subtitle of the part"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Part*
|
Style Part*
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the part"
|
Tooltip "Subtitle of the part"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Chapter
|
Style Chapter
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the chapter"
|
Tooltip "Subtitle of the chapter"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
TocLevel 0
|
TocLevel 0
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Chapter*
|
Style Chapter*
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the chapter"
|
Tooltip "Subtitle of the chapter"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Section
|
Style Section
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the section"
|
Tooltip "Subtitle of the section"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Section*
|
Style Section*
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the section"
|
Tooltip "Subtitle of the section"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Subsection
|
Style Subsection
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the subsection"
|
Tooltip "Subtitle of the subsection"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
TocLevel 2
|
TocLevel 2
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Subsection*
|
Style Subsection*
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the subsection"
|
Tooltip "Subtitle of the subsection"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Subsubsection
|
Style Subsubsection
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the subsubsection"
|
Tooltip "Subtitle of the subsubsection"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
TocLevel 3
|
TocLevel 3
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Subsubsection*
|
Style Subsubsection*
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Subtitle|u"
|
LabelString "Subtitle|u"
|
||||||
Tooltip "Subtitle of the subsubsection"
|
Tooltip "Subtitle of the subsubsection"
|
||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Abstract_over_Columns
|
Style Abstract_over_Columns
|
||||||
CopyStyle Abstract
|
CopyStyle Abstract
|
||||||
InTitle 1
|
InTitle 1
|
||||||
LabelString "Abstract"
|
LabelString "Abstract"
|
||||||
Category FrontMatter
|
Category FrontMatter
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName jlreqabstract
|
LatexName jlreqabstract
|
||||||
Preamble
|
Preamble
|
||||||
\newcommand{\jlreqabstract}[1]{%
|
\newcommand{\jlreqabstract}[1]{%
|
||||||
\begin{abstract}%
|
\begin{abstract}%
|
||||||
@ -109,39 +109,39 @@ Style Abstract_over_Columns
|
|||||||
End
|
End
|
||||||
|
|
||||||
Style JLReq_Setup
|
Style JLReq_Setup
|
||||||
InPreamble 1
|
InPreamble 1
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName jlreqsetup
|
LatexName jlreqsetup
|
||||||
Category FrontMatter
|
Category FrontMatter
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelString "JLReq Setup"
|
LabelString "JLReq Setup"
|
||||||
LabelSep "M"
|
LabelSep "M"
|
||||||
LeftMargin "MMMMMMM"
|
LeftMargin "MMMMMMM"
|
||||||
Font
|
Font
|
||||||
Family Typewriter
|
Family Typewriter
|
||||||
Size Small
|
Size Small
|
||||||
EndFont
|
EndFont
|
||||||
LabelFont
|
LabelFont
|
||||||
Color eolmarker
|
Color eolmarker
|
||||||
Family Sans
|
Family Sans
|
||||||
EndFont
|
EndFont
|
||||||
ParagraphGroup 1
|
ParagraphGroup 1
|
||||||
PassThru 1
|
PassThru 1
|
||||||
HTMLTag !--
|
HTMLTag !--
|
||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout Flex:Endnote
|
InsetLayout Flex:Endnote
|
||||||
LyxType custom
|
LyxType custom
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName endnote
|
LatexName endnote
|
||||||
Counter footnote
|
Counter footnote
|
||||||
Decoration Classic
|
Decoration Classic
|
||||||
LabelString "Endnote"
|
LabelString "Endnote"
|
||||||
ForcePlain 1
|
ForcePlain 1
|
||||||
BgColor background
|
BgColor background
|
||||||
ResetsFont true
|
ResetsFont true
|
||||||
HTMLLabel \arabic{footnote}
|
HTMLLabel \arabic{footnote}
|
||||||
HTMLInnerTag div
|
HTMLInnerTag div
|
||||||
HTMLStyle
|
HTMLStyle
|
||||||
span.flex_endnote_label {
|
span.flex_endnote_label {
|
||||||
vertical-align: super;
|
vertical-align: super;
|
||||||
@ -165,18 +165,18 @@ InsetLayout Flex:Endnote
|
|||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
EndHTMLStyle
|
EndHTMLStyle
|
||||||
AddToToc footnote
|
AddToToc footnote
|
||||||
IsTocCaption true
|
IsTocCaption true
|
||||||
DocBookTag footnote
|
DocBookTag footnote
|
||||||
DocBookTagType inline
|
DocBookTagType inline
|
||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout Flex:Sidenote
|
InsetLayout Flex:Sidenote
|
||||||
CopyStyle Flex:Endnote
|
CopyStyle Flex:Endnote
|
||||||
LatexName sidenote
|
LatexName sidenote
|
||||||
LabelString "Sidenote"
|
LabelString "Sidenote"
|
||||||
HTMLLabel \arabic{footnote}
|
HTMLLabel \arabic{footnote}
|
||||||
HTMLInnerTag div
|
HTMLInnerTag div
|
||||||
HTMLStyle
|
HTMLStyle
|
||||||
span.flex_sidenote_label {
|
span.flex_sidenote_label {
|
||||||
vertical-align: super;
|
vertical-align: super;
|
||||||
@ -201,21 +201,21 @@ InsetLayout Flex:Sidenote
|
|||||||
}
|
}
|
||||||
EndHTMLStyle
|
EndHTMLStyle
|
||||||
Argument post:1
|
Argument post:1
|
||||||
LabelString "Note"
|
LabelString "Note"
|
||||||
MenuString "Endnote contents"
|
MenuString "Endnote contents"
|
||||||
Tooltip "Contents of the sidenote. Only makes sense when \jlreqsetup{sidenote_type=symbol} is specified in the preamble."
|
Tooltip "Contents of the sidenote. Only makes sense when \jlreqsetup{sidenote_type=symbol} is specified in the preamble."
|
||||||
Mandatory 0
|
Mandatory 0
|
||||||
LeftDelim {
|
LeftDelim {
|
||||||
RightDelim }
|
RightDelim }
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout Flex:Warichu
|
InsetLayout Flex:Warichu
|
||||||
CopyStyle Flex:Endnote
|
CopyStyle Flex:Endnote
|
||||||
LatexName warichu
|
LatexName warichu
|
||||||
LabelString "Warichu"
|
LabelString "Warichu"
|
||||||
HTMLLabel \arabic{footnote}
|
HTMLLabel \arabic{footnote}
|
||||||
HTMLInnerTag div
|
HTMLInnerTag div
|
||||||
HTMLStyle
|
HTMLStyle
|
||||||
span.flex_warichu_label {
|
span.flex_warichu_label {
|
||||||
vertical-align: super;
|
vertical-align: super;
|
||||||
@ -242,17 +242,17 @@ InsetLayout Flex:Warichu
|
|||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout Flex:Warichu*
|
InsetLayout Flex:Warichu*
|
||||||
CopyStyle Flex:Warichu
|
CopyStyle Flex:Warichu
|
||||||
LatexName warichu*
|
LatexName warichu*
|
||||||
LabelString "Warichu*"
|
LabelString "Warichu*"
|
||||||
PassThru 1
|
PassThru 1
|
||||||
MultiPar 1
|
MultiPar 1
|
||||||
ParbreakIgnored 1
|
ParbreakIgnored 1
|
||||||
Font
|
Font
|
||||||
Family Typewriter
|
Family Typewriter
|
||||||
EndFont
|
EndFont
|
||||||
HTMLLabel \arabic{footnote}
|
HTMLLabel \arabic{footnote}
|
||||||
HTMLInnerTag div
|
HTMLInnerTag div
|
||||||
HTMLStyle
|
HTMLStyle
|
||||||
span.flex_warichu__label {
|
span.flex_warichu__label {
|
||||||
vertical-align: super;
|
vertical-align: super;
|
||||||
@ -279,36 +279,36 @@ InsetLayout Flex:Warichu*
|
|||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout Flex:Tatechuyoko
|
InsetLayout Flex:Tatechuyoko
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LyxType charstyle
|
LyxType charstyle
|
||||||
LatexName tatechuyoko*
|
LatexName tatechuyoko*
|
||||||
LabelString "Tatechuyoko"
|
LabelString "Tatechuyoko"
|
||||||
Decoration Conglomerate
|
Decoration Conglomerate
|
||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout Flex:Jidori
|
InsetLayout Flex:Jidori
|
||||||
CopyStyle Flex:Tatechuyoko
|
CopyStyle Flex:Tatechuyoko
|
||||||
LatexName jidori
|
LatexName jidori
|
||||||
LabelString "Jidori"
|
LabelString "Jidori"
|
||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Length"
|
LabelString "Length"
|
||||||
MenuString "Jidori Length|L"
|
MenuString "Jidori Length|L"
|
||||||
Tooltip "Length of Jidori. Contents is fit to this length."
|
Tooltip "Length of Jidori. Contents is fit to this length."
|
||||||
Mandatory 1
|
Mandatory 1
|
||||||
AutoInsert 1
|
AutoInsert 1
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout Flex:Akigumi
|
InsetLayout Flex:Akigumi
|
||||||
CopyStyle Flex:Tatechuyoko
|
CopyStyle Flex:Tatechuyoko
|
||||||
LatexName akigumi
|
LatexName akigumi
|
||||||
LabelString "Akigumi"
|
LabelString "Akigumi"
|
||||||
MenuString "Akigumi (LuaLaTeX)"
|
MenuString "Akigumi (LuaLaTeX)"
|
||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Char Space"
|
LabelString "Char Space"
|
||||||
MenuString "Char Space|D"
|
MenuString "Char Space|D"
|
||||||
Tooltip "Distance between chars is set to this length."
|
Tooltip "Distance between chars is set to this length."
|
||||||
Mandatory 1
|
Mandatory 1
|
||||||
AutoInsert 1
|
AutoInsert 1
|
||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
Loading…
Reference in New Issue
Block a user