/media/bill/SWAPPER/bin/pdf edits/0_pdf edits notes.txt # 14Apr2019 I should be using Python! # https://stackoverflow.com/questions/28679706/how-to-edit-a-pdf-file-replacing-its-data#28680735 see also "/media/bill/PROJECTS/System_maintenance/pdf edits/0_pdf edits notes.txt" ********** Official IJCNN2019 margins : header : 1st page 1" (2.5cm), subsequent pages 0.75" (2cm) footer : 1st page 0.75" (2 cm), subsequent pages 0.75" (2cm) left & right margins 0.75" (2cm), all pages +-----+ CRWN 19557, 19966 USGv 19330 Euro none... MUST change "0_paperNum, copyright, Title.txt" when [CRWN, Euro, IEEE, USGv] change ************ Monday 29Jul2019 - email final warning to authors Wednesday 31Jul2019 - upload all pdfs (newer versions only), but not the still-problematic ones. I can edit out the old copyright : 19265, 19365 ************* Mr. Bill Howell 1-587-707-2027 Bill@BillHowell.ca www.BillHowell.ca P.O. Box 299, Hussar, Alberta, T0J1S0 member - International Neural Network Society (INNS), IEEE Computational Intelligence Society (IEEE-CIS), WCCI2020 Glasgow, Publicity Chair mass emails, http://wcci2020.org/ Retired: Science Research Manager (SE-REM-01) at Natural Resources Canada, CanmetMINING, Ottawa ******************************************** ********* 05Aug2019 Create web-page "Summary : Attendee downloads of conference papers" ********* 03Aug2019 Final paper correction - 19548 Can't download? I did it after MANY tries! +-----+ 03Aug2019 URL : https://mail.qq.com/cgi-bin/ftnExs_download?k=f134623211c89cca652a90241538561a51500002010b01514f5555535615500c00524f0b560c011804575a510b01020703515b5633646461215b2612721830470342075e5a560315215b0f4252560d5a0c14265b405b0b4307461b127e5d105d0d504270524b0151425b0c12705411461651105b5d5f44540c504273404b0b560b55165b5c5644740c550e4b4051171b125004320e4c33&t=exs_ftn_download&code=b4b238d5 TCoD A Traveling Companion Discovery Method Based on Clustering and Association Analysis.pdf 451.97K 无限期 left button (blue background) : http://mail.qq.com/cgi-bin/ftnExs_download?k=f134623211c89cca652a90241538561a51500002010b01514f5555535615500c00524f0b560c011804575a510b01020703515b5633646461215b2612721830470342075e5a560315215b0f4252560d5a0c14265b405b0b4307461b127e5d105d0d504270524b0151425b0c12705411461651105b5d5f44540c504273404b0b560b55165b5c5644740c550e4b4051171b125004320e4c33&t=exs_ftn_download&code=b4b238d5 Right button (white background) : javascript:; +-----+ 02Aug2019 TCoD A Traveling Companion Discovery Method Based on Clustering and Association Analysis(1)(1).pdf (676.41K, 无限期) : http://mail.qq.com/cgi-bin/ftnExs_download?k=fd3137626a0ac09a632fc5741464074a020952510a530601495301535749010152521a5a56560d48560055065601065707530e0732063531275e7342734461170547520e5b0a5245275e5a12530a5c0a0a11730b41075a1301434e427f01410d0b55172053175001445e5942710840161054450b5c0315040a55172341175a060d50430b5d0a15240a505b1b410d464d55181f531b4a450102310a1665&t=exs_ftn_download&code=d17b2d5e&from=mobile&expiretime=-1&fsize=676.41K&suffix=pdf&from=mobile&expiretime=0&fsize=676.41K&suffix=pdf 进入下载页面 : http://mail.qq.com/cgi-bin/ftnExs_download?k=fd3137626a0ac09a632fc5741464074a020952510a530601495301535749010152521a5a56560d48560055065601065707530e0732063531275e7342734461170547520e5b0a5245275e5a12530a5c0a0a11730b41075a1301434e427f01410d0b55172053175001445e5942710840161054450b5c0315040a55172341175a060d50430b5d0a15240a505b1b410d464d55181f531b4a450102310a1665&t=exs_ftn_download&code=d17b2d5e&from=mobile&expiretime=-1&fsize=676.41K&suffix=pdf&from=mobile&expiretime=0&fsize=676.41K&suffix=pdf ********* 02Aug2019 upload "problematic fixed" papers Deleted from "/media/bill/SAMSUNG_G4/IJCNN2019/2019 IJCNN Budapest/papers/all - copyrighted/" The ONLY paper not yet corrected : 19548 x yaoruihong17@nudt.edu.cn, wangfei09a@nudt.edu.cn, shchen@nudt.edu.cn, FileZilla : 1. upload new versions - done 2. delete 19548 - done 3. generate list of papers - $ ls -l --sort=t "/home/ijcnn2019/papers/" 4. emto [Chrisina, Chul] - bash script files : http://www.BillHowell.ca/bash%20scripts/pdf%20edits/pdf%20insert%20[pubTitle,%20paper%20[title,%20numb],%20ISBN,%20copyright,%20authTitle]%20by%20author.sh http://www.BillHowell.ca/bash%20scripts/pdf%20edits/0_paperNum,%20copyright,%20Title.txt http://www.BillHowell.ca/bash%20scripts/pdf%20edits/template%20generic%20all%20pages%20-%20cpyRgt,%20publnTitle,%20paperAuthor,%20[paper,%20page]Num,%20permissions.tex ********* 31Jul2019 last problematic papers - after today I won't do any work on these : Your corrections have solved the problem, so I will include your paper in the collection I will send to Publications Chul Sung for inclusion in IEEE Xplore. +-----+ For your paper, I will extend my work until tomorrow, as part of the 17 "problematic papers" of IJCNN2019 as of 23Jul2019. If you send me a corrected paper tomorrow, I will overlay the [header, footer]s and check the paper [margins, size, font]. If it works, I will add it to my collection of papers to go to IEEE Xplore via Chul Sung. If not, I will forward it to Publications Chair Chul Sung to handle. +-----+ x - emails to ALL co-authors failed, re-sent 26Jul2019 ?f - wrong font +-----+ A4 paper size : 19548 x yaoruihong17@nudt.edu.cn, wangfei09a@nudt.edu.cn, shchen@nudt.edu.cn, 19718 * 51164500087@stu.ecnu.edu.cn, hyquan@sei.ecnu.edu.cn, 19745 * liew.wei.shiung@gmail.com, ckloo.um@um.edu.my, 2gryshch@informatik.uni-hamburg.de, weber@informatik.uni-hamburg.de, wermter@informatik.uni-hamburg.de, +-----+ Old stuff : corrected papers done : 11Jul2019 - 19491, 20072, 20127, 20136, 23Jul2019 - 19657, 19966, 24Jul2019 - 19557, 20029, 20372, 25Jul2019 - 19105, 19801, 19992, 20022, 20052, corrected papers ToDo : ?? - problems with corrected papers received * - OK - corrected papers work! x - emails to ALL co-authors failed, re-sent 26Jul2019 authors must edit margins (1st page especially): 23Jul2019 email - *19105, (x)19630, *19801, *19992, *20029, *20052, 20514 authors must change paper size : 23Jul2019 email - (2/3)19158, (x)19548, *19557, (x)19670, 19718, 19744, 19745, *20022, *20250, *20372 Bad font : 19992 ********* 29Jul2019 final warning for paper corrections x - emails to ALL co-authors failed, re-sent 26Jul2019 ?? - problems with corrected papers received ?s - wrong page size ?f - wrong font ?m - margin problem * - OK - corrected papers work! +-----+ Margins : 19630 * raviraodr@gmail.com, 20514 * zhangqichao2014@ia.ac.cn, 2224201796@qq.com, dongbin.zhao@ia.ac.cn, chaominluo@yahoo.com, dianwei.qian@ncepu.edu.cn, +-----+ A4 paper size : 19158 * khlee@ptu.ac.kr, hs15@txstate.edu, 19548 x yaoruihong17@nudt.edu.cn, wangfei09a@nudt.edu.cn, shchen@nudt.edu.cn, 19670 * nychen@bjtu.edu.cn, hejie@cetcbigdata.com, xiang.wang.rails@hotmail.com, zhangzhiyuan@bjtu.edu.cn, yangping@cetcbigdata.com, 17111012@bjtu.edu.cn, 19718 ?f 51164500087@stu.ecnu.edu.cn, hyquan@sei.ecnu.edu.cn, 19744 * nahmiasd@post.bgu.ac.il, aviadjo@gmail.com, nirni.n@gmail.com, elovici@inter.net.il, 19745 ?f liew.wei.shiung@gmail.com, ckloo.um@um.edu.my, 2gryshch@informatik.uni-hamburg.de, weber@informatik.uni-hamburg.de, wermter@informatik.uni-hamburg.de, *********** 26Jul2019 Papers whose emails all failed : 19548 yaoruihong17@nudt.edu.cn, wangfei09a@nudt.edu.cn, shchen@nudt.edu.cn, 19670 nychen@bjtu.edu.cn, hejie@cetcbigdata.com, xiang.wang.rails@hotmail.com, zhangzhiyuan@bjtu.edu.cn, yangping@cetcbigdata.com, 17111012@bjtu.edu.cn, *********** 26Jul2019 email to Chul Sung - bash scripts for pdfoverlays http://www.BillHowell.ca/bash%20scripts/pdf%20edits/pdf%20insert%20[pubTitle,%20paper%20[title,%20numb],%20ISBN,%20copyright,%20authTitle]%20by%20author.sh http://www.BillHowell.ca/bash%20scripts/pdf%20edits/template%20generic%20all%20pages%20-%20cpyRgt,%20publnTitle,%20paperAuthor,%20[paper,%20page]Num,%20permissions.tex http://www.BillHowell.ca/bash%20scripts/pdf%20edits/0_paperNum,%20copyright,%20Title.txt +-----+ WARNING : Strike one of three, as in American baseball, since my 23Jul2019 email. As a volunteer who has spent enormous time on IJCNN since Sep2018, I have to re-focus my efforts on other priorities now. I cannot afford to go through 3-6 iterations on corrections that authors have not properly checked before re-submitting. Remember that if it's not worth your time to check properly, then I shouldn't be spending my time to work on your paper. : - page size (eg A4), margins : double check your revised against other IJCNN2019 pdfs at a constant zoom %. Then have a [co-author, colleague] check as well. - weird fonts - Many times authors see the proper font Times New Roman (or equivalent), but the font is very different on my system. AFTER you have checked yourself, then make sure that you get [co-author, colleague]s to check to make sure that they are correct BEFORE re-submitting to me!! It is best that another operating system be used, but even someone with the same operating system who does not have the same setup as you can help. Until 31Jul2019, you have up to 3 strikes to get it right. On the third strike, if the paper is correct I will add it to my collection to send to IEEE Xplore. If there is still a problem, I will not work on your paper anymore, at which point you will have to go directly to Publications Chair Chul Sung, who may or may not have the time to work with co-authors on problems, as he must prepare the papers for IEEE Xplore submission. Your paper is one of only 17 with these problems, compared to ~783 that didn't have this problem (at least with the new "relaxed margins" criteria). In other words, with respect to formatting you are in the bottom 2% of all papers. +-----+ WARNING : Strike two of three, as in American baseball, since my 23Jul2019 email. As a volunteer who has spent enormous time on IJCNN since Sep2018, I have to re-focus my efforts on other priorities now. I can no longer afford to go through 3-6 iterations on corrections that authors have not properly checked before re-submitting. Remember that if it's not worth your time to check, then I shouldn't be spending my time to work on your paper. : - page size (eg A4), margins : double check yourself against other IJCNN2019 pdfs at a constant zoom %. Then have a [co-author, colleague] check as well. - weird fonts - Many times authors see the proper font Times New Roman (or equivalent), but the font is very different on my system. AFTER you have checked yourself, then make sure that you get [co-author, colleague]s to check to make sure that they are correct BEFORE re-submitting to me!! It is best that another operating system be used, but even someone with the same operating system who does not have the same setup as you can help. On the third strike, if the paper is correct I will add it to my collection to send to IEEE Xplore. If there is still a problem, I will not work on your paper anymore, at which point you will have to go directly to Publications Chair Chul Sung, who may or may not have the time to work with co-authors on problems, as he must prepare the papers for IEEE Xplore submission. So get it right this time. +-----+ Strike three - you're out, as in American baseball. I will no longer work on your paper, and I will not add it to the IEEE Xplore set of papers. At this point you will have to go directly to Publications Chair Chul Sung, who is copied on this email. He may or may not have the time to work with co-authors on problems, as he must prepare the papers for IEEE Xplore submission. +-----+ From 31Jul to 04Aug2019 : Strike one of 3, as in American baseball, but as of 31Jul2019 you have only TWO strikes to get it right. I will look at one more correction to your paper up to 04Aug2019, which will be added to my collection of papers for IEEE Xplore only if it is correct. After that point you will have to go directly to Publications Chair Chul Sung, who may or may not have the time to work with co-authors on problems, as he must prepare the papers for IEEE Xplore submission. : - page size (eg A4), margins : double check your revised against other IJCNN2019 pdfs at a constant zoom %. Then have a [co-author, colleague] check as well. - weird fonts - Many times authors see the proper font Times New Roman (or equivalent), but the font is very different on my system. Check very carefully before re-submitting. +-----+ As of 04Aug2019, I am no longer working on paper corrections at all, and will not add your paper to the IEEE Xplore set. At this point you have to go directly to Publications Chair Chul Sung, who may or may not have the time to work with co-authors on problems, as he must prepare the papers for IEEE Xplore submission. *********** 24Jul2019 I added run_several() to "/media/bill/SAMSUNG_G4/IJCNN2019/bin/pdf edits/pdf insert [pubTitle, paper [title, numb], ISBN, copyright, authTitle] by author.sh" >> cool!! works really well - both [red, white] margins in [problematic, copyrighted] directories! >> great for tracking updates, easy to use!! Check whether source document of pdf is [MS Word, LaTeX] : $ d_prob="/media/bill/SAMSUNG_G4/IJCNN2019/2019 IJCNN Budapest/Publications/papers - problematic/" $ d_done="/media/bill/SAMSUNG_G4/IJCNN2019/2019 IJCNN Budapest/Publications/papers - problematic/done papers/" $ pdftk "$d_done""N-20372.pdf" dump_data Yuichi Katori (20372) - conversions to letter-sized worked. Di Wu (19801, 20029) - all of a sudden A4 paper from letter due to [header, footer] overlay? Julio Valdes (19557) - won't look or listen. If he doesn't fix it, don't send to IEEE Xplore! 24Jul2019 checked copyrighted just in case : these are all OK - 19148, 20087, 20437 first column old copyright reminant (new OK): 19265, 19365 ************* 23Jul2019 $ d_binn="/media/bill/SAMSUNG_G4/IJCNN2019/bin/pdf edits/" $ diff "$d_binn""pdf insert [pubTitle, paper [title, numb], ISBN, copyright, authTitle] by author.sh" "$d_binn""pdf insert RaspPi [pubTitle, paper [title, numb], ISBN, copyright, authTitle] by author.sh" $ d_work="/media/bill/SAMSUNG_G4/IJCNN2019/2019 IJCNN Budapest/" (XX) - returned email, connection timeout x - emails to ALL co-authors failed, re-sent 26Jul2019 ?? - problems with corrected papers received * - OK - corrected papers work! +-----+ Margins : 19105 * rama.murthy@mechyd.ac.in, msaidileep@gmail.com, anil.rayala@alumni.iiit.ac.in, 19630 x raviraodr@gmail.com, 19801 * Di.Wu-16@student.uts.edu.au, Ruiqi.Hu@student.uts.edu.au, zhengyu511@gmail.com, jing.jiang@uts.edu.au, Nabin.Sharma@uts.edu.au, Michael.Blumenstein@uts.edu.au, 19992 * mtlim84@snu.ac.kr, kdsd9492@snu.ac.kr, lst777@snu.ac.kr, evr456@snu.ac.kr, favian@snu.ac.kr, jhl@snu.ac.kr, 20029 * chenjj@mail.buct.edu.cn, shirui.pan@monash.edu, guodong.long@uts.edu.au, 20052 * ffahiman@student.unimelb.edu.au, sarah.erfani@unimelb.edu.au, caleckie@unimelb.edu.au, 20514 zhangqichao2014@ia.ac.cn, 2224201796@qq.com, dongbin.zhao@ia.ac.cn, chaominluo@yahoo.com, dianwei.qian@ncepu.edu.cn, +-----+ A4 paper size : 19158 ?? khlee@ptu.ac.kr, hs15@txstate.edu, 19548 x (XX)yaoruihong17@nudt.edu.cn, (XX)wangfei09a@nudt.edu.cn, (XX)shchen@nudt.edu.cn, 19557 * julio.valdes@nrc-cnrc.gc.ca, ljubomir.nikolic@canada.ca, ken.tapping@nrc-cnrc.gc.ca, 19670 x (XX)nychen@bjtu.edu.cn, (XX)hejie@cetcbigdata.com, xiang.wang.rails@hotmail.com, (XX)zhangzhiyuan@bjtu.edu.cn, (XX)yangping@cetcbigdata.com, (XX)17111012@bjtu.edu.cn, 19718 51164500087@stu.ecnu.edu.cn, hyquan@sei.ecnu.edu.cn, 19744 nahmiasd@post.bgu.ac.il, aviadjo@gmail.com, nirni.n@gmail.com, elovici@inter.net.il, 19745 liew.wei.shiung@gmail.com, ckloo.um@um.edu.my, 2gryshch@informatik.uni-hamburg.de, weber@informatik.uni-hamburg.de, wermter@informatik.uni-hamburg.de, 20022 * rm0080er@ed.ritsumei.ac.jp, rm0079is@ed.ritsumei.ac.jp, (XX)rm0060he@ed.ritsumei.ac.jp, tmiyano@se.ritsumei.ac.jp, horio@riec.tohoku.ac.jp, 20250 * ranjith.dinakaran@unn.ac.uk, li.zhang@unn.ac.uk, (XX)richard.jiang@unn.ac.uk, 20372 * katori@fun.ac.jp, tamukoh@brain.kyutech.ac.jp, morie@brain.kyutech.ac.jp ************* 23Jul2019 Old code : "/media/bill/SAMSUNG_G4/IJCNN2019/bin/pdf edits/pdf insert Budapest [pubTitle, paper [title, numb], ISBN, copyright, authTitle] by author.sh" #footnote_CRWN='\\\\small{978-1-7281-2009-6\\\/\\\textdollar 31.00 \\\\copyright 2019 Crown}' #footnote_Euro='\\\\small{978-1-7281-2009-6\\\/\\\textdollar 31.00 \\\\copyright 2019 European Union}' #footnote_IEEE='\\\\small{978-1-7281-2009-6\\\/\\\textdollar 31.00 \\\\copyright 2019 IEEE}' #footnote_USGv='\\\\small{US Government work not protected by U.S. copyright}' footnote_CRWN='\\small{978-1-7281-2009-6\\\\/\\textdollar 31.00 \\copyright 2019 Crown}' footnote_Euro='\\small{978-1-7281-2009-6\\\\/\\textdollar 31.00 \\copyright 2019 European Union}' footnote_IEEE='\\small{978-1-7281-2009-6\\\\/\\textdollar 31.00 \\copyright 2019 IEEE}' footnote_USGv='\\small{\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ US Government work not protected by U.S. copyright}' #footnote_CRWN='\\small{978-1-7281-2009-6\\\/\\textdollar 31.00 \\copyright 2019 Crown}' #footnote_Euro='\\small{978-1-7281-2009-6\\\/\\textdollar 31.00 \\copyright 2019 European Union}' #footnote_IEEE='\\small{978-1-7281-2009-6\\\/\\textdollar 31.00 \\copyright 2019 IEEE}' #footnote_USGv='\\small{US Government work not protected by U.S. copyright}' #footnote_CRWN='\\small{978-1-7281-2009-6\\/\\textdollar 31.00 \\copyright 2019 Crown}' #footnote_Euro='\\small{978-1-7281-2009-6\\/\\textdollar 31.00 \\copyright 2019 European Union}' #footnote_IEEE='\\small{978-1-7281-2009-6\\/\\textdollar 31.00 \\copyright 2019 IEEE}' #footnote_USGv='\\small{US Government work not protected by U.S. copyright}' #footnote_CRWN='\\small{978-1-7281-2009-6\\/\textdollar 31.00 \\copyright 2019 Crown}' #footnote_Euro='\\small{978-1-7281-2009-6\\/\textdollar 31.00 \\copyright 2019 European Union}' #footnote_IEEE='\\small{978-1-7281-2009-6\\/\textdollar 31.00 \\copyright 2019 IEEE}' #footnote_USGv='\\small{US Government work not protected by U.S. copyright}' #footnote_CRWN='\small{978-1-7281-2009-6\/\textdollar 31.00 \copyright 2019 Crown}' #footnote_Euro='\small{978-1-7281-2009-6\/\textdollar 31.00 \copyright 2019 European Union}' #footnote_IEEE='\small{978-1-7281-2009-6\/\textdollar 31.00 \copyright 2019 IEEE}' #footnote_USGv='\small{US Government work not protected by U.S. copyright}' # permissns_1='\\small{Personal use is permitted, but republication\\/distribution requires IEEE permission.}' # permissns_2='\\small{See http:\\/\\/www.ieee.org\\/publications\\_standards\\/publications\\/rights\\/index.html for more information.}' #permissns_1='\\small{Personal use is permitted, but republication\\\/distribution requires IEEE permission.}' #permissns_2='\\small{See http:\\\/\\\/www.ieee.org\\\/publications\\_standards\\\/publications\\\/rights\\\/index.html for more information.}' echo "$paperNumber, $i of $total" #echo "colour= $colour" #echo "copyright= $copyright" #echo "paperNumber= $paperNumber" #echo "authorTitle= $authorTitle" #echo "copyrighter= $copyrighter" #echo "permissns_1= $permissns_1" #echo "permissns_2= $permissns_2" #echo "pdf_orig= $pdf_orig" #echo "pdf_done= $pdf_done" #echo "footnote_IEEE= $footnote_IEEE" #echo "footnote_CRWN= $footnote_CRWN" #echo "footnote_USGv= $footnote_USGv" pdftk "$pdf_orig" output "$pdf_uncp" uncompress >>"$p_pdftk_logs" 2>&1 #template_bas="$d_binn""template generic.tex" #cat "$template_bas" | sed "s#insert \[ISBN,copyright\]#$copyright#;s/insert paper no/paper N-$pNum.pdf/" >"$template_tex" #template_bas="$d_binn""template generic first page only.tex" #cat "$template_bas" | sed "s#insert publication title#$publcnTitle#;s#insert authorTitle#$authorTitle#;s#insert \[ISBN,copyright\]#$copyright#;s#insert permissions#$permissns_1#;s#insert copyright URL#$permissns_2#;s/insert paper no/$pNumLabel/" >"$template_tex" #cat "$template_bas" | sed "s#insert publication title#$publcnTitle#;s#insert authorTitle#$authorTitle#;s#insert \[ISBN,copyright\]#$copyright#;s#insert permissions#$permissns_1#;s/insert paper no/$pNumLabel/" >"$template_tex" #cat "$template_bas" | sed "s#insert publication title#$publcnTitle#;s#insert authorTitle#$authorTitle#;s#insert permissions#$permissns_1#;s/insert paper no/$pNumLabel/" >"$template_tex" #cat "$template_bas" | sed "s#insert publication title#$publcnTitle#;s#insert authorTitle#$authorTitle#;s/insert paper no/$pNumLabel/" >"$template_tex" ************* 11Jul2019 Change "pdf insert [pubTitle, paper [title, numb], ISBN, copyright, authTitle] by author.sh" so that all info from "IJCNN2019 Papers.ods" is in one text file. /media/bill/SWAPPER/2019 IJCNN Budapest/papers/0_paperNum, copyright, Title.txt tests - want [>100chars=20512, CRWN=19557, USgv=19330] I re-uploaded all pdfs ************* 10Jul2019 Header size I had to reduce to 1.7cm - it seems that the header insertion raises the text slightly!?!!! Seemed to work : I uploaded all papers! I reduced header from 2 to 1.7 cm high, footer 1st page to 1.7? cm high (rest of pages 1.3 cm high) problem with CRWN & USGv papers (1 each) : need to change the footer might have trouble with 1st authors' name along with title ************* 10Jul2019 lost lists $ find "/media/bill/SWAPPER/" -maxdepth 3 -type f -name "0_authorTitles list.txt" Must regenerate! from "/media/bill/SWAPPER/2019 IJCNN Budapest/IJCNN2019 papers.ods" /media/bill/SWAPPER/2019 IJCNN Budapest/papers/0_authorTitles list.txt /media/bill/SWAPPER/2019 IJCNN Budapest/papers/0_copyrights list.txt /media/bill/SWAPPER/2019 IJCNN Budapest/papers/0_paperNumber list.txt ************* 20Jun2019 precautionary [ISBN, copyright] writes in case [Chul Sung, Ted Burger] failed /media/bill/SWAPPER/bin/pdf edits/pdf insert [ISBN, copyright].sh /media/bill/SWAPPER/bin/pdf edits/pdf header.sh /media/bill/SWAPPER/bin/pdf edits/template generic.tex +-----+ Tests "template generic.tex" change "red" to "white", for example : \node (back names) [shape=rectangle, fill=red, minimum height=19mm, minimum width=\paperwidth, anchor=south west] at (current page.south west) {}; >> To : \node (back names) [shape=rectangle, fill=white, minimum height=19mm, minimum width=\paperwidth, anchor=south west] at (current page.south west) {}; bash file set to process_tests : # uncomment the ones to run : #process_final_submissions process_tests #process_XXX $ bash "/media/bill/SWAPPER/bin/pdf edits/pdf insert [ISBN, copyright].sh" >> works great! +-----+ Production # uncomment the ones to run : process_final_submissions #process_tests #process_XXX $ bash "/media/bill/SWAPPER/bin/pdf edits/pdf insert [ISBN, copyright].sh" >> works great! ************* 20May2019 XXX problems A4 paper? : 19158 19548 19670 19718 19744 19745 20022 20250 20372 ************* 20May2019 Now to apply new template to pdf files NO LONGER USING : "/media/bill/SWAPPER/bin/pdf edits/pdf [copy file, erase cpyrght].sh" Instead - direct writeover of footer using "/media/bill/SWAPPER/bin/pdf edits/pdf insert [ISBN, copyright].sh" Change : +-----+ process_directory() { dater=$(date +"%y%m%d %kh%Mm%Ss") becho "$dater process_directory: $1" cat "$template_bas" | sed "s//$4/;s//$3/" >"$template_tex" beval "pdflatex -interaction nonstopmode -output-directory '$d_temp' -output-format pdf '$template_tex' '$template_pdf' >>'$p_pdftk_logs' 2>&1 " while read -u 9 f_bas; do pdf_orig="$d_orig""N-""$f_bas"".pdf" if [ -f "$pdf_orig" ]; then pdf_done="$d_base""$1""N-""$f_bas"".pdf" pdftk "$pdf_orig" output "$pdf_uncp" uncompress >>"$p_pdftk_logs" 2>&1 process_file pdftk "$pdf_eras" multistamp "$template_pdf" output "$pdf_cprt" >>"$p_pdftk_logs" 2>&1 pdftk "$pdf_cprt" output "$pdf_done" compress >>"$p_pdftk_logs" 2>&1 else becho "eras_it() ERROR : file doesn't exist : N-$f_bas.pdf" fi done 9< "$d_base""$2" } +-----+ To : +-----+ process_directory() { dater=$(date +"%y%m%d %kh%Mm%Ss") becho "$dater process_directory: $1" cat "$template_bas" | sed "s//$4/;s//$3/" >"$template_tex" beval "pdflatex -interaction nonstopmode -output-directory '$d_temp' -output-format pdf '$template_tex' '$template_pdf' >>'$p_pdftk_logs' 2>&1 " while read -u 9 f_bas; do pdf_orig="$d_orig""N-""$f_bas"".pdf" if [ -f "$pdf_orig" ]; then pdf_done="$d_base""$1""N-""$f_bas"".pdf" pdftk "$pdf_orig" output "$pdf_uncp" uncompress >>"$p_pdftk_logs" 2>&1 process_file pdftk "$pdf_eras" multistamp "$template_pdf" output "$pdf_cprt" >>"$p_pdftk_logs" 2>&1 pdftk "$pdf_cprt" output "$pdf_done" compress >>"$p_pdftk_logs" 2>&1 else becho "eras_it() ERROR : file doesn't exist : N-$f_bas.pdf" fi done 9< "$d_base""$2" } +-----+ Actually - major restructuring & revamp of : "/media/bill/SWAPPER/bin/pdf edits/pdf insert [ISBN, copyright].sh" # tests # $ echo "{insert [ISBN,copyright]};" | sed "s#insert [ISBN,copyright]#'978-1-7281-1985-4/19/\\\textdollar 31.00 \\\copyright 2019 IEEE'#" # $ echo "{insert [ISBN,copyright]};" | sed "s#insert [ISBN,copyright]#'978-1-7281-1985-4\/19\/\\\textdollar 31.00 \\\copyright 2019 IEEE'#" # $ echo "{insert [ISBN,copyright]};" | sed "s#insert [ISBN,copyright]#'978-1-7281-1985-4\/19\/\\textdollar 31.00 \\copyright 2019 IEEE'#" # $ echo "{insert [ISBN,copyright]};" | sed "s#insert [ISBN,copyright]#978-1-7281-1985-4#" # $ echo "{insert ISBN,copyright};" | sed "s#insert ISBN,copyright#978-1-7281-1985-4#" # $ echo "{insert [ISBN,copyright]};" | sed "s#insert \[ISBN,copyright\]#978-1-7281-1985-4#" # $ echo "{insert [ISBN,copyright]};" | sed "s#insert \[ISBN,copyright\]#978-1-7281-1985-4\/19\/\\\textdollar 31.00 \\\copyright 2019 IEEE#" # ISBN_cpyrght="978-1-7281-1985-4\/19\/\\\textdollar 31.00 \\\copyright 2019 IEEE" # $ echo "{insert [ISBN,copyright]};" | sed "s#insert \[ISBN,copyright\]#'$ISBN_cpyrght'#" # $ echo "{insert [ISBN,copyright]};" | sed "s#insert \[ISBN,copyright\]#$ISBN_cpyrght#" ************* 18May2019 search "LaTeX and how to cover an area with foreground color" +-----+ https://en.wikibooks.org/wiki/LaTeX/Importing_Graphics \documentclass{article} \usepackage{graphicx} \begin{document} The following image does not show any wombats \includegraphics[height=\baselineskip]{example-image}. \includegraphics[height=3cm]{example-image-a}\includegraphics[width=5cm]{example-image-b} \includegraphics[height=3cm]{example-image-a} \includegraphics[width=5cm]{example-image-b} \end{document} +-----+ >> From Authors' Guide : Margins: Left, Right, and Bottom: 0.75" (19mm). The top margin must be 0.75" (19 mm), except for the title page where it must be 1" (25 mm). template_type=placetextbox NUTS!!! I had a mistake in "/media/bill/SWAPPER/bin/pdf edits/pdf header.sh" >> my changes to "template z placetextbox.tex" weren't being copied to "template generic.tex" 19May2019 tikz https://tex.stackexchange.com/questions/24140/installing-background-and-foreground-page-layers-with-tikz >> shows code edited Apr 13 '17 at 12:35, Community asked Jul 26 '11 at 15:17 Martin Scharrer For [testing, development] see "/media/bill/SWAPPER/bin/pdf edits/pdf [copy file, erase cpyrght].sh" ************* 19May2019 I must get rid of page numbers see "/media/bill/PROJECTS/System_maintenance/Tex/0_tex notes.txt" http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907018 How can I get rid of page numbers in LaTeX? You can easily eliminate page numbers either throughout your entire document, or only on selected pages. Entire document In order to prevent page numbers from appearing on the pages of your LaTeX document, you should include the line \usepackage{nopageno} after your \documentclass line. This will prevent page numbers from being printed on all of the pages. selected pages If you wish to just prevent page numbers from printing on one page, you should put the line \thispagestyle{empty} in the text of the page you want to be printed without a page number. ************* 18May2019 Problems removing [ISBN,©] tests for "XXXX [ISBN,©] : "N-19067.pdf" -> "/media/bill/ramdisk/pdf uncompressed.pdf" $ grep -n "(X\/)6(XX\/)6(" "/media/bill/ramdisk/pdf uncompressed.pdf" >> nothing $ grep -n "(X/)6(XX/)6(" "/media/bill/ramdisk/pdf uncompressed.pdf" >> nothing $ grep -n "6(XX" "/media/bill/ramdisk/pdf uncompressed.pdf" >> nothing $ grep -n "XXXX" "/media/bill/ramdisk/pdf uncompressed.pdf" Binary file /media/bill/ramdisk/pdf uncompressed.pdf matches >> seems like sed can work where grep doesn't really work? I worked hard to find the uncompressed [ISBN,©] coding - where is that work? Start again, see : /media/bill/SWAPPER/bin/pdf edits/example N-19799.txt /media/bill/SWAPPER/bin/pdf edits/example N-19067.txt WOW!!! Completely different coding. Go back to Yoonsuck's first idea - whiteout whole footer and write in [ISBN,©] At the same time - fix the page numbering problem!! ************* 18Apr2019 encrypt, decrypt etc $ bash "/media/bill/SWAPPER/bin/openssl create [public-private, symmetric] keys.sh" Generating RSA private key, 2048 bit long modulus ............................................................+++ ..............+++ e is 65537 (0x10001) writing RSA key diff '/media/bill/Midas/keys/190418 openssl symmetric Howell rand 32.pem' '/media/bill/Midas/keys/190418 openssl symmetric Howell rand 32.pem decrypted' $ bash "/media/bill/SWAPPER/bin/openssl create [public-private, symmetric] keys.sh" openssl enc -aes-256-cbc -salt -in '/media/bill/PROJECTS/2019 IJCNN Budapest/papers/190418IJCNN2019 papers.zip' -out '/media/bill/Midas/keys/Taming of the shrew.txt' -pass file:'/media/bill/Midas/keys/190418 openssl symmetric Howell rand 32.pem' openssl enc -d -aes-256-cbc -in '/media/bill/Midas/keys/Taming of the shrew.txt' -out '/media/bill/Midas/keys/Taming of the shrew.zip' -pass file:'/media/bill/Midas/keys/190418 openssl symmetric Howell rand 32.pem decrypted' diff '/media/bill/PROJECTS/2019 IJCNN Budapest/papers/190418IJCNN2019 papers.zip' '/media/bill/Midas/keys/Taming of the shrew.zip' http://www.BillHowell.ca/bash scripts/pdf edits Taming of the shrew bash script ************* 18Apr2019 Try Mikkulainnen's \input{nnmacros} package (original Yoonsuck) These all give the same results (CRWN/ example) : N-19557 Yoonsuck nnmacros footnote.pdf N-19557 Yoonsuck simple footnote.pdf N-19557 Howell nnmacros footnote.pdf N-19557 Howell simple footnote.pdf DROP [fancyhdr,nnmacros] So focus on trying : 1. set page width,length,margins 2. placetextbox from "/media/bill/PROJECTS/System_maintenance/tex/Latex basic usrguide & new features.pdf" latexsym LATEX 2ε no longer loads the LATEX symbol font by default. To access it, you should use the latexsym package. It is described in latexsym.dtx and in The LATEX Companion; see also Section 6. +-----+ https://www.overleaf.com/learn/latex/Page_size_and_margins \usepackage{geometry} \geometry{ letterpaper, total={7in,9.25}, left=0.75in, top=1.0in, } 18Apr2019 Howell - this doesn't seem to help, even resulted in text on next page!? : +-----+ https://tex.stackexchange.com/questions/35602/how-do-i-put-some-text-in-specific-position-on-a-page-horizontally-with-the-pros you can use this solution: \usepackage[absolute,overlay]{textpos} ..... \begin{textblock*}{5cm}(10cm,6cm) % {block width} (coords) Your text here \end{textblock*} answered Feb 27 '18 at 22:23 Mourad MAMASSI >> doesn't work = copyright is near top of page! ************* 17Apr2019 place text in a position on the page https://tex.stackexchange.com/questions/24663/how-to-place-a-floating-text-box-at-a-specified-location-in-page-coordinates The eso-pic package allows you to add pictures (and text) to pages as an overlay/in the foreground [as an underlay/in the background]. The specific command used to add content to the current page is \AddToShipoutPictureFG* [\AddToShipoutPictureBG*]. The starred * versions of these commands limit the output to the current page, while the unstarred versions ship its contents out to every page. The following minimal example illustrates the technique used to answer your question in the form of a macro \placetextbox{}{}{}: \documentclass{article} \usepackage[english]{babel} \usepackage{lipsum}% For 'Lorem Ipsum' dummy text \usepackage[pscoord]{eso-pic}% The zero point of the coordinate systemis the lower left corner of the page (the default). \newcommand{\placetextbox}[3]{% \placetextbox{}{}{} \setbox0=\hbox{#3}% Put in a box \AddToShipoutPictureFG*{% Add to current page foreground \put(\LenToUnit{#1\paperwidth},\LenToUnit{#2\paperheight}){\vtop{{\null}\makebox[0pt][c]{#3}}}% }% }% \begin{document} \lipsum[1-5]% \placetextbox{0.5}{0.5}{\fbox{\Huge\textsf{This is my text.}}}% \placetextbox{0.5}{1}{\Huge\texttt{Here is another piece of text.}}% \placetextbox{0.1}{0.1}{\Large $\mathcal{A}_1$}% \end{document} Other packages are also capable of doing this, including background and tikz. edited Dec 12 '12 at 23:50 answered Aug 1 '11 at 22:06 Werner Change : +-----+ \documentclass[11pt]{article} %\usepackage[margin=0.25in]{geometry} \usepackage[margin=0]{geometry} \usepackage{fancyhdr} \usepackage{textcomp} % +-----+ % must be in preamble - not in the body! \pagestyle{fancy} \setlength{\parindent}{0pt} %\chead{} %\lhead{} %\rhead{} %\fancyhf{} \fancyhead{} % clear all header fields \fancyfoot{} % clear all footer fields \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \usepackage[norule,symbol,perpage,bottom]{footmisc} % +-----+ \begin{document} ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage \end{document} +-----+ To : +-----+ \documentclass[11pt]{article} %\usepackage[margin=0.25in]{geometry} %\usepackage[margin=0]{geometry} %\usepackage{fancyhdr} \usepackage[pscoord]{eso-pic}% The zero point of the coordinate systemis the lower left corner of the page (the default). % 0.5 inch from bottom / 11 inch paper height = 0.045 % 0.75 from left / 8.5 inch width paper height = 0.088 \newcommand{\placetextbox}[3]{% \placetextbox{}{}{} \setbox0=\hbox{#3}% Put in a box \AddToShipoutPictureFG*{% Add to current page foreground \put(\LenToUnit{#1\paperwidth},\LenToUnit{#2\paperheight}){\vtop{{\null}\makebox[0pt][c]{#3}}}% }% }% \usepackage{textcomp} % +-----+ % must be in preamble - not in the body! %\pagestyle{fancy} %\setlength{\parindent}{0pt} %\chead{} %\lhead{} %\rhead{} %\fancyhf{} %\fancyhead{} % clear all header fields %\fancyfoot{} % clear all footer fields %\renewcommand{\headrulewidth}{0pt} %\renewcommand{\footrulewidth}{0pt} %\usepackage[norule,symbol,perpage,bottom]{footmisc} % +-----+ \begin{document} ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage \end{document} +-----+ ************* 17Apr2019 production of initial set of encrypted papers with "corrupted [ISBN, copyright]s" see doc "/media/bill/PROJECTS/System_maintenance/tex/fancyhdr.pdf" From Authors' Guide : Margins: Left, Right, and Bottom: 0.75" (19mm). The top margin must be 0.75" (19 mm), except for the title page where it must be 1" (25 mm). Positioning of [ISBN, copyright]s is WRONG [left,bottom] margin of authors' text : 0.75 +-----+ Junk : \marginparsep = 11pt \marginparwidth = 0.75in like Yoonsuck, try "\footnotesize ~ \\ \vfill 978-1-4799-1959-8/15/\$31.00 \textcircled{c}2015 European Union but just on [CRWN/, USgv] Change : +-----+ \documentclass[11pt]{article} \usepackage[margin=0.25in]{geometry} \usepackage{fancyhdr} \usepackage{textcomp} \usepackage[norule,symbol,perpage]{footmisc} \pagestyle{fancy} \setlength{\parindent}{0pt} \chead{} \lhead{} \rhead{} %\fancyhead{} % clear all header fields %\fancyfoot{} % clear all footer fields \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \begin{document} ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage \end{document} +-----+ To : +-----+ \documentclass[11pt]{article} \usepackage[margin=0.5in]{geometry} \usepackage{fancyhdr} \fancypagestyle{IJCNN}{% \fancyhf{}% Clear header and footer \fancyhead[LE,RO]{\slshape \rightmark} \fancyhead[LO,RE]{\slshape \leftmark} \fancyfoot[R]{\thepage}% Custom footer \renewcommand{\headrulewidth}{0pt}% Line at the header visible \renewcommand{\footrulewidth}{0pt}% Line at the footer visible } \usepackage{textcomp} \usepackage[norule,symbol,perpage,bottom]{footmisc} \begin{document} \pagestyle{fancy} \setlength{\parindent}{0pt} \lhead{} \chead{} \rhead{} \lfoot{} \cfoot{} \rfoot{} %\fancyhead{} % clear all header fields %\fancyfoot{} % clear all footer fields \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage ~ \newpage \end{document} +-----+ Positioning : \usepackage[margin=0.25in]{geometry} \usepackage[margin=0.5in]{geometry} \usepackage[norule,symbol,perpage,bottom]{footmisc} \usepackage[norule,symbol,bottom]{footmisc} \fancyhf{} footnote_CRWN="\\\fancyfoot[L]{978-1-7281-1985-4\/19\/31.00 USD \(c\)2019 Crown}" https://tex.stackexchange.com/questions/249415/set-font-size-for-footnotes \fancypagestyle{IJCNN}{% \fancyhf{}% Clear header and footer \fancyfoot[L]{}% Custom footer \renewcommand{\headrulewidth}{0pt}% Line at the header visible \renewcommand{\footrulewidth}{0pt}% Line at the footer visible } ************* 15Apr2019 ~11:00 Give up on texlive-full for now, work on "pdf [copy file, erase cpyrght].sh" OK, fixed up sed expressions for [19265, 19365] and they work now, copyrights erased & pdf into "all - final" EACH is unique, even though it looks the same in the output!!! How about inserting numeric codes into copyrights?? search "pdftk and how do I insert the copyright symbol?" https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ $ bash "/media/bill/SWAPPER/bin/pdf edits/pdf insert [ISBN, copyright].sh" Using : footnote_CRWN="\\\footnote{978-1-7281-1985-4\/19\/$31.00 USD \copyright 2019 Crown}" gives : \footnote{978-1-7281-1985-4/19/1.00 USD pyright 2019 Crown} Using : footnote_CRWN="\\\footnote{978-1-7281-1985-4\/19\/\\$31.00 USD \\\copyright 2019 Crown}" gives : sed: -e expression #1, char 88: invalid reference \1 on `s' command's RHS Focus on copyright : Using : footnote_CRWN="\\\footnote{978-1-7281-1985-4\/19\/31.00 USD \\\copyright 2019 Crown}" gives : \footnote{978-1-7281-1985-4/19/31.00 USD \copyright 2019 Crown} >> pdf : 978-1-7281-1985-4/19/31.00 USD 2019 Crown The inserts aren't in LaTeX format (pdf), but the \\\footnote is!!! I need the unicode, hex, dec code or whatever!??? Using : footnote_CRWN="\\\footnote{978-1-7281-1985-4\/19\/31.00 USD ©2019 Crown}" gives : \footnote{978-1-7281-1985-4/19/31.00 USD ©2019 Crown} pdf : does NOT contain "©" Yoonsuck's : print AFP '\footnotesize ~ \\ \vfill 978-1-4799-1959-8/15/\$31.00 \textcircled{c}2015 Crown'; rewrite in Perl? why footnote size? what about fancyhdr? \fancyfoot[L]{978-1-61284-860-0/11/\$26.00 ©2011 IEEE} Put this BEFORE \begin{document} Add \fancypagestyle{titlepage}{ Put directly into generic template : \footnotesize ~ \\ \vfill 978-1-4799-1959-8/15/\$31.00 \textcircled{c}2015 Crown In place of I also made generic template.tex like Yoonsuck's >> template.tex : \footnotesize ~ \\ \vfill 978-1-4799-1959-8/15/\$31.00 \textcircled{c}2015 Crown >> "log pdftk.txt" : ! I can't find file `tcrm0900'. >> This is like yesterday's : ! I can't find file `tcrm1095'. >> output N-19557.pdf : 978-1-4799-1959-8/15/31.00 c2015 Crown (no [$,©] but in proper place...) Yoonsuck used : pdfjoin --outfile $paperfname tmptex.pdf $paper ************* 14Apr2019 $ pdflatex -interaction nonstopmode -output-directory '/media/bill/ramdisk/' -output-format pdf '/media/bill/ramdisk/template.tex' '/media/bill/ramdisk/template.pdf' ! I can't find file `tcrm1095'. https://tex.stackexchange.com/questions/194387/cannot-find-ecrm1095-mf#286106 @JosephWright answered this in the comments: The file in question is part of the ec bundle (for me, kpsewhich tcrm1095.mf gives /usr/local/texlive/2014/texmf-dist/fonts/source/jknappen/ec/tcrm1095.mf). So the obvious solution is to install the ec package using tlmgr or just habitually install everything as @Brent.Longborough advised. answered Jan 5 '16 at 14:53 community wiki serv-inc As a guess, I will try : $ sudo tlmgr info tcrm1095.mf $ tlmgr install tcrm1095.mf >> NYET - tcrm1095.mf is oly part of a package! Try : $ tlmgr info ec $ tlmgr install ec cannot setup TLPDB in /home/bill/texmf at /usr/bin/tlmgr line 5435. https://tex.stackexchange.com/questions/137428/tlmgr-cannot-setup-tlpdb#147090 Sorry to reactivate this old post but there was no correct answer. The message : (running on Debian, switching to user mode!) cannot setup TLPDB in /home/USER/texmf at /usr/bin/tlmgr line 5308. is generated when tlmgr was not initialized. In most cases, launching the following command (as a normal user) solves the problem : $ tlmgr init-usertree This command will create few folders inside your home directory. See the man page for explanation : Before using tlmgr in user mode, you have to set up the user tree with the init-usertree action. This creates usertree/web2c and usertree/tlpkg/tlpobj, and a minimal usertree/tlpkg/texlive.tlpdb. At that point, you can tell tlmgr to do the (supported) actions by adding the --usermode command line option. answered Nov 26 '13 at 17:18 ppr $ tlmgr init-usertree (running on Debian, switching to user mode!) ~ $ tlmgr install ec (running on Debian, switching to user mode!) /usr/bin/tlmgr: Initialization failed (in setup_unix_one): /usr/bin/tlmgr: could not find a usable xzdec. /usr/bin/tlmgr: Please install xzdec and try again. Couldn't set up the necessary programs. Installation of packages is not supported. Please report to texlive@tug.org. tlmgr: exiting unsuccessfully (status 1). >> Shit - same old problem with package installations!?? (not supported by Linux Mint) Try to install xzdec $ tlmgr install xzdec (running on Debian, switching to user mode!) /usr/bin/tlmgr: Initialization failed (in setup_unix_one): /usr/bin/tlmgr: could not find a usable xzdec. /usr/bin/tlmgr: Please install xzdec and try again. Couldn't set up the necessary programs. Installation of packages is not supported. Please report to texlive@tug.org. tlmgr: exiting unsuccessfully (status 1). >> same shit LMDE2 Software Manager : Texlive-full Tex live: metapackage pulling in all components of tex live Score: The TeX Live software distribution offers a complete TeX system. It encompasses programs for typesetting, previewing and printing of TeX documents in many different languages, and a large collection of TeX macros and font libraries. . The distribution also includes extensive general documentation about TeX, as well as the documentation accompanying the included software packages. >> This kept failing after 25% or something? try early tomorrow? NAME tlmgr - the TeX Live Manager SYNOPSIS tlmgr [option]... action [option]... [operand]... DESCRIPTION tlmgr manages an existing TeX Live installation, both packages and configuration options. For information on initially downloading and installing TeX Live, see . The most up-to-date version of this documentation (updated nightly from the development sources) is available at , along with procedures for updating "tlmgr" itself and information about test versions. WARNING: tlmgr in Debian runs always in user mode TeX Live is organized into a few top-level schemes, each of which is specified as a different set of collections and packages, where a collection is a set of packages, and a package is what contains actual files. Schemes typically contain a mix of collections and packages, but each package is included in exactly one collection, no more and no less. A TeX Live installation can be customized and managed at any level. See for all the TeX Live documentation available. **************** 14Apr2019 Copyright © Note - this file works well!!! \documentclass{article} \begin{document} \textcircled{c} \$ \copyright \end{document} https://latex.org/forum/viewtopic.php?t=5833 BHorn » Wed Jan 08, 2014 9:28 am The following ten characters have special meanings in (La)TeX: & % $ # _ { } ~ ^ \ Outside \verb, the first seven of them can be typeset by prepending a backslash; for the other three, you can use the macros \textasciitilde, \textasciicircum and \textbackslash. Code: [Select all] [Expand/Collapse] [Download] (untitled.tex) Open in Overleaf \documentclass{article} \begin{document} \& \% \$ \# \_ \{ \} \textasciitilde \textasciicircum \textbackslash \end{document} Last edited by cgnieder on Wed Jan 08, 2014 9:39 am, edited 1 time in total. Try : \documentclass{article} \begin{document} \textcircled{c} \$ \copyright \end{document} ************* 14Apr2019 revisit [$, copyright] symbols take one of authors' pre-set [ISBN, copyright] as example $ pdftk "/media/bill/PROJECTS/2019 IJCNN Budapest/papers/all - final/N-19635.pdf" output "/media/bill/ramdisk/N-19635.pdf" uncompress >> looks like : Td [(978-1-7281-1985-4/19/$31.00)-350(\2512019)-350(IEEE)]TJ Yoonsuck's : print AFP '\footnotesize ~ \\ \vfill 978-1-4799-1959-8/15/\$31.00 \textcircled{c}2015 Crown'; footnote_CRWN="\\\footnote{978-1-7281-1985-4\/19\/\$31.00 USD \(c\)2019 Crown}" template.tex : \footnote{978-1-7281-1985-4/19/$31.00 USD (c)2019 Crown} $ cat "/media/bill/SWAPPER/bin/pdf edits/IJCNN PDF files - template.tex" | sed "s//\\\footnote{978-1-7281-1985-4\/19\/\\\$31.00 USD \\\textcircled{c}2019 Crown}/" >"/media/bill/ramdisk/template.tex" manually put in : \footnote{978-1-7281-1985-4/19/\$31.00 USD \textcircled{c}2019 Crown} $ pdflatex -interaction nonstopmode -output-directory '/media/bill/ramdisk/' -output-format pdf '/media/bill/ramdisk/template.tex' '/media/bill/ramdisk/template.pdf' >> doesn't work at this stage -> following steps aren't relevant $ pdftk "/media/bill/PROJECTS/2019 IJCNN Budapest/papers/all - final/N-19557.pdf" output "/media/bill/ramdisk/uncompressed.pdf" uncompress $ pdftk "$pdf_eras" multistamp "/media/bill/ramdisk/template.pdf" output "/media/bill/PROJECTS/2019 IJCNN Budapest/papers/CRWN/N-19557.pdf" manually put in : \footnote{978-1-7281-1985-4/19/\\$31.00 USD \\textcircled{c}2019 Crown} ************* 14Apr2019 insert spaces into footer? footnote_CRWN="\\\footnote{ 978-1-7281-1985-4\/19\/31.00 USD \(c\)2019 Crown}" >> no workee - didn't shift footnote_CRWN="\\\footnote{\ \ \ 978-1-7281-1985-4\/19\/31.00 USD \(c\)2019 Crown}" >> no workee - didn't shift For now, I give up on the positioning of the footer ************* 14Apr2019 IEEE footer example! https://texblog.org/2007/11/07/headerfooter-in-latex-with-fancyhdr/ tom 17. January 2012 at 11:16 Hi Saravesh, Below is a minimal example. You should be able to customize it for your needs. Basically, I define a new page style (titlepage) for the title page and change it back to fancy for the following pages. Hope it helps. Cheers, Tom. \documentclass[11pt]{article} \usepackage[english]{babel} \usepackage{fancyhdr, blindtext} \fancypagestyle{titlepage}{ \fancyhead[L]{2011 International Conference on ICIIP} \fancyfoot[L]{Proceedings of the 2011 ICIIP 2011\\ 978-1-61284-860-0/11/\$26.00 ©2011 IEEE}} \fancyhead{} \fancyfoot{} \fancyhead[L]{2011 International Conference on ICIIP} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \begin{document} \begin{titlepage} \thispagestyle{titlepage} \blindtext \end{titlepage} \pagestyle{fancy} \blindtext \end{document} >> doesn't help much ************* 14Apr2019 fix the copyright formatting - use CRWN/ as example From Authors' Guide : Margins: Left, Right, and Bottom: 0.75" (19mm). The top margin must be 0.75" (19 mm), except for the title page where it must be 1" (25 mm). Try bottom footer margins : left 0.75, bottom 0.5" 14Apr2019 search "usepackage{fancyhdr} and how do I set footer margins?" Current template : \documentclass[11pt]{article} \usepackage[margin=0.25in]{geometry} \usepackage{fancyhdr} \usepackage{textcomp} \usepackage[norule,symbol,perpage]{footmisc} \pagestyle{fancy} \setlength{\parindent}{0pt} \fancyhead{} % clear all header fields \fancyfoot{} % clear all footer fields \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.4pt} https://tex.stackexchange.com/questions/327111/paper-margins-with-fancyhdr-package ... \usepackage[ top=2cm, bottom=2cm, left=3cm, right=2cm, headheight=17pt, % as per the warning by fancyhdr includehead,includefoot, heightrounded, % to avoid spurious underfull messages ]{geometry} ... answered Aug 30 '16 at 9:45 egreg https://latex.org/forum/viewtopic.php?t=5880 by localghost » Sun Sep 06, 2009 3:15 pm You have to include the headers and footers into the actual type area to get the margins you want. The following example shows how to do that. Code: [Select all] [Expand/Collapse] [Download] (untitled.tex) Open in Overleaf \documentclass[12pt,english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage[includeheadfoot,margin=0.5in]{geometry} \usepackage{fancyhdr} \usepackage{lastpage} \usepackage{blindtext} %% Header/Footer \fancyhf{} \lhead{\rightmark} \rhead{EFaden\\\today} \rfoot{\thepage\ of \pageref{LastPage}} \renewcommand{\headrulewidth}{1.0pt} \renewcommand{\footrulewidth}{1.0pt} \pagestyle{fancy} \title{Margin problem} \author{EFaden} \begin{document} \blinddocument \end{document} Pay special attention to the additional option for geometry. The manual has detailed explanations. Best regards and welcome to the board Thorsten >> Try \usepackage[includeheadfoot,margin=0.5in]{geometry} \renewcommand{\footrulewidth}{1.0pt} activate in "/media/bill/SWAPPER/bin/pdf edits/pdf edits - [ISBN, copyrights].sh" : beval "process_directory 'CRWN/' 'a_CRWN list.txt' '$footnote_CRWN'" $ bash "media/bill/SWAPPER/bin/pdf edits/pdf edits - [ISBN, copyrights].sh" >> NYET! black rule at bottom of page, no copyright >> Try \usepackage[includeheadfoot,margin=0.5in]{geometry} \renewcommand{\footrulewidth}{0.4pt} >> NYET! still have black rule at bottom of page, copyright of column text >> Try \usepackage[includeheadfoot,margin=0.25in]{geometry} \renewcommand{\footrulewidth}{0pt} >> copyright lower, but still over column text >> Try \usepackage[margin=0.5in]{geometry} \renewcommand{\footrulewidth}{0pt} >> copyright overlaps last line of column text >> Try \usepackage[margin=0.35in]{geometry} \renewcommand{\footrulewidth}{0pt} >> copyright still too close to last line of column text, left of column margin now >> I need to se the fancyhdr footer left margin now >> Try \usepackage[ top=0.75in, bottom=0.5in, left=0.75in, right=0.75in, includefoot, ]{geometry} >> NUTS - shoved copyright up into column and to right! >> Try \usepackage[ top=0.75in, bottom=0.5in, left=0.75in, right=0.75in, includefoot, ]{geometry} ************* 13Apr2019 reverse chronological order of subsections +-----+ 13Apr2019 results of first run with drastically modified bash script Problem with [copyright, dollar sign] characters in my inserted [ISBN, copyright]. All files must be manually checked to make sure that graphics have not been affected, and that there are no "wierd [ISBN, copyrights]. This is a LOT of work - best to split the task among several people. see "normal" outputs in "/media/bill/SWAPPER/bin/pdftk_pre-copyrights log.txt" 6/12 papers - have "same copyright was present below columns", simply copy over "original final" pdf to IEEE/ 6/12 papers - special treatment, run separate bash file does not work : cat "$pdf_uncp" | sed -e "$sed_CRWN;$sed_Euro;$sed_IEEE;$sed_USgv" >>"$pdf_eras" just use a separate bash file for these cases At least one paper has XXXX copyright template (can't remember which) - these are not currently captured An additional 4 files had the bash stderr outputs below : +---+ $ bash "/media/bill/SWAPPER/bin/pdftk copy, insert [ISBN, copyright] CRWN, EU, IEEE, USgov papers.sh" 190413 21h13m11s : pdftk stream edit IJCNN PDF files - start process_directory 'IEEE/' 'a_IEEE list.txt' '\\footnote{978-1-7281-1985-4\/19\/31.00 USD \(c\)2019 IEEE}' 190413 21h13m11s process_directory: IEEE/ pdflatex -interaction nonstopmode -output-directory '/media/bill/ramdisk/' -output-format pdf '/media/bill/ramdisk/template.tex' '/media/bill/ramdisk/template.pdf' >>'/media/bill/SWAPPER/bin/pdftk_errs.txt' 2>&1 /media/bill/SWAPPER/bin/pdftk copy, insert [ISBN, copyright] CRWN, EU, IEEE, USgov papers.sh: line 86: 9009 Aborted pdftk "$pdf_eras" multistamp "$template_pdf" output "$pdf_cprt" >> "$p_pdftk_logs" 2>&1 /media/bill/SWAPPER/bin/pdftk copy, insert [ISBN, copyright] CRWN, EU, IEEE, USgov papers.sh: line 86: 15260 Aborted pdftk "$pdf_eras" multistamp "$template_pdf" output "$pdf_cprt" >> "$p_pdftk_logs" 2>&1 /media/bill/SWAPPER/bin/pdftk copy, insert [ISBN, copyright] CRWN, EU, IEEE, USgov papers.sh: line 86: 16768 Aborted pdftk "$pdf_eras" multistamp "$template_pdf" output "$pdf_cprt" >> "$p_pdftk_logs" 2>&1 cp: error writing ‘/media/bill/ramdisk/precpyrgt erased.pdf’: No space left on device cp: failed to extend ‘/media/bill/ramdisk/precpyrgt erased.pdf’: No space left on device +---+ >> I will have to track these down! +-----+ cat "$pdf_uncp" | sed -e "s/$sed_CRWN//;s/$sed_Euro//;s/$sed_IEEE//;s/$sed_USgv//" >>"$pdf_eras" +-----+ # tests : # ls -1 "/media/bill/PROJECTS/2019 IJCNN Budapest/Publications/2019 papers/" | grep ".pdf" >"/media/bill/ramdisk/pdf list.txt" # characters don't work? : # footnote="\\\footnote{978-1-7281-1985-4\/19\/\\\textdollar31.00 \\\copyright2019 Crown}" # footnote="\\\footnote{978-1-7281-1985-4\/19\/31.00 \(c\)2019 Crown}" # cat "/media/bill/SWAPPER/bin/pdftk stream edit IJCNN PDF files - template.tex" | sed "s//$footnote/" >"/media/bill/ramdisk/template.tex" # pdflatex -interaction nonstopmode -output-directory "/media/bill/ramdisk/" -output-format pdf "/media/bill/ramdisk/template.tex" "/media/bill/ramdisk/template.pdf" # pdftk "/media/bill/PROJECTS/2019 IJCNN Budapest/Publications/2019 papers/CRWN/N-19009.pdf" multistamp "/media/bill/ramdisk/template.pdf" output "/media/bill/ramdisk/CRWN/N-19009.pdf" # ls -1 "/media/bill/PROJECTS/2019 IJCNN Budapest/Publications/2019 papers/CRWN/" | grep ".pdf" | tr \\n \\0 | xargs -0 -ILINE pdftk "/media/bill/PROJECTS/2019 IJCNN Budapest/Publications/2019 papers/CRWN/LINE" multistamp "/media/bill/ramdisk/template.pdf" output "/media/bill/ramdisk/CRWN/LINE" # NUTS - this doesn't find footnotes footnotes=$( grep -cF "footnote\{" "$pdf_uncp" ) becho "footnotes = $footnotes" +----+ process_file() { crwn=$( grep -cF "$footnote_CRWN" "$pdf_uncp" ) euro=$( grep -cF "$footnote_Euro" "$pdf_uncp" ) ieee=$( grep -cF "$footnote_IEEE" "$pdf_uncp" ) #spcl=$( grep -cF "$footnote_spcl" "$pdf_uncp" ) usgv=$( grep -cF "$footnote_USgv" "$pdf_uncp" ) let "flag=$crwn + $euro + $ieee + $usgv" if [ $flag -ge 1 ]; then echo "$pdf_uncp : $crwn, $euro, $ieee, $usgv" >>"$p_precpy_log" cat "$p_precpy_tmp" | sed -e "s/$sed_CRWN//;s/$sed_Euro//;s/$sed_IEEE//;s/$sed_USgv//" >>"$pdf_eras" else cp "$pdf_uncp" "$pdf_eras" fi } +-----+ # erase_precopyrights() - very inefficient code! # for now, leave out "s/$sed_spcl//;" erase_precopyrights() { while read -u 7 f_pre; do crwn=$( echo "$f_pre" | grep -cF "$footnote_CRWN" ) euro=$( echo "$f_pre" | grep -cF "$footnote_Euro" ) ieee=$( echo "$f_pre" | grep -cF "$footnote_IEEE" ) # spcl=$( echo "$f_pre" | grep -cF "$footnote_spcl" ) usgv=$( echo "$f_pre" | grep -cF "$footnote_USgv" ) done 7< "$p_precpy_tmp" let "flag=$crwn + $euro + $ieee + $usgv" if [ $flag -ge 1 ]; then echo "$pdf_uncp : $crwn, $euro, $ieee, $usgv" >>"$p_precpy_log" cat "$p_precpy_tmp" | sed -e "s/$sed_CRWN//;s/$sed_Euro//;s/$sed_IEEE//;s/$sed_USgv//" >>"$pdf_eras" fi } # tests : # footnote_CRWN="\\\footnote{978-1-7281-1985-4\/19\/31.00 USD \(c\)2019 Crown}" # erase_test.txt => save ' I am here footnote_CRWN="\\\footnote{978-1-7281-1985-4\/19\/31.00 USD \(c\)2019 Crown}, not yet footnote_CRWN="\\\footnote{978-1-7281-1985-4\/19\/31.00 USD \(c\)2019 Crown}' # crwn=$( grep -cF "$footnote_CRWN" "/media/bill/ramdisk/erase_test.txt" ) # >> result is crwn = 1 should be 2? NYET! - only says how many LINES have the search text! # >> but the footnotes may have more than one copy of the same [ISBN, copyright]!! - ignore for now! # set [crwn, euro, ieee, spcl, usgv] = [1,0,2,1,0] # let "m = $echo + $crwn + $euro + $ieee + $usgv" # if [ "$m" -ge 1 ]; then echo "hello"; fi # echo "/mediabill/ramdisk/dummy.txt : $crwn, $euro, $ieee, $usgv" # >> /mediabill/ramdisk/dummy.txt : 1, 0, 2, 1 # 13Apr2019 assume all [ISBN, xcopyright] statements in first 1000 lines process_file_old() { rm "$p_precpy_tmp" for i in {1..1000} do read -u 8 LINE echo "$LINE" >>"$p_precpy_tmp" done 8<"$pdf_uncp" erase_precopyrights while read -u 8 LINE; do echo "$LINE" >>"$pdf_eras" done 8< "$pdf_uncp" } # enddoc