]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/PDF-comment.lyx
Fix some symbols that are displayed incorrectly in MathML export.
[lyx.git] / lib / examples / PDF-comment.lyx
index 23a210e3f7bf0aeafe3f66ba1070b5778e1201a2..322a946b099208707403f585983281dcd00973f7 100644 (file)
@@ -1,7 +1,9 @@
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 474
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 508
 \begin_document
 \begin_header
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin /systemlyxdir/examples/
 \textclass scrartcl
 \begin_preamble
 % to be able to use all color settings of pdfcomment
 \textclass scrartcl
 \begin_preamble
 % to be able to use all color settings of pdfcomment
@@ -27,18 +29,18 @@ pdfcomment
 \language_package default
 \inputencoding auto
 \fontencoding global
 \language_package default
 \inputencoding auto
 \fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
 \graphics default
 \graphics default
-\default_output_format default
+\default_output_format pdf2
 \output_sync 0
 \bibtex_command bibtex
 \index_command default
 \output_sync 0
 \bibtex_command bibtex
 \index_command default
@@ -124,7 +126,7 @@ This sets yellow as default color for new PDF comments, see sec.
 
 \begin_inset CommandInset ref
 LatexCommand ref
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:PDF-Comment-setup"
+reference "subsec:PDF-Comment-setup"
 
 \end_inset
 
 
 \end_inset
 
@@ -145,7 +147,8 @@ Uwe Stöhr
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
-The LaTeX package 
+The \SpecialChar LaTeX
+ package 
 \series bold
 pdfcomment
 \series default
 \series bold
 pdfcomment
 \series default
@@ -182,7 +185,7 @@ The different comment types
 \begin_layout Standard
 The different comment types are inserted using the menu 
 \family sans
 \begin_layout Standard
 The different comment types are inserted using the menu 
 \family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
 Custom
 \begin_inset space ~
 \end_inset
 Custom
 \begin_inset space ~
 \end_inset
@@ -218,7 +221,7 @@ Like for all PDF comment types you can add a lot of things to the option
  To insert the options inset, set the cursor into the comment inset and
  use the menu 
 \family sans
  To insert the options inset, set the cursor into the comment inset and
  use the menu 
 \family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
 PDF Comment Options
 \family default
 .
 PDF Comment Options
 \family default
 .
@@ -233,7 +236,8 @@ status open
 \series bold
 Note:
 \series default
 \series bold
 Note:
 \series default
- All braces and brackets in comment options must be inserted as TeX code!
+ All braces and brackets in comment options must be inserted as \SpecialChar TeX
+ code!
 \end_layout
 
 \end_inset
 \end_layout
 
 \end_inset
@@ -707,7 +711,16 @@ status open
 status open
 
 \begin_layout Plain Layout
 status open
 
 \begin_layout Plain Layout
-id=1,markup=Highlight
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+id=1,
+\end_layout
+
+\end_inset
+
+markup=Highlight
 \end_layout
 
 \end_inset
 \end_layout
 
 \end_inset
@@ -909,7 +922,8 @@ n of the page break will fail
 \end_layout
 
 \begin_layout Itemize
 \end_layout
 
 \begin_layout Itemize
-when using XeTeX you have to assure that the page dimensions are internally
+when using Xe\SpecialChar TeX
+ you have to assure that the page dimensions are internally
  output, e.
 \begin_inset space \thinspace{}
 \end_inset
  output, e.
 \begin_inset space \thinspace{}
 \end_inset
@@ -926,7 +940,8 @@ pagesize
 \series bold
 pagesize
 \series default
 \series bold
 pagesize
 \series default
- for the LaTeX-package 
+ for the \SpecialChar LaTeX
+-package 
 \series bold
 typearea
 \series default
 \series bold
 typearea
 \series default
@@ -937,6 +952,25 @@ typearea
 PDF-Reply
 \end_layout
 
 PDF-Reply
 \end_layout
 
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Attention:
+\series default
+ Due to technical limitations PDF-Reply only works when using pdflatex.
+ On some \SpecialChar LaTeX
+ installations it won't even work in general.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 With a PDF-Reply you can compose replies to PDF comments.
  The option 
 \begin_layout Standard
 With a PDF-Reply you can compose replies to PDF comments.
  The option 
@@ -949,6 +983,10 @@ replyto
 \begin_layout Standard
 As example see the reply to the Highlight PDF-Markup from the previous section.
  
 \begin_layout Standard
 As example see the reply to the Highlight PDF-Markup from the previous section.
  
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
 \begin_inset Flex PDF-Reply
 status open
 
 \begin_inset Flex PDF-Reply
 status open
 
@@ -965,6 +1003,11 @@ id=2,replyto=1,date=D:20101211161247+01'00'
 This is a reply.
 \end_layout
 
 This is a reply.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \end_inset
 
  It appears in that PDF-Markup comment.
 \end_inset
 
  It appears in that PDF-Markup comment.
@@ -988,6 +1031,10 @@ id
  option to the reply that should be replied to.
  As example see the reply to the reply to the PDF-Markup.
  
  option to the reply that should be replied to.
  As example see the reply to the reply to the PDF-Markup.
  
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
 \begin_inset Flex PDF-Reply
 status open
 
 \begin_inset Flex PDF-Reply
 status open
 
