]> git.lyx.org Git - lyx.git/blob - lib/examples/PDF-comment.lyx
sweave.lyx: remove ref to previous homepage
[lyx.git] / lib / examples / PDF-comment.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
7 \textclass scrartcl
8 \begin_preamble
9 % to be able to use all color settings of pdfcomment
10 \usepackage[svgnames,rgb]{xcolor}
11
12 % if pdflatex is used
13 \usepackage{ifpdf}
14 \ifpdf
15
16 % set fonts for nicer pdf view
17 \IfFileExists{lmodern.sty}
18  {\usepackage{lmodern}}{}
19
20 \fi % end if pdflatex is used
21 \end_preamble
22 \options BCOR8mm,pagesize
23 \use_default_options false
24 \begin_modules
25 pdfcomment
26 \end_modules
27 \maintain_unincluded_children false
28 \language english
29 \language_package default
30 \inputencoding auto
31 \fontencoding global
32 \font_roman "default" "default"
33 \font_sans "default" "default"
34 \font_typewriter "default" "default"
35 \font_math "auto" "auto"
36 \font_default_family default
37 \use_non_tex_fonts false
38 \font_sc false
39 \font_osf false
40 \font_sf_scale 100 100
41 \font_tt_scale 100 100
42 \use_microtype false
43 \use_dash_ligatures false
44 \graphics default
45 \default_output_format pdf2
46 \output_sync 0
47 \bibtex_command bibtex
48 \index_command default
49 \paperfontsize 12
50 \spacing single
51 \use_hyperref true
52 \pdf_title "Description of the module PDF Comments"
53 \pdf_author "Uwe Stöhr"
54 \pdf_subject "PDF comments"
55 \pdf_keywords "LyX, PDF comments, pdfcomment"
56 \pdf_bookmarks true
57 \pdf_bookmarksnumbered true
58 \pdf_bookmarksopen true
59 \pdf_bookmarksopenlevel 2
60 \pdf_breaklinks false
61 \pdf_pdfborder false
62 \pdf_colorlinks true
63 \pdf_backref false
64 \pdf_pdfusetitle false
65 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
66 \papersize a4paper
67 \use_geometry false
68 \use_package amsmath 1
69 \use_package amssymb 1
70 \use_package cancel 0
71 \use_package esint 1
72 \use_package mathdots 1
73 \use_package mathtools 1
74 \use_package mhchem 1
75 \use_package stackrel 0
76 \use_package stmaryrd 0
77 \use_package undertilde 0
78 \cite_engine basic
79 \cite_engine_type default
80 \biblio_style plain
81 \use_bibtopic false
82 \use_indices false
83 \paperorientation portrait
84 \suppress_date true
85 \justification true
86 \use_refstyle 0
87 \notefontcolor #0000ff
88 \index Index
89 \shortcut idx
90 \color #008000
91 \end_index
92 \secnumdepth 3
93 \tocdepth 2
94 \paragraph_separation skip
95 \defskip medskip
96 \is_math_indent 0
97 \math_numbering_side default
98 \quotes_style english
99 \papercolumns 1
100 \papersides 1
101 \paperpagestyle default
102 \tracking_changes false
103 \output_changes false
104 \html_math_output 0
105 \html_css_as_file 0
106 \html_be_strict false
107 \use_minted 0
108 \end_header
109
110 \begin_body
111
112 \begin_layout Standard
113 \begin_inset Flex PDF-Comment-Setup
114 status open
115
116 \begin_layout Plain Layout
117 color=yellow
118 \end_layout
119
120 \end_inset
121
122
123 \begin_inset Note Note
124 status collapsed
125
126 \begin_layout Plain Layout
127 This sets yellow as default color for new PDF comments, see sec.
128 \begin_inset space ~
129 \end_inset
130
131
132 \begin_inset CommandInset ref
133 LatexCommand ref
134 reference "subsec:PDF-Comment-setup"
135
136 \end_inset
137
138  for the description.
139 \end_layout
140
141 \end_inset
142
143
144 \end_layout
145
146 \begin_layout Title
147 Description of the module PDF Comments
148 \end_layout
149
150 \begin_layout Author
151 Uwe Stöhr
152 \end_layout
153
154 \begin_layout Standard
155 The \SpecialChar LaTeX
156  package 
157 \series bold
158 pdfcomment
159 \series default
160  provides full access for PDF comments.
161  You can add normal comments as well as margin comments, underlining etc..
162  You can also define a special layout for a comment which you can use several
163  times in the document.
164  This document is only a excerpt of the documentation of 
165 \series bold
166 pdfcomment
167 \series default
168 ; see its documentation for all information:
169 \begin_inset Newline newline
170 \end_inset
171
172
173 \begin_inset Flex URL
174 status open
175
176 \begin_layout Plain Layout
177
178 http://mirrors.ctan.org/macros/latex/contrib/pdfcomment/doc/pdfcomment.pdf
179 \end_layout
180
181 \end_inset
182
183
184 \end_layout
185
186 \begin_layout Section
187 The different comment types
188 \end_layout
189
190 \begin_layout Standard
191 The different comment types are inserted using the menu 
192 \family sans
193 Insert\SpecialChar menuseparator
194 Custom
195 \begin_inset space ~
196 \end_inset
197
198 Insets
199 \family default
200 .
201  You can select one of the following:
202 \end_layout
203
204 \begin_layout Subsection
205 PDF-Annotation
206 \end_layout
207
208 \begin_layout Standard
209 This is the standard PDF comment.
210  Here is an example: 
211 \begin_inset Flex PDF-Annotation
212 status open
213
214 \begin_layout Plain Layout
215 This is a simple PDF-Annotation.
216 \end_layout
217
218 \end_inset
219
220
221 \end_layout
222
223 \begin_layout Standard
224 Like for all PDF comment types you can add a lot of things to the option
225  of the inset.
226  To insert the options inset, set the cursor into the comment inset and
227  use the menu 
228 \family sans
229 Insert\SpecialChar menuseparator
230 PDF Comment Options
231 \family default
232 .
233 \end_layout
234
235 \begin_layout Standard
236 \begin_inset Note Greyedout
237 status open
238
239 \begin_layout Plain Layout
240
241 \series bold
242 Note:
243 \series default
244  All braces and brackets in comment options must be inserted as \SpecialChar TeX
245  code!
246 \end_layout
247
248 \end_inset
249
250
251 \begin_inset Newline newline
252 \end_inset
253
254
255 \end_layout
256
257 \begin_layout Standard
258 Here is an example PDF-Annotation where the author is set to 
259 \begin_inset Quotes eld
260 \end_inset
261
262 Daisy Duck
263 \begin_inset Quotes erd
264 \end_inset
265
266
267 \begin_inset Flex PDF-Annotation
268 status open
269
270 \begin_layout Plain Layout
271 \begin_inset Argument 1
272 status collapsed
273
274 \begin_layout Plain Layout
275 author=
276 \begin_inset ERT
277 status collapsed
278
279 \begin_layout Plain Layout
280
281 {
282 \end_layout
283
284 \end_inset
285
286 Daisy Duck
287 \begin_inset ERT
288 status collapsed
289
290 \begin_layout Plain Layout
291
292 }
293 \end_layout
294
295 \end_inset
296
297 ,color=
298 \begin_inset ERT
299 status collapsed
300
301 \begin_layout Plain Layout
302
303 {
304 \end_layout
305
306 \end_inset
307
308 0.234 0.867 0.211
309 \begin_inset ERT
310 status collapsed
311
312 \begin_layout Plain Layout
313
314 }
315 \end_layout
316
317 \end_inset
318
319 ,voffset=8pt,opacity=0.5
320 \end_layout
321
322 \end_inset
323
324 This is an annotation with a complex option.
325 \end_layout
326
327 \end_inset
328
329
330 \end_layout
331
332 \begin_layout Standard
333 To avoid to write the same options like the author again and again, you
334  can define a so-called 
335 \begin_inset Quotes eld
336 \end_inset
337
338 avatar
339 \begin_inset Quotes erd
340 \end_inset
341
342  for every person and/or comment layout.
343  See 
344 \begin_inset CommandInset ref
345 LatexCommand ref
346 reference "sec:Avatars"
347
348 \end_inset
349
350  for further information.
351 \end_layout
352
353 \begin_layout Standard
354 For a full list of possible options, please look at the 
355 \series bold
356 pdfcomment
357 \series default
358  documentation.
359 \end_layout
360
361 \begin_layout Subsection
362 PDF-Circle
363 \end_layout
364
365 \begin_layout Standard
366 This will typeset a comment in form of a circle or ellipse.
367  Here is an example without any options: 
368 \begin_inset Flex PDF-Circle
369 status open
370
371 \begin_layout Plain Layout
372 a simple circle comment
373 \end_layout
374
375 \end_inset
376
377
378 \end_layout
379
380 \begin_layout Standard
381 At the right side you see a large, elliptical comment as example of a PDF-Circle
382  with options.
383  
384 \begin_inset Flex PDF-Circle
385 status open
386
387 \begin_layout Plain Layout
388 \begin_inset Argument 1
389 status collapsed
390
391 \begin_layout Plain Layout
392 id=1,color=blue,height=2.5cm,width=5.8cm,voffset=-2.8cm,hoffset=8cm,opacity=1.0,just
393 ification=right,icolor=
394 \begin_inset ERT
395 status collapsed
396
397 \begin_layout Plain Layout
398
399 {
400 \end_layout
401
402 \end_inset
403
404 yellow
405 \begin_inset ERT
406 status collapsed
407
408 \begin_layout Plain Layout
409
410 }
411 \end_layout
412
413 \end_inset
414
415 ,linewidth=12pt,borderstyle=dashed,dashstyle=
416 \begin_inset ERT
417 status collapsed
418
419 \begin_layout Plain Layout
420
421 {
422 \end_layout
423
424 \end_inset
425
426 10 5
427 \begin_inset ERT
428 status collapsed
429
430 \begin_layout Plain Layout
431
432 }
433 \end_layout
434
435 \end_inset
436
437
438 \end_layout
439
440 \end_inset
441
442 a circle comment in form of a large ellipse
443 \end_layout
444
445 \end_inset
446
447
448 \begin_inset Newline newline
449 \end_inset
450
451
452 \begin_inset Newline newline
453 \end_inset
454
455
456 \begin_inset Newline newline
457 \end_inset
458
459
460 \end_layout
461
462 \begin_layout Subsection
463 PDF-Freetext
464 \end_layout
465
466 \begin_layout Standard
467 This will typeset a comment in form of a freely positioned box.
468  By using the option 
469 \series bold
470 type=callout
471 \series default
472  the box will have an additional so called callout line, to bind the box
473  to a certain element of the page.
474  With the option 
475 \series bold
476 type=typewriter
477 \series default
478  you can write a comment everywhere on the page with a virtual ’typewriter’.
479  These PDF-Freetext annotations do have no frame and a transparent background
480  for ’overwriting’ arbitrary parts of the page.
481  Here is an example in form of a yellow rectangle:
482 \begin_inset Flex PDF-Freetext
483 status open
484
485 \begin_layout Plain Layout
486 \begin_inset Argument 1
487 status collapsed
488
489 \begin_layout Plain Layout
490 height=3cm,type=freetext,subject={freetext},width=4.5cm,voffset=-3.2cm,hoffset=-3.2
491 cm,opacity=0.9,justification=right
492 \end_layout
493
494 \end_inset
495
496 This is also a comment, but it is a PDF-Freetext annotation.
497 \end_layout
498
499 \end_inset
500
501
502 \begin_inset Newline newline
503 \end_inset
504
505
506 \begin_inset Newline newline
507 \end_inset
508
509
510 \begin_inset Newline newline
511 \end_inset
512
513
514 \begin_inset Newline newline
515 \end_inset
516
517
518 \end_layout
519
520 \begin_layout Subsection
521 PDF-Line
522 \end_layout
523
524 \begin_layout Standard
525 This will typeset a comment in form of a line, polyline or polygon.
526  Here is an example without any options: 
527 \begin_inset Flex PDF-Line
528 status open
529
530 \begin_layout Plain Layout
531 a simple PDF-Line comment
532 \end_layout
533
534 \end_inset
535
536
537 \begin_inset Newline newline
538 \end_inset
539
540
541 \end_layout
542
543 \begin_layout Standard
544 As you can see a PDF-Line comment without options is useless.
545 \end_layout
546
547 \begin_layout Standard
548 The green arrow at the left side of this page is an example for a PDF-Line
549  comment with options.
550  
551 \begin_inset Flex PDF-Line
552 status open
553
554 \begin_layout Plain Layout
555 \begin_inset Argument 1
556 status collapsed
557
558 \begin_layout Plain Layout
559 type=line,opacity=1,line=
560 \begin_inset ERT
561 status collapsed
562
563 \begin_layout Plain Layout
564
565 {
566 \end_layout
567
568 \end_inset
569
570 50 480 50 180
571 \begin_inset ERT
572 status collapsed
573
574 \begin_layout Plain Layout
575
576 }
577 \end_layout
578
579 \end_inset
580
581 ,color=green,icolor=blue,caption=top,linebegin=
582 \begin_inset ERT
583 status collapsed
584
585 \begin_layout Plain Layout
586
587 {
588 \end_layout
589
590 \end_inset
591
592 /ROpenArrow
593 \begin_inset ERT
594 status collapsed
595
596 \begin_layout Plain Layout
597
598 }
599 \end_layout
600
601 \end_inset
602
603 ,lineend=
604 \begin_inset ERT
605 status collapsed
606
607 \begin_layout Plain Layout
608
609 {
610 \end_layout
611
612 \end_inset
613
614 /OpenArrow
615 \begin_inset ERT
616 status collapsed
617
618 \begin_layout Plain Layout
619
620 }
621 \end_layout
622
623 \end_inset
624
625 ,linewidth=2bp,captionhoffset=-5pt,captionvoffset=15pt
626 \end_layout
627
628 \end_inset
629
630 a PDF-Line comment with options
631 \end_layout
632
633 \end_inset
634
635
636 \end_layout
637
638 \begin_layout Subsection
639 PDF-Margin
640 \end_layout
641
642 \begin_layout Standard
643 This will typeset an annotation into the margin.
644  Right besides this text is an example without options: 
645 \begin_inset Flex PDF-Margin
646 status open
647
648 \begin_layout Plain Layout
649 a simple PDF-Margin comment
650 \end_layout
651
652 \end_inset
653
654
655 \end_layout
656
657 \begin_layout Standard
658 The red margin note is an example for a PDF-Margin with options.
659  
660 \begin_inset Flex PDF-Margin
661 status open
662
663 \begin_layout Plain Layout
664 \begin_inset Argument 1
665 status collapsed
666
667 \begin_layout Plain Layout
668 icon=Note,color=red,open=true,hspace=100pt
669 \end_layout
670
671 \end_inset
672
673 a PDF-Margin comment with options
674 \end_layout
675
676 \end_inset
677
678
679 \end_layout
680
681 \begin_layout Subsection
682 PDF-Markup
683 \end_layout
684
685 \begin_layout Standard
686 This will typeset so called PDF text markup annotations over some text or
687  math.
688  Here is a markup without options: 
689 \begin_inset Flex PDF-Markup
690 status open
691
692 \begin_layout Plain Layout
693 simple PDF-Markup
694 \end_layout
695
696 \end_inset
697
698
699 \end_layout
700
701 \begin_layout Standard
702 Possible types for the option 
703 \series bold
704 markup
705 \series default
706  are:
707 \end_layout
708
709 \begin_layout Description
710 Highlight The markup text will be highlighted: 
711 \begin_inset Flex PDF-Markup
712 status open
713
714 \begin_layout Plain Layout
715 \begin_inset Argument 1
716 status open
717
718 \begin_layout Plain Layout
719 \begin_inset Note Note
720 status open
721
722 \begin_layout Plain Layout
723 id=1,
724 \end_layout
725
726 \end_inset
727
728 markup=Highlight
729 \end_layout
730
731 \end_inset
732
733 Highlight PDF-Markup
734 \begin_inset Argument post:1
735 status open
736
737 \begin_layout Plain Layout
738 a comment
739 \end_layout
740
741 \end_inset
742
743
744 \end_layout
745
746 \end_inset
747
748
749 \begin_inset Note Note
750 status collapsed
751
752 \begin_layout Plain Layout
753 see the next section for the description of the option 
754 \series bold
755 id=1
756 \end_layout
757
758 \end_inset
759
760
761 \end_layout
762
763 \begin_layout Description
764 Underline The markup text will be underlined: 
765 \begin_inset Flex PDF-Markup
766 status open
767
768 \begin_layout Plain Layout
769 \begin_inset Argument 1
770 status open
771
772 \begin_layout Plain Layout
773 markup=Underline
774 \end_layout
775
776 \end_inset
777
778 Underlining PDF-Markup
779 \end_layout
780
781 \end_inset
782
783
784 \end_layout
785
786 \begin_layout Description
787 Squiggly The markup text will be underlined with a wave: 
788 \begin_inset Flex PDF-Markup
789 status open
790
791 \begin_layout Plain Layout
792 \begin_inset Argument 1
793 status open
794
795 \begin_layout Plain Layout
796 markup=Squiggly
797 \end_layout
798
799 \end_inset
800
801 Underwave PDF-Markup
802 \end_layout
803
804 \end_inset
805
806
807 \end_layout
808
809 \begin_layout Description
810 StrikeOut The markup text will be struck-out: 
811 \begin_inset Flex PDF-Markup
812 status open
813
814 \begin_layout Plain Layout
815 \begin_inset Argument 1
816 status open
817
818 \begin_layout Plain Layout
819 markup=StrikeOut
820 \end_layout
821
822 \end_inset
823
824 Striked-out PDF-Markup
825 \end_layout
826
827 \end_inset
828
829
830 \end_layout
831
832 \begin_layout Description
833 mathpopup Formula parts will be highlighted.
834
835 \series bold
836  
837 \series default
838
839 \begin_inset Note Greyedout
840 status open
841
842 \begin_layout Plain Layout
843
844 \series bold
845 Note:
846 \series default
847  The PDF-Markup inset cannot be used for this option!
848 \end_layout
849
850 \end_inset
851
852  Instead the command 
853 \series bold
854
855 \backslash
856 pdfmarkupcomment
857 \series default
858  woll be used in a formula with this scheme:
859 \begin_inset Newline newline
860 \end_inset
861
862 Command:
863 \begin_inset Newline newline
864 \end_inset
865
866
867 \series bold
868
869 \backslash
870 pdfmarkupcomment[style=mathpopup]
871 \backslash
872 {formula part}
873 \begin_inset Formula $\to$
874 \end_inset
875
876
877 \backslash
878 {
879 \backslash
880 text
881 \begin_inset space \textvisiblespace{}
882 \end_inset
883
884
885 \begin_inset Newline newline
886 \end_inset
887
888 optional comment}
889 \begin_inset Newline newline
890 \end_inset
891
892
893 \series default
894 Result:
895 \end_layout
896
897 \begin_layout Standard
898 \begin_inset Formula 
899 \[
900 \pdfmarkupcomment[style=mathpopup]{\sum_{i=1}^{n}i=\frac{1}{2}n\cdot(n+1)}{\text{little Gauss}}
901 \]
902
903 \end_inset
904
905
906 \end_layout
907
908 \begin_layout Standard
909 The text for the comment is inserted with the inset option 
910 \family sans
911 Comment
912 \family default
913 .
914 \end_layout
915
916 \begin_layout Standard
917 PDF-Markup has some limitations:
918 \end_layout
919
920 \begin_layout Itemize
921 the markup text must not be longer than one paragraph
922 \end_layout
923
924 \begin_layout Itemize
925 the markup annotation must not be longer than one page, otherwise the recognitio
926 n of the page break will fail
927 \end_layout
928
929 \begin_layout Itemize
930 when using Xe\SpecialChar TeX
931  you have to assure that the page dimensions are internally
932  output, e.
933 \begin_inset space \thinspace{}
934 \end_inset
935
936 g.
937 \begin_inset space \space{}
938 \end_inset
939
940 with the document class option 
941 \series bold
942 pagesize
943 \series default
944  for the KOMA-Script classes, or the option 
945 \series bold
946 pagesize
947 \series default
948  for the \SpecialChar LaTeX
949 -package 
950 \series bold
951 typearea
952 \series default
953 .
954 \end_layout
955
956 \begin_layout Subsection
957 PDF-Reply
958 \end_layout
959
960 \begin_layout Standard
961 \begin_inset Note Greyedout
962 status open
963
964 \begin_layout Plain Layout
965
966 \series bold
967 Attention:
968 \series default
969  Due to technical limitations PDF-Reply only works when using pdflatex.
970  On some \SpecialChar LaTeX
971  installations it won't even work in general.
972 \end_layout
973
974 \end_inset
975
976
977 \end_layout
978
979 \begin_layout Standard
980 With a PDF-Reply you can compose replies to PDF comments.
981  The option 
982 \series bold
983 replyto
984 \series default
985  provides a clear reference to the comment the reply refers to.
986 \end_layout
987
988 \begin_layout Standard
989 As example see the reply to the Highlight PDF-Markup from the previous section.
990  
991 \begin_inset Note Note
992 status open
993
994 \begin_layout Plain Layout
995 \begin_inset Flex PDF-Reply
996 status open
997
998 \begin_layout Plain Layout
999 \begin_inset Argument 1
1000 status open
1001
1002 \begin_layout Plain Layout
1003 id=2,replyto=1,date=D:20101211161247+01'00'
1004 \end_layout
1005
1006 \end_inset
1007
1008 This is a reply.
1009 \end_layout
1010
1011 \end_inset
1012
1013
1014 \end_layout
1015
1016 \end_inset
1017
1018  It appears in that PDF-Markup comment.
1019  To be able to reference the PDF-Markup the option 
1020 \series bold
1021 id=1
1022 \series default
1023  was added to its options.
1024  The PDF-Reply got the option 
1025 \series bold
1026 replyto=1
1027 \series default
1028 .
1029 \end_layout
1030
1031 \begin_layout Standard
1032 You can also reply to replies by adding an 
1033 \series bold
1034 id
1035 \series default
1036  option to the reply that should be replied to.
1037  As example see the reply to the reply to the PDF-Markup.
1038  
1039 \begin_inset Note Note
1040 status open
1041
1042 \begin_layout Plain Layout
1043 \begin_inset Flex PDF-Reply
1044 status open
1045
1046 \begin_layout Plain Layout
1047 \begin_inset Argument 1
1048 status open
1049
1050 \begin_layout Plain Layout
1051 replyto=2,date=D:20101212095321+01'00'
1052 \end_layout
1053
1054 \end_inset
1055
1056 Of course, you can reply to a reply.
1057 \end_layout
1058
1059 \end_inset
1060
1061
1062 \end_layout
1063
1064 \end_inset
1065
1066
1067 \end_layout
1068
1069 \begin_layout Standard
1070 PDF-Reply has limitations:
1071 \end_layout
1072
1073 \begin_layout Itemize
1074 It can not support page breaks.
1075 \end_layout
1076
1077 \begin_layout Itemize
1078 The replies will only appear in the PDF annotations on the second page.
1079  (Replies to comments without page break work smoothly.)
1080 \end_layout
1081
1082 \begin_layout Subsection
1083 PDF-Sideline
1084 \end_layout
1085
1086 \begin_layout Standard
1087 This will typeset a comment in form of identical markers on every side of
1088  the page.
1089  The yellow arrows besides this text are an example of a PDF-Sideline without
1090  any options: 
1091 \begin_inset Flex PDF-Sideline
1092 status open
1093
1094 \begin_layout Plain Layout
1095 a simple PDF-Sideline
1096 \end_layout
1097
1098 \end_inset
1099
1100
1101 \end_layout
1102
1103 \begin_layout Standard
1104 As you can see a PDF-Sideline comment without options is quite useless.
1105  PDF-Sideline is useful if you want to highlight complete parts of a page.
1106  The inset options define the layout of the marker while the normal content
1107  of the inset is the text surrounded by the markers.
1108  The content of the inset option 
1109 \family sans
1110 Comment
1111 \family default
1112  will be printed along both markers.
1113  Here is an example:
1114 \end_layout
1115
1116 \begin_layout Standard
1117 \begin_inset Flex PDF-Sideline
1118 status open
1119
1120 \begin_layout Plain Layout
1121 \begin_inset Argument 1
1122 status collapsed
1123
1124 \begin_layout Plain Layout
1125 opacity=0.33,color=magenta,icolor=cyan,caption=inline,linebegin=
1126 \begin_inset ERT
1127 status collapsed
1128
1129 \begin_layout Plain Layout
1130
1131 {
1132 \end_layout
1133
1134 \end_inset
1135
1136 /Butt
1137 \begin_inset ERT
1138 status collapsed
1139
1140 \begin_layout Plain Layout
1141
1142 }
1143 \end_layout
1144
1145 \end_inset
1146
1147 ,lineend=
1148 \begin_inset ERT
1149 status collapsed
1150
1151 \begin_layout Plain Layout
1152
1153 {
1154 \end_layout
1155
1156 \end_inset
1157
1158 /Square
1159 \begin_inset ERT
1160 status collapsed
1161
1162 \begin_layout Plain Layout
1163
1164 }
1165 \end_layout
1166
1167 \end_inset
1168
1169 ,linewidth=3bp,linesep=0.7cm
1170 \end_layout
1171
1172 \end_inset
1173
1174 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1175  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1176  voluptua.
1177  At vero eos et accusam et justo duo dolores et ea rebum.
1178  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1179  sit amet.
1180  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1181  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1182  voluptua.
1183 \end_layout
1184
1185 \begin_layout Plain Layout
1186 At vero eos et accusam et justo duo dolores et ea rebum.
1187  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1188  sit amet.
1189  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
1190  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
1191  voluptua.
1192  At vero eos et accusam et justo duo dolores et ea rebum.
1193  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
1194  sit amet.
1195 \begin_inset Argument 2
1196 status open
1197
1198 \begin_layout Plain Layout
1199 Comment text
1200 \end_layout
1201
1202 \end_inset
1203
1204
1205 \end_layout
1206
1207 \end_inset
1208
1209
1210 \end_layout
1211
1212 \begin_layout Standard
1213 PDF-Sideline has some limitations:
1214 \end_layout
1215
1216 \begin_layout Itemize
1217 the comment should not be longer than one page, otherwise the recognition
1218  of the page could fail
1219 \end_layout
1220
1221 \begin_layout Itemize
1222 when using Xe\SpecialChar TeX
1223  you have to assure that the page dimensions are internally
1224  output, e.
1225 \begin_inset space \thinspace{}
1226 \end_inset
1227
1228 g.
1229 \begin_inset space \space{}
1230 \end_inset
1231
1232 with the document class option 
1233 \series bold
1234 pagesize
1235 \series default
1236  for the KOMA-Script classes, or the option 
1237 \series bold
1238 pagesize
1239 \series default
1240  for the \SpecialChar LaTeX
1241 -package 
1242 \series bold
1243 typearea
1244 \series default
1245 .
1246 \end_layout
1247
1248 \begin_layout Subsection
1249 PDF-Square
1250 \end_layout
1251
1252 \begin_layout Standard
1253 This will typeset a rectangular box.
1254  Here is an example without any options: 
1255 \begin_inset Flex PDF-Square
1256 status open
1257
1258 \begin_layout Plain Layout
1259 a simple PDF-Square comment
1260 \end_layout
1261
1262 \end_inset
1263
1264
1265 \end_layout
1266
1267 \begin_layout Standard
1268 Below this text you see a rectangle comment with a curvy outline as example
1269  of a PDF-Square with options.
1270 \end_layout
1271
1272 \begin_layout Standard
1273 \begin_inset Flex PDF-Square
1274 status open
1275
1276 \begin_layout Plain Layout
1277 \begin_inset Argument 1
1278 status collapsed
1279
1280 \begin_layout Plain Layout
1281 height=2cm,width=4.8cm,voffset=-2cm,hoffset=1cm,opacity=1.0,justification=right,ic
1282 olor=CornflowerBlue,bse=cloudy,bsei=2.5,linewidth=8pt
1283 \end_layout
1284
1285 \end_inset
1286
1287 A fancy PDF-Square comment
1288 \end_layout
1289
1290 \end_inset
1291
1292
1293 \begin_inset Newline newline
1294 \end_inset
1295
1296
1297 \begin_inset Newline newline
1298 \end_inset
1299
1300
1301 \begin_inset Newline newline
1302 \end_inset
1303
1304
1305 \begin_inset Newline newline
1306 \end_inset
1307
1308
1309 \end_layout
1310
1311 \begin_layout Subsection
1312 PDF-Tooltip
1313 \end_layout
1314
1315 \begin_layout Standard
1316 With this you can annotate any object with a tooltip.
1317 \begin_inset Foot
1318 status open
1319
1320 \begin_layout Plain Layout
1321 All objects that can be set into a \SpecialChar TeX
1322 -box to measure its size.
1323 \end_layout
1324
1325 \end_inset
1326
1327
1328 \end_layout
1329
1330 \begin_layout Standard
1331 The PDF-Tooltip inset has a mandatory argument for the tooltip.
1332  The object that should be annotated is set into the PDF-Tooltip inset,
1333  the tooltip is written into the mandatory argument.
1334  Here is as example of a word with a tooltip: 
1335 \begin_inset Flex PDF-Tooltip
1336 status open
1337
1338 \begin_layout Plain Layout
1339 \begin_inset Argument post:1
1340 status open
1341
1342 \begin_layout Plain Layout
1343 This is a tooltip!
1344 \end_layout
1345
1346 \end_inset
1347
1348
1349 \color red
1350 word
1351 \end_layout
1352
1353 \end_inset
1354
1355
1356 \end_layout
1357
1358 \begin_layout Standard
1359 Since a tooltip can be used for almost any object, one can also use it for
1360  chemical notations in math: 
1361 \begin_inset Flex PDF-Tooltip
1362 status open
1363
1364 \begin_layout Plain Layout
1365 \begin_inset Argument post:1
1366 status open
1367
1368 \begin_layout Plain Layout
1369 Sulfuric acid
1370 \end_layout
1371
1372 \end_inset
1373
1374
1375 \begin_inset Formula $\ce{H2SO4}$
1376 \end_inset
1377
1378
1379 \end_layout
1380
1381 \end_inset
1382
1383
1384 \end_layout
1385
1386 \begin_layout Standard
1387 The PDF-Tooltip inset has also an option that is used to correct the size
1388  of the tooltip for math (if necessary) or to disable an annotation.
1389  Here is an example with a mathstyle option:
1390 \end_layout
1391
1392 \begin_layout Standard
1393 \begin_inset Flex PDF-Tooltip
1394 status open
1395
1396 \begin_layout Plain Layout
1397 \begin_inset Argument 1
1398 status open
1399
1400 \begin_layout Plain Layout
1401 mathstyle=
1402 \begin_inset ERT
1403 status collapsed
1404
1405 \begin_layout Plain Layout
1406
1407
1408 \backslash
1409 displaystyle
1410 \end_layout
1411
1412 \end_inset
1413
1414  
1415 \end_layout
1416
1417 \end_inset
1418
1419
1420 \begin_inset Argument post:1
1421 status open
1422
1423 \begin_layout Plain Layout
1424 little Gauß
1425 \end_layout
1426
1427 \end_inset
1428
1429
1430 \begin_inset Formula $\sum_{i=1}^{n}i=\frac{1}{2}n\cdot(n+1)$
1431 \end_inset
1432
1433
1434 \end_layout
1435
1436 \end_inset
1437
1438  
1439 \end_layout
1440
1441 \begin_layout Section
1442 Comment definitions
1443 \end_layout
1444
1445 \begin_layout Standard
1446 The package 
1447 \series bold
1448 pdfcomment
1449 \series default
1450  provides the following environments to define or change PDF comments:
1451 \end_layout
1452
1453 \begin_layout Subsection
1454 PDF-Comment setup
1455 \begin_inset CommandInset label
1456 LatexCommand label
1457 name "subsec:PDF-Comment-setup"
1458
1459 \end_inset
1460
1461
1462 \end_layout
1463
1464 \begin_layout Standard
1465 With this custom inset you can reset the global (document-wide) options
1466  at any time.
1467  For example the default color for new PDF comments is blue.
1468  To get Adobe Reader's yellow colored notes for all comments in your document,
1469  add the PDF comment setup inset to the beginning of your document and insert
1470  there the option 
1471 \series bold
1472 color=yellow
1473 \series default
1474 .
1475  This was also done in this document.
1476 \end_layout
1477
1478 \begin_layout Standard
1479 By using its optional option 
1480 \series bold
1481 local
1482 \series default
1483  you can keep the reset local within a group enclosed by \SpecialChar TeX
1484 -braces.
1485  For example you want to reset the color only for two consecutive comments,
1486  then enclose the PDF comment setup inset and the two comment insets in
1487  \SpecialChar TeX
1488 -braces.
1489  Here is an example:
1490 \end_layout
1491
1492 \begin_layout Standard
1493 \begin_inset ERT
1494 status collapsed
1495
1496 \begin_layout Plain Layout
1497
1498 {
1499 \end_layout
1500
1501 \end_inset
1502
1503
1504 \begin_inset Flex PDF-Comment-Setup
1505 status open
1506
1507 \begin_layout Plain Layout
1508 \begin_inset Argument 1
1509 status open
1510
1511 \begin_layout Plain Layout
1512 local
1513 \end_layout
1514
1515 \end_inset
1516
1517 color=Orange
1518 \end_layout
1519
1520 \end_inset
1521
1522
1523 \begin_inset Flex PDF-Markup
1524 status collapsed
1525
1526 \begin_layout Plain Layout
1527 PDF-Markup in orange
1528 \end_layout
1529
1530 \end_inset
1531
1532
1533 \begin_inset space ~
1534 \end_inset
1535
1536
1537 \begin_inset space ~
1538 \end_inset
1539
1540
1541 \begin_inset space ~
1542 \end_inset
1543
1544
1545 \begin_inset Flex PDF-Annotation
1546 status collapsed
1547
1548 \begin_layout Plain Layout
1549 PDF-Annotation in orange
1550 \end_layout
1551
1552 \end_inset
1553
1554
1555 \begin_inset ERT
1556 status collapsed
1557
1558 \begin_layout Plain Layout
1559
1560 }
1561 \end_layout
1562
1563 \end_inset
1564
1565
1566 \begin_inset Flex PDF-Margin
1567 status collapsed
1568
1569 \begin_layout Plain Layout
1570 default PDF-Margin comment
1571 \end_layout
1572
1573 \end_inset
1574
1575
1576 \end_layout
1577
1578 \begin_layout Subsection
1579 PDF Comment style
1580 \end_layout
1581
1582 \begin_layout Standard
1583 This environment allows you to define a style for a PDF comment that can
1584  be used by several comments.
1585  Assuming you write a Math tutorial and want to add popup explanations in
1586  the PDF for several expressions, then insert a PDF Comment style environment
1587  before your first formula.
1588  Name it for example 
1589 \series bold
1590 MathPopup
1591 \series default
1592 , set the color to white with 
1593 \series bold
1594 color=white
1595 \series default
1596  and highlight the whole formula with 
1597 \series bold
1598 markup=Highlight
1599 \series default
1600 .
1601 \end_layout
1602
1603 \begin_layout Define PDF-Comment Style
1604 \begin_inset Argument 1
1605 status open
1606
1607 \begin_layout Plain Layout
1608 MathPopup
1609 \end_layout
1610
1611 \end_inset
1612
1613 color=white,markup=Highlight
1614 \end_layout
1615
1616 \begin_layout Standard
1617 In the comments use the option 
1618 \series bold
1619 style=MathPopup
1620 \series default
1621  to use your style.
1622  Here is an example:
1623 \end_layout
1624
1625 \begin_layout Standard
1626 \begin_inset Flex PDF-Markup
1627 status open
1628
1629 \begin_layout Plain Layout
1630 \begin_inset Argument 1
1631 status open
1632
1633 \begin_layout Plain Layout
1634
1635 \family roman
1636 \series medium
1637 \shape up
1638 \size normal
1639 \emph off
1640 \bar no
1641 \strikeout off
1642 \uuline off
1643 \uwave off
1644 \noun off
1645 \color none
1646 style=
1647 \family default
1648 \series default
1649 \shape default
1650 \size default
1651 \emph default
1652 \bar default
1653 \strikeout default
1654 \uuline default
1655 \uwave default
1656 \noun default
1657 \color inherit
1658 MathPopup
1659 \end_layout
1660
1661 \end_inset
1662
1663
1664 \begin_inset Formula $P(E)$
1665 \end_inset
1666
1667
1668 \begin_inset Argument post:1
1669 status open
1670
1671 \begin_layout Plain Layout
1672
1673 \family roman
1674 \series medium
1675 \shape up
1676 \size normal
1677 \emph off
1678 \bar no
1679 \strikeout off
1680 \uuline off
1681 \uwave off
1682 \noun off
1683 \color none
1684 Probability of event E
1685 \end_layout
1686
1687 \end_inset
1688
1689
1690 \end_layout
1691
1692 \end_inset
1693
1694
1695 \end_layout
1696
1697 \begin_layout Subsection
1698 \begin_inset CommandInset label
1699 LatexCommand label
1700 name "sec:Avatars"
1701
1702 \end_inset
1703
1704 Avatars
1705 \end_layout
1706
1707 \begin_layout Standard
1708 If you are for example reviewing a document, you need to add your name to
1709  every of your comments.
1710  In case you use a special layout of your annotations, you would have to
1711  do a lot of copy-paste work.
1712  But this can be avoided if you define for every comment author a special
1713  avatar.
1714 \end_layout
1715
1716 \begin_layout Standard
1717 Assuming your name is 
1718 \begin_inset Quotes eld
1719 \end_inset
1720
1721 Oleg Testman
1722 \begin_inset Quotes erd
1723 \end_inset
1724
1725  you can define an avatar for your name using the environment 
1726 \family sans
1727 Define
1728 \begin_inset space ~
1729 \end_inset
1730
1731 Avatar
1732 \family default
1733 .
1734  Its mandatory option is the name.
1735  In your case, name it 
1736 \series bold
1737 Oleg
1738 \series default
1739 .
1740  Add behind the name of the avatar your name as author by writing 
1741 \series bold
1742 author={Oleg Testman}
1743 \series default
1744 .
1745 \begin_inset Newline newline
1746 \end_inset
1747
1748 You might use a special icon to see at the first look which comments were
1749  made by you.
1750  You therefore add behind the author-statement, separated by a comma, 
1751 \begin_inset Quotes eld
1752 \end_inset
1753
1754
1755 \series bold
1756 icon=Check
1757 \series default
1758
1759 \begin_inset Quotes erd
1760 \end_inset
1761
1762  to get a checkmark.
1763 \begin_inset Foot
1764 status open
1765
1766 \begin_layout Plain Layout
1767 For all possible icons, see the 
1768 \series bold
1769 pdfcomment
1770 \series default
1771  manual.
1772 \end_layout
1773
1774 \end_inset
1775
1776  the checkmark should have a green color so that you add 
1777 \series bold
1778 color=lime
1779 \series default
1780  to the avatar definition.
1781  Your whole definition reads now
1782 \begin_inset Newline newline
1783 \end_inset
1784
1785
1786 \series bold
1787 author={Oleg Testman},icon=Check,color=lime
1788 \end_layout
1789
1790 \begin_layout Define Avatar
1791 \begin_inset Argument 1
1792 status open
1793
1794 \begin_layout Plain Layout
1795 Oleg
1796 \end_layout
1797
1798 \end_inset
1799
1800 author={Oleg Testman},icon=Check,color=lime
1801 \end_layout
1802
1803 \begin_layout Standard
1804 To use now your avatar for PDF comments you have two choices:
1805 \end_layout
1806
1807 \begin_layout Enumerate
1808 You set up that all PDF comments in the document use your avatar.
1809  This is done by inserting the custom inset 
1810 \family sans
1811 PDF
1812 \begin_inset space ~
1813 \end_inset
1814
1815 Comment-Setup
1816 \family default
1817  before the first PDF comment in your document.
1818  Insert to this inset 
1819 \series bold
1820 avatar=Oleg
1821 \series default
1822 .
1823 \end_layout
1824
1825 \begin_layout Enumerate
1826 You add 
1827 \series bold
1828 avatar=Oleg
1829 \series default
1830  to the options of a particular PDF comment.
1831  The avatar will then only be used for this comment.
1832 \end_layout
1833
1834 \begin_layout Standard
1835 Here is an example for the 
1836 \family sans
1837 PDF
1838 \begin_inset space ~
1839 \end_inset
1840
1841 Comment-Setup
1842 \family default
1843  method:
1844 \begin_inset Flex PDF-Comment-Setup
1845 status open
1846
1847 \begin_layout Plain Layout
1848 avatar=Oleg
1849 \end_layout
1850
1851 \end_inset
1852
1853
1854 \begin_inset Flex PDF-Annotation
1855 status open
1856
1857 \begin_layout Plain Layout
1858 Oleg said: Wow, that's nice!
1859 \end_layout
1860
1861 \end_inset
1862
1863
1864 \begin_inset Newline newline
1865 \end_inset
1866
1867 and here is another comment:
1868 \begin_inset Flex PDF-Annotation
1869 status open
1870
1871 \begin_layout Plain Layout
1872 Oleg also said: I hate to repeat myself.
1873 \end_layout
1874
1875 \end_inset
1876
1877
1878 \end_layout
1879
1880 \begin_layout Define Avatar
1881 \begin_inset Argument 1
1882 status open
1883
1884 \begin_layout Plain Layout
1885 Dolittle
1886 \end_layout
1887
1888 \end_inset
1889
1890 color=NavyBlue,opacity=0.5,open=false,icon=Circle,author={Dr.
1891  Dolittle}
1892 \end_layout
1893
1894 \begin_layout Standard
1895 Here is an example where another avatar 
1896 \begin_inset Quotes eld
1897 \end_inset
1898
1899 Dolittle
1900 \begin_inset Quotes erd
1901 \end_inset
1902
1903  is only used for this comment:
1904 \begin_inset Flex PDF-Margin
1905 status open
1906
1907 \begin_layout Plain Layout
1908 \begin_inset Argument 1
1909 status open
1910
1911 \begin_layout Plain Layout
1912 avatar=Dolittle
1913 \end_layout
1914
1915 \end_inset
1916
1917 I am Dr.
1918  Dolittle! Respect my authority!
1919 \end_layout
1920
1921 \end_inset
1922
1923
1924 \end_layout
1925
1926 \begin_layout Section
1927 List of PDF comments
1928 \end_layout
1929
1930 \begin_layout Standard
1931 You can insert a list with all PDF comments using the environment 
1932 \family sans
1933 List of PDF comments
1934 \family default
1935 .
1936  By specifying options for it you can determine what parts of the comments
1937  should appear in the list.
1938  Here is the list for this document where only the comments of a defined
1939  author are printed:
1940 \end_layout
1941
1942 \begin_layout List of PDF Comments
1943 \begin_inset Argument 1
1944 status open
1945
1946 \begin_layout Plain Layout
1947 liststyle=
1948 \begin_inset ERT
1949 status collapsed
1950
1951 \begin_layout Plain Layout
1952
1953 {
1954 \end_layout
1955
1956 \end_inset
1957
1958 AuthorComment
1959 \begin_inset ERT
1960 status collapsed
1961
1962 \begin_layout Plain Layout
1963
1964 }
1965 \end_layout
1966
1967 \end_inset
1968
1969 , heading =
1970 \begin_inset ERT
1971 status collapsed
1972
1973 \begin_layout Plain Layout
1974
1975 {
1976 \end_layout
1977
1978 \end_inset
1979
1980 List of PDF comments
1981 \begin_inset ERT
1982 status collapsed
1983
1984 \begin_layout Plain Layout
1985
1986 }
1987 \end_layout
1988
1989 \end_inset
1990
1991
1992 \end_layout
1993
1994 \end_inset
1995
1996
1997 \end_layout
1998
1999 \begin_layout Standard
2000 You can also define your own style using the environment
2001 \begin_inset Newline newline
2002 \end_inset
2003
2004
2005 \family sans
2006 Define
2007 \begin_inset space ~
2008 \end_inset
2009
2010 PDF
2011 \begin_inset space ~
2012 \end_inset
2013
2014 Comment
2015 \begin_inset space ~
2016 \end_inset
2017
2018 List
2019 \begin_inset space ~
2020 \end_inset
2021
2022 Style
2023 \begin_inset Newline newline
2024 \end_inset
2025
2026
2027 \family default
2028 if you know enough about the tricky \SpecialChar LaTeX
2029  internals.
2030  With the environment
2031 \begin_inset Newline newline
2032 \end_inset
2033
2034
2035 \family sans
2036 Set
2037 \begin_inset space ~
2038 \end_inset
2039
2040 PDF
2041 \begin_inset space ~
2042 \end_inset
2043
2044 Comment
2045 \begin_inset space ~
2046 \end_inset
2047
2048 List
2049 \begin_inset space ~
2050 \end_inset
2051
2052 Style
2053 \begin_inset Newline newline
2054 \end_inset
2055
2056
2057 \family default
2058 you can set a list style.
2059 \end_layout
2060
2061 \begin_layout Define PDF-Comment List Style
2062 \begin_inset Argument 1
2063 status open
2064
2065 \begin_layout Plain Layout
2066 MyStyle
2067 \end_layout
2068
2069 \end_inset
2070
2071
2072 \backslash
2073 makeatletter
2074 \backslash
2075 pc@lopt@author
2076 \backslash
2077  - 
2078 \backslash
2079 pc@lopt@subject
2080 \backslash
2081  (
2082 \backslash
2083 pc@lopt@deadline)
2084 \backslash
2085 makeatother
2086 \end_layout
2087
2088 \begin_layout Set PDF-Comment List Style
2089 AuthorCommentDeadline
2090 \end_layout
2091
2092 \begin_layout Standard
2093 \begin_inset Note Greyedout
2094 status open
2095
2096 \begin_layout Plain Layout
2097
2098 \series bold
2099 Note:
2100 \series default
2101  Only one list of comments can be printed in the PDF.
2102 \end_layout
2103
2104 \end_inset
2105
2106
2107 \end_layout
2108
2109 \begin_layout Section
2110 General Hints
2111 \end_layout
2112
2113 \begin_layout Itemize
2114 To be able to use all kinds of colors and color definitions you must load
2115  the \SpecialChar LaTeX
2116  package 
2117 \series bold
2118 xcolor
2119 \series default
2120  in the document preamble this way:
2121 \begin_inset Newline newline
2122 \end_inset
2123
2124
2125 \series bold
2126
2127 \backslash
2128 usepackage[svgnames,rgb]{xcolor}
2129 \end_layout
2130
2131 \begin_layout Itemize
2132 If you have two consecutive PDF
2133 \begin_inset space ~
2134 \end_inset
2135
2136 comment insets, the will appear in the PDF one over each other:
2137 \begin_inset Flex PDF-Comment-Setup
2138 status open
2139
2140 \begin_layout Plain Layout
2141 avatar=Oleg
2142 \end_layout
2143
2144 \end_inset
2145
2146
2147 \begin_inset Flex PDF-Annotation
2148 status open
2149
2150 \begin_layout Plain Layout
2151 Oleg said: Wow, that's nice!
2152 \end_layout
2153
2154 \end_inset
2155
2156
2157 \begin_inset Flex PDF-Annotation
2158 status open
2159
2160 \begin_layout Plain Layout
2161 Oleg also said: I hate to repeat myself.
2162 \end_layout
2163
2164 \end_inset
2165
2166
2167 \begin_inset Newline newline
2168 \end_inset
2169
2170 To avoid that separate them with whitespace like protected space:
2171 \begin_inset Flex PDF-Annotation
2172 status open
2173
2174 \begin_layout Plain Layout
2175 Oleg said: Wow, that's nice!
2176 \end_layout
2177
2178 \end_inset
2179
2180
2181 \begin_inset space ~
2182 \end_inset
2183
2184
2185 \begin_inset space ~
2186 \end_inset
2187
2188
2189 \begin_inset space ~
2190 \end_inset
2191
2192
2193 \begin_inset space ~
2194 \end_inset
2195
2196
2197 \begin_inset space ~
2198 \end_inset
2199
2200
2201 \begin_inset space ~
2202 \end_inset
2203
2204
2205 \begin_inset space ~
2206 \end_inset
2207
2208
2209 \begin_inset Flex PDF-Annotation
2210 status open
2211
2212 \begin_layout Plain Layout
2213 Oleg also said: I hate to repeat myself.
2214 \end_layout
2215
2216 \end_inset
2217
2218
2219 \end_layout
2220
2221 \begin_layout Itemize
2222 You cannot use non-Latin characters in your comment or in the author name.
2223  The reason is that PDFs use a special character encoding that is not compatible
2224  with \SpecialChar LaTeX
2225 .
2226 \end_layout
2227
2228 \end_body
2229 \end_document