X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fpdfcomment.module;h=950f7547411d607191c19546afa272fcca575a1e;hb=edaf28fdd6a64ce277a1c5f39d99a6568485887f;hp=7ca702fe178866c7f042f81e890def4e8381c7a7;hpb=8b92a2a689c2548a263065a24c0d3aa917785cce;p=lyx.git diff --git a/lib/layouts/pdfcomment.module b/lib/layouts/pdfcomment.module index 7ca702fe17..950f754741 100644 --- a/lib/layouts/pdfcomment.module +++ b/lib/layouts/pdfcomment.module @@ -1,13 +1,14 @@ #\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 +#the pdfcomment package. Please consult Help > Specific Manuals > PDF comments #and the package documentation for details. #DescriptionEnd # Author: Juergen Spitzmueller # Uwe Stöhr -Format 71 +Format 100 # # helper commands @@ -32,7 +33,7 @@ Style Define_Avatar EndArgument PassThru 1 LabelFont - Color green + Color textlabel2 Series Bold EndFont Requires pdfcomment @@ -74,7 +75,7 @@ InsetLayout "Flex:PDF-Comment-Setup" LabelString "PDF (Setup)" LatexName pdfcommentsetup LabelFont - Color magenta + Color textlabel3 Size Small EndFont MultiPar false @@ -97,10 +98,11 @@ InsetLayout "Flex:PDF-Annotation" LabelString PDF LatexName pdfcomment LabelFont - Color magenta + Color textlabel3 Size Small EndFont MultiPar false + NewlineCmd textCR Argument 1 MenuString "PDFComment Options" LabelString "Opts" @@ -114,7 +116,7 @@ InsetLayout "Flex:PDF-Margin" LabelString "PDF (Margin)" LatexName pdfmargincomment LabelFont - Color green + Color textlabel2 Size Small EndFont End @@ -124,10 +126,12 @@ InsetLayout "Flex:PDF-Markup" 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 @@ -135,24 +139,28 @@ 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" @@ -161,10 +169,12 @@ InsetLayout "Flex:PDF-Sideline" LatexType environment LatexName pdfsidelinecomment MultiPar true + NewlineCmd "" Argument 2 LabelString "Comment" Mandatory 1 ToolTip "Insert the comment here" + NewlineCmd textCR EndArgument End @@ -173,7 +183,7 @@ InsetLayout "Flex:PDF-Reply" LabelString "PDF (Reply)" LatexName pdfreply LabelFont - Color blue + Color textlabel1 Size Small EndFont End @@ -183,8 +193,9 @@ InsetLayout "Flex:PDF-Tooltip" LabelString "PDF (Tooltip)" LatexName pdftooltip NeedMBoxProtect 0 + NewlineCmd "" LabelFont - Color red + Color textlabel3 Size Small EndFont Argument post:1