On Wed, 29 Oct 2003, Angus Leeming wrote:
Fantastic effort!
That should be said with irony, since I had no idea what I was doing...
However, the stuff within the LaTeXblock looks wrong.
1. Is the UpdateResult really $$Basename.pstex_t?
that's what I mean... my brain was seriously fuddled
On Wed, 29 Oct 2003, Angus Leeming wrote:
Christian Ridderström wrote:
On Thu, 23 Oct 2003, Angus Leeming wrote:
http://wiki.lyx.org/pmwiki.php/ExternalTemplates/ExternalTemplates
Well I've made a start, but really I think that this info should go in
the external_templates file
Christian Ridderström wrote:
that's what I mean... my brain was seriously fuddled when I did
However, this patch has been tested with an tgif-figure.
The template allows:
- Viewing in LyX
- View DVI
- View PDF
- View PdfLaTeX
with a small caveat:
The size of the figure will be
On Wed, 29 Oct 2003, Angus Leeming wrote:
> Fantastic effort!
That should be said with irony, since I had no idea what I was doing...
> However, the stuff within the LaTeXblock looks wrong.
> 1. Is the UpdateResult really "$$Basename.pstex_t"?
that's what I mean... my brain was seriously
On Wed, 29 Oct 2003, Angus Leeming wrote:
> Christian Ridderström wrote:
>
> > On Thu, 23 Oct 2003, Angus Leeming wrote:
> >
> http://wiki.lyx.org/pmwiki.php/ExternalTemplates/ExternalTemplates
>
> Well I've made a start, but really I think that this info should go in
> the external_templates
Christian Ridderström wrote:
> that's what I mean... my brain was seriously fuddled when I did
> However, this patch has been tested with an tgif-figure.
>
> The template allows:
> - Viewing in LyX
> - View DVI
> - View PDF
> - View PdfLaTeX
>
> with a small caveat:
> The size of the
This patch allows me to see external tgif insets on screen and as dvi.
An annoying problem was that you are not allowed to have comments inside
items... i.e. it breaks if you have something like:
Template Tgif
# a comment
GuiName Tgif: $$Basename
...
/Christian
--
Christian
Christian Ridderström wrote:
This patch allows me to see external tgif insets on screen and as
dvi.
Fantastic effort!
However, the stuff within the LaTeXblock looks wrong.
1. Is the UpdateResult really $$Basename.pstex_t?
2. '\input' doesn't require 'InputOrWarn' or 'WarnNotFound'.
On Thu, 23 Oct 2003, Angus Leeming wrote:
I guess that one of these templates needs extensive in-place
documentation (to act as a template for the template?)
I created an area where you can add some documentation/comments on the
templates...
Christian Ridderström wrote:
On Thu, 23 Oct 2003, Angus Leeming wrote:
I guess that one of these templates needs extensive in-place
documentation (to act as a template for the template?)
I created an area where you can add some documentation/comments on
the templates...
On Wed, 29 Oct 2003, Angus Leeming wrote:
Well I've made a start, but really I think that this info should go in
the external_templates file itself.
Oh, I agree, but since I couldn't get comments inside a template that
seemed difficult right now...
/Christian
--
Christian Ridderström
This patch allows me to see external tgif insets on screen and as dvi.
An annoying problem was that you are not allowed to have comments inside
items... i.e. it breaks if you have something like:
Template Tgif
# a comment
GuiName "Tgif: $$Basename"
...
/Christian
--
Christian
Christian Ridderström wrote:
> This patch allows me to see external tgif insets on screen and as
> dvi.
Fantastic effort!
However, the stuff within the LaTeXblock looks wrong.
1. Is the UpdateResult really "$$Basename.pstex_t"?
2. '\input' doesn't require 'InputOrWarn' or 'WarnNotFound'.
On Thu, 23 Oct 2003, Angus Leeming wrote:
> I guess that one of these templates needs extensive in-place
> documentation (to act as a template for the template?)
I created an area where you can add some documentation/comments on the
templates...
Christian Ridderström wrote:
> On Thu, 23 Oct 2003, Angus Leeming wrote:
>
>> I guess that one of these templates needs extensive in-place
>> documentation (to act as a template for the template?)
>
> I created an area where you can add some documentation/comments on
> the templates...
>
>
On Wed, 29 Oct 2003, Angus Leeming wrote:
> Well I've made a start, but really I think that this info should go in
> the external_templates file itself.
Oh, I agree, but since I couldn't get comments inside a template that
seemed difficult right now...
/Christian
--
Christian Ridderström
On Thu, 23 Oct 2003, Angus Leeming wrote:
Garst R. Reese wrote:
Looks like a good candidate for examples to show how you did that :)
No more than
* create a figure using xfig.
* open LyX.
* open the preferences dialog, turn on preview generation.
I did the following, is that what you
Christian Ridderström wrote:
I did the following, is that what you meant?
Preferences-LookFeel/Misc-Instant_Preview=On
* new file.
* Insert-File-External Material
Select the xfig template
choose the file
select the display in LyX checkbutton
set the
On Thu, 23 Oct 2003, Angus Leeming wrote:
> Garst R. Reese wrote:
>
> > Looks like a good candidate for examples to show how you did that :)
>
> No more than
> * create a figure using xfig.
> * open LyX.
> * open the preferences dialog, turn on preview generation.
I did the following, is that
Christian Ridderström wrote:
> I did the following, is that what you meant?
> Preferences->Look/Misc->Instant_Preview=On
>
>> * new file.
>> * Insert-File->External Material
>> Select the xfig template
>> choose the file
>> select the display in LyX checkbutton
>>
Garst R. Reese wrote:
Looks like a good candidate for examples to show how you did that :)
No more than
* create a figure using xfig.
* open LyX.
* open the preferences dialog, turn on preview generation.
* new file.
* Insert-File-External Material
Select the xfig template
On Thu, 23 Oct 2003, Angus Leeming wrote:
Garst R. Reese wrote:
Looks like a good candidate for examples to show how you did that :)
Maybe Garst is thinking about the External Material template?
I'm feeling an itch to see if I can get this working for TGif... is this
stuff comitted to
Christian Ridderström wrote:
Maybe Garst is thinking about the External Material template?
I'm feeling an itch to see if I can get this working for TGif... is
this stuff comitted to latest CVS?
Yes. See lib/external_templates for what you will need to write. I
guess that one of these
On Thu, 23 Oct 2003, Angus Leeming wrote:
No more than
* create a figure using xfig.
* open LyX.
* open the preferences dialog, turn on preview generation.
* new file.
* Insert-File-External Material
Select the xfig template
choose the file
select the display in
Christian Ridderström wrote:
On Thu, 23 Oct 2003, Angus Leeming wrote:
No more than
* create a figure using xfig.
* open LyX.
* open the preferences dialog, turn on preview generation.
* new file.
* Insert-File-External Material
Select the xfig template
choose the file
On Thu, 23 Oct 2003, Angus Leeming wrote:
Hmm... lyx-xforms crashes by just trying to insert an External Xfig
template (i.e. regardless of preview settings etc).
/Christian
--
Christian Ridderström http://www.md.kth.se/~chr
Christian Ridderström wrote:
On Thu, 23 Oct 2003, Angus Leeming wrote:
Hmm... lyx-xforms crashes by just trying to insert an External Xfig
template (i.e. regardless of preview settings etc).
Then I've f**ked up. Apologies for that. Does the same happen with
the Qt frontend? Do you have
On Thu, 23 Oct 2003, Angus Leeming wrote:
Christian Ridderström wrote:
Nope. Could you provide a backtrace?
Sure... how do I do that? (You don't mean debug the output of some
debug options I take it)
/Christian
--
Christian Ridderström http://www.md.kth.se/~chr
On Thu, Oct 23, 2003 at 12:20:11PM +0200, Christian Ridderström wrote:
On Thu, 23 Oct 2003, Angus Leeming wrote:
Christian Ridderström wrote:
Nope. Could you provide a backtrace?
Sure... how do I do that? (You don't mean debug the output of some
debug options I take it)
No.
The
Christian Ridderström wrote:
On Thu, 23 Oct 2003, Angus Leeming wrote:
Christian Ridderström wrote:
Nope. Could you provide a backtrace?
Sure... how do I do that? (You don't mean debug the output of some
debug options I take it)
Run lyx from within gdb.
$ cd $BUILD_TREE}/src
$ gdb
On Thu, 23 Oct 2003, Angus Leeming wrote:
Christian Ridderström wrote:
Hmm... lyx-xforms crashes by just trying to insert an External Xfig
template (i.e. regardless of preview settings etc).
Then I've f**ked up. Apologies for that. Does the same happen with
the Qt frontend? Do you
On Thu, 23 Oct 2003, Angus Leeming wrote:
Christian Ridderström wrote:
Nope. Could you provide a backtrace?
Is it the output of:
gdb --core=core
backtrace
that you want?
/Christian (who had compiled without debug information and is compiling
again)
--
Christian
Christian Ridderström wrote:
On Thu, 23 Oct 2003, Angus Leeming wrote:
Christian Ridderström wrote:
Nope. Could you provide a backtrace?
Is it the output of:
gdb --core=core
backtrace
that you want?
Its better to do it in-place rather than try and extract info from a
core.
Just to make it easier for the next person wondering how to produce a
backtrace...
Run lyx from within gdb.
$ cd ${BUILD_TREE}/src
$ gdb ./lyx-xforms
(gdb) r
[lyx is launched, make it crash.]
(gdb) bt
I've put these instructions here as well:
It would be best if you first turned off optimisation in the relevant
parts of the code. Eg
$ cd ${SOURCE_TREE}/src
$ (cd insets touch render_*.C insetexternal.C External*.C)
$ (cd frontends/xforms touch FormExternal.C forms/form_external.fd)
$ (cd frontends/qt2 touch QExternal.C
Christian Ridderström wrote:
On Thu, 23 Oct 2003, Angus Leeming wrote:
Christian Ridderström wrote:
Hmm... lyx-xforms crashes by just trying to insert an External
Xfig template (i.e. regardless of preview settings etc).
Then I've f**ked up. Apologies for that. Does the same happen
Christian Ridderström wrote:
$ cd ${SOURCE_TREE}/src
$ (cd insets touch render_*.C insetexternal.C External*.C)
$ (cd frontends/xforms touch FormExternal.C
forms/form_external.fd) $ (cd frontends/qt2 touch QExternal.C
ui/QExternal*.ui) $ make CXXFLAGS='-g -W -Wall'
Ok, I did the above,
Garst R. Reese wrote:
> Looks like a good candidate for examples to show how you did that :)
No more than
* create a figure using xfig.
* open LyX.
* open the preferences dialog, turn on preview generation.
* new file.
* Insert-File->External Material
Select the xfig template
On Thu, 23 Oct 2003, Angus Leeming wrote:
> Garst R. Reese wrote:
>
> > Looks like a good candidate for examples to show how you did that :)
>
Maybe Garst is thinking about the External Material template?
I'm feeling an itch to see if I can get this working for TGif... is this
stuff comitted
Christian Ridderström wrote:
> Maybe Garst is thinking about the External Material template?
>
> I'm feeling an itch to see if I can get this working for TGif... is
> this stuff comitted to latest CVS?
Yes. See lib/external_templates for what you will need to write. I
guess that one of these
On Thu, 23 Oct 2003, Angus Leeming wrote:
> No more than
> * create a figure using xfig.
> * open LyX.
> * open the preferences dialog, turn on preview generation.
> * new file.
> * Insert-File->External Material
> Select the xfig template
> choose the file
> select the
Christian Ridderström wrote:
> On Thu, 23 Oct 2003, Angus Leeming wrote:
>
>> No more than
>> * create a figure using xfig.
>> * open LyX.
>> * open the preferences dialog, turn on preview generation.
>> * new file.
>> * Insert-File->External Material
>> Select the xfig template
>>
On Thu, 23 Oct 2003, Angus Leeming wrote:
Hmm... lyx-xforms crashes by just trying to insert an External Xfig
template (i.e. regardless of preview settings etc).
/Christian
--
Christian Ridderström http://www.md.kth.se/~chr
Christian Ridderström wrote:
> On Thu, 23 Oct 2003, Angus Leeming wrote:
>
> Hmm... lyx-xforms crashes by just trying to insert an External Xfig
> template (i.e. regardless of preview settings etc).
Then I've f**ked up. Apologies for that. Does the same happen with
the Qt frontend? Do you
On Thu, 23 Oct 2003, Angus Leeming wrote:
> Christian Ridderström wrote:
>
> Nope. Could you provide a backtrace?
Sure... how do I do that? (You don't mean debug the output of some
debug options I take it)
/Christian
--
Christian Ridderström
On Thu, Oct 23, 2003 at 12:20:11PM +0200, Christian Ridderström wrote:
> On Thu, 23 Oct 2003, Angus Leeming wrote:
>
> > Christian Ridderström wrote:
> >
> > Nope. Could you provide a backtrace?
>
> Sure... how do I do that? (You don't mean debug the output of some
> debug options I take it)
Christian Ridderström wrote:
> On Thu, 23 Oct 2003, Angus Leeming wrote:
>
>> Christian Ridderström wrote:
>>
>> Nope. Could you provide a backtrace?
>
> Sure... how do I do that? (You don't mean debug the output of some
> debug options I take it)
Run lyx from within gdb.
$ cd
On Thu, 23 Oct 2003, Angus Leeming wrote:
> Christian Ridderström wrote:
> >
> > Hmm... lyx-xforms crashes by just trying to insert an External Xfig
> > template (i.e. regardless of preview settings etc).
>
> Then I've f**ked up. Apologies for that. Does the same happen with
> the Qt
On Thu, 23 Oct 2003, Angus Leeming wrote:
> Christian Ridderström wrote:
>
> Nope. Could you provide a backtrace?
Is it the output of:
gdb --core=core
backtrace
that you want?
/Christian (who had compiled without debug information and is compiling
again)
--
Christian
Christian Ridderström wrote:
> On Thu, 23 Oct 2003, Angus Leeming wrote:
>
>> Christian Ridderström wrote:
>>
>> Nope. Could you provide a backtrace?
>
> Is it the output of:
> gdb --core=core
> backtrace
> that you want?
Its better to do it in-place rather than try and extract info from a
Just to make it easier for the next person wondering how to produce a
backtrace...
> Run lyx from within gdb.
> $ cd ${BUILD_TREE}/src
> $ gdb ./lyx-xforms
> (gdb) r
> [lyx is launched, make it crash.]
> (gdb) bt
I've put these instructions here as well:
> It would be best if you first turned off optimisation in the relevant
> parts of the code. Eg
>
> $ cd ${SOURCE_TREE}/src
> $ (cd insets && touch render_*.C insetexternal.C External*.C)
> $ (cd frontends/xforms && touch FormExternal.C forms/form_external.fd)
> $ (cd frontends/qt2 && touch
Christian Ridderström wrote:
> On Thu, 23 Oct 2003, Angus Leeming wrote:
>
>> Christian Ridderström wrote:
>> >
>> > Hmm... lyx-xforms crashes by just trying to insert an External
>> > Xfig template (i.e. regardless of preview settings etc).
>>
>> Then I've f**ked up. Apologies for that. Does
Christian Ridderström wrote:
>> $ cd ${SOURCE_TREE}/src
>> $ (cd insets && touch render_*.C insetexternal.C External*.C)
>> $ (cd frontends/xforms && touch FormExternal.C
>> forms/form_external.fd) $ (cd frontends/qt2 && touch QExternal.C
>> ui/QExternal*.ui) $ make CXXFLAGS='-g -W -Wall'
>
>
The preview code is starting to show its age and needs a clean-up but
the inset's interface with it is starting to look Ok.
Attached is a screen shot for any xfig users out there...
--
Angusattachment: snapshot7.png
Looks like a good candidate for examples to show how you did that :)
Garst
Angus Leeming wrote:
The preview code is starting to show its age and needs a clean-up but
the inset's interface with it is starting to look Ok.
Attached is a screen shot for any xfig users out there...
--
The preview code is starting to show its age and needs a clean-up but
the inset's interface with it is starting to look Ok.
Attached is a screen shot for any xfig users out there...
--
Angus<>
Looks like a good candidate for examples to show how you did that :)
Garst
Angus Leeming wrote:
>
> The preview code is starting to show its age and needs a clean-up but
> the inset's interface with it is starting to look Ok.
>
> Attached is a screen shot for any xfig users out there...
>
>
58 matches
Mail list logo