Re: .configure truncated
Am Mittwoch, dem 09.12.2020 um 22:53 +0100 schrieb Jean-Marc Lasgouttes: > It is TeX doing that when writing to its log file. I do not know > unfortunately how to prevent that. increase max_print_line? Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: .configure truncated
Le 09/12/2020 à 20:11, Patrick Dupre a écrit : The truncation (in configure.log, or in the terminal) is independent of the size of the windows/shell/terminal where I run configure.py This make sense. But why this truncation? It seems that you use a line format to generate this output! How can I not run configure.py in a terminal? I use gnome-terminal all the time. It is TeX doing that when writing to its log file. I do not know unfortunately how to prevent that. JMarc -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: .configure truncated
> On 12/9/20 2:11 PM, Patrick Dupre wrote: > >> On 12/9/20 12:12 PM, Patrick Dupre wrote: > >>> Yes, it is just truncated, every thing else is OK. > >>> > >>> Do you say that I need to have a windows large enough to get a .configure > >>> not > >>> truncated? > >>> > >>> It should not be like that. > >>> The .configure file must be independent of the windows running lyx. > >>> > >>> > >>> === > >>>Patrick DUPRÉ | | email: pdu...@gmx.com > >>>Laboratoire interdisciplinaire Carnot de Bourgogne > >>>9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE > >>>Tel: +33 (0)380395988 > >>> ======= > >>> > >>> > >>>> Sent: Wednesday, December 09, 2020 at 5:30 PM > >>>> From: "Paul A. Rubin" > >>>> To: lyx-users@lists.lyx.org > >>>> Subject: Re: .configure truncated > >>>> > >>>> On 12/9/20 3:38 AM, Patrick Dupre wrote: > >>>>> Hello, > >>>>> > >>>>> The .configure generated (actually it is the same thing on the shell), > >>>>> I get a truncation of the lines, i.e., information are missing > >>>>> > >>>>> Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 > >>>>> x86_64 x86_64 x86_64 GNU/Linux > >>>>> > >>>>> INFO: +checking for document class ltugboat [ltugboat]... no > >>>>> INFO: +checking for document class maa-monthly [article]... yes > >>>>> INFO: +checking for document class memoir [memoir]... yes > >>>>> INFO: +checking for document class moderncv > >>>>> [moderncv,ebgaramond.sty,fancyhdr.sty,fon > >>>>> INFO: +checking for document class mwart [mwart]... no > >>>>> INFO: +checking for document class mwbk [mwbk]... no > >>>>> INFO: +checking for document class mwrep [mwrep]... no > >>>>> INFO: +checking for document class paper [paper]... yes > >>>>> INFO: +checking for document class powerdot > >>>>> [powerdot,enumitem.sty,hyperref.sty,pstri > >>>>> INFO: +checking for document class recipebook [scrbook]... yes > >>>>> INFO: +checking for document class report [report]... yes > >>>>> INFO: +checking for document class revtex4-1 > >>>>> [revtex4-1,natbib.sty,revsymb4-1.sty,tex > >>>>> INFO: +checking for document class revtex4-2 > >>>>> [revtex4-2,natbib.sty,revsymb4-2.sty,tex > >>>>> INFO: +checking for document class revtex4 > >>>>> [revtex4,natbib.sty,revsymb.sty]... yes > >>>>> INFO: +checking for document class revtex [revtex,revtex.sty]... no > >>>>> INFO: +checking for document class sciposter > >>>>> [sciposter,sectionbox.sty,wallpaper.sty] > >>>>> INFO: +checking for document class scrartcl [scrartcl]... yes > >>>>> INFO: +checking for document class scrarticle-beamer > >>>>> [scrartcl,beamerarticle.sty,keyv > >>>>> INFO: +checking for document class scrbook [scrbook]... yes > >>>>> INFO: +checking for document class scrlettr [scrlettr]... no > >>>>> INFO: +checking for document class scrlttr2 [scrlttr2]... yes > >>>>> INFO: +checking for document class scrreprt [scrreprt]... yes > >>>>> INFO: +checking for document class seminar [seminar,sem-page.sty]... yes > >>>>> INFO: +checking for document class siamltex [siamltex]... no > >>>>> INFO: +checking for document class sigplanconf > >>>>> [sigplanconf,natbib.sty]... no > >>>>> INFO: +checking for document class simplecv [simplecv]... yes > >>>>> INFO: +checking for document class singlecol-new > >>>>> [singlecol-new,amsmath.sty,amssymb.s > >>>>> INFO: +checking for document class singlecol [singlecol, natbib.sty]... > >>>>> no > >>>>> INFO: +checking for document class slides [slides]... yes > >>>>> INFO: +checking for document class spie [spie,cite.sty]... no > >>>>> INFO: +checking for document class svglobal3 > >>>>> [
Re: .configure truncated
On 12/9/20 2:11 PM, Patrick Dupre wrote: On 12/9/20 12:12 PM, Patrick Dupre wrote: Yes, it is just truncated, every thing else is OK. Do you say that I need to have a windows large enough to get a .configure not truncated? It should not be like that. The .configure file must be independent of the windows running lyx. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 === Sent: Wednesday, December 09, 2020 at 5:30 PM From: "Paul A. Rubin" To: lyx-users@lists.lyx.org Subject: Re: .configure truncated On 12/9/20 3:38 AM, Patrick Dupre wrote: Hello, The .configure generated (actually it is the same thing on the shell), I get a truncation of the lines, i.e., information are missing Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux INFO: +checking for document class ltugboat [ltugboat]... no INFO: +checking for document class maa-monthly [article]... yes INFO: +checking for document class memoir [memoir]... yes INFO: +checking for document class moderncv [moderncv,ebgaramond.sty,fancyhdr.sty,fon INFO: +checking for document class mwart [mwart]... no INFO: +checking for document class mwbk [mwbk]... no INFO: +checking for document class mwrep [mwrep]... no INFO: +checking for document class paper [paper]... yes INFO: +checking for document class powerdot [powerdot,enumitem.sty,hyperref.sty,pstri INFO: +checking for document class recipebook [scrbook]... yes INFO: +checking for document class report [report]... yes INFO: +checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex INFO: +checking for document class revtex4-2 [revtex4-2,natbib.sty,revsymb4-2.sty,tex INFO: +checking for document class revtex4 [revtex4,natbib.sty,revsymb.sty]... yes INFO: +checking for document class revtex [revtex,revtex.sty]... no INFO: +checking for document class sciposter [sciposter,sectionbox.sty,wallpaper.sty] INFO: +checking for document class scrartcl [scrartcl]... yes INFO: +checking for document class scrarticle-beamer [scrartcl,beamerarticle.sty,keyv INFO: +checking for document class scrbook [scrbook]... yes INFO: +checking for document class scrlettr [scrlettr]... no INFO: +checking for document class scrlttr2 [scrlttr2]... yes INFO: +checking for document class scrreprt [scrreprt]... yes INFO: +checking for document class seminar [seminar,sem-page.sty]... yes INFO: +checking for document class siamltex [siamltex]... no INFO: +checking for document class sigplanconf [sigplanconf,natbib.sty]... no INFO: +checking for document class simplecv [simplecv]... yes INFO: +checking for document class singlecol-new [singlecol-new,amsmath.sty,amssymb.s INFO: +checking for document class singlecol [singlecol, natbib.sty]... no INFO: +checking for document class slides [slides]... yes INFO: +checking for document class spie [spie,cite.sty]... no INFO: +checking for document class svglobal3 [svjour3,svglov3.clo,natbib.sty]... no INFO: +checking for document class svglobal [svjour,svglobal.clo]... no INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... yes INFO: +checking for document class svmono [svmono]... no INFO: +checking for document class svmult [svmult,natbib.sty]... no INFO: +checking for document class svprobth [svjour,svprobth.clo]... no INFO: +checking for document class tarticle [tarticle,plext.sty]... no INFO: +checking for document class tbook [tbook,plext.sty]... no INFO: +checking for document class treport [treport,plext.sty]... no INFO: +checking for document class tufte-book [tufte-book,bibentry.sty,changepage.sty INFO: +checking for document class tufte-handout [tufte-handout,bibentry.sty,changepa INFO: +checking for package hpstatement [hpstatement]... yes INFO: +checking for package tcolorbox [tcolorbox]... yes INFO: +checking for package environ [environ]... yes INFO: +checking for package etoolbox [etoolbox]... yes INFO: +checking for package pgf [pgf]... yes INFO: +checking for package fixme [fixme]... yes INFO: +checking for package endnotes [endnotes]... yes INFO: +checking for package endnotes [endnotes]... yes INFO: +checking for package todonotes [todonotes]... yes INFO: +checking for package fancyvrb [fancyvrb]... yes INFO: +checking for package braille [braille]... no INFO: +checking for package natbib [natbib]... yes INFO: +checking for package apacite [apacite]... no INFO: +checking for package sectionbox [sectionbox]... yes INFO: +checking for package changebar [changebar]... yes INFO: +checking for package algorithm2e [algorithm2e]... no INFO: +checking for package noweb [noweb]... no INFO: +checking for package multicol [multicol]... yes INFO: +checking f
Re: .configure truncated
> On 12/9/20 12:12 PM, Patrick Dupre wrote: > > Yes, it is just truncated, every thing else is OK. > > > > Do you say that I need to have a windows large enough to get a .configure > > not > > truncated? > > > > It should not be like that. > > The .configure file must be independent of the windows running lyx. > > > > > > === > > Patrick DUPRÉ | | email: pdu...@gmx.com > > Laboratoire interdisciplinaire Carnot de Bourgogne > > 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE > > Tel: +33 (0)380395988 > > === > > > > > >> Sent: Wednesday, December 09, 2020 at 5:30 PM > >> From: "Paul A. Rubin" > >> To: lyx-users@lists.lyx.org > >> Subject: Re: .configure truncated > >> > >> On 12/9/20 3:38 AM, Patrick Dupre wrote: > >>> Hello, > >>> > >>> The .configure generated (actually it is the same thing on the shell), > >>> I get a truncation of the lines, i.e., information are missing > >>> > >>> Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 > >>> x86_64 x86_64 x86_64 GNU/Linux > >>> > >>> INFO: +checking for document class ltugboat [ltugboat]... no > >>> INFO: +checking for document class maa-monthly [article]... yes > >>> INFO: +checking for document class memoir [memoir]... yes > >>> INFO: +checking for document class moderncv > >>> [moderncv,ebgaramond.sty,fancyhdr.sty,fon > >>> INFO: +checking for document class mwart [mwart]... no > >>> INFO: +checking for document class mwbk [mwbk]... no > >>> INFO: +checking for document class mwrep [mwrep]... no > >>> INFO: +checking for document class paper [paper]... yes > >>> INFO: +checking for document class powerdot > >>> [powerdot,enumitem.sty,hyperref.sty,pstri > >>> INFO: +checking for document class recipebook [scrbook]... yes > >>> INFO: +checking for document class report [report]... yes > >>> INFO: +checking for document class revtex4-1 > >>> [revtex4-1,natbib.sty,revsymb4-1.sty,tex > >>> INFO: +checking for document class revtex4-2 > >>> [revtex4-2,natbib.sty,revsymb4-2.sty,tex > >>> INFO: +checking for document class revtex4 > >>> [revtex4,natbib.sty,revsymb.sty]... yes > >>> INFO: +checking for document class revtex [revtex,revtex.sty]... no > >>> INFO: +checking for document class sciposter > >>> [sciposter,sectionbox.sty,wallpaper.sty] > >>> INFO: +checking for document class scrartcl [scrartcl]... yes > >>> INFO: +checking for document class scrarticle-beamer > >>> [scrartcl,beamerarticle.sty,keyv > >>> INFO: +checking for document class scrbook [scrbook]... yes > >>> INFO: +checking for document class scrlettr [scrlettr]... no > >>> INFO: +checking for document class scrlttr2 [scrlttr2]... yes > >>> INFO: +checking for document class scrreprt [scrreprt]... yes > >>> INFO: +checking for document class seminar [seminar,sem-page.sty]... yes > >>> INFO: +checking for document class siamltex [siamltex]... no > >>> INFO: +checking for document class sigplanconf > >>> [sigplanconf,natbib.sty]... no > >>> INFO: +checking for document class simplecv [simplecv]... yes > >>> INFO: +checking for document class singlecol-new > >>> [singlecol-new,amsmath.sty,amssymb.s > >>> INFO: +checking for document class singlecol [singlecol, natbib.sty]... no > >>> INFO: +checking for document class slides [slides]... yes > >>> INFO: +checking for document class spie [spie,cite.sty]... no > >>> INFO: +checking for document class svglobal3 > >>> [svjour3,svglov3.clo,natbib.sty]... no > >>> INFO: +checking for document class svglobal [svjour,svglobal.clo]... no > >>> INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... > >>> yes > >>> INFO: +checking for document class svmono [svmono]... no > >>> INFO: +checking for document class svmult [svmult,natbib.sty]... no > >>> INFO: +checking for document class svprobth [svjour,svprobth.clo]... no > >>> INFO: +checking for document class tarticle [tarticle,plext.sty]... no > >>> INFO: +checking for document class tbook [tbook,plext.sty]...
Re: .configure truncated
On 12/9/20 12:12 PM, Patrick Dupre wrote: Yes, it is just truncated, every thing else is OK. Do you say that I need to have a windows large enough to get a .configure not truncated? It should not be like that. The .configure file must be independent of the windows running lyx. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 === Sent: Wednesday, December 09, 2020 at 5:30 PM From: "Paul A. Rubin" To: lyx-users@lists.lyx.org Subject: Re: .configure truncated On 12/9/20 3:38 AM, Patrick Dupre wrote: Hello, The .configure generated (actually it is the same thing on the shell), I get a truncation of the lines, i.e., information are missing Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux INFO: +checking for document class ltugboat [ltugboat]... no INFO: +checking for document class maa-monthly [article]... yes INFO: +checking for document class memoir [memoir]... yes INFO: +checking for document class moderncv [moderncv,ebgaramond.sty,fancyhdr.sty,fon INFO: +checking for document class mwart [mwart]... no INFO: +checking for document class mwbk [mwbk]... no INFO: +checking for document class mwrep [mwrep]... no INFO: +checking for document class paper [paper]... yes INFO: +checking for document class powerdot [powerdot,enumitem.sty,hyperref.sty,pstri INFO: +checking for document class recipebook [scrbook]... yes INFO: +checking for document class report [report]... yes INFO: +checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex INFO: +checking for document class revtex4-2 [revtex4-2,natbib.sty,revsymb4-2.sty,tex INFO: +checking for document class revtex4 [revtex4,natbib.sty,revsymb.sty]... yes INFO: +checking for document class revtex [revtex,revtex.sty]... no INFO: +checking for document class sciposter [sciposter,sectionbox.sty,wallpaper.sty] INFO: +checking for document class scrartcl [scrartcl]... yes INFO: +checking for document class scrarticle-beamer [scrartcl,beamerarticle.sty,keyv INFO: +checking for document class scrbook [scrbook]... yes INFO: +checking for document class scrlettr [scrlettr]... no INFO: +checking for document class scrlttr2 [scrlttr2]... yes INFO: +checking for document class scrreprt [scrreprt]... yes INFO: +checking for document class seminar [seminar,sem-page.sty]... yes INFO: +checking for document class siamltex [siamltex]... no INFO: +checking for document class sigplanconf [sigplanconf,natbib.sty]... no INFO: +checking for document class simplecv [simplecv]... yes INFO: +checking for document class singlecol-new [singlecol-new,amsmath.sty,amssymb.s INFO: +checking for document class singlecol [singlecol, natbib.sty]... no INFO: +checking for document class slides [slides]... yes INFO: +checking for document class spie [spie,cite.sty]... no INFO: +checking for document class svglobal3 [svjour3,svglov3.clo,natbib.sty]... no INFO: +checking for document class svglobal [svjour,svglobal.clo]... no INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... yes INFO: +checking for document class svmono [svmono]... no INFO: +checking for document class svmult [svmult,natbib.sty]... no INFO: +checking for document class svprobth [svjour,svprobth.clo]... no INFO: +checking for document class tarticle [tarticle,plext.sty]... no INFO: +checking for document class tbook [tbook,plext.sty]... no INFO: +checking for document class treport [treport,plext.sty]... no INFO: +checking for document class tufte-book [tufte-book,bibentry.sty,changepage.sty INFO: +checking for document class tufte-handout [tufte-handout,bibentry.sty,changepa INFO: +checking for package hpstatement [hpstatement]... yes INFO: +checking for package tcolorbox [tcolorbox]... yes INFO: +checking for package environ [environ]... yes INFO: +checking for package etoolbox [etoolbox]... yes INFO: +checking for package pgf [pgf]... yes INFO: +checking for package fixme [fixme]... yes INFO: +checking for package endnotes [endnotes]... yes INFO: +checking for package endnotes [endnotes]... yes INFO: +checking for package todonotes [todonotes]... yes INFO: +checking for package fancyvrb [fancyvrb]... yes INFO: +checking for package braille [braille]... no INFO: +checking for package natbib [natbib]... yes INFO: +checking for package apacite [apacite]... no INFO: +checking for package sectionbox [sectionbox]... yes INFO: +checking for package changebar [changebar]... yes INFO: +checking for package algorithm2e [algorithm2e]... no INFO: +checking for package noweb [noweb]... no INFO: +checking for package multicol [multicol]... yes INFO: +checking for package bicaption [bicaption]... yes INFO:
Re: .configure truncated
Yes, it is just truncated, every thing else is OK. Do you say that I need to have a windows large enough to get a .configure not truncated? It should not be like that. The .configure file must be independent of the windows running lyx. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 === > Sent: Wednesday, December 09, 2020 at 5:30 PM > From: "Paul A. Rubin" > To: lyx-users@lists.lyx.org > Subject: Re: .configure truncated > > On 12/9/20 3:38 AM, Patrick Dupre wrote: > > Hello, > > > > The .configure generated (actually it is the same thing on the shell), > > I get a truncation of the lines, i.e., information are missing > > > > Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 > > x86_64 x86_64 x86_64 GNU/Linux > > > > INFO: +checking for document class ltugboat [ltugboat]... no > > INFO: +checking for document class maa-monthly [article]... yes > > INFO: +checking for document class memoir [memoir]... yes > > INFO: +checking for document class moderncv > > [moderncv,ebgaramond.sty,fancyhdr.sty,fon > > INFO: +checking for document class mwart [mwart]... no > > INFO: +checking for document class mwbk [mwbk]... no > > INFO: +checking for document class mwrep [mwrep]... no > > INFO: +checking for document class paper [paper]... yes > > INFO: +checking for document class powerdot > > [powerdot,enumitem.sty,hyperref.sty,pstri > > INFO: +checking for document class recipebook [scrbook]... yes > > INFO: +checking for document class report [report]... yes > > INFO: +checking for document class revtex4-1 > > [revtex4-1,natbib.sty,revsymb4-1.sty,tex > > INFO: +checking for document class revtex4-2 > > [revtex4-2,natbib.sty,revsymb4-2.sty,tex > > INFO: +checking for document class revtex4 > > [revtex4,natbib.sty,revsymb.sty]... yes > > INFO: +checking for document class revtex [revtex,revtex.sty]... no > > INFO: +checking for document class sciposter > > [sciposter,sectionbox.sty,wallpaper.sty] > > INFO: +checking for document class scrartcl [scrartcl]... yes > > INFO: +checking for document class scrarticle-beamer > > [scrartcl,beamerarticle.sty,keyv > > INFO: +checking for document class scrbook [scrbook]... yes > > INFO: +checking for document class scrlettr [scrlettr]... no > > INFO: +checking for document class scrlttr2 [scrlttr2]... yes > > INFO: +checking for document class scrreprt [scrreprt]... yes > > INFO: +checking for document class seminar [seminar,sem-page.sty]... yes > > INFO: +checking for document class siamltex [siamltex]... no > > INFO: +checking for document class sigplanconf [sigplanconf,natbib.sty]... > > no > > INFO: +checking for document class simplecv [simplecv]... yes > > INFO: +checking for document class singlecol-new > > [singlecol-new,amsmath.sty,amssymb.s > > INFO: +checking for document class singlecol [singlecol, natbib.sty]... no > > INFO: +checking for document class slides [slides]... yes > > INFO: +checking for document class spie [spie,cite.sty]... no > > INFO: +checking for document class svglobal3 > > [svjour3,svglov3.clo,natbib.sty]... no > > INFO: +checking for document class svglobal [svjour,svglobal.clo]... no > > INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... > > yes > > INFO: +checking for document class svmono [svmono]... no > > INFO: +checking for document class svmult [svmult,natbib.sty]... no > > INFO: +checking for document class svprobth [svjour,svprobth.clo]... no > > INFO: +checking for document class tarticle [tarticle,plext.sty]... no > > INFO: +checking for document class tbook [tbook,plext.sty]... no > > INFO: +checking for document class treport [treport,plext.sty]... no > > INFO: +checking for document class tufte-book > > [tufte-book,bibentry.sty,changepage.sty > > INFO: +checking for document class tufte-handout > > [tufte-handout,bibentry.sty,changepa > > INFO: +checking for package hpstatement [hpstatement]... yes > > INFO: +checking for package tcolorbox [tcolorbox]... yes > > INFO: +checking for package environ [environ]... yes > > INFO: +checking for package etoolbox [etoolbox]... yes > > INFO: +checking for package pgf [pgf]... yes > > INFO: +checking for package fixme [fixme]... yes > > INFO: +checking for package endnotes [endnotes]... ye
Re: .configure truncated
On 12/9/20 3:38 AM, Patrick Dupre wrote: Hello, The .configure generated (actually it is the same thing on the shell), I get a truncation of the lines, i.e., information are missing Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux INFO: +checking for document class ltugboat [ltugboat]... no INFO: +checking for document class maa-monthly [article]... yes INFO: +checking for document class memoir [memoir]... yes INFO: +checking for document class moderncv [moderncv,ebgaramond.sty,fancyhdr.sty,fon INFO: +checking for document class mwart [mwart]... no INFO: +checking for document class mwbk [mwbk]... no INFO: +checking for document class mwrep [mwrep]... no INFO: +checking for document class paper [paper]... yes INFO: +checking for document class powerdot [powerdot,enumitem.sty,hyperref.sty,pstri INFO: +checking for document class recipebook [scrbook]... yes INFO: +checking for document class report [report]... yes INFO: +checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex INFO: +checking for document class revtex4-2 [revtex4-2,natbib.sty,revsymb4-2.sty,tex INFO: +checking for document class revtex4 [revtex4,natbib.sty,revsymb.sty]... yes INFO: +checking for document class revtex [revtex,revtex.sty]... no INFO: +checking for document class sciposter [sciposter,sectionbox.sty,wallpaper.sty] INFO: +checking for document class scrartcl [scrartcl]... yes INFO: +checking for document class scrarticle-beamer [scrartcl,beamerarticle.sty,keyv INFO: +checking for document class scrbook [scrbook]... yes INFO: +checking for document class scrlettr [scrlettr]... no INFO: +checking for document class scrlttr2 [scrlttr2]... yes INFO: +checking for document class scrreprt [scrreprt]... yes INFO: +checking for document class seminar [seminar,sem-page.sty]... yes INFO: +checking for document class siamltex [siamltex]... no INFO: +checking for document class sigplanconf [sigplanconf,natbib.sty]... no INFO: +checking for document class simplecv [simplecv]... yes INFO: +checking for document class singlecol-new [singlecol-new,amsmath.sty,amssymb.s INFO: +checking for document class singlecol [singlecol, natbib.sty]... no INFO: +checking for document class slides [slides]... yes INFO: +checking for document class spie [spie,cite.sty]... no INFO: +checking for document class svglobal3 [svjour3,svglov3.clo,natbib.sty]... no INFO: +checking for document class svglobal [svjour,svglobal.clo]... no INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... yes INFO: +checking for document class svmono [svmono]... no INFO: +checking for document class svmult [svmult,natbib.sty]... no INFO: +checking for document class svprobth [svjour,svprobth.clo]... no INFO: +checking for document class tarticle [tarticle,plext.sty]... no INFO: +checking for document class tbook [tbook,plext.sty]... no INFO: +checking for document class treport [treport,plext.sty]... no INFO: +checking for document class tufte-book [tufte-book,bibentry.sty,changepage.sty INFO: +checking for document class tufte-handout [tufte-handout,bibentry.sty,changepa INFO: +checking for package hpstatement [hpstatement]... yes INFO: +checking for package tcolorbox [tcolorbox]... yes INFO: +checking for package environ [environ]... yes INFO: +checking for package etoolbox [etoolbox]... yes INFO: +checking for package pgf [pgf]... yes INFO: +checking for package fixme [fixme]... yes INFO: +checking for package endnotes [endnotes]... yes INFO: +checking for package endnotes [endnotes]... yes INFO: +checking for package todonotes [todonotes]... yes INFO: +checking for package fancyvrb [fancyvrb]... yes INFO: +checking for package braille [braille]... no INFO: +checking for package natbib [natbib]... yes INFO: +checking for package apacite [apacite]... no INFO: +checking for package sectionbox [sectionbox]... yes INFO: +checking for package changebar [changebar]... yes INFO: +checking for package algorithm2e [algorithm2e]... no INFO: +checking for package noweb [noweb]... no INFO: +checking for package multicol [multicol]... yes INFO: +checking for package bicaption [bicaption]... yes INFO: +checking for package shapepar [shapepar]... yes INFO: +checking for package covington [covington]... no INFO: +checking for package enumitem [enumitem]... yes INFO: +checking for package forest [forest]... yes INFO: +checking for package fancyhdr [fancyhdr]... yes INFO: +checking for package datetime [datetime]... yes INFO: +checking for package fmtcount [fmtcount]... yes INFO: +checking for package paralist [paralist]... yes INFO: +checking for package enumitem [enumitem]... yes INFO: +checking for package rsphrase [rsphrase]... yes INFO: +checking for package biblatex [biblatex]... yes INFO: +checking for package natbib [natbib]... yes INFO: +checking for package jurabib [jurabib]... no INFO: +checking for package biblatex [biblatex]... yes INFO: +Inspection done. INFO: +Read
.configure truncated
Hello, The .configure generated (actually it is the same thing on the shell), I get a truncation of the lines, i.e., information are missing Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux INFO: +checking for document class ltugboat [ltugboat]... no INFO: +checking for document class maa-monthly [article]... yes INFO: +checking for document class memoir [memoir]... yes INFO: +checking for document class moderncv [moderncv,ebgaramond.sty,fancyhdr.sty,fon INFO: +checking for document class mwart [mwart]... no INFO: +checking for document class mwbk [mwbk]... no INFO: +checking for document class mwrep [mwrep]... no INFO: +checking for document class paper [paper]... yes INFO: +checking for document class powerdot [powerdot,enumitem.sty,hyperref.sty,pstri INFO: +checking for document class recipebook [scrbook]... yes INFO: +checking for document class report [report]... yes INFO: +checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex INFO: +checking for document class revtex4-2 [revtex4-2,natbib.sty,revsymb4-2.sty,tex INFO: +checking for document class revtex4 [revtex4,natbib.sty,revsymb.sty]... yes INFO: +checking for document class revtex [revtex,revtex.sty]... no INFO: +checking for document class sciposter [sciposter,sectionbox.sty,wallpaper.sty] INFO: +checking for document class scrartcl [scrartcl]... yes INFO: +checking for document class scrarticle-beamer [scrartcl,beamerarticle.sty,keyv INFO: +checking for document class scrbook [scrbook]... yes INFO: +checking for document class scrlettr [scrlettr]... no INFO: +checking for document class scrlttr2 [scrlttr2]... yes INFO: +checking for document class scrreprt [scrreprt]... yes INFO: +checking for document class seminar [seminar,sem-page.sty]... yes INFO: +checking for document class siamltex [siamltex]... no INFO: +checking for document class sigplanconf [sigplanconf,natbib.sty]... no INFO: +checking for document class simplecv [simplecv]... yes INFO: +checking for document class singlecol-new [singlecol-new,amsmath.sty,amssymb.s INFO: +checking for document class singlecol [singlecol, natbib.sty]... no INFO: +checking for document class slides [slides]... yes INFO: +checking for document class spie [spie,cite.sty]... no INFO: +checking for document class svglobal3 [svjour3,svglov3.clo,natbib.sty]... no INFO: +checking for document class svglobal [svjour,svglobal.clo]... no INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... yes INFO: +checking for document class svmono [svmono]... no INFO: +checking for document class svmult [svmult,natbib.sty]... no INFO: +checking for document class svprobth [svjour,svprobth.clo]... no INFO: +checking for document class tarticle [tarticle,plext.sty]... no INFO: +checking for document class tbook [tbook,plext.sty]... no INFO: +checking for document class treport [treport,plext.sty]... no INFO: +checking for document class tufte-book [tufte-book,bibentry.sty,changepage.sty INFO: +checking for document class tufte-handout [tufte-handout,bibentry.sty,changepa INFO: +checking for package hpstatement [hpstatement]... yes INFO: +checking for package tcolorbox [tcolorbox]... yes INFO: +checking for package environ [environ]... yes INFO: +checking for package etoolbox [etoolbox]... yes INFO: +checking for package pgf [pgf]... yes INFO: +checking for package fixme [fixme]... yes INFO: +checking for package endnotes [endnotes]... yes INFO: +checking for package endnotes [endnotes]... yes INFO: +checking for package todonotes [todonotes]... yes INFO: +checking for package fancyvrb [fancyvrb]... yes INFO: +checking for package braille [braille]... no INFO: +checking for package natbib [natbib]... yes INFO: +checking for package apacite [apacite]... no INFO: +checking for package sectionbox [sectionbox]... yes INFO: +checking for package changebar [changebar]... yes INFO: +checking for package algorithm2e [algorithm2e]... no INFO: +checking for package noweb [noweb]... no INFO: +checking for package multicol [multicol]... yes INFO: +checking for package bicaption [bicaption]... yes INFO: +checking for package shapepar [shapepar]... yes INFO: +checking for package covington [covington]... no INFO: +checking for package enumitem [enumitem]... yes INFO: +checking for package forest [forest]... yes INFO: +checking for package fancyhdr [fancyhdr]... yes INFO: +checking for package datetime [datetime]... yes INFO: +checking for package fmtcount [fmtcount]... yes INFO: +checking for package paralist [paralist]... yes INFO: +checking for package enumitem [enumitem]... yes INFO: +checking for package rsphrase [rsphrase]... yes INFO: +checking for package biblatex [biblatex]... yes INFO: +checking for package natbib [natbib]... yes INFO: +checking for package jurabib [jurabib]... no INFO: +checking for package biblatex [biblatex]... yes INFO: +Inspection done. INFO: +Read the file doc/LaTeXConfig.lyx for more information
Re: configure texliveonfly on lyx
On 2/26/19 10:40 AM, Yu Jin wrote: hi, I just switched from miktex to texlive and discovered the "texliveonfly" package, which automatically installs missed packages, just like miktex. I installed it right through the texlive manager, but there was a bug, for which the solution exists, but not included in that version for some reason (see https://github.com/maphy-psd/texliveonfly/issues/1). So i just downloaded the script from https://github.com/maphy-psd/texliveonfly and replaced it unter C:\texlive\2018\texmf-dist\scripts\texliveonfly (Just saying for those who want to try it out too and could run into the same problem). Then i configured it for texworks following https://tex.stackexchange.com/questions/50464/how-to-setup-texliveonfly-on-any-latex-editor?noredirect=1=1 My question now is, is it possible to use with LyX? how could i configure it? Thanks I have not tried this, but I think the following should work (based on the Stack Exchange answer you linked). In LyX, go to Tools > Preferences... > File Handling > Converters. What follows would have to be repeated for each method you use to compile LaTeX documents. I'll use pdflatex as an example. In the Converter Definitions box, scroll until you find "LaTeX (pdflatex) -> PDF (pdflatex)" and select it. Using the Stack Exchange answer as guidance, modify the "Converter:" setting to use the texliveonfly command (retaining $$i, which represents the input file) and tweak the "Extra flag:" setting as needed to tell texliveonfly that you are using pdflatex. Then click "Modify" followed by "Apply", and test it. Paul
configure texliveonfly on lyx
hi, I just switched from miktex to texlive and discovered the "texliveonfly" package, which automatically installs missed packages, just like miktex. I installed it right through the texlive manager, but there was a bug, for which the solution exists, but not included in that version for some reason (see https://github.com/maphy-psd/texliveonfly/issues/1). So i just downloaded the script from https://github.com/maphy-psd/texliveonfly and replaced it unter C:\texlive\2018\texmf-dist\scripts\texliveonfly (Just saying for those who want to try it out too and could run into the same problem). Then i configured it for texworks following https://tex.stackexchange.com/questions/50464/how-to-setup-texliveonfly-on-any-latex-editor?noredirect=1=1 My question now is, is it possible to use with LyX? how could i configure it? Thanks
Re: Lyx3.2 and QT5 configure error [Solved]
Thanks to Pavel Sanda and Kornel Benko for their good advices.
Re: Lyx3.2 and QT5 configure error
Gilles Mioni wrote: > I tried to compile lyx 2.3 on linux Debian buster amd64 > I launched : ./configure --enable-qt5 --with-qt-dir=/usr/lib/qt5/ > I obtained the message : > checking for Qt library name... failed > configure: error: cannot compile a simple Qt executable. Check you have the > right $QTDIR. > > Any idea ? It is good idea to run apt-get build-dep lyx to get all needed dependencies when compiling in debian. https://wiki.lyx.org/LyX/LyXOnDebian Pavel
Re: Lyx3.2 and QT5 configure error
Am Mittwoch, 21. März 2018 14:19:39 CET schrieb Gilles Mioni <gilles.mi...@ecritoires.org>: > Gilles Mioni wrote: > > I tried to compile lyx 2.3 on linux Debian buster amd64 > > I launched : ./configure --enable-qt5 --with-qt-dir=/usr/lib/qt5/ > > I obtained the message : > > checking for Qt library name... failed > > configure: error: cannot compile a simple Qt executable. Check you > > have the right $QTDIR. > > > > Any idea ? > > Thanks for help > > I join config.log 1.) you need the package libqt5x11extras5-dev 2.) also the package libqt5svg5-dev 3.) libice-dev # probably you need only libice6 here 4.) qtbase5-dev Kornel signature.asc Description: This is a digitally signed message part.
Re: Lyx3.2 and QT5 configure error
Gilles Mioni wrote: I tried to compile lyx 2.3 on linux Debian buster amd64 I launched : ./configure --enable-qt5 --with-qt-dir=/usr/lib/qt5/ I obtained the message : checking for Qt library name... failed configure: error: cannot compile a simple Qt executable. Check you have the right $QTDIR. Any idea ? Thanks for help I join config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by LyX configure 2.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --enable-qt5 --with-qt-dir=/usr/lib/qt5/ ## - ## ## Platform. ## ## - ## hostname = chaos uname -m = x86_64 uname -r = 4.14.0-3-amd64 uname -s = Linux uname -v = #1 SMP Debian 4.14.17-1 (2018-02-14) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## --- ## ## Core tests. ## ## --- ## configure:2903: checking for build type configure:2921: result: release configure:2933: checking for version suffix configure:2952: result: configure:2956: checking whether Qt5 is requested configure:2965: result: yes configure:2974: checking build system type configure:2988: result: x86_64-pc-linux-gnu configure:3008: checking host system type configure:3021: result: x86_64-pc-linux-gnu configure:3041: checking target system type configure:3054: result: x86_64-pc-linux-gnu configure:3080: checking what packaging should be used configure:3097: result: posix configure:3197: checking whether to enable maintainer-specific portions of Makefiles configure:3206: result: no configure:3230: checking whether make supports nested variables configure:3247: result: yes configure:3278: checking for a BSD-compatible install configure:3346: result: /usr/bin/install -c configure:3357: checking whether build environment is sane configure:3412: result: yes configure:3563: checking for a thread-safe mkdir -p configure:3602: result: /bin/mkdir -p configure:3609: checking for gawk configure:3625: found /usr/bin/gawk configure:3636: result: gawk configure:3647: checking whether make sets $(MAKE) configure:3669: result: yes configure:3756: checking whether UID '0' is supported by ustar format configure:3759: result: yes configure:3766: checking whether GID '0' is supported by ustar format configure:3769: result: yes configure:3777: checking how to create a ustar tar archive configure:3788: tar --version tar (GNU tar) 1.29 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. configure:3791: $? = 0 configure:3831: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3834: $? = 0 configure:3838: tar -xf - = 2.7.0 or 3.3.0 configure:4030: python -c import sys version = sys.version_info[:3] sys.exit(not ((2,7,0) <= version < (3,0,0) or version >= (3,3,0))) configure:4033: $? = 0 configure:4039: result: python configure:4047: checking for python configure:4065: found /usr/bin/python configure:4077: result: /usr/bin/python configure:4157: checking for python version configure:4164: result: 2.7 configure:4176: checking for python platform configure:4183: result: linux2 configure:4209: checking for python script directory configure:4244: result: ${prefix}/lib/python2.7/dist-packages configure:4253: checking for python extension module directory configure:4288: result: ${exec_prefix}/lib/python2.7/dist-packages configure:4315: checking for style of include used by make configure:4343: result: GNU configure:4414: checking for gcc configure:4430: found /usr/bin/gcc configure:4441: result: gcc configure:4670: checking for C compiler version configure:4679: gcc --version >&5 gcc (Debian 7.3.0-11) 7.3.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4690: $? = 0 configure:4679: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 7.3.0-11' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7
Lyx3.2 and QT5 configure error
I tried to compile lyx 2.3 on linux Debian buster amd64 I launched : ./configure --enable-qt5 --with-qt-dir=/usr/lib/qt5/ I obtained the message : checking for Qt library name... failed configure: error: cannot compile a simple Qt executable. Check you have the right $QTDIR. Any idea ? Thanks for help
Fwd: Re: lyx-2.2.0 installation ./configure cannot find libmagic
Jürgen, Kornel, Jean-Marc could not answer my question: What to do next to give LyX access to TL2016? Would you, please? See below. Thanks and cheers! Michael PS: the Latex log of my newly created document reports the path /usr/local/texlive/2016/ I take that as an indication that LyX 2.2 has automatically accessed LT2016 !? Forwarded Message Subject:Re: lyx-2.2.0 installation ./configure cannot find libmagic Date: Mon, 27 Jun 2016 07:03:39 +0200 From: Michael Berger <id...@online.de> To: Jean-Marc Lasgouttes <lasgout...@lyx.org>, lyx-users@lists.lyx.org On 06/26/2016 04:24 PM, Jean-Marc Lasgouttes wrote: Le 26/06/2016 14:23, Michael Berger a écrit : Hope that's right, Michael Yes it is. The problem is that your libraries are not usable (32bits versus 64?) JMarc configure:9132: g++ -o conftestconftest.cpp -lmagic-lz >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.9.2/../../../libmagic.so when searching for -lmagic /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.9.2/../../../libmagic.a when searching for -lmagic /usr/bin/ld: skipping incompatible /lib/libmagic.so when searching for -lmagic /usr/bin/ld: skipping incompatible /lib/libmagic.a when searching for -lmagic /usr/bin/ld: skipping incompatible /usr/lib/libmagic.so when searching for -lmagic /usr/bin/ld: skipping incompatible /usr/lib/libmagic.a when searching for -lmagic /usr/bin/ld: cannot find -lmagic Dear Jean-Marc, after reading your above comment last night I started RPM Search and found libmagic x86_64 versions which I tried to install. And when I started *another computer* this morning Mageia's Software Manger offered lib64magic-devel and php-devel, both x86_64. Coincidence or luck or whatever it was, the installation of Lyx 2.2.0 (as root) ran smoothly without any complaint and Lyx 2.2 showed up. At this point I would like to thank you for helping me! One more question though: What to do next to give LyX access to TL2016? I have TL2016 installed and the GUI is active. Mageia's Software manager offers eight texlive2013 packages, but non of it installed. I started Lyx 2.2, created a new document (KOMA article) and exported it to PDF - all worked fine. One user advised to type '/usr/local/texlive/2016/bin/x86_64-linux' in the PATH prefix of Lyx's Preferences - which I haven't done yet. So, are there no further actions to be taken from my side ? Great help and great programs! Cheers, Michael
Re: lyx-2.2.0 installation ./configure cannot find libmagic
Le 27/06/2016 07:03, Michael Berger a écrit : Coincidence or luck or whatever it was, the installation of Lyx 2.2.0 (as root) ran smoothly without any complaint and Lyx 2.2 showed up. At this point I would like to thank you for helping me! I am glad to read that this works now. One more question though: What to do next to give LyX access to TL2016? I have TL2016 installed and the GUI is active. Mageia's Software manager offers eight texlive2013 packages, but non of it installed. Unfortunately I cannot help on that. Best regards, JMarc
Re: lyx-2.2.0 installation ./configure cannot find libmagic
On 06/26/2016 04:24 PM, Jean-Marc Lasgouttes wrote: Le 26/06/2016 14:23, Michael Berger a écrit : Hope that's right, Michael Yes it is. The problem is that your libraries are not usable (32bits versus 64?) JMarc configure:9132: g++ -o conftestconftest.cpp -lmagic-lz >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.9.2/../../../libmagic.so when searching for -lmagic /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.9.2/../../../libmagic.a when searching for -lmagic /usr/bin/ld: skipping incompatible /lib/libmagic.so when searching for -lmagic /usr/bin/ld: skipping incompatible /lib/libmagic.a when searching for -lmagic /usr/bin/ld: skipping incompatible /usr/lib/libmagic.so when searching for -lmagic /usr/bin/ld: skipping incompatible /usr/lib/libmagic.a when searching for -lmagic /usr/bin/ld: cannot find -lmagic Dear Jean-Marc, after reading your above comment last night I started RPM Search and found libmagic x86_64 versions which I tried to install. And when I started *another computer* this morning Mageia's Software Manger offered lib64magic-devel and php-devel, both x86_64. Coincidence or luck or whatever it was, the installation of Lyx 2.2.0 (as root) ran smoothly without any complaint and Lyx 2.2 showed up. At this point I would like to thank you for helping me! One more question though: What to do next to give LyX access to TL2016? I have TL2016 installed and the GUI is active. Mageia's Software manager offers eight texlive2013 packages, but non of it installed. I started Lyx 2.2, created a new document (KOMA article) and exported it to PDF - all worked fine. One user advised to type '/usr/local/texlive/2016/bin/x86_64-linux' in the PATH prefix of Lyx's Preferences - which I haven't done yet. So, are there no further actions to be taken from my side ? Great help and great programs! Cheers, Michael
Re: lyx-2.2.0 installation ./configure cannot find libmagic
Le 26/06/2016 13:51, Michael Berger a écrit : Thanks Jean-Marc, libmagic-devel 5.19 10.1.mga i586 is already installed (I would need x86_64 but that is not available via Control Center) Can you send your config.log file? JMarc
Re: lyx-2.2.0 installation ./configure cannot find libmagic
On 06/26/2016 01:39 PM, Jean-Marc Lasgouttes wrote: Le 26/06/2016 13:32, Michael Berger a écrit : it run till the end but then said to have found "minor problems": Cannot find libmagic. Check that the libmagic library is correctly installed. Falling back to builtin file format detection. Contradicting enough, it continues saying: Configuration of LyX was successful. When libmagic is not available, LyX does without it (it is used to recognize file formats) I have Mageia5 / KDE Try to install the package libmagic-devel. JMarc Thanks Jean-Marc, libmagic-devel 5.19 10.1.mga i586 is already installed (I would need x86_64 but that is not available via Control Center) Michael
Re: lyx-2.2.0 installation ./configure cannot find libmagic
Le 26/06/2016 13:32, Michael Berger a écrit : it run till the end but then said to have found "minor problems": Cannot find libmagic. Check that the libmagic library is correctly installed. Falling back to builtin file format detection. Contradicting enough, it continues saying: Configuration of LyX was successful. When libmagic is not available, LyX does without it (it is used to recognize file formats) I have Mageia5 / KDE Try to install the package libmagic-devel. JMarc
lyx-2.2.0 installation ./configure cannot find libmagic
Hi dear Lyx users, I downloaded lyx-2.2.0.tar.gz, extracted it and after cd to /.../lyx-2.2.0 run # ./configure it run till the end but then said to have found "minor problems": Cannot find libmagic. Check that the libmagic library is correctly installed. Falling back to builtin file format detection. Contradicting enough, it continues saying: Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it. But running 'make' also ends up with errors. I found libmagic here: /usr/src/php-devel/extensions//fileinfo/libmagic with 23 files in /libmagic suffixed .c or .h Could somebody please help with this? I have Mageia5 / KDE Thanks and cheers, Michael
Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
On 05/06/2015 03:36 PM, Ygo Kanaki wrote: This I got: $ kpsewhich scrartcl.cls /usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls I did Tools / Reconfigure, I think that solved most of the problems. I can now open my colleagues document again without errors, and I get the correct pdf-output. Fixed! I still see a whole bunch of greyed-out document classes, but I don't care for now, I'll try to fix that later. Lyx works again! That is normal. LyX supports many more classes than anyone would ever need and, more importantly, than a standard LaTeX installation would install. So there's not really anything more to fix, unless you want to use one of those classes. In that case, you just need to install the relevant LaTeX files. And actually, you can *use* the class within LyX. You just won't be able to compile. Richard
Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
On 05/06/2015 03:08 PM, Ygo Kanaki wrote: Wow, that was quick: THREE responses within five minutes. Can't complain about that! I installed the .ppa as instructed on the lyx website, updated Synaptic and indeed a newer version appeared. Installed the newer version, all ok. But now when I open my colleagues Lyx file I get three errors instead of one: === Due to some error in it, the layout file: could not be loaded. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The layout file: scrartcl could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The module basic has been requested by this document but has not been found in the list of available modules. If you recently installed it, you probably need to reconfigure LyX. === Also in Document / Settings I see: Unknown text class scrartcl. Actually almost all of my document classes are greyed out now. On my file system I find these two files: /usr/share/lyx/layouts/scrartcl.layout /usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html LyX is complaining that it cannot find the class file associated with this layout, which is scrartcl.cls. Try running: # kpsewhich scrartcl.cls and see if you get anything. If not, there is some problem with your LaTeX installation and we'll need to fix that. If you do see it, then try running Tools Reconfigure. If that does not work, then you may be running into a python incompatibility that we have sometimes seen on some systems, and we can sort it out somehow. The layout file: scrartcl could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The module basic has been requested by this document but has not been found in the list of available modules. If you recently installed it, you probably need to reconfigure LyX. These are more puzzling. It may be that you have the python problem, but try reconfiguring and see what happens. It would be best to launch LyX from a terminal, then Reconfigure, and copy and paste the output from that here, if you run into problems. Richard
Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
This I got: $ kpsewhich scrartcl.cls /usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls I did Tools / Reconfigure, I think that solved most of the problems. I can now open my colleagues document again without errors, and I get the correct pdf-output. Fixed! I still see a whole bunch of greyed-out document classes, but I don't care for now, I'll try to fix that later. Lyx works again! Thanks to you all. Ygo.
Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
On 05/06/2015 03:08 PM, Ygo Kanaki wrote: Wow, that was quick: THREE responses within five minutes. Can't complain about that! I installed the .ppa as instructed on the lyx website, updated Synaptic and indeed a newer version appeared. Installed the newer version, all ok. But now when I open my colleagues Lyx file I get three errors instead of one: === Due to some error in it, the layout file: could not be loaded. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The layout file: scrartcl could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The module basic has been requested by this document but has not been found in the list of available modules. If you recently installed it, you probably need to reconfigure LyX. === Also in Document / Settings I see: Unknown text class scrartcl. Actually almost all of my document classes are greyed out now. On my file system I find these two files: /usr/share/lyx/layouts/scrartcl.layout /usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html LyX is complaining that it cannot find the class file associated with this layout, which is scrartcl.cls. Try running: # kpsewhich scrartcl.cls and see if you get anything. If not, there is some problem with your LaTeX installation and we'll need to fix that. If you do see it, then try running Tools Reconfigure. If that does not work, then you may be running into a python incompatibility that we have sometimes seen on some systems, and we can sort it out somehow. The layout file: scrartcl could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The module basic has been requested by this document but has not been found in the list of available modules. If you recently installed it, you probably need to reconfigure LyX. These are more puzzling. It may be that you have the python problem, but try reconfiguring and see what happens. It would be best to launch LyX from a terminal, then Reconfigure, and copy and paste the output from that here, if you run into problems. Richard
Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
This I got: $ kpsewhich scrartcl.cls /usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls I did Tools / Reconfigure, I think that solved most of the problems. I can now open my colleagues document again without errors, and I get the correct pdf-output. Fixed! I still see a whole bunch of greyed-out document classes, but I don't care for now, I'll try to fix that later. Lyx works again! Thanks to you all. Ygo.
Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
On 05/06/2015 03:36 PM, Ygo Kanaki wrote: This I got: $ kpsewhich scrartcl.cls /usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls I did Tools / Reconfigure, I think that solved most of the problems. I can now open my colleagues document again without errors, and I get the correct pdf-output. Fixed! I still see a whole bunch of greyed-out document classes, but I don't care for now, I'll try to fix that later. Lyx works again! That is normal. LyX supports many more classes than anyone would ever need and, more importantly, than a standard LaTeX installation would install. So there's not really anything more to fix, unless you want to use one of those classes. In that case, you just need to install the relevant LaTeX files. And actually, you can *use* the class within LyX. You just won't be able to compile. Richard
Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
On 05/06/2015 03:08 PM, Ygo Kanaki wrote: Wow, that was quick: THREE responses within five minutes. Can't complain about that! I installed the .ppa as instructed on the lyx website, updated Synaptic and indeed a newer version appeared. Installed the newer version, all ok. But now when I open my colleagues Lyx file I get three errors instead of one: === Due to some error in it, the layout file: could not be loaded. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The layout file: scrartcl could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The module basic has been requested by this document but has not been found in the list of available modules. If you recently installed it, you probably need to reconfigure LyX. === Also in Document / Settings I see: Unknown text class scrartcl. Actually almost all of my document classes are greyed out now. On my file system I find these two files: /usr/share/lyx/layouts/scrartcl.layout /usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html LyX is complaining that it cannot find the class file associated with this layout, which is scrartcl.cls. Try running: # kpsewhich scrartcl.cls and see if you get anything. If not, there is some problem with your LaTeX installation and we'll need to fix that. If you do see it, then try running Tools> Reconfigure. If that does not work, then you may be running into a python incompatibility that we have sometimes seen on some systems, and we can sort it out somehow. The layout file: scrartcl could not be found. A default textclass with default layouts will be used. LyX will not be able to produce correct output. The module basic has been requested by this document but has not been found in the list of available modules. If you recently installed it, you probably need to reconfigure LyX. These are more puzzling. It may be that you have the python problem, but try reconfiguring and see what happens. It would be best to launch LyX from a terminal, then Reconfigure, and copy and paste the output from that here, if you run into problems. Richard
Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
This I got: $ kpsewhich scrartcl.cls /usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls I did Tools / Reconfigure, I think that solved most of the problems. I can now open my colleagues document again without errors, and I get the correct pdf-output. Fixed! I still see a whole bunch of greyed-out document classes, but I don't care for now, I'll try to fix that later. Lyx works again! Thanks to you all. Ygo.
Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]
On 05/06/2015 03:36 PM, Ygo Kanaki wrote: This I got: $ kpsewhich scrartcl.cls /usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls I did Tools / Reconfigure, I think that solved most of the problems. I can now open my colleagues document again without errors, and I get the correct pdf-output. Fixed! I still see a whole bunch of greyed-out document classes, but I don't care for now, I'll try to fix that later. Lyx works again! That is normal. LyX supports many more classes than anyone would ever need and, more importantly, than a standard LaTeX installation would install. So there's not really anything more to fix, unless you want to use one of those classes. In that case, you just need to install the relevant LaTeX files. And actually, you can *use* the class within LyX. You just won't be able to compile. Richard
Re: How to configure plantuml with lyx
Here are all the files 1) sample.plantuml @startuml title sample dia ' Diagram for adding participant to a Chat Group ' Rajender Saini participant Endpoint A as EPA participant Gateway as Gateway participant Endpoint B as EPB participant Endpoint C as EPC autonumber EPA - Gateway:Register @enduml --- 2) newfile1.lyx - #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass article \use_default_options true \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \paperfontsize default \use_hyperref false \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \use_mhchem 1 \use_mathdots 1 \cite_engine basic \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \use_refstyle 1 \index Index \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Section test lyx document to include plantuml graphics. \end_layout \begin_layout Standard \begin_inset Graphics filename seq.plantuml \end_inset \end_layout \end_body \end_document -- converters are configured as suggested above in the thread. Please note that you need plantuml.jar to configure plantuml. Regards, Rajender saini On Fri, Jan 17, 2014 at 12:29 AM, Rainer M Krug rai...@krugs.de wrote: On 17 January 2014 09:01, rajender saini rajendersa...@gmail.com wrote: Thanks Rainer, I am able to generate diagram into lyx master file using the steps shared by you. Thank you very much. My master file include the .plantuml file as graphic as suggested by you and it is working fine. I assume you mean that you can see the .plantuml file as a picture in LyX? Good to hear. So the .plantuml - .svg - .png is working. I wanted to export whole file as PDF so pdflatex? That is what I use. Next I used inkscape to convert SVG to PDF by adding convertor. when i run export as PDF image is not included into the master PDF doc. The conversion should be done by LyX. AS I said, I use rsvg, and it works as expected. I can see the SVG to PDF conversion happening into the temp cache directory. but somehow it is not included into master file any pointer will help. Hm - no idea here - if the conversion to a .svg - .pdf I have no idea why it is not included. Just make a small example .lyx file and post it here together with the .plantuml file so that I can try it out if it works here. Cheers, Rainer Regards, Rajender Saini On Thu, Jan 16, 2014 at 11:56 AM, rajender saini rajendersa...@gmail.com wrote: Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert
Re: How to configure plantuml with lyx
Here are all the files 1) sample.plantuml @startuml title sample dia ' Diagram for adding participant to a Chat Group ' Rajender Saini participant Endpoint A as EPA participant Gateway as Gateway participant Endpoint B as EPB participant Endpoint C as EPC autonumber EPA - Gateway:Register @enduml --- 2) newfile1.lyx - #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass article \use_default_options true \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \paperfontsize default \use_hyperref false \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \use_mhchem 1 \use_mathdots 1 \cite_engine basic \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \use_refstyle 1 \index Index \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Section test lyx document to include plantuml graphics. \end_layout \begin_layout Standard \begin_inset Graphics filename seq.plantuml \end_inset \end_layout \end_body \end_document -- converters are configured as suggested above in the thread. Please note that you need plantuml.jar to configure plantuml. Regards, Rajender saini On Fri, Jan 17, 2014 at 12:29 AM, Rainer M Krug rai...@krugs.de wrote: On 17 January 2014 09:01, rajender saini rajendersa...@gmail.com wrote: Thanks Rainer, I am able to generate diagram into lyx master file using the steps shared by you. Thank you very much. My master file include the .plantuml file as graphic as suggested by you and it is working fine. I assume you mean that you can see the .plantuml file as a picture in LyX? Good to hear. So the .plantuml - .svg - .png is working. I wanted to export whole file as PDF so pdflatex? That is what I use. Next I used inkscape to convert SVG to PDF by adding convertor. when i run export as PDF image is not included into the master PDF doc. The conversion should be done by LyX. AS I said, I use rsvg, and it works as expected. I can see the SVG to PDF conversion happening into the temp cache directory. but somehow it is not included into master file any pointer will help. Hm - no idea here - if the conversion to a .svg - .pdf I have no idea why it is not included. Just make a small example .lyx file and post it here together with the .plantuml file so that I can try it out if it works here. Cheers, Rainer Regards, Rajender Saini On Thu, Jan 16, 2014 at 11:56 AM, rajender saini rajendersa...@gmail.com wrote: Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert
Re: How to configure plantuml with lyx
Here are all the files 1) sample.plantuml @startuml title sample dia ' Diagram for adding participant to a Chat Group ' Rajender Saini participant "Endpoint A" as EPA participant "Gateway" as Gateway participant "Endpoint B" as EPB participant "Endpoint C" as EPC autonumber EPA -> Gateway:Register @enduml --- 2) newfile1.lyx - #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass article \use_default_options true \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \paperfontsize default \use_hyperref false \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \use_mhchem 1 \use_mathdots 1 \cite_engine basic \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \use_refstyle 1 \index Index \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Section test lyx document to include plantuml graphics. \end_layout \begin_layout Standard \begin_inset Graphics filename seq.plantuml \end_inset \end_layout \end_body \end_document -- converters are configured as suggested above in the thread. Please note that you need plantuml.jar to configure plantuml. Regards, Rajender saini On Fri, Jan 17, 2014 at 12:29 AM, Rainer M Krug <rai...@krugs.de> wrote: > On 17 January 2014 09:01, rajender saini <rajendersa...@gmail.com> wrote: > >> Thanks Rainer, I am able to generate diagram into lyx master file using >> the steps shared by you. Thank you very much. >> >> >> >> My master file include the .plantuml file as graphic as suggested by you >> and it is working fine. >> >> > I assume you mean that you can see the .plantuml file as a picture in LyX? > Good to hear. So the .plantuml -> .svg -> .png is working. > > >> I wanted to export whole file as PDF so >> > > pdflatex? That is what I use. > > >> >> Next I used inkscape to convert SVG to PDF by adding convertor. >> >> when i run export as PDF image is not included into the master PDF doc. >> > > The conversion should be done by LyX. AS I said, I use rsvg, and it works > as expected. > > >> >> >> I can see the SVG to PDF conversion happening into the temp cache >> directory. but somehow it is not included into master file any pointer will >> help. >> > > Hm - no idea here - if the conversion to a .svg -> .pdf I have no idea why > it is not included. Just make a small example .lyx file and post it here > together with the .plantuml file so that I can try it out if it works here. > > Cheers, > > Rainer > > > >> >> >> Regards, >> Rajender Saini >> >> >> On Thu, Jan 16, 2014 at 11:56 AM, rajender saini <rajendersa...@gmail.com >> > wrote: >> >>> Thank you very much Rainer for immediate response. I will follow these >>> steps and come back if I have any issue. >>> >>> >>> On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug <rai...@krugs.de> wrote: >>> >>>> -BEGIN PGP SIGNED MESSAGE- >>>> Hash: SHA1 >>>> >>>> >>>> On 01/16/14, 06:14 , rajender saini wrote: >>>> > I got your reference from the gmail lyx posting. Can you help me >>>> > with the steps include plant uml file into lyx file and >>>> > automatically get it converted into image when we include it into >>>> > the lyx master file ? >>>> >>>> Sure. >>>> >>>> I will CC it to the LyX list to have it there for reference. >>>> >>>> I assume you have downloaded plantuml. >>>> >>>> 1) Define a new File Format, named "plantuml": >>&g
Re: How to configure plantuml with lyx
Thanks Rainer, I am able to generate diagram into lyx master file using the steps shared by you. Thank you very much. My master file include the .plantuml file as graphic as suggested by you and it is working fine. I wanted to export whole file as PDF so Next I used inkscape to convert SVG to PDF by adding convertor. when i run export as PDF image is not included into the master PDF doc. I can see the SVG to PDF conversion happening into the temp cache directory. but somehow it is not included into master file any pointer will help. Regards, Rajender Saini On Thu, Jan 16, 2014 at 11:56 AM, rajender saini rajendersa...@gmail.comwrote: Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: plantuml To format: SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter plantuml svg /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov ivparamo...@gmail.com if [ -n ${JAVA_HOME} ] [ -x ${JAVA_HOME}/bin/java ] ; then JAVA=${JAVA_HOME}/bin/java elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot /usr/local/bin/dot ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am using it right now) and Linux (used it before). There might be differences under Windows, but I would suggest to ask on the mailing list if you don't get it to work, so that therte is a reference to this. Hope this helps, Rainer -- Raj Ph:+17737706099 - -- 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
Re: How to configure plantuml with lyx
Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: plantuml To format: SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter plantuml svg /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov ivparamo...@gmail.com if [ -n ${JAVA_HOME} ] [ -x ${JAVA_HOME}/bin/java ] ; then JAVA=${JAVA_HOME}/bin/java elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot /usr/local/bin/dot ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am using it right now) and Linux (used it before). There might be differences under Windows, but I would suggest to ask on the mailing list if you don't get it to work, so that therte is a reference to this. Hope this helps, Rainer -- Raj Ph:+17737706099 - -- 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/MacGPG2 v2.0.22 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS152qAAoJENvXNx4PUvmCfaYH/2CBavtVCI5a37KO3sqdoR7g JgntyBmQCIGZ5i9lwLpj/e/P95THCoPTpFo8nv09JM89KMWVgU3CdoJI0cUzelPH /47ZdhPQYEEYSiA8H+Zsp9AgE4ess0gsB/CWE9HVDnAXZIwWhOHC4Mwys8umeUOO AEqK1IvBtXH2b5PMDSLJt/7DEL/kdFst/59YaAQl3lmKQnwbGUz/vgkXhbULILm2 bq6PfUSlNHc+kggvAUolotSXzsBsvhrb+dU51jUG8c8DIM7WVHhAvBDJhoZVVNdZ JSVIDVbyPab8GFNDfeJhhJ+xf6GRnZZb5/fION7zoEbNLtzMbXZcqODeUGceVI0= =HBXj -END PGP SIGNATURE- -- Raj Ph
Re: How to configure plantuml with lyx
On 17 January 2014 09:01, rajender saini rajendersa...@gmail.com wrote: Thanks Rainer, I am able to generate diagram into lyx master file using the steps shared by you. Thank you very much. My master file include the .plantuml file as graphic as suggested by you and it is working fine. I assume you mean that you can see the .plantuml file as a picture in LyX? Good to hear. So the .plantuml - .svg - .png is working. I wanted to export whole file as PDF so pdflatex? That is what I use. Next I used inkscape to convert SVG to PDF by adding convertor. when i run export as PDF image is not included into the master PDF doc. The conversion should be done by LyX. AS I said, I use rsvg, and it works as expected. I can see the SVG to PDF conversion happening into the temp cache directory. but somehow it is not included into master file any pointer will help. Hm - no idea here - if the conversion to a .svg - .pdf I have no idea why it is not included. Just make a small example .lyx file and post it here together with the .plantuml file so that I can try it out if it works here. Cheers, Rainer Regards, Rajender Saini On Thu, Jan 16, 2014 at 11:56 AM, rajender saini rajendersa...@gmail.comwrote: Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: plantuml To format: SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter plantuml svg /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov ivparamo...@gmail.com if [ -n ${JAVA_HOME} ] [ -x ${JAVA_HOME}/bin/java ] ; then JAVA=${JAVA_HOME}/bin/java elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot /usr/local/bin/dot ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am
Re: How to configure plantuml with lyx
Thanks Rainer, I am able to generate diagram into lyx master file using the steps shared by you. Thank you very much. My master file include the .plantuml file as graphic as suggested by you and it is working fine. I wanted to export whole file as PDF so Next I used inkscape to convert SVG to PDF by adding convertor. when i run export as PDF image is not included into the master PDF doc. I can see the SVG to PDF conversion happening into the temp cache directory. but somehow it is not included into master file any pointer will help. Regards, Rajender Saini On Thu, Jan 16, 2014 at 11:56 AM, rajender saini rajendersa...@gmail.comwrote: Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: plantuml To format: SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter plantuml svg /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov ivparamo...@gmail.com if [ -n ${JAVA_HOME} ] [ -x ${JAVA_HOME}/bin/java ] ; then JAVA=${JAVA_HOME}/bin/java elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot /usr/local/bin/dot ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am using it right now) and Linux (used it before). There might be differences under Windows, but I would suggest to ask on the mailing list if you don't get it to work, so that therte is a reference to this. Hope this helps, Rainer -- Raj Ph:+17737706099 - -- 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
Re: How to configure plantuml with lyx
Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: plantuml To format: SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter plantuml svg /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov ivparamo...@gmail.com if [ -n ${JAVA_HOME} ] [ -x ${JAVA_HOME}/bin/java ] ; then JAVA=${JAVA_HOME}/bin/java elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot /usr/local/bin/dot ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am using it right now) and Linux (used it before). There might be differences under Windows, but I would suggest to ask on the mailing list if you don't get it to work, so that therte is a reference to this. Hope this helps, Rainer -- Raj Ph:+17737706099 - -- 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/MacGPG2 v2.0.22 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS152qAAoJENvXNx4PUvmCfaYH/2CBavtVCI5a37KO3sqdoR7g JgntyBmQCIGZ5i9lwLpj/e/P95THCoPTpFo8nv09JM89KMWVgU3CdoJI0cUzelPH /47ZdhPQYEEYSiA8H+Zsp9AgE4ess0gsB/CWE9HVDnAXZIwWhOHC4Mwys8umeUOO AEqK1IvBtXH2b5PMDSLJt/7DEL/kdFst/59YaAQl3lmKQnwbGUz/vgkXhbULILm2 bq6PfUSlNHc+kggvAUolotSXzsBsvhrb+dU51jUG8c8DIM7WVHhAvBDJhoZVVNdZ JSVIDVbyPab8GFNDfeJhhJ+xf6GRnZZb5/fION7zoEbNLtzMbXZcqODeUGceVI0= =HBXj -END PGP SIGNATURE- -- Raj Ph
Re: How to configure plantuml with lyx
On 17 January 2014 09:01, rajender saini rajendersa...@gmail.com wrote: Thanks Rainer, I am able to generate diagram into lyx master file using the steps shared by you. Thank you very much. My master file include the .plantuml file as graphic as suggested by you and it is working fine. I assume you mean that you can see the .plantuml file as a picture in LyX? Good to hear. So the .plantuml - .svg - .png is working. I wanted to export whole file as PDF so pdflatex? That is what I use. Next I used inkscape to convert SVG to PDF by adding convertor. when i run export as PDF image is not included into the master PDF doc. The conversion should be done by LyX. AS I said, I use rsvg, and it works as expected. I can see the SVG to PDF conversion happening into the temp cache directory. but somehow it is not included into master file any pointer will help. Hm - no idea here - if the conversion to a .svg - .pdf I have no idea why it is not included. Just make a small example .lyx file and post it here together with the .plantuml file so that I can try it out if it works here. Cheers, Rainer Regards, Rajender Saini On Thu, Jan 16, 2014 at 11:56 AM, rajender saini rajendersa...@gmail.comwrote: Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: plantuml To format: SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter plantuml svg /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov ivparamo...@gmail.com if [ -n ${JAVA_HOME} ] [ -x ${JAVA_HOME}/bin/java ] ; then JAVA=${JAVA_HOME}/bin/java elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot /usr/local/bin/dot ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am
Re: How to configure plantuml with lyx
Thanks Rainer, I am able to generate diagram into lyx master file using the steps shared by you. Thank you very much. My master file include the .plantuml file as graphic as suggested by you and it is working fine. I wanted to export whole file as PDF so Next I used inkscape to convert SVG to PDF by adding convertor. when i run export as PDF image is not included into the master PDF doc. I can see the SVG to PDF conversion happening into the temp cache directory. but somehow it is not included into master file any pointer will help. Regards, Rajender Saini On Thu, Jan 16, 2014 at 11:56 AM, rajender saini <rajendersa...@gmail.com>wrote: > Thank you very much Rainer for immediate response. I will follow these > steps and come back if I have any issue. > > > On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug <rai...@krugs.de> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> On 01/16/14, 06:14 , rajender saini wrote: >> > I got your reference from the gmail lyx posting. Can you help me >> > with the steps include plant uml file into lyx file and >> > automatically get it converted into image when we include it into >> > the lyx master file ? >> >> Sure. >> >> I will CC it to the LyX list to have it there for reference. >> >> I assume you have downloaded plantuml. >> >> 1) Define a new File Format, named "plantuml": >> >> Vector graphics format: I ticked it - what are actually the >> implications of this field? >> Short name: "plantuml" >> Extension: "plantuml" >> So all files with the extension .plantuml will be considered as >> plantuml source code files files! >> >> Editor: I choose Emacs, but set any text editor you want. >> >> In the preferences files, this corresponds to the following line in >> the formats section: >> >> \format "plantuml" "plantuml" "plantuml" "" "" "open -n -a Emacs >> - --args --name LyX --title LyX --no-desktop" "vector" >> >> Now we have to define the converters, i.e. how to convert the plantuml >> file into a format usable by the converter chain in LyX. This now >> depends on you installed converters, but I got the best results when >> using svg as the *only* output format of plantuml, and then use the >> standard converter tools of LyX to convert these into the required >> formats. >> >> The conversion of svg (a vector format) to eps, PDF and PNG >> is done by rsvg, which is detected and configured automatically by >> LyX. If you don't have it installed, install it and re-configure :LyX >> and it should be detected. >> >> Coming back to plantuml: The converter to be defined converts the >> .plantuml to a graphics format .svg (vector): >> >> - From format: "plantuml" >> To format: "SVG >> Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg >> >> The preference file line is: >> >> \converter "plantuml" "svg" "/Users/rainerkrug/bin/plantuml $$i -ofile >> $$o -tsvg" "" >> >> The last step: What is the file /Users/rainerkrug/bin/plantuml? It is >> *not* the .jar file but the following: >> >> ### BEGIN FILE ## >> #!/bin/sh >> # PlantUML Launcher >> # >> # This script is free software; you can redistribute it and/or modify it >> # under the terms of the GNU General Public License as published by >> # the Free Software Foundation, either version 3 of the License, or >> # (at your option) any later version. >> # >> # This script distributed in the hope that it will be useful, but >> # WITHOUT ANY WARRANTY; without even the implied warranty of >> MERCHANTABILITY >> # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public >> # License for more details. >> # You should have received a copy of the GNU General Public >> # License along with this library; if not, write to the Free Software >> # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA >> 02110-1301, >> # USA. >> # >> # Copyright (C) 2010 Ilya Paramonov <ivparamo...@gmail.com> >> >> if [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] ; then >> JAVA="${JAVA_HOME}/bin/java" >> elif [ -x /usr/bin/java ] ; then >> JAVA=/usr/bin/java >> else >> echo Cannot find JVM >> exit 1 >> fi >> >> $JAVA -jar ~/jar/plantuml.jar -graphvizdot "/usr/
Re: How to configure plantuml with lyx
Thank you very much Rainer for immediate response. I will follow these steps and come back if I have any issue. On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug <rai...@krugs.de> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On 01/16/14, 06:14 , rajender saini wrote: > > I got your reference from the gmail lyx posting. Can you help me > > with the steps include plant uml file into lyx file and > > automatically get it converted into image when we include it into > > the lyx master file ? > > Sure. > > I will CC it to the LyX list to have it there for reference. > > I assume you have downloaded plantuml. > > 1) Define a new File Format, named "plantuml": > > Vector graphics format: I ticked it - what are actually the > implications of this field? > Short name: "plantuml" > Extension: "plantuml" > So all files with the extension .plantuml will be considered as > plantuml source code files files! > > Editor: I choose Emacs, but set any text editor you want. > > In the preferences files, this corresponds to the following line in > the formats section: > > \format "plantuml" "plantuml" "plantuml" "" "" "open -n -a Emacs > - --args --name LyX --title LyX --no-desktop" "vector" > > Now we have to define the converters, i.e. how to convert the plantuml > file into a format usable by the converter chain in LyX. This now > depends on you installed converters, but I got the best results when > using svg as the *only* output format of plantuml, and then use the > standard converter tools of LyX to convert these into the required > formats. > > The conversion of svg (a vector format) to eps, PDF and PNG > is done by rsvg, which is detected and configured automatically by > LyX. If you don't have it installed, install it and re-configure :LyX > and it should be detected. > > Coming back to plantuml: The converter to be defined converts the > .plantuml to a graphics format .svg (vector): > > - From format: "plantuml" > To format: "SVG > Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg > > The preference file line is: > > \converter "plantuml" "svg" "/Users/rainerkrug/bin/plantuml $$i -ofile > $$o -tsvg" "" > > The last step: What is the file /Users/rainerkrug/bin/plantuml? It is > *not* the .jar file but the following: > > ### BEGIN FILE ## > #!/bin/sh > # PlantUML Launcher > # > # This script is free software; you can redistribute it and/or modify it > # under the terms of the GNU General Public License as published by > # the Free Software Foundation, either version 3 of the License, or > # (at your option) any later version. > # > # This script distributed in the hope that it will be useful, but > # WITHOUT ANY WARRANTY; without even the implied warranty of > MERCHANTABILITY > # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public > # License for more details. > # You should have received a copy of the GNU General Public > # License along with this library; if not, write to the Free Software > # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA > 02110-1301, > # USA. > # > # Copyright (C) 2010 Ilya Paramonov <ivparamo...@gmail.com> > > if [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] ; then > JAVA="${JAVA_HOME}/bin/java" > elif [ -x /usr/bin/java ] ; then > JAVA=/usr/bin/java > else > echo Cannot find JVM > exit 1 > fi > > $JAVA -jar ~/jar/plantuml.jar -graphvizdot "/usr/local/bin/dot" ${@} > ### END FILE ## > > It is from https://gist.github.com/eelcocramer/4502562 and it simply makes > calling plantuml much easier. > > Make sure tht this ~/bin/plantuml is executable! > > Now, in LyX, you simply have to add a .plantuml file as a picture, and > you should be able to edit it via right-mouse-click and it should be > converted into all the needed formats. > > Now This worked for me under Mac (I am using it right now) and Linux > (used it before). There might be differences under Windows, but I > would suggest to ask on the mailing list if you don't get it to work, > so that therte is a reference to this. > > > Hope this helps, > > Rainer > > > > > > > -- Raj Ph:+17737706099 > > - -- > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation > Biology, UCT), Dipl. Phys. (Germany) > > Centre of Excellence for Invasion Biology > Stellenbosch University > South Africa
Re: How to configure plantuml with lyx
On 17 January 2014 09:01, rajender saini <rajendersa...@gmail.com> wrote: > Thanks Rainer, I am able to generate diagram into lyx master file using > the steps shared by you. Thank you very much. > > > > My master file include the .plantuml file as graphic as suggested by you > and it is working fine. > > I assume you mean that you can see the .plantuml file as a picture in LyX? Good to hear. So the .plantuml -> .svg -> .png is working. > I wanted to export whole file as PDF so > pdflatex? That is what I use. > > Next I used inkscape to convert SVG to PDF by adding convertor. > > when i run export as PDF image is not included into the master PDF doc. > The conversion should be done by LyX. AS I said, I use rsvg, and it works as expected. > > > I can see the SVG to PDF conversion happening into the temp cache > directory. but somehow it is not included into master file any pointer will > help. > Hm - no idea here - if the conversion to a .svg -> .pdf I have no idea why it is not included. Just make a small example .lyx file and post it here together with the .plantuml file so that I can try it out if it works here. Cheers, Rainer > > > Regards, > Rajender Saini > > > On Thu, Jan 16, 2014 at 11:56 AM, rajender saini > <rajendersa...@gmail.com>wrote: > >> Thank you very much Rainer for immediate response. I will follow these >> steps and come back if I have any issue. >> >> >> On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug <rai...@krugs.de> wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> >>> On 01/16/14, 06:14 , rajender saini wrote: >>> > I got your reference from the gmail lyx posting. Can you help me >>> > with the steps include plant uml file into lyx file and >>> > automatically get it converted into image when we include it into >>> > the lyx master file ? >>> >>> Sure. >>> >>> I will CC it to the LyX list to have it there for reference. >>> >>> I assume you have downloaded plantuml. >>> >>> 1) Define a new File Format, named "plantuml": >>> >>> Vector graphics format: I ticked it - what are actually the >>> implications of this field? >>> Short name: "plantuml" >>> Extension: "plantuml" >>> So all files with the extension .plantuml will be considered as >>> plantuml source code files files! >>> >>> Editor: I choose Emacs, but set any text editor you want. >>> >>> In the preferences files, this corresponds to the following line in >>> the formats section: >>> >>> \format "plantuml" "plantuml" "plantuml" "" "" "open -n -a Emacs >>> - --args --name LyX --title LyX --no-desktop" "vector" >>> >>> Now we have to define the converters, i.e. how to convert the plantuml >>> file into a format usable by the converter chain in LyX. This now >>> depends on you installed converters, but I got the best results when >>> using svg as the *only* output format of plantuml, and then use the >>> standard converter tools of LyX to convert these into the required >>> formats. >>> >>> The conversion of svg (a vector format) to eps, PDF and PNG >>> is done by rsvg, which is detected and configured automatically by >>> LyX. If you don't have it installed, install it and re-configure :LyX >>> and it should be detected. >>> >>> Coming back to plantuml: The converter to be defined converts the >>> .plantuml to a graphics format .svg (vector): >>> >>> - From format: "plantuml" >>> To format: "SVG >>> Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg >>> >>> The preference file line is: >>> >>> \converter "plantuml" "svg" "/Users/rainerkrug/bin/plantuml $$i -ofile >>> $$o -tsvg" "" >>> >>> The last step: What is the file /Users/rainerkrug/bin/plantuml? It is >>> *not* the .jar file but the following: >>> >>> ### BEGIN FILE ## >>> #!/bin/sh >>> # PlantUML Launcher >>> # >>> # This script is free software; you can redistribute it and/or modify it >>> # under the terms of the GNU General Public License as published by >>> # the Free Software Foundation, either version 3 of the License, or >>> # (a
How to configure plantuml with lyx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: plantuml To format: SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter plantuml svg /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov ivparamo...@gmail.com if [ -n ${JAVA_HOME} ] [ -x ${JAVA_HOME}/bin/java ] ; then JAVA=${JAVA_HOME}/bin/java elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot /usr/local/bin/dot ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am using it right now) and Linux (used it before). There might be differences under Windows, but I would suggest to ask on the mailing list if you don't get it to work, so that therte is a reference to this. Hope this helps, Rainer -- Raj Ph:+17737706099 - -- 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/MacGPG2 v2.0.22 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS152qAAoJENvXNx4PUvmCfaYH/2CBavtVCI5a37KO3sqdoR7g JgntyBmQCIGZ5i9lwLpj/e/P95THCoPTpFo8nv09JM89KMWVgU3CdoJI0cUzelPH /47ZdhPQYEEYSiA8H+Zsp9AgE4ess0gsB/CWE9HVDnAXZIwWhOHC4Mwys8umeUOO AEqK1IvBtXH2b5PMDSLJt/7DEL/kdFst/59YaAQl3lmKQnwbGUz/vgkXhbULILm2 bq6PfUSlNHc+kggvAUolotSXzsBsvhrb+dU51jUG8c8DIM7WVHhAvBDJhoZVVNdZ JSVIDVbyPab8GFNDfeJhhJ+xf6GRnZZb5/fION7zoEbNLtzMbXZcqODeUGceVI0= =HBXj -END PGP SIGNATURE-
How to configure plantuml with lyx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: I got your reference from the gmail lyx posting. Can you help me with the steps include plant uml file into lyx file and automatically get it converted into image when we include it into the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named plantuml: Vector graphics format: I ticked it - what are actually the implications of this field? Short name: plantuml Extension: plantuml So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format plantuml plantuml plantuml open -n -a Emacs - --args --name LyX --title LyX --no-desktop vector Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: plantuml To format: SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter plantuml svg /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov ivparamo...@gmail.com if [ -n ${JAVA_HOME} ] [ -x ${JAVA_HOME}/bin/java ] ; then JAVA=${JAVA_HOME}/bin/java elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot /usr/local/bin/dot ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am using it right now) and Linux (used it before). There might be differences under Windows, but I would suggest to ask on the mailing list if you don't get it to work, so that therte is a reference to this. Hope this helps, Rainer -- Raj Ph:+17737706099 - -- 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/MacGPG2 v2.0.22 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS152qAAoJENvXNx4PUvmCfaYH/2CBavtVCI5a37KO3sqdoR7g JgntyBmQCIGZ5i9lwLpj/e/P95THCoPTpFo8nv09JM89KMWVgU3CdoJI0cUzelPH /47ZdhPQYEEYSiA8H+Zsp9AgE4ess0gsB/CWE9HVDnAXZIwWhOHC4Mwys8umeUOO AEqK1IvBtXH2b5PMDSLJt/7DEL/kdFst/59YaAQl3lmKQnwbGUz/vgkXhbULILm2 bq6PfUSlNHc+kggvAUolotSXzsBsvhrb+dU51jUG8c8DIM7WVHhAvBDJhoZVVNdZ JSVIDVbyPab8GFNDfeJhhJ+xf6GRnZZb5/fION7zoEbNLtzMbXZcqODeUGceVI0= =HBXj -END PGP SIGNATURE-
How to configure plantuml with lyx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/14, 06:14 , rajender saini wrote: > I got your reference from the gmail lyx posting. Can you help me > with the steps include plant uml file into lyx file and > automatically get it converted into image when we include it into > the lyx master file ? Sure. I will CC it to the LyX list to have it there for reference. I assume you have downloaded plantuml. 1) Define a new File Format, named "plantuml": Vector graphics format: I ticked it - what are actually the implications of this field? Short name: "plantuml" Extension: "plantuml" So all files with the extension .plantuml will be considered as plantuml source code files files! Editor: I choose Emacs, but set any text editor you want. In the preferences files, this corresponds to the following line in the formats section: \format "plantuml" "plantuml" "plantuml" "" "" "open -n -a Emacs - --args --name LyX --title LyX --no-desktop" "vector" Now we have to define the converters, i.e. how to convert the plantuml file into a format usable by the converter chain in LyX. This now depends on you installed converters, but I got the best results when using svg as the *only* output format of plantuml, and then use the standard converter tools of LyX to convert these into the required formats. The conversion of svg (a vector format) to eps, PDF and PNG is done by rsvg, which is detected and configured automatically by LyX. If you don't have it installed, install it and re-configure :LyX and it should be detected. Coming back to plantuml: The converter to be defined converts the .plantuml to a graphics format .svg (vector): - From format: "plantuml" To format: "SVG Converter: /Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg The preference file line is: \converter "plantuml" "svg" "/Users/rainerkrug/bin/plantuml $$i -ofile $$o -tsvg" "" The last step: What is the file /Users/rainerkrug/bin/plantuml? It is *not* the .jar file but the following: ### BEGIN FILE ## #!/bin/sh # PlantUML Launcher # # This script is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This script distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License for more details. # You should have received a copy of the GNU General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Copyright (C) 2010 Ilya Paramonov <ivparamo...@gmail.com> if [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] ; then JAVA="${JAVA_HOME}/bin/java" elif [ -x /usr/bin/java ] ; then JAVA=/usr/bin/java else echo Cannot find JVM exit 1 fi $JAVA -jar ~/jar/plantuml.jar -graphvizdot "/usr/local/bin/dot" ${@} ### END FILE ## It is from https://gist.github.com/eelcocramer/4502562 and it simply makes calling plantuml much easier. Make sure tht this ~/bin/plantuml is executable! Now, in LyX, you simply have to add a .plantuml file as a picture, and you should be able to edit it via right-mouse-click and it should be converted into all the needed formats. Now This worked for me under Mac (I am using it right now) and Linux (used it before). There might be differences under Windows, but I would suggest to ask on the mailing list if you don't get it to work, so that therte is a reference to this. Hope this helps, Rainer > > -- Raj Ph:+17737706099 - -- 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/MacGPG2 v2.0.22 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS152qAAoJENvXNx4PUvmCfaYH/2CBavtVCI5a37KO3sqdoR7g JgntyBmQCIGZ5i9lwLpj/e/P95THCoPTpFo8nv09JM89KMWVgU3CdoJI0cUzelPH /47ZdhPQYEEYSiA8H+Zsp9AgE4ess0gsB/CWE9HVDnAXZIwWhOHC4Mwys8umeUOO AEqK1IvBtXH2b5PMDSLJt/7DEL/kdFst/59YaAQl3lmKQnwbGUz/vgkXhbULILm2 bq6PfUSlNHc+kggvAUolotSXzsBsvhrb+dU51jUG8c8DIM7WVHhAvBDJhoZVVNdZ JSVIDVbyPab8GFNDfeJhhJ+xf6GRnZZb5/fION7zoEbNLtzMbXZcqODeUGceVI0= =HBXj -END PGP SIGNATURE-
Re: configure conundrum
On 14/03/2012 7:45 a.m., Julien Rioux wrote: On 07/03/2012 3:00 AM, Jean-Marc Lasgouttes wrote: Le 07/03/2012 05:04, Andrew Parsloe a écrit : (Most of my posts should really go to a tinkerers' list -- lyx-tin...@lists.org? -- for matters lying between the developers' list and the users' list.) When I reconfigure LyX and then look at the configure log, I find LyX has, among others, checked for and not found inkscape, gnumeric, firefox, mozilla, ghostview, acrobat, acroreader, abiword, oowriter, yet all these programs are installed on my computer. As far as I'm aware there's no special permissions or access restrictions that might make them invisible. The program are searched in your PATH, which makes sense mostly for linux/unix. For all programs used as viewers, this is not a problem, since windows has other means to associate files to viewers. However, for converters like inkscape, it may make a difference. JMarc Let me add that you can add the paths to useful executable such as inkscape from within LyX, using the menu Tools Preferences Paths then edit the PATH prefix, and reconfigure LyX. Cheers, Julien Yes, I've since done this for my favoured text editor (understandably *not* notepad, which is the one text editor that LyX finds). Andrew
Re: configure conundrum
On 14/03/2012 7:45 a.m., Julien Rioux wrote: On 07/03/2012 3:00 AM, Jean-Marc Lasgouttes wrote: Le 07/03/2012 05:04, Andrew Parsloe a écrit : (Most of my posts should really go to a tinkerers' list -- lyx-tin...@lists.org? -- for matters lying between the developers' list and the users' list.) When I reconfigure LyX and then look at the configure log, I find LyX has, among others, checked for and not found inkscape, gnumeric, firefox, mozilla, ghostview, acrobat, acroreader, abiword, oowriter, yet all these programs are installed on my computer. As far as I'm aware there's no special permissions or access restrictions that might make them invisible. The program are searched in your PATH, which makes sense mostly for linux/unix. For all programs used as viewers, this is not a problem, since windows has other means to associate files to viewers. However, for converters like inkscape, it may make a difference. JMarc Let me add that you can add the paths to useful executable such as inkscape from within LyX, using the menu Tools Preferences Paths then edit the PATH prefix, and reconfigure LyX. Cheers, Julien Yes, I've since done this for my favoured text editor (understandably *not* notepad, which is the one text editor that LyX finds). Andrew
Re: configure conundrum
On 14/03/2012 7:45 a.m., Julien Rioux wrote: On 07/03/2012 3:00 AM, Jean-Marc Lasgouttes wrote: Le 07/03/2012 05:04, Andrew Parsloe a écrit : (Most of my posts should really go to a tinkerers' list -- lyx-tin...@lists.org? -- for matters lying between the developers' list and the users' list.) When I reconfigure LyX and then look at the configure log, I find LyX has, among others, checked for and not found inkscape, gnumeric, firefox, mozilla, ghostview, acrobat, acroreader, abiword, oowriter, yet all these programs are installed on my computer. As far as I'm aware there's no special permissions or access restrictions that might make them invisible. The program are searched in your PATH, which makes sense mostly for linux/unix. For all programs used as viewers, this is not a problem, since windows has other means to associate files to viewers. However, for converters like inkscape, it may make a difference. JMarc Let me add that you can add the paths to useful executable such as inkscape from within LyX, using the menu Tools > Preferences > Paths > then edit the PATH prefix, and reconfigure LyX. Cheers, Julien Yes, I've since done this for my favoured text editor (understandably *not* notepad, which is the one text editor that LyX finds). Andrew
Re: configure lyx and layouts with texlive
On 2011-06-24, Terrance Wickman wrote: I am using lyx 2.0. I have installed all packages and files from texlive 2011 (2000 something of them). I am using the fedora stack of both of them. The latex styles and classes are in my /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I have set the path in lyx to /usr/share/texlive/ Then reconfigured, and rescanned the tex information several times. Did you also check, whether they are found by LaTeX (e.g. running a minimal latex document by hand or with kpseawich the package? lyx shows the latex classes and styles I need in the tex information. It does not however show the layouts that I have them for. Does this mean the layout files shipped with lyx or additional ones (downloaded from the wiki or home-made)? Where are your layout files stored? With most Unix-based systems, private layouts and modules should be in ~/.lyx/layouts (HelpAbout shows the LYXDIR). Such as chess still shows up as unavailable. I don't need chess, I need other ones such as apae6. I have about 100 latex classes that I would like to use, but are unavailable in lyx. LyX only supports a (compared to CTAN) small subset of popular LaTeX classes and packages. Rule of thumb: * if it is grey in the class selection drop-down box, the latex class is missing (or not found). * if it does not turn up in the menus, the LyX layout (or module) is missing (or not found). I have used the wiki to add apae6.layout. It works but others do not. This is cumbersome, and several latex classes to do not report the origin of their .cls file (ie article or book and such) and so when I manually add the .layout file to lyx, lyx cannot understand it. Can I automate the process of adding the latex classes to lyx and having .layout files created or at least having them made available? Writing a script for generating LyX layouts (or layout templates) might be a task worth considering. I don't know of an existing solution, though. Günter
Re: configure lyx and layouts with texlive
On 2011-06-24, Terrance Wickman wrote: I am using lyx 2.0. I have installed all packages and files from texlive 2011 (2000 something of them). I am using the fedora stack of both of them. The latex styles and classes are in my /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I have set the path in lyx to /usr/share/texlive/ Then reconfigured, and rescanned the tex information several times. Did you also check, whether they are found by LaTeX (e.g. running a minimal latex document by hand or with kpseawich the package? lyx shows the latex classes and styles I need in the tex information. It does not however show the layouts that I have them for. Does this mean the layout files shipped with lyx or additional ones (downloaded from the wiki or home-made)? Where are your layout files stored? With most Unix-based systems, private layouts and modules should be in ~/.lyx/layouts (HelpAbout shows the LYXDIR). Such as chess still shows up as unavailable. I don't need chess, I need other ones such as apae6. I have about 100 latex classes that I would like to use, but are unavailable in lyx. LyX only supports a (compared to CTAN) small subset of popular LaTeX classes and packages. Rule of thumb: * if it is grey in the class selection drop-down box, the latex class is missing (or not found). * if it does not turn up in the menus, the LyX layout (or module) is missing (or not found). I have used the wiki to add apae6.layout. It works but others do not. This is cumbersome, and several latex classes to do not report the origin of their .cls file (ie article or book and such) and so when I manually add the .layout file to lyx, lyx cannot understand it. Can I automate the process of adding the latex classes to lyx and having .layout files created or at least having them made available? Writing a script for generating LyX layouts (or layout templates) might be a task worth considering. I don't know of an existing solution, though. Günter
Re: configure lyx and layouts with texlive
On 2011-06-24, Terrance Wickman wrote: > I am using lyx 2.0. I have installed all packages and files from texlive > 2011 (2000 something of them). I am using the fedora stack of both of > them. The latex styles and classes are in my > /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I > have set the path in lyx to /usr/share/texlive/ Then reconfigured, and > rescanned the tex information several times. Did you also check, whether they are found by LaTeX (e.g. running a minimal latex document "by hand" or with kpseawich ? > lyx shows the latex classes > and styles I need in the tex information. It does not however show the > layouts that I have them for. Does this mean the layout files shipped with lyx or additional ones (downloaded from the wiki or home-made)? Where are your layout files stored? With most Unix-based systems, private layouts and modules should be in ~/.lyx/layouts (Help>About shows the LYXDIR). > Such as chess still shows up as unavailable. I don't need chess, I > need other ones such as apae6. I have about 100 latex classes that I > would like to use, but are unavailable in lyx. LyX only supports a (compared to CTAN) small subset of popular LaTeX classes and packages. Rule of thumb: * if it is grey in the class selection drop-down box, the latex class is missing (or not found). * if it does not turn up in the menus, the LyX layout (or module) is missing (or not found). > I have used the wiki to add apae6.layout. It works but others do not. > This is cumbersome, and several latex classes to do not report the > origin of their .cls file (ie article or book and such) and so when I > manually add the .layout file to lyx, lyx cannot understand it. Can I > automate the process of adding the latex classes to lyx and having > .layout files created or at least having them made available? Writing a script for generating LyX layouts (or layout templates) might be a task worth considering. I don't know of an existing solution, though. Günter
configure lyx and layouts with texlive
Dear all, I am using lyx 2.0. I have installed all packages and files from texlive 2011 (2000 something of them). I am using the fedora stack of both of them. The latex styles and classes are in my /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I have set the path in lyx to /usr/share/texlive/ Then reconfigured, and rescanned the tex information several times. lyx shows the latex classes and styles I need in the tex information. It does not however show the layouts that I have them for. Such as chess still shows up as unavailable. I don't need chess, I need other ones such as apae6. I have about 100 latex classes that I would like to use, but are unavailable in lyx. I have used the wiki to add apae6.layout. It works but others do not. This is cumbersome, and several latex classes to do not report the origin of their .cls file (ie article or book and such) and so when I manually add the .layout file to lyx, lyx cannot understand it. Can I automate the process of adding the latex classes to lyx and having .layout files created or at least having them made available? Sincerely, Terrance -- Using Opera's revolutionary email client: http://www.opera.com/mail/
configure lyx and layouts with texlive
Dear all, I am using lyx 2.0. I have installed all packages and files from texlive 2011 (2000 something of them). I am using the fedora stack of both of them. The latex styles and classes are in my /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I have set the path in lyx to /usr/share/texlive/ Then reconfigured, and rescanned the tex information several times. lyx shows the latex classes and styles I need in the tex information. It does not however show the layouts that I have them for. Such as chess still shows up as unavailable. I don't need chess, I need other ones such as apae6. I have about 100 latex classes that I would like to use, but are unavailable in lyx. I have used the wiki to add apae6.layout. It works but others do not. This is cumbersome, and several latex classes to do not report the origin of their .cls file (ie article or book and such) and so when I manually add the .layout file to lyx, lyx cannot understand it. Can I automate the process of adding the latex classes to lyx and having .layout files created or at least having them made available? Sincerely, Terrance -- Using Opera's revolutionary email client: http://www.opera.com/mail/
configure lyx and layouts with texlive
Dear all, I am using lyx 2.0. I have installed all packages and files from texlive 2011 (2000 something of them). I am using the fedora stack of both of them. The latex styles and classes are in my /usr/share/texlive/texmf-dist/ folder. I have texhash several times. I have set the path in lyx to /usr/share/texlive/ Then reconfigured, and rescanned the tex information several times. lyx shows the latex classes and styles I need in the tex information. It does not however show the layouts that I have them for. Such as chess still shows up as unavailable. I don't need chess, I need other ones such as apae6. I have about 100 latex classes that I would like to use, but are unavailable in lyx. I have used the wiki to add apae6.layout. It works but others do not. This is cumbersome, and several latex classes to do not report the origin of their .cls file (ie article or book and such) and so when I manually add the .layout file to lyx, lyx cannot understand it. Can I automate the process of adding the latex classes to lyx and having .layout files created or at least having them made available? Sincerely, Terrance -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: '** qt 4 library not found !' configure error
I can´t get that my debian lenny find my new qt libs installed. How I can to use pkg-config for get it? Do you have 'pkg-config' installed? Normally it should work automatically. Otherwise, did you try '--with-qt4-dir=/usr/share/qt4/'? Liviu I have installed pkg-config but I don´t know how to use it. I try with '--with-qt4-dir=/usr/share/qt4/' but this work fine with lyx 1.6.7 but not with 2.0 alpha. With 2.O I can compile it without error but I can´t run it. Marcelo
Re: '** qt 4 library not found !' configure error
2010/10/16 Marcelo Acuña mv...@yahoo.com.ar: I have installed pkg-config but I don´t know how to use it. I try with '--with-qt4-dir=/usr/share/qt4/' but this work fine with lyx 1.6.7 but not with 2.0 alpha. With 2.O I can compile it without error but I can´t run it. You give us very little information. What does ./configure report at the end? What error do you get when you run lyx 2.0 alpha? Are you using different profile dirs for 1.6 and 2.0, as in './configure --with-version-suffix=-svn --enable-build-type=release'? Liviu
Re: '** qt 4 library not found !' configure error
I have installed pkg-config but I don´t know how to use it. I try with '--with-qt4-dir=/usr/share/qt4/' but this work fine with lyx 1.6.7 but not with 2.0 alpha. With 2.O I can compile it without error but I can´t run it. You give us very little information. What does ./configure report at the end? What error do you get when you run lyx 2.0 alpha? lyx-2.0a5: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory Are you using different profile dirs for 1.6 and 2.0, as in './configure no --with-version-suffix=-svn --enable-build-type=release'? Liviu for --with-version-suffix= I put -1.6.7 or 2.0an and I not use --enable-build-type=release Marcelo
Re: '** qt 4 library not found !' configure error
I can´t get that my debian lenny find my new qt libs installed. How I can to use pkg-config for get it? Do you have 'pkg-config' installed? Normally it should work automatically. Otherwise, did you try '--with-qt4-dir=/usr/share/qt4/'? Liviu I have installed pkg-config but I don´t know how to use it. I try with '--with-qt4-dir=/usr/share/qt4/' but this work fine with lyx 1.6.7 but not with 2.0 alpha. With 2.O I can compile it without error but I can´t run it. Marcelo
Re: '** qt 4 library not found !' configure error
2010/10/16 Marcelo Acuña mv...@yahoo.com.ar: I have installed pkg-config but I don´t know how to use it. I try with '--with-qt4-dir=/usr/share/qt4/' but this work fine with lyx 1.6.7 but not with 2.0 alpha. With 2.O I can compile it without error but I can´t run it. You give us very little information. What does ./configure report at the end? What error do you get when you run lyx 2.0 alpha? Are you using different profile dirs for 1.6 and 2.0, as in './configure --with-version-suffix=-svn --enable-build-type=release'? Liviu
Re: '** qt 4 library not found !' configure error
I have installed pkg-config but I don´t know how to use it. I try with '--with-qt4-dir=/usr/share/qt4/' but this work fine with lyx 1.6.7 but not with 2.0 alpha. With 2.O I can compile it without error but I can´t run it. You give us very little information. What does ./configure report at the end? What error do you get when you run lyx 2.0 alpha? lyx-2.0a5: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory Are you using different profile dirs for 1.6 and 2.0, as in './configure no --with-version-suffix=-svn --enable-build-type=release'? Liviu for --with-version-suffix= I put -1.6.7 or 2.0an and I not use --enable-build-type=release Marcelo
Re: '** qt 4 library not found !' configure error
> > I can´t get that my debian lenny find my new qt libs > installed. > > How I can to use pkg-config for get it? > > > Do you have 'pkg-config' installed? Normally it should > work > automatically. Otherwise, did you try > '--with-qt4-dir=/usr/share/qt4/'? > Liviu I have installed pkg-config but I don´t know how to use it. I try with '--with-qt4-dir=/usr/share/qt4/' but this work fine with lyx 1.6.7 but not with 2.0 alpha. With 2.O I can compile it without error but I can´t run it. Marcelo
Re: '** qt 4 library not found !' configure error
2010/10/16 Marcelo Acuña <mv...@yahoo.com.ar>: > I have installed pkg-config but I don´t know how to use it. > I try with '--with-qt4-dir=/usr/share/qt4/' but this work fine with lyx 1.6.7 > but not with 2.0 alpha. > With 2.O I can compile it without error but I can´t run it. > You give us very little information. What does ./configure report at the end? What error do you get when you run lyx 2.0 alpha? Are you using different profile dirs for 1.6 and 2.0, as in './configure --with-version-suffix=-svn --enable-build-type=release'? Liviu
Re: '** qt 4 library not found !' configure error
> > I have installed pkg-config but I don´t know how to > use it. > > I try with '--with-qt4-dir=/usr/share/qt4/' but this > work fine with lyx 1.6.7 but not with 2.0 alpha. > > With 2.O I can compile it without error but I can´t > run it. > You give us very little information. What does ./configure > report at > the end? What error do you get when you run lyx 2.0 alpha? lyx-2.0a5: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory > Are you > using different profile dirs for 1.6 and 2.0, as in > './configure no > --with-version-suffix=-svn --enable-build-type=release'? > Liviu for --with-version-suffix= I put -1.6.7 or 2.0an and I not use --enable-build-type=release Marcelo
Re: '** qt 4 library not found !' configure error
The trick is to install pkgconfig. With that, configure will automatically find the correct location for Qt. Indeed. It's pkg-config on Debian-based, and it wasn't installed. I can´t get that my debian lenny find my new qt libs installed. How I can to use pkg-config for get it? Marcelo
Re: '** qt 4 library not found !' configure error
2010/10/15 Marcelo Acuña mv...@yahoo.com.ar: I can´t get that my debian lenny find my new qt libs installed. How I can to use pkg-config for get it? Do you have 'pkg-config' installed? Normally it should work automatically. Otherwise, did you try '--with-qt4-dir=/usr/share/qt4/'? Regards Liviu
Re: '** qt 4 library not found !' configure error
The trick is to install pkgconfig. With that, configure will automatically find the correct location for Qt. Indeed. It's pkg-config on Debian-based, and it wasn't installed. I can´t get that my debian lenny find my new qt libs installed. How I can to use pkg-config for get it? Marcelo
Re: '** qt 4 library not found !' configure error
2010/10/15 Marcelo Acuña mv...@yahoo.com.ar: I can´t get that my debian lenny find my new qt libs installed. How I can to use pkg-config for get it? Do you have 'pkg-config' installed? Normally it should work automatically. Otherwise, did you try '--with-qt4-dir=/usr/share/qt4/'? Regards Liviu
Re: '** qt 4 library not found !' configure error
> > The trick is to install pkgconfig. With that, > configure will > > automatically find the correct location for Qt. > > > Indeed. It's pkg-config on Debian-based, and it wasn't > installed. I can´t get that my debian lenny find my new qt libs installed. How I can to use pkg-config for get it? Marcelo
Re: '** qt 4 library not found !' configure error
2010/10/15 Marcelo Acuña: > I can´t get that my debian lenny find my new qt libs installed. > How I can to use pkg-config for get it? > Do you have 'pkg-config' installed? Normally it should work automatically. Otherwise, did you try '--with-qt4-dir=/usr/share/qt4/'? Regards Liviu
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 19:43, Liviu Andronic a écrit : Some server-side problems. I put in in a pastebin [1]. [1] http://pastebin.com/gJ1pXSyp The trick is to install pkgconfig. With that, configure will automatically find the correct location for Qt. JMarc
Re: '** qt 4 library not found !' configure error
On Tue, Sep 28, 2010 at 3:00 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: The trick is to install pkgconfig. With that, configure will automatically find the correct location for Qt. Indeed. It's pkg-config on Debian-based, and it wasn't installed. Now ./configure finishes successfully. I'll include this in the patch to INSTALL file. Liviu
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 19:43, Liviu Andronic a écrit : Some server-side problems. I put in in a pastebin [1]. [1] http://pastebin.com/gJ1pXSyp The trick is to install pkgconfig. With that, configure will automatically find the correct location for Qt. JMarc
Re: '** qt 4 library not found !' configure error
On Tue, Sep 28, 2010 at 3:00 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: The trick is to install pkgconfig. With that, configure will automatically find the correct location for Qt. Indeed. It's pkg-config on Debian-based, and it wasn't installed. Now ./configure finishes successfully. I'll include this in the patch to INSTALL file. Liviu
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 19:43, Liviu Andronic a écrit : Some server-side problems. I put in in a pastebin [1]. [1] http://pastebin.com/gJ1pXSyp The trick is to install pkgconfig. With that, configure will automatically find the correct location for Qt. JMarc
Re: '** qt 4 library not found !' configure error
On Tue, Sep 28, 2010 at 3:00 AM, Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote: > The trick is to install pkgconfig. With that, configure will > automatically find the correct location for Qt. > Indeed. It's pkg-config on Debian-based, and it wasn't installed. Now ./configure finishes successfully. I'll include this in the patch to INSTALL file. Liviu
'** qt 4 library not found !' configure error
Dear all I'm trying to build LyX alpha6 on a Xubuntu Lucid Virtual Machine (VMware). The configure fails with this message: Configuration Host type:i686-pc-linux-gnu Special build flags: concept-checks assertions warnings use-hunspell C Compiler: gcc C Compiler LyX flags: C Compiler flags: -Wextra -Wall-g -O2 C++ Compiler: g++ (4.4.3) C++ Compiler LyX flags: C++ Compiler flags: -Wextra -Wall-g -O2 Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: Packaging:posix LyX binary dir: /usr/local/bin LyX files dir:/usr/local/share/lyx The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** qt 4 library not found ! As far as I'm concerned I installed all teh necessary qt4 libraries, particularly libqt4-dev version 4:4.6.2-0ubuntu5.1. The system is up-to-date, and LyX 1.6.7 runs just fine. I also tried to ./configure --with-qt4-dir=/usr/share/qt4/lib/ but it ends the same. The var r...@ubuntu:/home/liv/Build/lyx-2.0.0alpha6# env | grep -i qtdir returns nothing, although I'm not sure what to set it to. Ideas? Thank you Liviu -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 15:24, Liviu Andronic a écrit : Dear all ** qt 4 library not found ! As far as I'm concerned I installed all teh necessary qt4 libraries, particularly libqt4-dev version 4:4.6.2-0ubuntu5.1. The system is up-to-date, and LyX 1.6.7 runs just fine. I also tried to ./configure --with-qt4-dir=/usr/share/qt4/lib/ The answer is probably in config.log. Can you send it? JMarc
Re: '** qt 4 library not found !' configure error
On Mon, Sep 27, 2010 at 6:30 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: The answer is probably in config.log. Can you send it? Please find it at this link. http://s000.tinyupload.com/index.php?file_id=00958035189765398545 Liviu
Re: '** qt 4 library not found !' configure error
Am 27.09.2010 um 15:24 schrieb Liviu Andronic: Dear all I'm trying to build LyX alpha6 on a Xubuntu Lucid Virtual Machine (VMware). The configure fails with this message: As far as I'm concerned I installed all teh necessary qt4 libraries, particularly libqt4-dev version 4:4.6.2-0ubuntu5.1. The system is up-to-date, and LyX 1.6.7 runs just fine. I also tried to ./configure --with-qt4-dir=/usr/share/qt4/lib/ Does it work with ./configure -with-qt4-dir=/usr/share/qt4 ?? Stephan
Re: '** qt 4 library not found !' configure error
On Mon, Sep 27, 2010 at 5:08 PM, Stephan Witt st.w...@gmx.net wrote: Does it work with ./configure -with-qt4-dir=/usr/share/qt4 ?? It works! THanks a lot. Devels: would it possible to improve the INSTALL file so that it contains an example of qt dir path? FOr example, [..] 1) ./configure configures LyX according to your system. You may have to set --with-qt4-dir=path-to-your-qt4-installation if the environment variable QTDIR is not set (for exmaple, '--with-qt4-dir=/usr/share/qt4/'). See Note below if ./configure script is not present. [..] Regards Liviu
Re: '** qt 4 library not found !' configure error
Liviu Andronic wrote: Devels: would it possible to improve the INSTALL file so that it contains an example of qt dir path? FOr example, you are also devel, so please send us patch :) pavel
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 15:43, Liviu Andronic a écrit : On Mon, Sep 27, 2010 at 6:30 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: The answer is probably in config.log. Can you send it? Please find it at this link. http://s000.tinyupload.com/index.php?file_id=00958035189765398545 What happens if you just use ./configure without any qt4 option? It works well here on Karmic and Lucid. JMarc
Re: '** qt 4 library not found !' configure error
On Mon, Sep 27, 2010 at 5:44 PM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: What happens if you just use ./configure without any qt4 option? It works well here on Karmic and Lucid. It gives the same error as in the original post, for both alpha5 and 6. (Should I send the config.log?) I am suspecting that this is something peculiar to VMware and its Ubuntu installation. When I installed Xubuntu Lucid on my netbook I had no issues configuring the alphas. Regards Liviu
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 17:15, Liviu Andronic a écrit : On Mon, Sep 27, 2010 at 5:44 PM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: What happens if you just use ./configure without any qt4 option? It works well here on Karmic and Lucid. It gives the same error as in the original post, for both alpha5 and 6. (Should I send the config.log?) Yes, please send the config.log. I am curious to see what the problem is. JMarc
Re: '** qt 4 library not found !' configure error
On Mon, Sep 27, 2010 at 9:07 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Yes, please send the config.log. I am curious to see what the problem is. Here it is http://s000.tinyupload.com/index.php?file_id=70017198987073427584 It's the result of the following r...@ubuntu:/home/liv/Build/lyx-2.0.0alpha6# ./configure The variable QTDIR is not defined r...@ubuntu:/home/liv/Build/lyx-2.0.0alpha6# env | grep -i qtdir r...@ubuntu:/home/liv/Build/lyx-2.0.0alpha6# env | grep -i dir The installation is on a Xubuntu 10.04 32 bit on a VMware Virtual Machine inside Win 7. Fresh install and packages up to date. Regards Liviu
Re: '** qt 4 library not found !' configure error
Liviu Andronic wrote: On Mon, Sep 27, 2010 at 9:07 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Yes, please send the config.log. I am curious to see what the problem is. Here it is http://s000.tinyupload.com/index.php?file_id=70017198987073427584 i see only zero size file. btw does ubuntu have wgetpaste package? its much more convenient. you just run wgetspate config.log and obtain url. file can be directly viewed without need to download anything... iirc there was also need to download qt-dev packages if want to compile something qt-related under buntu/debian. pavel
Re: '** qt 4 library not found !' configure error
On Mon, Sep 27, 2010 at 9:42 AM, Pavel Sanda sa...@lyx.org wrote: Here it is http://s000.tinyupload.com/index.php?file_id=70017198987073427584 i see only zero size file. Some server-side problems. I put in in a pastebin [1]. [1] http://pastebin.com/gJ1pXSyp btw does ubuntu have wgetpaste package? its much more convenient. you just run wgetspate config.log and obtain url. file can be directly viewed without need to download anything... It would be convenient indeed, but there's no .deb and I don't feel like messing with the sources. iirc there was also need to download qt-dev packages if want to compile something qt-related under buntu/debian. The libqt4-dev was installed prior to ./configure. Regards Liviu
Re: '** qt 4 library not found !' configure error
Liviu Andronic wrote: On Mon, Sep 27, 2010 at 9:42 AM, Pavel Sanda sa...@lyx.org wrote: Here it is http://s000.tinyupload.com/index.php?file_id=70017198987073427584 i see only zero size file. Some server-side problems. I put in in a pastebin [1]. [1] http://pastebin.com/gJ1pXSyp these are the interesting lines g++ -o conftest -g -O2 -Wextra -Wall conftest.cpp-lz -lX11 -lQtCore -lQtGui 5 conftest.cpp:28:22: error: qglobal.h: No such file or directory conftest.cpp:29:22: error: qstring.h: No such file or directory pavel
Re: '** qt 4 library not found !' configure error
Am Montag 27 September 2010 schrieb Pavel Sanda: Liviu Andronic wrote: On Mon, Sep 27, 2010 at 9:42 AM, Pavel Sanda sa...@lyx.org wrote: Here it is http://s000.tinyupload.com/index.php?file_id=70017198987073427584 i see only zero size file. Some server-side problems. I put in in a pastebin [1]. [1] http://pastebin.com/gJ1pXSyp these are the interesting lines g++ -o conftest -g -O2 -Wextra -Wall conftest.cpp-lz -lX11 -lQtCore -lQtGui 5 conftest.cpp:28:22: error: qglobal.h: No such file or directory conftest.cpp:29:22: error: qstring.h: No such file or directory pavel Both are part of libqt4-dev. ... /usr/include/qt4/Qt/qglobal.h /usr/include/qt4/QtCore/qglobal.h /usr/include/qt4/Qt/qstring.h /usr/include/qt4/QtCore/qstring.h Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
'** qt 4 library not found !' configure error
Dear all I'm trying to build LyX alpha6 on a Xubuntu Lucid Virtual Machine (VMware). The configure fails with this message: Configuration Host type:i686-pc-linux-gnu Special build flags: concept-checks assertions warnings use-hunspell C Compiler: gcc C Compiler LyX flags: C Compiler flags: -Wextra -Wall-g -O2 C++ Compiler: g++ (4.4.3) C++ Compiler LyX flags: C++ Compiler flags: -Wextra -Wall-g -O2 Linker flags: Linker user flags: Qt 4 Frontend: Qt 4 version: Packaging:posix LyX binary dir: /usr/local/bin LyX files dir:/usr/local/share/lyx The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** qt 4 library not found ! As far as I'm concerned I installed all teh necessary qt4 libraries, particularly libqt4-dev version 4:4.6.2-0ubuntu5.1. The system is up-to-date, and LyX 1.6.7 runs just fine. I also tried to ./configure --with-qt4-dir=/usr/share/qt4/lib/ but it ends the same. The var r...@ubuntu:/home/liv/Build/lyx-2.0.0alpha6# env | grep -i qtdir returns nothing, although I'm not sure what to set it to. Ideas? Thank you Liviu -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 15:24, Liviu Andronic a écrit : Dear all ** qt 4 library not found ! As far as I'm concerned I installed all teh necessary qt4 libraries, particularly libqt4-dev version 4:4.6.2-0ubuntu5.1. The system is up-to-date, and LyX 1.6.7 runs just fine. I also tried to ./configure --with-qt4-dir=/usr/share/qt4/lib/ The answer is probably in config.log. Can you send it? JMarc
Re: '** qt 4 library not found !' configure error
On Mon, Sep 27, 2010 at 6:30 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: The answer is probably in config.log. Can you send it? Please find it at this link. http://s000.tinyupload.com/index.php?file_id=00958035189765398545 Liviu
Re: '** qt 4 library not found !' configure error
Am 27.09.2010 um 15:24 schrieb Liviu Andronic: Dear all I'm trying to build LyX alpha6 on a Xubuntu Lucid Virtual Machine (VMware). The configure fails with this message: As far as I'm concerned I installed all teh necessary qt4 libraries, particularly libqt4-dev version 4:4.6.2-0ubuntu5.1. The system is up-to-date, and LyX 1.6.7 runs just fine. I also tried to ./configure --with-qt4-dir=/usr/share/qt4/lib/ Does it work with ./configure -with-qt4-dir=/usr/share/qt4 ?? Stephan
Re: '** qt 4 library not found !' configure error
On Mon, Sep 27, 2010 at 5:08 PM, Stephan Witt st.w...@gmx.net wrote: Does it work with ./configure -with-qt4-dir=/usr/share/qt4 ?? It works! THanks a lot. Devels: would it possible to improve the INSTALL file so that it contains an example of qt dir path? FOr example, [..] 1) ./configure configures LyX according to your system. You may have to set --with-qt4-dir=path-to-your-qt4-installation if the environment variable QTDIR is not set (for exmaple, '--with-qt4-dir=/usr/share/qt4/'). See Note below if ./configure script is not present. [..] Regards Liviu
Re: '** qt 4 library not found !' configure error
Liviu Andronic wrote: Devels: would it possible to improve the INSTALL file so that it contains an example of qt dir path? FOr example, you are also devel, so please send us patch :) pavel
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 15:43, Liviu Andronic a écrit : On Mon, Sep 27, 2010 at 6:30 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: The answer is probably in config.log. Can you send it? Please find it at this link. http://s000.tinyupload.com/index.php?file_id=00958035189765398545 What happens if you just use ./configure without any qt4 option? It works well here on Karmic and Lucid. JMarc
Re: '** qt 4 library not found !' configure error
On Mon, Sep 27, 2010 at 5:44 PM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: What happens if you just use ./configure without any qt4 option? It works well here on Karmic and Lucid. It gives the same error as in the original post, for both alpha5 and 6. (Should I send the config.log?) I am suspecting that this is something peculiar to VMware and its Ubuntu installation. When I installed Xubuntu Lucid on my netbook I had no issues configuring the alphas. Regards Liviu
Re: '** qt 4 library not found !' configure error
Le 27/09/2010 17:15, Liviu Andronic a écrit : On Mon, Sep 27, 2010 at 5:44 PM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: What happens if you just use ./configure without any qt4 option? It works well here on Karmic and Lucid. It gives the same error as in the original post, for both alpha5 and 6. (Should I send the config.log?) Yes, please send the config.log. I am curious to see what the problem is. JMarc