mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
pdfcomment.module: some fine-tuning
- use \requirePackage instead of \Usepackage - name category properly - reorder definitions
This commit is contained in:
parent
637747c0c7
commit
81390dcac9
@ -8,7 +8,7 @@
|
|||||||
Format 49
|
Format 49
|
||||||
|
|
||||||
AddToPreamble
|
AddToPreamble
|
||||||
\usepackage{pdfcomment} %support for comments in PDF files
|
\RequirePackage{pdfcomment} %support for comments in PDF files
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -16,7 +16,7 @@ EndPreamble
|
|||||||
#
|
#
|
||||||
|
|
||||||
Style Define_Avatar
|
Style Define_Avatar
|
||||||
Category Misc
|
Category PDF-comment
|
||||||
LatexType Command
|
LatexType Command
|
||||||
Margin Dynamic
|
Margin Dynamic
|
||||||
LatexName defineavatar
|
LatexName defineavatar
|
||||||
@ -34,6 +34,7 @@ Style Define_Avatar
|
|||||||
Color green
|
Color green
|
||||||
Shape bold
|
Shape bold
|
||||||
EndFont
|
EndFont
|
||||||
|
Requires pdfcomment
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Define_PDF-Comment_Style
|
Style Define_PDF-Comment_Style
|
||||||
@ -169,24 +170,6 @@ InsetLayout "Flex:PDF-Line"
|
|||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout "Flex:PDF-Sideline"
|
|
||||||
CopyStyle "Flex:PDF-Margin"
|
|
||||||
LabelString "PDF (Sideline)"
|
|
||||||
LatexType environment
|
|
||||||
LatexName pdfsidelinecomment
|
|
||||||
MultiPar true
|
|
||||||
Argument 1
|
|
||||||
MenuString "PDF-Sideline options"
|
|
||||||
LabelString "Opts"
|
|
||||||
ToolTip "Insert PDF-Sideline options here (see the pdfcomment manual)"
|
|
||||||
EndArgument
|
|
||||||
Argument 2
|
|
||||||
LabelString "Comment"
|
|
||||||
Mandatory 1
|
|
||||||
ToolTip "Insert the comment here"
|
|
||||||
EndArgument
|
|
||||||
End
|
|
||||||
|
|
||||||
InsetLayout "Flex:PDF-Reply"
|
InsetLayout "Flex:PDF-Reply"
|
||||||
CopyStyle "Flex:PDF-Margin"
|
CopyStyle "Flex:PDF-Margin"
|
||||||
LabelString "PDF (Reply)"
|
LabelString "PDF (Reply)"
|
||||||
@ -223,6 +206,27 @@ InsetLayout "Flex:PDF-Tooltip"
|
|||||||
EndArgument
|
EndArgument
|
||||||
End
|
End
|
||||||
|
|
||||||
|
#
|
||||||
|
# Environment inset
|
||||||
|
#
|
||||||
|
|
||||||
|
InsetLayout "Flex:PDF-Sideline"
|
||||||
|
CopyStyle "Flex:PDF-Margin"
|
||||||
|
LabelString "PDF (Sideline)"
|
||||||
|
LatexType environment
|
||||||
|
LatexName pdfsidelinecomment
|
||||||
|
MultiPar true
|
||||||
|
Argument 1
|
||||||
|
MenuString "PDF-Sideline options"
|
||||||
|
LabelString "Opts"
|
||||||
|
ToolTip "Insert PDF-Sideline options here (see the pdfcomment manual)"
|
||||||
|
EndArgument
|
||||||
|
Argument 2
|
||||||
|
LabelString "Comment"
|
||||||
|
Mandatory 1
|
||||||
|
ToolTip "Insert the comment here"
|
||||||
|
EndArgument
|
||||||
|
End
|
||||||
|
|
||||||
#
|
#
|
||||||
# List of Annotations
|
# List of Annotations
|
||||||
@ -230,6 +234,7 @@ End
|
|||||||
|
|
||||||
Style List_of_PDF-Comments
|
Style List_of_PDF-Comments
|
||||||
KeepEmpty 1
|
KeepEmpty 1
|
||||||
|
Category PDF-comment
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName listofpdfcomments
|
LatexName listofpdfcomments
|
||||||
Margin First_Dynamic
|
Margin First_Dynamic
|
||||||
|
Loading…
Reference in New Issue
Block a user