mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
9ca91b2566
There is nothing in the diff besides the format number changing from 93 to 95. From what I understand, this is as expected since 93 -> 94 and 94 -> 95 just add new layout tags. Updating the layouts makes it easier to test master. Otherwise, in some use cases layout2layout can be run hundreds of times which can make some things slow (e.g., opening documents or even opening the advanced find pane).
241 lines
4.7 KiB
Plaintext
241 lines
4.7 KiB
Plaintext
#\DeclareLyXModule[datetime.sty,fmtcount.sty]{PDF Comments}
|
|
#\DeclareCategory{Annotation & Revision}
|
|
#DescriptionBegin
|
|
#Provides various kinds of annotations for the PDF output. The module uses
|
|
#the pdfcomment package. Please consult the LyX example file PDF-comment.lyx
|
|
#and the package documentation for details.
|
|
#DescriptionEnd
|
|
# Author: Juergen Spitzmueller <spitz@lyx.org>
|
|
# Uwe Stöhr <uwestoehr@lyx.org>
|
|
|
|
Format 95
|
|
|
|
#
|
|
# helper commands
|
|
#
|
|
|
|
# pdfcomment loads hyperref
|
|
Provides hyperref 1
|
|
|
|
Style Define_Avatar
|
|
Category PDF-comment
|
|
LatexType Command
|
|
Margin Dynamic
|
|
LatexName defineavatar
|
|
ParSkip 0.4
|
|
LabelType Static
|
|
LabelSep M
|
|
LabelString "PDF-comment avatar:"
|
|
Argument 1
|
|
LabelString "Name"
|
|
Tooltip "Name of the Avatar"
|
|
Mandatory 1
|
|
EndArgument
|
|
PassThru 1
|
|
LabelFont
|
|
Color textlabel2
|
|
Series Bold
|
|
EndFont
|
|
Requires pdfcomment
|
|
End
|
|
|
|
Style Define_PDF-Comment_Style
|
|
CopyStyle Define_Avatar
|
|
LatexName definestyle
|
|
LabelString "PDF-comment style:"
|
|
Argument 1
|
|
LabelString "Name"
|
|
Tooltip "Name of the style"
|
|
Mandatory 1
|
|
EndArgument
|
|
End
|
|
|
|
Style Define_PDF-Comment_List_Style
|
|
CopyStyle Define_Avatar
|
|
LatexName defineliststyle
|
|
LabelString "Definition of PDF-comment list style:"
|
|
Argument 1
|
|
LabelString "Name"
|
|
Tooltip "Name of the list style"
|
|
Mandatory 1
|
|
EndArgument
|
|
End
|
|
|
|
Style Set_PDF-Comment_List_Style
|
|
CopyStyle Define_Avatar
|
|
LatexName setliststyle
|
|
LabelString "PDF-comment list style:"
|
|
ResetArgs 1
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Comment-Setup"
|
|
LyXType custom
|
|
LatexType command
|
|
Decoration classic
|
|
LabelString "PDF (Setup)"
|
|
LatexName pdfcommentsetup
|
|
LabelFont
|
|
Color textlabel3
|
|
Size Small
|
|
EndFont
|
|
MultiPar false
|
|
Argument 1
|
|
MenuString "PDF-Comment setup options"
|
|
LabelString "Opts"
|
|
ToolTip "Insert PDF-Comment setup options here (see the pdfcomment manual)"
|
|
EndArgument
|
|
Requires pdfcomment
|
|
End
|
|
|
|
#
|
|
# Annotation insets
|
|
#
|
|
|
|
InsetLayout "Flex:PDF-Annotation"
|
|
LyXType custom
|
|
LatexType command
|
|
Decoration classic
|
|
LabelString PDF
|
|
LatexName pdfcomment
|
|
LabelFont
|
|
Color textlabel3
|
|
Size Small
|
|
EndFont
|
|
MultiPar false
|
|
NewlineCmd textCR
|
|
Argument 1
|
|
MenuString "PDFComment Options"
|
|
LabelString "Opts"
|
|
ToolTip "Insert PDFComment options here (see pdfcomment manual)"
|
|
EndArgument
|
|
Requires pdfcomment
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Margin"
|
|
CopyStyle "Flex:PDF-Annotation"
|
|
LabelString "PDF (Margin)"
|
|
LatexName pdfmargincomment
|
|
LabelFont
|
|
Color textlabel2
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Markup"
|
|
CopyStyle "Flex:PDF-Margin"
|
|
LabelString "PDF (Markup)"
|
|
LatexName pdfmarkupcomment
|
|
NeedMBoxProtect 1
|
|
NewlineCmd ""
|
|
Argument post:1
|
|
LabelString "Comment"
|
|
Mandatory 1
|
|
ToolTip "Insert the comment to the marked-up text here"
|
|
NewlineCmd textCR
|
|
EndArgument
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Freetext"
|
|
CopyStyle "Flex:PDF-Margin"
|
|
LabelString "PDF (Freetext)"
|
|
LatexName pdffreetextcomment
|
|
NewlineCmd ""
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Square"
|
|
CopyStyle "Flex:PDF-Margin"
|
|
LabelString "PDF (Square)"
|
|
LatexName pdfsquarecomment
|
|
NewlineCmd ""
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Circle"
|
|
CopyStyle "Flex:PDF-Margin"
|
|
LabelString "PDF (Circle)"
|
|
LatexName pdfcirclecomment
|
|
NewlineCmd ""
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Line"
|
|
CopyStyle "Flex:PDF-Margin"
|
|
LabelString "PDF (Line)"
|
|
LatexName pdflinecomment
|
|
NewlineCmd ""
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Sideline"
|
|
CopyStyle "Flex:PDF-Margin"
|
|
LabelString "PDF (Sideline)"
|
|
LatexType environment
|
|
LatexName pdfsidelinecomment
|
|
MultiPar true
|
|
NewlineCmd ""
|
|
Argument 2
|
|
LabelString "Comment"
|
|
Mandatory 1
|
|
ToolTip "Insert the comment here"
|
|
NewlineCmd textCR
|
|
EndArgument
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Reply"
|
|
CopyStyle "Flex:PDF-Margin"
|
|
LabelString "PDF (Reply)"
|
|
LatexName pdfreply
|
|
LabelFont
|
|
Color textlabel1
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout "Flex:PDF-Tooltip"
|
|
CopyStyle "Flex:PDF-Markup"
|
|
LabelString "PDF (Tooltip)"
|
|
LatexName pdftooltip
|
|
NeedMBoxProtect 0
|
|
NewlineCmd ""
|
|
LabelFont
|
|
Color textlabel3
|
|
Size Small
|
|
EndFont
|
|
Argument post:1
|
|
MenuString "Tooltip Text"
|
|
LabelString "Tooltip"
|
|
Mandatory 1
|
|
ToolTip "Insert the tooltip text here"
|
|
EndArgument
|
|
End
|
|
|
|
#
|
|
# List of Annotations
|
|
#
|
|
|
|
Style List_of_PDF_Comments
|
|
KeepEmpty 1
|
|
LatexType Command
|
|
LatexName listofpdfcomments
|
|
Margin First_Dynamic
|
|
NextNoIndent 1
|
|
ParSkip 0
|
|
TopSep 0
|
|
BottomSep 0.25
|
|
ParSep 0
|
|
Align Center
|
|
LabelType Static
|
|
LabelBottomSep 0
|
|
LeftMargin MMMMM
|
|
LabelString "[List of PDF Comments]"
|
|
LabelFont
|
|
Family Sans
|
|
Series Bold
|
|
Size Large
|
|
Color latex
|
|
EndFont
|
|
Argument 1
|
|
LabelString "Opts"
|
|
MenuString "List Options|s"
|
|
Tooltip "Insert list options here (see pdfcomment manual)"
|
|
EndArgument
|
|
Requires pdfcomment
|
|
End
|