@@ -1009,25 +1056,13 @@ Of course, you can reply to a reply.
 
 \end_layout
 
 
 \end_layout
 
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- Due to technical reasons PDF-Reply only works when using pdflatex.
-\end_layout
-
 \end_inset
 
 
 \end_layout
 
 \begin_layout Standard
 \end_inset
 
 
 \end_layout
 
 \begin_layout Standard
-PDF-Reply has some further limitations:
+PDF-Reply has limitations:
 \end_layout
 
 \begin_layout Itemize
 \end_layout
 
 \begin_layout Itemize
@@ -1179,7 +1214,8 @@ the comment should not be longer than one page, otherwise the recognition
 \end_layout
 
 \begin_layout Itemize
 \end_layout
 
 \begin_layout Itemize
-when using XeTeX you have to assure that the page dimensions are internally
+when using Xe\SpecialChar TeX
+ you have to assure that the page dimensions are internally
  output, e.
 \begin_inset space \thinspace{}
 \end_inset
  output, e.
 \begin_inset space \thinspace{}
 \end_inset
@@ -1196,7 +1232,8 @@ pagesize
 \series bold
 pagesize
 \series default
 \series bold
 pagesize
 \series default
- for the LaTeX-package 
+ for the \SpecialChar LaTeX
+-package 
 \series bold
 typearea
 \series default
 \series bold
 typearea
 \series default
@@ -1276,7 +1313,8 @@ With this you can annotate any object with a tooltip.
 status open
 
 \begin_layout Plain Layout
 status open
 
 \begin_layout Plain Layout
-All objects that can be set into a TeX-box to measure its size.
+All objects that can be set into a \SpecialChar TeX
+-box to measure its size.
 \end_layout
 
 \end_inset
 \end_layout
 
 \end_inset
@@ -1363,12 +1401,12 @@ status collapsed
 
 
 \backslash
 
 
 \backslash
-
+displaystyle
 \end_layout
 
 \end_inset
 
 \end_layout
 
 \end_inset
 
-displaystyle
 \end_layout
 
 \end_inset
 \end_layout
 
 \end_inset
@@ -1411,7 +1449,7 @@ pdfcomment
 PDF-Comment setup
 \begin_inset CommandInset label
 LatexCommand label
 PDF-Comment setup
 \begin_inset CommandInset label
 LatexCommand label
-name "sub:PDF-Comment-setup"
+name "subsec:PDF-Comment-setup"
 
 \end_inset
 
 
 \end_inset
 
@@ -1437,10 +1475,12 @@ By using its optional option
 \series bold
 local
 \series default
 \series bold
 local
 \series default
- you can keep the reset local within a group enclosed by TeX-braces.
+ you can keep the reset local within a group enclosed by \SpecialChar TeX
+-braces.
  For example you want to reset the color only for two consecutive comments,
  then enclose the PDF comment setup inset and the two comment insets in
  For example you want to reset the color only for two consecutive comments,
  then enclose the PDF comment setup inset and the two comment insets in
- TeX-braces.
+ \SpecialChar TeX
+-braces.
  Here is an example:
 \end_layout
 
  Here is an example:
 \end_layout
 
@@ -1664,7 +1704,8 @@ If you are for example reviewing a document, you need to add your name to
  every of your comments.
  In case you use a special layout of your annotations, you would have to
  do a lot of copy-paste work.
  every of your comments.
  In case you use a special layout of your annotations, you would have to
  do a lot of copy-paste work.
- But this can be avoided if you define for every person a special avatar.
+ But this can be avoided if you define for every comment author a special
+ avatar.
 \end_layout
 
 \begin_layout Standard
 \end_layout
 
 \begin_layout Standard
@@ -1759,7 +1800,7 @@ To use now your avatar for PDF comments you have two choices:
 \end_layout
 
 \begin_layout Enumerate
 \end_layout
 
 \begin_layout Enumerate
-You set up ALL PDF comments in the document using your avatar.
+You set up that all PDF comments in the document use your avatar.
  This is done by inserting the custom inset 
 \family sans
 PDF
  This is done by inserting the custom inset 
 \family sans
 PDF
@@ -1979,7 +2020,8 @@ Style
 
 
 \family default
 
 
 \family default
-if you know enough about the tricky LaTeX internals.
+if you know enough about the tricky \SpecialChar LaTeX
+ internals.
  With the environment
 \begin_inset Newline newline
 \end_inset
  With the environment
 \begin_inset Newline newline
 \end_inset
@@ -2065,7 +2107,8 @@ General Hints
 
 \begin_layout Itemize
 To be able to use all kinds of colors and color definitions you must load
 
 \begin_layout Itemize
 To be able to use all kinds of colors and color definitions you must load
- the LaTeX package 
+ the \SpecialChar LaTeX
+ package 
 \series bold
 xcolor
 \series default
 \series bold
 xcolor
 \series default
@@ -2173,7 +2216,8 @@ Oleg also said: I hate to repeat myself.
 \begin_layout Itemize
 You cannot use non-Latin characters in your comment or in the author name.
  The reason is that PDFs use a special character encoding that is not compatible
 \begin_layout Itemize
 You cannot use non-Latin characters in your comment or in the author name.
  The reason is that PDFs use a special character encoding that is not compatible
- with LaTeX.
+ with \SpecialChar LaTeX
+.
 \end_layout
 
 \end_body
 \end_layout
 
 \end_body