Re: Cannot get Externam Material: Inkscape figure to work
Am Dienstag, den 10.10.2017, 16:43 -0400 schrieb Steve Litt: > On Tue, 10 Oct 2017 19:45:53 +0200 > Jürgen Spitzmüllerwrote: > > > Am Dienstag, den 10.10.2017, 08:39 +0200 schrieb racoon: > > > I just tried the new (experimental) Inkscape figure (or should it > > > be > > > SVG > > > figure?) > > > > No, Inkscape. It's a particular format that is only featured by > > that > > program. > > Inkscape's internal format is an enhanced SVG that can be read > directly > by most browsers. Sure. The point with the external template is that just the source format is SVG. The template uses inkscape itself to export an PDF or PS file without text and a tex file containing the text. Thus, you can use figures with the respective document font. But inkscape needs to be installed for that to work (for normal SVGs, you don't need the template; the graphics inset will do). Jürgen signature.asc Description: This is a digitally signed message part
Re: Cannot get Externam Material: Inkscape figure to work
On Tue, 10 Oct 2017 19:45:53 +0200 Jürgen Spitzmüllerwrote: > Am Dienstag, den 10.10.2017, 08:39 +0200 schrieb racoon: > > I just tried the new (experimental) Inkscape figure (or should it be > > SVG > > figure?) > > No, Inkscape. It's a particular format that is only featured by that > program. Inkscape's internal format is an enhanced SVG that can be read directly by most browsers. Inkscape has the capability of exporting an image to an SVG without the extra-specification tags. If the modern PDF standard can directly embed SVG, then probably it wouldn't be too hard to show the SVG image in the LyX-created PDF, without using Inkscape as a file converter. But if PDF can't directly address embedded SVG, then Inkscape will indeed be needed by LyX as a converter. It's easy to install free software. By the way, a suggestion. If you're making diagrams with text, you might find the text becoming too big or too small for the diagram in your final output. If that happens to you, the solution is to convert all text to curves before using the SVG. The upside of this is your SVG looks in a browser just like it looked in Inkscape. The downside is that the SVG gets much bigger, and it's no longer text-searcheable or able to copy from. Here's my shellscript to convert my SVG text to curves: == #!/bin/sh orgname=$1 basename=`echo $orgname | sed -e's/\.[^.]*$//'` extension=`echo $orgname | sed -e's/.*\.\([^.]*\)$/\1/'` if test "$extension" != "svg"; then echo "Must be extension svg, not $extension. Aborting." exit 1 fi newname=${basename}_nf.${extension} echo Converting $orgname to $newname if ! test -f $orgname; then echo "$orgname doesn't exist: Aborting." exit 1 fi inkscape --export-background=#ff \ --export-text-to-path \ --export-use-hints \ --export-plain-svg=$newname $orgname gpicview $newname == SteveT Steve Litt October 2017 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21
Re: Cannot get Externam Material: Inkscape figure to work
Am Dienstag, den 10.10.2017, 08:39 +0200 schrieb racoon: > I just tried the new (experimental) Inkscape figure (or should it be > SVG > figure?) No, Inkscape. It's a particular format that is only featured by that program. > > However, my document failed to compile. On the first run LyX tells > me > that I need to define a converter in the Preferences. Would be good > to > tell me also which and how. I have checked the Embedded Objects > manual > on the feature but couldn't fin help on this. Also, I have Inkscape > installed but apparently LyX did not auto detect it for the > converter. > > Maybe someone can give me a hint. What OS? Inkscape does not yet work on OSX in beta1 (but should work in 2.3.xdev). Jürgen > signature.asc Description: This is a digitally signed message part
Re: LyX 2.3 with QT5
attention: Jean-Marc Lasgouttes I do have pkg-config installed. Regards Frank On 10/10/17 10:50, Jean-Marc Lasgouttes wrote: > Le 10/10/2017 à 11:50, F M Salter a écrit : > > attention: Jean-Marc Lasgouttes > I installed qtdeclaratives-dev, but the failure continues. > > However find qglobal.h gives > > /usr/include/qt4/Qt/qglobal.h > /usr/include/qt4/QtCore/qglobal.h > /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h > > This may explain why the problem occurs. > > You are right, I have to look at this more closely. Another thing that > I do here is to install pkg-config (which helps finding libraries). Do > you have it? > This may explain why I do not experience the same problem. > > JMarc > > However find qglobal.h gives > > /usr/include/qt4/Qt/qglobal.h > /usr/include/qt4/QtCore/qglobal.h > /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h > > This may explain why the problem occurs. > Regards > Frank > > On 10/10/17, Jean-Marc Lasgouttes wrote: >> Le 09/10/2017 à 19:03, F M Salter a écrit : >> >> conftest.cpp:38:22: fatal error: qglobal.h: No such file or directory >>#include >> >> This seems weird. Did you install also the xxx-dev packages needed >> to build a qt program? It looks like the build-essential package >> installs whatever is needed to build all debian packages, but it may >> be a bit too much.Some people advise to install qtdeclarative5-dev, >> which installs whatever other packages are required for qt5. >> JMarc >> >> >
Re: LyX 2.3 with QT5
Le 10/10/2017 à 11:50, F M Salter a écrit : attention: Jean-Marc Lasgouttes I installed qtdeclaratives-dev, but the failure continues. However find qglobal.h gives /usr/include/qt4/Qt/qglobal.h /usr/include/qt4/QtCore/qglobal.h /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h This may explain why the problem occurs. You are right, I have to look at this more closely. Another thing that I do here is to install pkg-config (which helps finding libraries). Do you have it? This may explain why I do not experience the same problem. JMarc
Re: label to tikz?
On 10/10/2017 07:49 AM, Paolo M Pumilia wrote: How to attach label to a tikz picture, so as to be able to make a reference to it from my text? thank you Put the picture in a figure float (or wrap float), put the cursor in the float's caption box, and Insert > Label.
Re: label to tikz?
1- add float figure. 2- add latex code by Ctrl+L , then past your tikz code inside it. بتاريخ ١٠/١٠/٢٠١٧ ٢:٥١ م، كتب "Paolo M Pumilia" < paolo.m.pumilia.gnar...@gmail.com>: > How to attach label to a tikz picture, so as to be able to make a > reference to it from my text? > thank you > >
label to tikz?
How to attach label to a tikz picture, so as to be able to make a reference to it from my text? thank you
Re: LyX 2.3 with QT5
Am Dienstag, 10. Oktober 2017 um 10:50:26, schrieb F M Salter> attention: Jean-Marc Lasgouttes > I installed qtdeclaratives-dev, but the failure continues. > > However find qglobal.h gives > > /usr/include/qt4/Qt/qglobal.h > /usr/include/qt4/QtCore/qglobal.h > /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h > > This may explain why the problem occurs. > Regards > Frank > > On 10/10/17, Jean-Marc Lasgouttes wrote: > > Le 09/10/2017 à 19:03, F M Salter a écrit : > > > > conftest.cpp:38:22: fatal error: qglobal.h: No such file or directory > >#include > > > > This seems weird. Did you install also the xxx-dev packages needed > > to build a qt program? It looks like the build-essential package > > installs whatever is needed to build all debian packages, but it may > > be a bit too much.Some people advise to install qtdeclarative5-dev, > > which installs whatever other packages are required for qt5. > > JMarc > > > > If nothing helps, you could try to configure with cmake. (Since qt5 comes together with cmake config files, this may work) Kornel signature.asc Description: This is a digitally signed message part.
Re: LyX 2.3 with QT5
attention: Jean-Marc Lasgouttes I installed qtdeclaratives-dev, but the failure continues. However find qglobal.h gives /usr/include/qt4/Qt/qglobal.h /usr/include/qt4/QtCore/qglobal.h /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h This may explain why the problem occurs. Regards Frank On 10/10/17, Jean-Marc Lasgouttes wrote: > Le 09/10/2017 à 19:03, F M Salter a écrit : > > conftest.cpp:38:22: fatal error: qglobal.h: No such file or directory >#include > > This seems weird. Did you install also the xxx-dev packages needed > to build a qt program? It looks like the build-essential package > installs whatever is needed to build all debian packages, but it may > be a bit too much.Some people advise to install qtdeclarative5-dev, > which installs whatever other packages are required for qt5. > JMarc > >
Re: LyX 2.3 with QT5
Le 09/10/2017 à 19:03, F M Salter a écrit : conftest.cpp:38:22: fatal error: qglobal.h: No such file or directory #include This seems weird. Did you install also the xxx-dev packages needed to build a qt program? It looks like the build-essential package installs whatever is needed to build all debian packages, but it may be a bit too much. Some people advise to install qtdeclarative5-dev, which installs whatever other packages are required for qt5. JMarc
Cannot get Externam Material: Inkscape figure to work
I just tried the new (experimental) Inkscape figure (or should it be SVG figure?) However, my document failed to compile. On the first run LyX tells me that I need to define a converter in the Preferences. Would be good to tell me also which and how. I have checked the Embedded Objects manual on the feature but couldn't fin help on this. Also, I have Inkscape installed but apparently LyX did not auto detect it for the converter. Maybe someone can give me a hint.