Re: rsvg-convert, incorrect alignment
Hello Rajil, under Tools --> Settings --> File Handling --> Converter --> SVG->PDF (graphic) --> Converter in my LyX is written the following line: Inkscape --file = $$ i --export-area-drawing -without-gui --export-pdf = $$ o Best regards Marcus -- PMs to: m.gloe...@gmx.de
Re: rsvg-convert, incorrect alignment
On 5 December 2015 at 16:50, Marcus Glöder wrote: > Hello Rajil, > > I have loaded your SVG file in Inkscape and then saved as a PDF file > (unchanged). The result you see here: > > https://onedrive.live.com/redir?resid=DA2B9003045FA614!2812&authkey=!AJ8PPKYTDH1337Q&ithint=file%2cpdf > > Where is the problem? > > Best regards > Marcus > > -- > PMs to: m.gloe...@gmx.de If you use rsvg-convert to convert the file like 'rsvg-convert -f pdf -o image.pdf image.svg', you will find that the resulting pdf has the text aligned incorrectly. However Inkscape does it correctly as you found out. The default converter for svg in lyx in rsvg-convert, hence the issue.
Re: Splitting long eqution
On Fri, Dec 4, 2015 at 4:08 AM Anders Ekberg wrote: > On 04 Dec 2015, at 02:30, Jacob Bishop wrote: > > > > > -Steve Burnham > > On Wed, Dec 2, 2015 at 12:47 AM, Anders Ekberg wrote: > >> see the extended minimal example attached. >> > > This example is really good, and Anders' response was on the spot, but I > thought I'd take the opportunity to point out something that took me quite > a while to realize. When using the equation array environment (what happens > when you push ctrl+enter), the spacing around the equal sign is different > than what it is for a "display formula." This leads to a document that has > inconsistent spacing, which can be seen in this example. The spacing around > the equals sign in equation (1) is a lot less than the spacing around the > equals signs in the other equations. The solution is to use AMS > environments. Check the spacing produced in the attached document. I also > used \mathrm for multi-letter subscripts, which I would recommend. Finally, > you should check out the different reference types. I use the one with > parentheses to do equations. > > I hope this helps. > > Jacob > > > > > Thanks Jacob, that was helpful! > I like that you point out the use of \mathrm. I “preach” to all students > and everyone else who wants to hear (and to everyone else too ;-) that > indices that are not variables should be roman. So for those who use LyX or > LaTeX and write equations \mathrm is one of the best commands to know… > > Anders > Thanks for the advice on \mathrm, equations look much better with it. In regard to the ams multiline, when I use it in the two column format my equations then get rather messed up. The first half of the equation is left justified while the second half is right justified. The whole equation (both parts) should be centered (exactly how it looks in LyX when in math mode). I have tried to set the justification to center but it appears to have no effect. See my new minimal example. -Steve minimal_extended-AMS.lyx Description: Binary data
Re: rsvg-convert, incorrect alignment
Hello Rajil, For the command line there might be two more opportunities (untested!): a. If you have Inkscape installed, you can use the convert command. b. ImageMagick is also likely to go. Source: http://www.imagemagick.org/discourse-server/viewtopic.php?t=23820 (However, it's about the conversion from SVG to JPG, not SVG to PDF.) Best regards Marcus -- PMs to: m.gloe...@gmx.de
Re: rsvg-convert, incorrect alignment
Hello Rajil, I have loaded your SVG file in Inkscape and then saved as a PDF file (unchanged). The result you see here: https://onedrive.live.com/redir?resid=DA2B9003045FA614!2812&authkey=!AJ8PPKYTDH1337Q&ithint=file%2cpdf Where is the problem? Best regards Marcus -- PMs to: m.gloe...@gmx.de
Re: gantt
Dear Patrick, just I have take a look at the documentation of pgfgantt (http://texdoc.net/texmf-dist/doc/latex/pgfgantt/pgfgantt.pdf). If you mastered the package and you can live with the ERT produced, then there is nothing to be said against it that you can use it. Otherwise do it so, as I have described: using an external application to make the Gantt chart, generating therefrom an image and embed the image into LyX. Best regards Marcus -- PMs to: m.gloe...@gmx.de
rsvg-convert, incorrect alignment
Hello, I tried to align the text in Inkscape and created an svg file (files attached). Unfortunately, rsvg-convert seems to mess up the converted pdf. I guess this is a bug in rsvg-convert. Anybody else seen this before? Thanks, Rajil image.pdf Description: Adobe PDF document
Re: gantt
Thank Marcus, I finally use pgfgantt It is really old fashion. I did not find good tool to create a gantt diagram. Is there any gui using latex code (more or less like lyx)? I do not know the audience about an add-on to lyx, but a good editor of gantt seems missing! Regards. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France === > Sent: Saturday, December 05, 2015 at 7:57 PM > From: "Marcus Glöder" > To: No recipient address > Cc: lyx > Subject: Re: gantt > > Dear Patrick, > > you can embedding a Gantt chart into a LyX document just like any other > chart too. That is: Create you your Gantt chart, your network planning > chart or whatever you want to have with any program with which you want. > Then you make a picture of it, if possible in a vector graphics format. > If you are using latex as compiler, EPS is recommended as a graphic > format, when you use pdflatex or xelatex, rather PDF. In LyX then you > create a float using Insert -> Floats -> Picture, give the image a name > by caption, adding a label and place here via Insert -> Graphics your > EPS or PDF file (the Gantt chart). > > The question of how you can embedding a Gantt Chart in LyX, so offers no > difficulties. More interesting is the question of how you create it. In > my opinion it's not a good idea to take easy the Gantt chart from MS > Project or ProjectLibre, because it looks not not like pretty. At the > moment I use Harvard Chart XL 3.0 to create the Gantt chart as such and > Inkscape to add shortcut arrows and milestones. > > Best regards > Marcus > > -- > PMs to: m.gloe...@gmx.de >
Re: gantt
Dear Patrick, you can embedding a Gantt chart into a LyX document just like any other chart too. That is: Create you your Gantt chart, your network planning chart or whatever you want to have with any program with which you want. Then you make a picture of it, if possible in a vector graphics format. If you are using latex as compiler, EPS is recommended as a graphic format, when you use pdflatex or xelatex, rather PDF. In LyX then you create a float using Insert -> Floats -> Picture, give the image a name by caption, adding a label and place here via Insert -> Graphics your EPS or PDF file (the Gantt chart). The question of how you can embedding a Gantt Chart in LyX, so offers no difficulties. More interesting is the question of how you create it. In my opinion it's not a good idea to take easy the Gantt chart from MS Project or ProjectLibre, because it looks not not like pretty. At the moment I use Harvard Chart XL 3.0 to create the Gantt chart as such and Inkscape to add shortcut arrows and milestones. Best regards Marcus -- PMs to: m.gloe...@gmx.de
Re: gantt
HI Patrick, I don't understand the question. Are you trying to import a gantt chart produced by project management software or create a gantt chart within LyX or LaTeX? 2015-12-04 11:29 GMT-05:00 Patrick Dupre : > Hello, > > Is there a tool to make gantt diagram compatible with lyx? > > Thank > > === > Patrick DUPRÉ | | email: pdu...@gmx.com > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > === > -- John Kane Kingston ON Canada
Re: 2.2.0alpha2 - "LyX could not create temporary directory...."
Am Samstag, 5. Dezember 2015 um 12:26:52, schrieb Scott Kostyshak > > many thanks Scott - now it feels like when you complain of a noise in the > > car, take it to the garage, and the car runs perfectly smoothly: I have > > been unable to reproduce the error! I have opened several files, and > > nothing! > > I guess this is good news although it would have been nice to know what > happened. Hopefully the problem stays away. I would like to know too. But sometimes one has to remove CMakeCache.txt first if reconfiguring with different settings. If the configuration results are cached, it means that they are reused. Except for data which in previous call were not found. > > So for the moment all seems to be running ok again, really sorry for the > > trouble! But I have your instructions should the problem reappear. > > OK sounds good. Kornel signature.asc Description: This is a digitally signed message part.
Re: 2.2.0alpha2 - "LyX could not create temporary directory...."
On Sat, Dec 05, 2015 at 11:21:11AM +, Paola Manzini wrote: > > On 5 Dec 2015, at 00:04, Scott Kostyshak > mailto:skost...@lyx.org>> wrote: > > On Fri, Dec 04, 2015 at 11:35:16PM +, Paola Manzini wrote: > > The path for the temporary directory is: > /var/folders/_q/_lf49ll933z7xvnbfdtmn810gn/T > > OK. Can you do the following: > > 1. Exit all LyX instances. > 2. Run the command > ls -lR /var/folders/_q/_lf49ll933z7xvnbfdtmn810gn/ > 3. Open one .lyx file (which you said does not cause an error). > 4. Run the same command as in 2. > 5. Open another .lyx file. This should produce the error. Before > clicking on OK for the error or anything else, run the same command as > in step 2 again. > 6. (still without clicking OK on the error or anything else), run the > command > mkdir > > So you should run the command in step 2 a total of 3 times and send us > all of the output. Also send us the output from the mkdir command. > > I ditched the stable version, so only have 2.2.0alpha2 now. > > OK. > > Finally, I am not sure whether this is what you wanted, but I used the > command in a Terminal window, which returned: > > Filesystem Size Used Avail Capacity iused ifree %iused Mounted on > /dev/disk1 931Gi 360Gi 570Gi39% 94431751 149513719 39% / > > Yes this is what I wanted. I just wanted to confirm that the filesystem > your temporary directory is on is not full (as the error you posted > suggested). > > Scott > > > many thanks Scott - now it feels like when you complain of a noise in the > car, take it to the garage, and the car runs perfectly smoothly: I have been > unable to reproduce the error! I have opened several files, and nothing! I guess this is good news although it would have been nice to know what happened. Hopefully the problem stays away. > So for the moment all seems to be running ok again, really sorry for the > trouble! But I have your instructions should the problem reappear. OK sounds good. Scott signature.asc Description: PGP signature
Re: threeparttablex with longtable
Hi Tyler As Jacob also mentioned we really need to see an actual example of what you are trying to do. Here is a discussion on how to approach the task : http://wiki.lyx.org/FAQ/MinimalExample On the other hand, given all the coding you already have done, I'd suggest doing the whole thing in LaTeX, that is, just stay in the ERT environment. I have never found LyX tables that easy to fill in---nice to work with otherwise but in terms of data entry, meh, not a lot easier than raw LaTeX. See a example I stole from somewhere on the web and slightly adapted a while ago. It is attached below. On 4 December 2015 at 14:23, Tyler Grummett wrote: > Hello John, > > > Yes the normal threeparttable package works for me with normal tables in a > table float, however I need table notes in a long table. > > > I have the following in ERT before the table (which is manually inserted > using the lyx GUI) > > > \begin{ThreePartTable} > \begin{TableNotes} > \item[a] A note > \item[b] Another note > \end{TableNotes} > > I then make the table. However the threeparttablex package asks for you to > put in a line of ERT code that says \insertTableNotes, however as the code > includes \end{longtable} when you make a table, you cant put it in anywhere. > > > I have compromised (if there is no solution) by inserting some ERT code in > the bottom row of the table: > > > \footnotesize > 1 = blah > 2 = blah blah > 3 = blah blah blah > > which makes most of the code written before the table vestigial, Ill > remove it if there isnt a solution haha. > > Cheers for the prompt reply, > > Tyler > > > * > > *Tyler Grummett ( BBSc, BSc(Hons I))* > *PhD Candidate* > *Brain Signals Laboratory* > *Flinders University* > *Rm 5A301* > *Ext 66125* > > > -- > *From:* John Kane > *Sent:* Thursday, 3 December 2015 11:20 PM > *To:* Tyler Grummett > *Cc:* lyx-users@lists.lyx.org > *Subject:* Re: threeparttablex with longtable > > Hi Tyler; > Could you upload a minimal example of the table. It is not clear to me > exactly how you are using the ERT. > > Is the entire table in the ERT or are you using a LyX-type table with the > Insert commands in an ERT? > > On 30 November 2015 at 20:17, Tyler Grummett < > tyler.grumm...@flinders.edu.au> wrote: > >> Hello Lyx, >> >> >> Im having a problem when using threeparttablex with longtables. In order >> to see the table I am working with, I have chosen to use ERT code to >> \begin{ThreePartTable} and then \begin{TableNotes} \end{TableNotes} >> etc then ive inserted a table and made it a long table. >> >> >> Everything works if you just put in the ERT code \end{ThreePartTable}, >> but then there are no actual table notes. I cant work out where to put the >> ERT code \insertTableNotes. According to the documentation, it needs to be >> inside the longtable, but I cant work out how to do it without getting an >> error \misaligned etc. >> >> >> Please help. >> >> >> Tyler >> >> >> * >> >> *Tyler Grummett ( BBSc, BSc(Hons I))* >> *PhD Candidate* >> *Brain Signals Laboratory* >> *Flinders University* >> *Rm 5A301* >> *Ext 66125* >> > > > > -- > John Kane > Kingston ON Canada > -- John Kane Kingston ON Canada threepart.lyx Description: application/lyx
Re: 2.2.0alpha2 - "LyX could not create temporary directory...."
On 5 Dec 2015, at 00:04, Scott Kostyshak mailto:skost...@lyx.org>> wrote: On Fri, Dec 04, 2015 at 11:35:16PM +, Paola Manzini wrote: The path for the temporary directory is: /var/folders/_q/_lf49ll933z7xvnbfdtmn810gn/T OK. Can you do the following: 1. Exit all LyX instances. 2. Run the command ls -lR /var/folders/_q/_lf49ll933z7xvnbfdtmn810gn/ 3. Open one .lyx file (which you said does not cause an error). 4. Run the same command as in 2. 5. Open another .lyx file. This should produce the error. Before clicking on OK for the error or anything else, run the same command as in step 2 again. 6. (still without clicking OK on the error or anything else), run the command mkdir So you should run the command in step 2 a total of 3 times and send us all of the output. Also send us the output from the mkdir command. I ditched the stable version, so only have 2.2.0alpha2 now. OK. Finally, I am not sure whether this is what you wanted, but I used the command in a Terminal window, which returned: Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk1 931Gi 360Gi 570Gi39% 94431751 149513719 39% / Yes this is what I wanted. I just wanted to confirm that the filesystem your temporary directory is on is not full (as the error you posted suggested). Scott many thanks Scott - now it feels like when you complain of a noise in the car, take it to the garage, and the car runs perfectly smoothly: I have been unable to reproduce the error! I have opened several files, and nothing! So for the moment all seems to be running ok again, really sorry for the trouble! But I have your instructions should the problem reappear. Thanks again! Paola
Re: Options of packages loaded by modules/Lyx
2015-12-05 0:00 GMT+01:00 Scott Kostyshak : > > Note that if you feel like testing, we would be interested in your > feedback. See here for installers for our most recent development > version: > > ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/lyx-2.2.0alpha2/ > > Scott > Will certainly test it sooner or later.