Re: Curious compile error, easily fixed
On 5/20/22 18:32, Rich Shepard wrote: Attempting to compile a document using pdflatex halts with an error referencing a verbatim@ environment. Since I've not explicitly used that environment, and a search of the .lyx file doesn't find that word present, I wonder why it suddenly decided to show up each time I use the chord, C-x h. Regardless, when I close the error window and repeat C-x h pdflatex happily compiles the file. Has anyone a thought about why the error would appear if the environment 'verbatim' can't be found in the .lyx file? Rich After the initial compilation attempt, you can open the generated .tex file (lurking in the buffer directory) in a text editor and search for any mention of verbatim. It could be that some module or funky document element is using it. If there's more than one occurrence, the location of the error in the document log window might help narrow down which one triggered the error. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Curious compile error, easily fixed
Attempting to compile a document using pdflatex halts with an error referencing a verbatim@ environment. Since I've not explicitly used that environment, and a search of the .lyx file doesn't find that word present, I wonder why it suddenly decided to show up each time I use the chord, C-x h. Regardless, when I close the error window and repeat C-x h pdflatex happily compiles the file. Has anyone a thought about why the error would appear if the environment 'verbatim' can't be found in the .lyx file? Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Acrobat pdf
Thank you very much El! just and apologies forthe slow response - what I needed and apologies for the slow response- a strange day -walking in the sunshine all day! A weird experience that used to be normal! Will try it now and thanks again Mark On 20/05/2022 08:25, Dr Eberhard Lisse wrote: Assuming this is on the Mac: Click on any PDF and then issue CMD-I. Then change the "Open-With" Pulldown do whatever viewer you want but click on "Change-All" Then in Lyx you can use "open" as the viewer. PDF Expert is very nice and powerful but I like Skim for day-to-day by the way. greetings, el On 2022-05-19 14:24 , Kornel Benko wrote: Am Thu, 19 May 2022 12:33:49 +0100 schrieb mark salmon : Thank you Kornel- when I get to Viewer ( for pdflatex) it gives me only 2 options- None or Custom- alongside Custom in another box it also has " auto". No mention of PDF Expert or in fact Adobe Acrobat--what do I haver to do now to make lyx use PDF Expert?? Cheers, Mark Use custom and fill the box with the path to your favourite pdf viewer. You may not need the full path, if your pdf-viewer is directly accessible. On 19/05/2022 12:04, Kornel Benko wrote: Am Thu, 19 May 2022 11:50:20 +0100 schrieb mark salmon: I have moved away from Adobe Acrobat for PDFs as there are many alternatives that are substantially cheaper and in fact in many cases better. However as my Adobe licence has just run out it seems I can no longer generate PDF documents- I get the pdf in acrobat but I can't access it as an adobe page comes up asking me to re-licence Acrobat but I want to continue using PDFexpert instead- How do I change the preferences with Lyx to stop it assuming I am using Adobe Acrobat for PDFs and instead use PDFExpert for pdf output? Many thanks, Mark Select Tools->Preferences->File Handling->File Formats->Format Select there the relevant PDF output, e.g. 'PDF (pdflatex)' and select the Viewer to what you desire. Kornel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Suggestions for custom layouts/templates creation
On Fri, 20 May 2022, Steve Litt wrote: First, if the forms will be OCR'ed, you'd better have the right font and spacing. Otherwise, it's pretty easy... Steve, Not applicable. But, about 15 years ago I used PSTricks to create a scannable form. Took time but worked. These 'forms' are not like a voting ballot. One is a checklist of compliance with the state's environmental policy act, another describes the project's compliance with the local critical areas protection needs. And so on. Question and answer type forms. Then there's the biological evaluation/assessment which requires addressing specific issues. Because I no longer have a typewriter, use windoze, or want to write manually I recreate the 'forms' in LyX. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Suggestions for custom layouts/templates creation
On Fri, 20 May 2022, Dr Eberhard Lisse wrote: I have recreated a number of forms required by the local Medical Industrial Complex :-)-O using tables, judicious spacing and other trickery to achieve reasonable similarity which has been accepted in each case. EL, Sometimes the specific appearance matters, most of the time it's the content that matters. As long as all information is provided in the same sequence the agency would accept it. Thanks for your insights, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Polyglossia
Am 20.05.22 um 10:12 schrieb Herbert Voss: Am 20.05.22 um 09:50 schrieb Wolfgang Engelmann: Am 19.05.22 um 20:00 schrieb Jürgen Spitzmüller: Am Donnerstag, dem 19.05.2022 um 17:48 +0200 schrieb Wolfgang Engelmann: shouldn't it has been updated with texhash? texhash only updates the local filename hash. To update packages, you need to use your package manager. sudo apt-get install polyglossia Wolfgang, that is the problem: You have TeXLive installed in /usr/local/texlive/2022 and also the Debian specifc one in /usr/share/ but I had removed all the tex related package from /usr/share so that it it in /usr/local only. Strange. Perhaps I should work as a different user on my notebook and start anew with lyx. I am also inclined not too use the Lyx2.4dev any more. It took me so much time and frustration. However, before doing it, I should know how to get the lyx2lyx conversion in order to downgrade my 2.4 lyx files to the 2.3x Wolfgang That makes no sense. Use _always_ and only the first one and if you want to update packages then download the zip-file from CTAN or git and look for the directory of the package kpsewhich polyglossia.sty In general you should save own packages in /usr/local/texlive/texmf-local/.. But in this case you could use the official one for polyglossia. Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Polyglossia
Am 20.05.22 um 09:50 schrieb Wolfgang Engelmann: Am 19.05.22 um 20:00 schrieb Jürgen Spitzmüller: Am Donnerstag, dem 19.05.2022 um 17:48 +0200 schrieb Wolfgang Engelmann: shouldn't it has been updated with texhash? texhash only updates the local filename hash. To update packages, you need to use your package manager. sudo apt-get install polyglossia Wolfgang, that is the problem: You have TeXLive installed in /usr/local/texlive/2022 and also the Debian specifc one in /usr/share/ That makes no sense. Use _always_ and only the first one and if you want to update packages then download the zip-file from CTAN or git and look for the directory of the package kpsewhich polyglossia.sty In general you should save own packages in /usr/local/texlive/texmf-local/.. But in this case you could use the official one for polyglossia. Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Polyglossia
Am 19.05.22 um 20:00 schrieb Jürgen Spitzmüller: Am Donnerstag, dem 19.05.2022 um 17:48 +0200 schrieb Wolfgang Engelmann: shouldn't it has been updated with texhash? texhash only updates the local filename hash. To update packages, you need to use your package manager. sudo apt-get install polyglossia [sudo] Passwort für wolfgang: Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig E: Paket polyglossia kann nicht gefunden werden. sudo apt-get install texlive-latex-extra [sudo] Passwort für wolfgang: Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig texlive-latex-extra ist schon die neueste Version (2020.20210202-3). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. wolfgang@Fuji:~$ sudo apt-get install texlive-generic-extra Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig E: Paket texlive-generic-extra kann nicht gefunden werden. however: Lua module: polyglossia 2013/05/11 1.3 Polyglossia Package polyglossia Warning: File gloss-latex.ldf does not exist! (polyglossia)I will nevertheless try to use hyphenation pattern The property list \polyglossia@langsetup contains the pairs (without outer braces): > {latex/script} => {latin} Module polyglossia Warning: Language latex not found in language.dat.lua on input ... Package polyglossia Warning: No hyphenation patterns were loaded for `latex' Wolfgang -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Acrobat pdf
Assuming this is on the Mac: Click on any PDF and then issue CMD-I. Then change the "Open-With" Pulldown do whatever viewer you want but click on "Change-All" Then in Lyx you can use "open" as the viewer. PDF Expert is very nice and powerful but I like Skim for day-to-day by the way. greetings, el On 2022-05-19 14:24 , Kornel Benko wrote: Am Thu, 19 May 2022 12:33:49 +0100 schrieb mark salmon : Thank you Kornel- when I get to Viewer ( for pdflatex) it gives me only 2 options- None or Custom- alongside Custom in another box it also has " auto". No mention of PDF Expert or in fact Adobe Acrobat--what do I haver to do now to make lyx use PDF Expert?? Cheers, Mark Use custom and fill the box with the path to your favourite pdf viewer. You may not need the full path, if your pdf-viewer is directly accessible. On 19/05/2022 12:04, Kornel Benko wrote: Am Thu, 19 May 2022 11:50:20 +0100 schrieb mark salmon: I have moved away from Adobe Acrobat for PDFs as there are many alternatives that are substantially cheaper and in fact in many cases better. However as my Adobe licence has just run out it seems I can no longer generate PDF documents- I get the pdf in acrobat but I can't access it as an adobe page comes up asking me to re-licence Acrobat but I want to continue using PDFexpert instead- How do I change the preferences with Lyx to stop it assuming I am using Adobe Acrobat for PDFs and instead use PDFExpert for pdf output? Many thanks, Mark Select Tools->Preferences->File Handling->File Formats->Format Select there the relevant PDF output, e.g. 'PDF (pdflatex)' and select the Viewer to what you desire. Kornel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Suggestions for custom layouts/templates creation
Rich Shepard said on Thu, 19 May 2022 13:39:14 -0700 (PDT) >I've read the layout page in the Wiki and learned that I can create my >own layouts. What I'd like from those of you who want to help are >suggestions how to approach the project(s). > >All environmental regulators have forms that need to be filled by >permit (or other approval) applicants then submitted to the agency. I >don't do Windows and want to learn how to make LyX templates for those >that clients pay me to prepare for them. > >I use the KOMA-Script classes and assume the KOMA-Script Article class >would be the most appropriate. But, not before creating any LyX >templates I would appreciate suggestions how to go about making this >first one. First, if the forms will be OCR'ed, you'd better have the right font and spacing. Otherwise, it's pretty easy... Your layout file defines environments and commands. Commands are the basis of character styles, and can be used for other things too. So invent a stylename (environment or command) for each appearance you see on whatever form you're imitating, and then do a little trial and error with the styles until yours looks exactly like the sample. I haven't discussed the nuts and bolts of custom layout grammar. If you need that, give me back a shout. SteveT Steve Litt March 2022 featured book: Making Mental Models: Advanced Edition http://www.troubleshooters.com/mmm -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Suggestions for custom layouts/templates creation
I have recreated a number of forms required by the local Medical Industrial Complex :-)-O using tables, judicious spacing and other trickery to achieve reasonable similarity which has been accepted in each case. I usually use Komascript but have a few legacy forms that I created in Memoir and they are not broken. It's a lot of manual labor, even only once:-)-O and you can template (variables like $$SURNAME$$) with Perl (or for the younglings Python :-)-O) if you want. The really complicated and colorful forms I do in LaTeX with the PDF as the background and then use something like \usepackage{lpic} so I can place the variables right where I need them, usually incorporating them into Perl scripts. Using Pashua for simple forms and Platypus to create (simple) Apps on the Mac makes this quite powerful. Usually these forms change over time but in particular the lab I use has overlooked the outdatedness of my forms (probably because they are happy not to have to try to read my handwriting :-)-O) el On 2022-05-19 23:19 , Rich Shepard wrote: I use the KOMA-Script classes and assume the KOMA-Script Article class would be the most appropriate. But, not before creating any LyX templates I would appreciate suggestions how to go about making this first one. Thinking I'm on the right track, I'm copying text from the PDF form with questions emphasized (to visually separate them from the filled in answers). I'm using sections* and subsctions* to follow the agency's formatting. Will save in ~/.lyx/templates when finished. Recommendations still welcome! Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users