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