Re: Creating pdf forms template
- Original Message - From: John Kane To: Alex Vergara Gil ; lyx-users Users ; lyx-de...@lists.lyx.org Sent: Thursday, March 21, 2013 12:32 PM Subject: Re: Creating pdf forms template It works or at least I managed to type some text into the text box. I made a couple of changes to the text which I think makes it a bit more idiomatic in English (see attached. I hope you don't mind. I spent what seemed like forever installing the blasted insdljs.sty and it worked. For those having the same problem in Ubuntu I 1) created a texmf folder at root level following these directions http://nmv.stat.cmu.edu/2012/06/14/managing-latex-packages-manually-in-ubuntu-12-04/ and then following instructions from http://www.latex-community.org/forum/viewtopic.php?f=5&t=8886 2. cd'd to the texmf/tex/latex/acrotex directory 3. ran sudo texhash 4 ran latex acrotex.ins Reconfigured LyX and everything ran nicely. Dear John Thanks for your reply and your idiomatic suggestions. Now I notice that it must be told in the document that for make it to work the AcroTeX package must be instaled also (it contains the insdljs.sty file), this specific package allows javascript code inside a pdf, so you can manage actions like (onselect, onkeypress, etc). It is also part of MikTeX if you run this on Windows so this should works on every platform. The problem is that if you just put {this.getField("Escuelat").readonly=false;} it works in one way, but when you uncheck the box the linked text field should become uneditable and empty. For this I expect that the code {this.getField("Escuelat").readonly=!this.getField("Escuelac").checked; this.getField("Escuelat").value="";} shall do the job, but it isn´t. I even made this as a function, but nothing happened. The rest of the objects work very nice but this kind of behaviour is critical for the next step of creating action buttons. Regards Alex
Re: Creating pdf forms template
It works or at least I managed to type some text into the text box. I made a couple of changes to the text which I think makes it a bit more idiomatic in English (see attached. I hope you don't mind. I spent what seemed like forever installing the blasted insdljs.sty and it worked. For those having the same problem in Ubuntu I 1) created a texmf folder at root level following these directions http://nmv.stat.cmu.edu/2012/06/14/managing-latex-packages-manually-in-ubuntu-12-04/ and then following instructions from http://www.latex-community.org/forum/viewtopic.php?f=5&t=8886 2. cd'd to the texmf/tex/latex/acrotex directory 3. ran sudo texhash 4 ran latex acrotex.ins Reconfigured LyX and everything ran nicely. From: Alex Vergara Gil To: lyx-users Users ; lyx-de...@lists.lyx.org Sent: Thursday, March 21, 2013 10:20:15 AM Subject: Creating pdf forms template Hello Lyxers! In the lasts days I was learning how to create PDF forms using LyX. But this process require a few javascript knowledge. I´ve tried my best to translate to english the attached template (an improvement of previous in spanish) in which you will see that objects are actually created but the scripts doesn´t behave as I expect. Someone please help me to set this to work. I think this is a first step to make a good template and if we manage to obtain an impresive one and people starts using it then it should be a feature request to support form creation natively in LyX, hopely as a new toolbox. What do you think about this? Please don´t feel offended by my (bad) english, I really make my best effort to translate it. Regards Alex pdf-forms-en1.lyx Description: application/lyx
BUG in fullscreen view text not aligned
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi in the attached lyx file, when switching to fullscreen, the two numbered items are not justified with the other text. Nothing serious, but cosmetic. LyX 2.0.5.1 under ubuntu Quantal, installed from ppa. Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRSyFIAAoJENvXNx4PUvmC3poH/Rc0aw8fOgLjq2vOPUOsIDgp S1GtNqVCsfOCo9LBwDP1VHwIpEa2y8Cu0Zmtk/mt69HELpl04chv8rXjYEkaPaR0 9W1xxuPu1x0eaW8LD31LE7AgcBs3YIophzpskXyNAPjV4JaRBFwovpAuIlHMsW73 WCuDzwCexA77bRwLQm0AB2e346fXBZS0sTTzgGwqhLVrjCt0d1AYfPxD/FB4Xl01 TGKbiS4nT4fE13SCW6wdDG+sMcZq7adU/R4/EXW1z1m539PePvDAjpv8E08XBdC/ NhECfYCPzB+5fAdYeLmf5M/Mvyfd3ufbm1fjujSnOvAO458Ag6qlNZtAEpqHSAc= =5vgt -END PGP SIGNATURE- indentation.lyx Description: application/lyx <> indentation.lyx.sig Description: PGP signature indent.png.sig Description: PGP signature
Creating pdf forms template
Hello Lyxers! In the lasts days I was learning how to create PDF forms using LyX. But this process require a few javascript knowledge. I´ve tried my best to translate to english the attached template (an improvement of previous in spanish) in which you will see that objects are actually created but the scripts doesn´t behave as I expect. Someone please help me to set this to work. I think this is a first step to make a good template and if we manage to obtain an impresive one and people starts using it then it should be a feature request to support form creation natively in LyX, hopely as a new toolbox. What do you think about this? Please don´t feel offended by my (bad) english, I really make my best effort to translate it. Regards Alex pdf-forms-en.lyx Description: application/lyx
Re: Disable or modify timeout for pdflatex?
"Barth, Christian (ITEP)" írta: > >Dear LyX users, I have a small problem with LyX (version 2.0.5.1 on >>Windows 7 64Bit) to which I was unable to find an answer. I am writing my >>Ph.D. thesis with LyX. The document has grown quite large with lots of >>figures, references and equations. If I try to create a .pdf of the whole >>document using pdflatex a message appears several times which says: >> The command pdflatex -synctex=-1 "Thesis.tex" has not >yet >completed. Do you want to stop it? I have to click "Let it >?>run" several times to complete the document. It is really annoying. >>However, it only happens if I create the whole document. The individual >>chapters can be created without this message appearing. Thus, I think it is >>a timeout and has something to do with the size of the document. > Is it >possible to increase or even disable the timeout for pdflatex? > Best >wishes, Christian I would be interested in this one too. How is it possible to change timeout? And another one: If I click on accidentally 'view' document, how can I stop the process? (In case of complex documents the process can be several minutes and during this time I can not view other documents.) Thanks, bcsikos
Disable or modify timeout for pdflatex?
Dear LyX users, I have a small problem with LyX (version 2.0.5.1 on Windows 7 64Bit) to which I was unable to find an answer. I am writing my Ph.D. thesis with LyX. The document has grown quite large with lots of figures, references and equations. If I try to create a .pdf of the whole document using pdflatex a message appears several times which says: The command pdflatex -synctex=-1 "Thesis.tex" has not yet completed. Do you want to stop it? I have to click "Let it run" several times to complete the document. It is really annoying. However, it only happens if I create the whole document. The individual chapters can be created without this message appearing. Thus, I think it is a timeout and has something to do with the size of the document. Is it possible to increase or even disable the timeout for pdflatex? Best wishes, Christian