Re: Silly Question :-)

2004-10-01 Thread G. Milde
On 30.09.04, José Abílio Oliveira Matos wrote:
 On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote:
  
  I assume, FileReload was never made for external changes:
  Reload will not work until I change something in my document. Then it prompts
 Document changed. Save? [Yes] No
  I have to set this to no, as I do not want to overwrite the external
  changes. Then importing works.
 
   You are aware that this is not a usual need? :-)

However, even for the usual need of reverting to the version on disk it
would not make sense to overwrite the file you are intending to load! A
warning that you loose your content could be sensible though.

OTHOH, I don't think it is that unusal. Quite regularely on this list I
see sed or perl scripts working on the lyx source to solve a particular
problem.
   
 In this case this a symptom, not the root of the problem. The cause is the
 absence of an advanced search and replace feature inside lyx.

Not really, as this was just one example for the manifold uses of
external editing. Remember the Unix philosophy of small dedicated tools
working together instead of one app does all.

Günter

-- 
G.Milde web.de


Re: Silly Question :-)

2004-10-01 Thread G. Milde
On 30.09.04, José Abílio Oliveira Matos wrote:
 On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote:
  
  I assume, FileReload was never made for external changes:
  Reload will not work until I change something in my document. Then it prompts
 Document changed. Save? [Yes] No
  I have to set this to no, as I do not want to overwrite the external
  changes. Then importing works.
 
   You are aware that this is not a usual need? :-)

However, even for the usual need of reverting to the version on disk it
would not make sense to overwrite the file you are intending to load! A
warning that you loose your content could be sensible though.

OTHOH, I don't think it is that unusal. Quite regularely on this list I
see sed or perl scripts working on the lyx source to solve a particular
problem.
   
 In this case this a symptom, not the root of the problem. The cause is the
 absence of an advanced search and replace feature inside lyx.

Not really, as this was just one example for the manifold uses of
external editing. Remember the Unix philosophy of small dedicated tools
working together instead of one app does all.

Günter

-- 
G.Milde web.de


Re: Silly Question :-)

2004-10-01 Thread G. Milde
On 30.09.04, José Abílio Oliveira Matos wrote:
> On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote:
> > 
> > I assume, File>Reload was never made for external changes:
> > Reload will not work until I change something in my document. Then it prompts
> >Document changed. Save? [Yes] No
> > I have to set this to no, as I do not want to overwrite the external
> > changes. Then importing works.
> 
>   You are aware that this is not a usual need? :-)

However, even for the "usual" need of reverting to the version on disk it
would not make sense to overwrite the file you are intending to load! A
warning that you loose your content could be sensible though.

OTHOH, I don't think it is that unusal. Quite regularely on this list I
see sed or perl scripts working on the lyx source to solve a particular
problem.
   
> In this case this a symptom, not the root of the problem. The cause is the
> absence of an advanced search and replace feature inside lyx.

Not really, as this was just one example for the manifold uses of
external editing. Remember the Unix philosophy of small dedicated tools
working together instead of one app does all.

Günter

-- 
G.Milde web.de


Re: Silly Question :-)

2004-09-30 Thread G. Milde
On 25.09.04, José Abílio Oliveira Matos wrote:

   Then what will you call to that time when I tried to do the same for lyx
 instead of latex? ;-)
 
   Why doesn't lyx behaves lyx any other format? What does make it so
 special? ;-)

Quite regularely I want to edit the LyX source in my favourite text editor
(jed) to do things like a regexp-replace across math. 

Setting jed as viewer for LyX files did not work, though. Even my attempt to
introduce a mock-fileformat lyx-source with cat as converter failed.

Just now, I have to save, find the file from the external editor and after
editing to do FileReload. 

I assume, FileReload was never made for external changes:
Reload will not work until I change something in my document. Then it prompts
   Document changed. Save? [Yes] No
I have to set this to no, as I do not want to overwrite the external
changes. Then importing works.


Does anyone know of a smarter solution?
I thought about using the lyx server and started a python script but work
stalled due to other projects.

Günter
   

-- 
G.Milde web.de


Re: Silly Question :-)

2004-09-30 Thread José Abílio Oliveira Matos
On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote:
 
 I assume, FileReload was never made for external changes:
 Reload will not work until I change something in my document. Then it prompts
Document changed. Save? [Yes] No
 I have to set this to no, as I do not want to overwrite the external
 changes. Then importing works.

  You are aware that this is not a usual need? :-)
  
  In this case this a symptom, not the root of the problem. The cause is the
absence of an advanced search and replace feature inside lyx.

 Does anyone know of a smarter solution?

  Nope, at least I don't.

 I thought about using the lyx server and started a python script but work
 stalled due to other projects.

  That seems interesting, please report if you get anything working.

 Günter

 
 -- 
 G.Milde web.de

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-30 Thread José Abílio Oliveira Matos
On Thu, Sep 30, 2004 at 08:44:13PM +0100, José Abílio Oliveira Matos wrote:
 
  I thought about using the lyx server and started a python script but work
  stalled due to other projects.
 
   That seems interesting, please report if you get anything working.

  And if you have problems you can ask for assistence in the devel mailing
list (as I think this is a more apropriate place for this discussion). :-)

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-30 Thread G. Milde
On 25.09.04, José Abílio Oliveira Matos wrote:

   Then what will you call to that time when I tried to do the same for lyx
 instead of latex? ;-)
 
   Why doesn't lyx behaves lyx any other format? What does make it so
 special? ;-)

Quite regularely I want to edit the LyX source in my favourite text editor
(jed) to do things like a regexp-replace across math. 

Setting jed as viewer for LyX files did not work, though. Even my attempt to
introduce a mock-fileformat lyx-source with cat as converter failed.

Just now, I have to save, find the file from the external editor and after
editing to do FileReload. 

I assume, FileReload was never made for external changes:
Reload will not work until I change something in my document. Then it prompts
   Document changed. Save? [Yes] No
I have to set this to no, as I do not want to overwrite the external
changes. Then importing works.


Does anyone know of a smarter solution?
I thought about using the lyx server and started a python script but work
stalled due to other projects.

Günter
   

-- 
G.Milde web.de


Re: Silly Question :-)

2004-09-30 Thread José Abílio Oliveira Matos
On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote:
 
 I assume, FileReload was never made for external changes:
 Reload will not work until I change something in my document. Then it prompts
Document changed. Save? [Yes] No
 I have to set this to no, as I do not want to overwrite the external
 changes. Then importing works.

  You are aware that this is not a usual need? :-)
  
  In this case this a symptom, not the root of the problem. The cause is the
absence of an advanced search and replace feature inside lyx.

 Does anyone know of a smarter solution?

  Nope, at least I don't.

 I thought about using the lyx server and started a python script but work
 stalled due to other projects.

  That seems interesting, please report if you get anything working.

 Günter

 
 -- 
 G.Milde web.de

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-30 Thread José Abílio Oliveira Matos
On Thu, Sep 30, 2004 at 08:44:13PM +0100, José Abílio Oliveira Matos wrote:
 
  I thought about using the lyx server and started a python script but work
  stalled due to other projects.
 
   That seems interesting, please report if you get anything working.

  And if you have problems you can ask for assistence in the devel mailing
list (as I think this is a more apropriate place for this discussion). :-)

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-30 Thread G. Milde
On 25.09.04, José Abílio Oliveira Matos wrote:

>   Then what will you call to that time when I tried to do the same for lyx
> instead of latex? ;-)
> 
>   Why doesn't lyx behaves lyx any other format? What does make it so
> special? ;-)

Quite regularely I want to edit the LyX source in my favourite text editor
(jed) to do things like a regexp-replace across math. 

Setting jed as viewer for LyX files did not work, though. Even my attempt to
introduce a mock-fileformat lyx-source with cat as converter failed.

Just now, I have to save, find the file from the external editor and after
editing to do File>Reload. 

I assume, File>Reload was never made for external changes:
Reload will not work until I change something in my document. Then it prompts
   Document changed. Save? [Yes] No
I have to set this to no, as I do not want to overwrite the external
changes. Then importing works.


Does anyone know of a smarter solution?
I thought about using the lyx server and started a python script but work
stalled due to other projects.

Günter
   

-- 
G.Milde web.de


Re: Silly Question :-)

2004-09-30 Thread José Abílio Oliveira Matos
On Thu, Sep 30, 2004 at 08:04:24AM +0200, G. Milde wrote:
> 
> I assume, File>Reload was never made for external changes:
> Reload will not work until I change something in my document. Then it prompts
>Document changed. Save? [Yes] No
> I have to set this to no, as I do not want to overwrite the external
> changes. Then importing works.

  You are aware that this is not a usual need? :-)
  
  In this case this a symptom, not the root of the problem. The cause is the
absence of an advanced search and replace feature inside lyx.

> Does anyone know of a smarter solution?

  Nope, at least I don't.

> I thought about using the lyx server and started a python script but work
> stalled due to other projects.

  That seems interesting, please report if you get anything working.

> Günter
>
> 
> -- 
> G.Milde web.de

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-30 Thread José Abílio Oliveira Matos
On Thu, Sep 30, 2004 at 08:44:13PM +0100, José Abílio Oliveira Matos wrote:
> 
> > I thought about using the lyx server and started a python script but work
> > stalled due to other projects.
> 
>   That seems interesting, please report if you get anything working.

  And if you have problems you can ask for assistence in the devel mailing
list (as I think this is a more apropriate place for this discussion). :-)

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-28 Thread mario
Alfredo, all,


On Fri, 2004-09-24 at 21:53, Alfredo Braunstein wrote:
 Paul A. Rubin wrote:
 
  Which somehow doesn't stop me from doing it. :-)
  
  Edit-Preferences-File formats,  highlight LaTeX, fill in the Viewer
  slot with your favorite text editor or text viewer (with path, if it's
  not on your command path), and save.  You should now have a View-LaTeX
  menu entry that effectively exports to a temp file and opens it with the
  editor/viewer you picked.  (The new window is not a child window of LyX,
  but otherwise I think it does what you want.)

Yes, it works very well
 
 Yes, I misinterpreted. I though that Mario wanted to have a latex window to
 edit his lyx document somehow. Probably because he used the term latex
 source.

Yes, my misuse. I was thinking in terms of to compile a .tex source to
get either .dvi, .pdf, or .html  output. 

 
 Alfredo
 
Tahnks a lot to all. I'll stay in touch. 
 



Re: Silly Question :-)

2004-09-28 Thread mario
Alfredo, all,


On Fri, 2004-09-24 at 21:53, Alfredo Braunstein wrote:
 Paul A. Rubin wrote:
 
  Which somehow doesn't stop me from doing it. :-)
  
  Edit-Preferences-File formats,  highlight LaTeX, fill in the Viewer
  slot with your favorite text editor or text viewer (with path, if it's
  not on your command path), and save.  You should now have a View-LaTeX
  menu entry that effectively exports to a temp file and opens it with the
  editor/viewer you picked.  (The new window is not a child window of LyX,
  but otherwise I think it does what you want.)

Yes, it works very well
 
 Yes, I misinterpreted. I though that Mario wanted to have a latex window to
 edit his lyx document somehow. Probably because he used the term latex
 source.

Yes, my misuse. I was thinking in terms of to compile a .tex source to
get either .dvi, .pdf, or .html  output. 

 
 Alfredo
 
Tahnks a lot to all. I'll stay in touch. 
 



Re: Silly Question :-)

2004-09-28 Thread mario
Alfredo, all,


On Fri, 2004-09-24 at 21:53, Alfredo Braunstein wrote:
> Paul A. Rubin wrote:
> 
> > Which somehow doesn't stop me from doing it. :-)
> > 
> > Edit->Preferences->File formats,  highlight LaTeX, fill in the Viewer
> > slot with your favorite text editor or text viewer (with path, if it's
> > not on your command path), and save.  You should now have a View->LaTeX
> > menu entry that effectively exports to a temp file and opens it with the
> > editor/viewer you picked.  (The new window is not a child window of LyX,
> > but otherwise I think it does what you want.)

Yes, it works very well
> 
> Yes, I misinterpreted. I though that Mario wanted to have a latex window to
> edit his lyx document somehow. Probably because he used the term "latex
> source".

Yes, my misuse. I was thinking in terms of to compile a .tex source to
get either .dvi, .pdf, or .html  output. 

> 
> Alfredo
> 
Tahnks a lot to all. I'll stay in touch. 
> 



Re: Silly Question :-)

2004-09-26 Thread Jianwei Huang
Thanks for clearing that up.


--- Alfredo Braunstein [EMAIL PROTECTED] wrote:

 Jianwei Huang wrote:
 
  I am a little bit confused. Can I do it with the
  File-Export-Customize instead of configuring
  Edit-preference?
 
 There is no such thing. There is a
 File-Export-Custom, that is intended
 as a quick  dirty way of just pipeing the latex
 file to some custom
 command.
 
 The edit-preferences way may be advisable if you
 want to do it frequently.
 
 Regards, Alfredo
 
 
 


=



Jianwei HUANG

Ph.D. Student

Electrical  Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Silly Question :-)

2004-09-26 Thread Jianwei Huang
Thanks for clearing that up.


--- Alfredo Braunstein [EMAIL PROTECTED] wrote:

 Jianwei Huang wrote:
 
  I am a little bit confused. Can I do it with the
  File-Export-Customize instead of configuring
  Edit-preference?
 
 There is no such thing. There is a
 File-Export-Custom, that is intended
 as a quick  dirty way of just pipeing the latex
 file to some custom
 command.
 
 The edit-preferences way may be advisable if you
 want to do it frequently.
 
 Regards, Alfredo
 
 
 


=



Jianwei HUANG

Ph.D. Student

Electrical  Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Silly Question :-)

2004-09-26 Thread Jianwei Huang
Thanks for clearing that up.


--- Alfredo Braunstein <[EMAIL PROTECTED]> wrote:

> Jianwei Huang wrote:
> 
> > I am a little bit confused. Can I do it with the
> > File->Export->Customize instead of configuring
> > Edit->preference?
> 
> There is no such thing. There is a
> "File->Export->Custom", that is intended
> as a quick & dirty way of just pipeing the latex
> file to some custom
> command.
> 
> The edit->preferences way may be advisable if you
> want to do it frequently.
> 
> Regards, Alfredo
> 
> 
> 


=



Jianwei HUANG

Ph.D. Student

Electrical & Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Silly Question :-)

2004-09-25 Thread Alfredo Braunstein
On Saturday 25 September 2004 04:54, you wrote:
 Hi, Alfredo:

Hi

 I try to customize the Export command, but could not
 succeed. It seems that I can not save what ever
 command I put into it. By the way, how to put a button

THe interface is a little convoluted. Select the converter on the list, 
then modify the Converter field or whatever, then push the modify 
button. (for some reason, the first element on the list is selected, 
disregard that). Repeat for each converter you want to modify. Then push 
the button Save on the bottom. If you want to modify a viewer, the 
procedure is the same.

 and keybinding to call a viewer?

You have to manually modify a couple of config files: the ui file and the 
bind file mentioned in preferences-look  feel-User interface. Typically 
you make a local copy of them (preferably inside .lyx/ui  .lyx/bind) and 
modify at pleasure.

Have a look at http://wiki.lyx.org/pmwiki.php/LyX/KeyboardShortcuts for 
keybindings.

 Thanks!

You're welcome.

PS: please write to the list instead of me directly.

Regards, Alfredo



Re: Silly Question :-)

2004-09-25 Thread José Abílio Oliveira Matos
On Fri, Sep 24, 2004 at 09:15:57PM +0200, Alfredo Braunstein wrote:
 
 Hah! that's what you wanted ;-) You can add a button to the toolbar and/or
 set up keybindings to easy calling the viewer.
 
 snif, I'm not very bright today...

  Then what will you call to that time when I tried to do the same for lyx
instead of latex? ;-)

  Why doesn't lyx behaves lyx any other format? What does make it so
special? ;-)

 Alfredo

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-25 Thread Jianwei Huang
Hi,
 
  I try to customize the Export command, but could
 not
  succeed. It seems that I can not save what ever
  command I put into it. By the way, how to put a
 button
 
 THe interface is a little convoluted. Select the
 converter on the list, 
 then modify the Converter field or whatever, then
 push the modify 
 button. (for some reason, the first element on the
 list is selected, 
 disregard that). Repeat for each converter you want
 to modify. Then push 
 the button Save on the bottom. If you want to
 modify a viewer, the 
 procedure is the same.

I am a little bit confused. Can I do it with the
File-Export-Customize instead of configuring
Edit-preference?

Thanks.

Jianwei




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


Re: Silly Question :-)

2004-09-25 Thread Alfredo Braunstein
Jianwei Huang wrote:

 I am a little bit confused. Can I do it with the
 File-Export-Customize instead of configuring
 Edit-preference?

There is no such thing. There is a File-Export-Custom, that is intended
as a quick  dirty way of just pipeing the latex file to some custom
command.

The edit-preferences way may be advisable if you want to do it frequently.

Regards, Alfredo




Re: Silly Question :-)

2004-09-25 Thread Alfredo Braunstein
On Saturday 25 September 2004 04:54, you wrote:
 Hi, Alfredo:

Hi

 I try to customize the Export command, but could not
 succeed. It seems that I can not save what ever
 command I put into it. By the way, how to put a button

THe interface is a little convoluted. Select the converter on the list, 
then modify the Converter field or whatever, then push the modify 
button. (for some reason, the first element on the list is selected, 
disregard that). Repeat for each converter you want to modify. Then push 
the button Save on the bottom. If you want to modify a viewer, the 
procedure is the same.

 and keybinding to call a viewer?

You have to manually modify a couple of config files: the ui file and the 
bind file mentioned in preferences-look  feel-User interface. Typically 
you make a local copy of them (preferably inside .lyx/ui  .lyx/bind) and 
modify at pleasure.

Have a look at http://wiki.lyx.org/pmwiki.php/LyX/KeyboardShortcuts for 
keybindings.

 Thanks!

You're welcome.

PS: please write to the list instead of me directly.

Regards, Alfredo



Re: Silly Question :-)

2004-09-25 Thread José Abílio Oliveira Matos
On Fri, Sep 24, 2004 at 09:15:57PM +0200, Alfredo Braunstein wrote:
 
 Hah! that's what you wanted ;-) You can add a button to the toolbar and/or
 set up keybindings to easy calling the viewer.
 
 snif, I'm not very bright today...

  Then what will you call to that time when I tried to do the same for lyx
instead of latex? ;-)

  Why doesn't lyx behaves lyx any other format? What does make it so
special? ;-)

 Alfredo

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-25 Thread Jianwei Huang
Hi,
 
  I try to customize the Export command, but could
 not
  succeed. It seems that I can not save what ever
  command I put into it. By the way, how to put a
 button
 
 THe interface is a little convoluted. Select the
 converter on the list, 
 then modify the Converter field or whatever, then
 push the modify 
 button. (for some reason, the first element on the
 list is selected, 
 disregard that). Repeat for each converter you want
 to modify. Then push 
 the button Save on the bottom. If you want to
 modify a viewer, the 
 procedure is the same.

I am a little bit confused. Can I do it with the
File-Export-Customize instead of configuring
Edit-preference?

Thanks.

Jianwei




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


Re: Silly Question :-)

2004-09-25 Thread Alfredo Braunstein
Jianwei Huang wrote:

 I am a little bit confused. Can I do it with the
 File-Export-Customize instead of configuring
 Edit-preference?

There is no such thing. There is a File-Export-Custom, that is intended
as a quick  dirty way of just pipeing the latex file to some custom
command.

The edit-preferences way may be advisable if you want to do it frequently.

Regards, Alfredo




Re: Silly Question :-)

2004-09-25 Thread Alfredo Braunstein
On Saturday 25 September 2004 04:54, you wrote:
> Hi, Alfredo:

Hi

> I try to customize the Export command, but could not
> succeed. It seems that I can not save what ever
> command I put into it. By the way, how to put a button

THe interface is a little convoluted. Select the converter on the list, 
then modify the "Converter" field or whatever, then push the "modify" 
button. (for some reason, the first element on the list is selected, 
disregard that). Repeat for each converter you want to modify. Then push 
the button "Save" on the bottom. If you want to modify a viewer, the 
procedure is the same.

> and keybinding to call a viewer?

You have to manually modify a couple of config files: the ui file and the 
bind file mentioned in preferences->look & feel->User interface. Typically 
you make a local copy of them (preferably inside .lyx/ui & .lyx/bind) and 
modify at pleasure.

Have a look at http://wiki.lyx.org/pmwiki.php/LyX/KeyboardShortcuts for 
keybindings.

> Thanks!

You're welcome.

PS: please write to the list instead of me directly.

Regards, Alfredo



Re: Silly Question :-)

2004-09-25 Thread José Abílio Oliveira Matos
On Fri, Sep 24, 2004 at 09:15:57PM +0200, Alfredo Braunstein wrote:
> 
> Hah! that's what you wanted ;-) You can add a button to the toolbar and/or
> set up keybindings to easy calling the viewer.
> 
> snif, I'm not very bright today...

  Then what will you call to that time when I tried to do the same for lyx
instead of latex? ;-)

  Why doesn't lyx behaves lyx any other format? What does make it so
special? ;-)

> Alfredo

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: Silly Question :-)

2004-09-25 Thread Jianwei Huang
Hi,
 
> > I try to customize the Export command, but could
> not
> > succeed. It seems that I can not save what ever
> > command I put into it. By the way, how to put a
> button
> 
> THe interface is a little convoluted. Select the
> converter on the list, 
> then modify the "Converter" field or whatever, then
> push the "modify" 
> button. (for some reason, the first element on the
> list is selected, 
> disregard that). Repeat for each converter you want
> to modify. Then push 
> the button "Save" on the bottom. If you want to
> modify a viewer, the 
> procedure is the same.

I am a little bit confused. Can I do it with the
File->Export->Customize instead of configuring
Edit->preference?

Thanks.

Jianwei




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


Re: Silly Question :-)

2004-09-25 Thread Alfredo Braunstein
Jianwei Huang wrote:

> I am a little bit confused. Can I do it with the
> File->Export->Customize instead of configuring
> Edit->preference?

There is no such thing. There is a "File->Export->Custom", that is intended
as a quick & dirty way of just pipeing the latex file to some custom
command.

The edit->preferences way may be advisable if you want to do it frequently.

Regards, Alfredo




Silly Question :-)

2004-09-24 Thread mario
Hi,

how do I see the .tex LaTeX source?
(kind of silly, I know;
or, how Export work?

Thanks 
mario



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

 Hi,

Hi

 how do I see the .tex LaTeX source?
 (kind of silly, I know;
 or, how Export work?

file-export-latex should leave a .tex file with the same name of your .lyx
in the same directory. 

Alfredo




Re: Silly Question :-)

2004-09-24 Thread mario
Yes, of course :-)

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

my best mario


On Fri, 2004-09-24 at 20:43, Alfredo Braunstein wrote:
 mario wrote:
 
  Hi,
 
 Hi
 
  how do I see the .tex LaTeX source?
  (kind of silly, I know;
  or, how Export work?
 
 file-export-latex should leave a .tex file with the same name of your .lyx
 in the same directory. 
 
 Alfredo
 
 
 



Re: Silly Question :-)

2004-09-24 Thread mario
I got it! 
I may customize the Export command, with my preferred viewer (for ASCII/.tex files).
Cute!
bless you
mario



--
Yes, of course :-)

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

my best mario


On Fri, 2004-09-24 at 20:43, Alfredo Braunstein wrote:
 mario wrote:
 
  Hi,
 
 Hi
 
  how do I see the .tex LaTeX source?
  (kind of silly, I know;
  or, how Export work?
 
 file-export-latex should leave a .tex file with the same name of your .lyx
 in the same directory. 
 
 Alfredo
 
 
 



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

 Yes, of course :-)

Sorry for misunderstanding.

 still, I was looking for something on the lyx bars as to open, say, a
 side window and see  the LaTeX source directly.

Actually lyx works internally at a higher level than latex, so this is not
possible.

Alfredo




Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

 I got it!
 I may customize the Export command, with my preferred viewer (for
 ASCII/.tex files). Cute!

Hah! that's what you wanted ;-) You can add a button to the toolbar and/or
set up keybindings to easy calling the viewer.

snif, I'm not very bright today...

Alfredo



Re: Silly Question :-)

2004-09-24 Thread Paul A. Rubin
Alfredo Braunstein wrote:
mario wrote:

Yes, of course :-)

Sorry for misunderstanding.

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

Actually lyx works internally at a higher level than latex, so this is not
possible.
Alfredo

Which somehow doesn't stop me from doing it. :-)
Edit-Preferences-File formats,  highlight LaTeX, fill in the Viewer 
slot with your favorite text editor or text viewer (with path, if it's 
not on your command path), and save.  You should now have a View-LaTeX 
menu entry that effectively exports to a temp file and opens it with the 
editor/viewer you picked.  (The new window is not a child window of LyX, 
but otherwise I think it does what you want.)

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
Paul A. Rubin wrote:

 Which somehow doesn't stop me from doing it. :-)
 
 Edit-Preferences-File formats,  highlight LaTeX, fill in the Viewer
 slot with your favorite text editor or text viewer (with path, if it's
 not on your command path), and save.  You should now have a View-LaTeX
 menu entry that effectively exports to a temp file and opens it with the
 editor/viewer you picked.  (The new window is not a child window of LyX,
 but otherwise I think it does what you want.)

Yes, I misinterpreted. I though that Mario wanted to have a latex window to
edit his lyx document somehow. Probably because he used the term latex
source.

Alfredo




Re: Silly Question :-)

2004-09-24 Thread Lars Risan
On Friday 24 September 2004 20:33, mario wrote:
 Hi,

 how do I see the .tex LaTeX source?
 (kind of silly, I know;
 or, how Export work?
 
In the LyX menu File: - Export - Latex. The file filename.tex is saved 
in the same directory as your filename.lyx-file (writes over possible 
previous filename.tex without asking). 

Open filename.tex in a text editor.

:-)
-lars



Silly Question :-)

2004-09-24 Thread mario
Hi,

how do I see the .tex LaTeX source?
(kind of silly, I know;
or, how Export work?

Thanks 
mario



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

 Hi,

Hi

 how do I see the .tex LaTeX source?
 (kind of silly, I know;
 or, how Export work?

file-export-latex should leave a .tex file with the same name of your .lyx
in the same directory. 

Alfredo




Re: Silly Question :-)

2004-09-24 Thread mario
Yes, of course :-)

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

my best mario


On Fri, 2004-09-24 at 20:43, Alfredo Braunstein wrote:
 mario wrote:
 
  Hi,
 
 Hi
 
  how do I see the .tex LaTeX source?
  (kind of silly, I know;
  or, how Export work?
 
 file-export-latex should leave a .tex file with the same name of your .lyx
 in the same directory. 
 
 Alfredo
 
 
 



Re: Silly Question :-)

2004-09-24 Thread mario
I got it! 
I may customize the Export command, with my preferred viewer (for ASCII/.tex files).
Cute!
bless you
mario



--
Yes, of course :-)

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

my best mario


On Fri, 2004-09-24 at 20:43, Alfredo Braunstein wrote:
 mario wrote:
 
  Hi,
 
 Hi
 
  how do I see the .tex LaTeX source?
  (kind of silly, I know;
  or, how Export work?
 
 file-export-latex should leave a .tex file with the same name of your .lyx
 in the same directory. 
 
 Alfredo
 
 
 



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

 Yes, of course :-)

Sorry for misunderstanding.

 still, I was looking for something on the lyx bars as to open, say, a
 side window and see  the LaTeX source directly.

Actually lyx works internally at a higher level than latex, so this is not
possible.

Alfredo




Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

 I got it!
 I may customize the Export command, with my preferred viewer (for
 ASCII/.tex files). Cute!

Hah! that's what you wanted ;-) You can add a button to the toolbar and/or
set up keybindings to easy calling the viewer.

snif, I'm not very bright today...

Alfredo



Re: Silly Question :-)

2004-09-24 Thread Paul A. Rubin
Alfredo Braunstein wrote:
mario wrote:

Yes, of course :-)

Sorry for misunderstanding.

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

Actually lyx works internally at a higher level than latex, so this is not
possible.
Alfredo

Which somehow doesn't stop me from doing it. :-)
Edit-Preferences-File formats,  highlight LaTeX, fill in the Viewer 
slot with your favorite text editor or text viewer (with path, if it's 
not on your command path), and save.  You should now have a View-LaTeX 
menu entry that effectively exports to a temp file and opens it with the 
editor/viewer you picked.  (The new window is not a child window of LyX, 
but otherwise I think it does what you want.)

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
Paul A. Rubin wrote:

 Which somehow doesn't stop me from doing it. :-)
 
 Edit-Preferences-File formats,  highlight LaTeX, fill in the Viewer
 slot with your favorite text editor or text viewer (with path, if it's
 not on your command path), and save.  You should now have a View-LaTeX
 menu entry that effectively exports to a temp file and opens it with the
 editor/viewer you picked.  (The new window is not a child window of LyX,
 but otherwise I think it does what you want.)

Yes, I misinterpreted. I though that Mario wanted to have a latex window to
edit his lyx document somehow. Probably because he used the term latex
source.

Alfredo




Re: Silly Question :-)

2004-09-24 Thread Lars Risan
On Friday 24 September 2004 20:33, mario wrote:
 Hi,

 how do I see the .tex LaTeX source?
 (kind of silly, I know;
 or, how Export work?
 
In the LyX menu File: - Export - Latex. The file filename.tex is saved 
in the same directory as your filename.lyx-file (writes over possible 
previous filename.tex without asking). 

Open filename.tex in a text editor.

:-)
-lars



Silly Question :-)

2004-09-24 Thread mario
Hi,

how do I see the .tex LaTeX source?
(kind of silly, I know;
or, how Export work?

Thanks 
mario



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

> Hi,

Hi

> how do I see the .tex LaTeX source?
> (kind of silly, I know;
> or, how Export work?

file->export->latex should leave a .tex file with the same name of your .lyx
in the same directory. 

Alfredo




Re: Silly Question :-)

2004-09-24 Thread mario
Yes, of course :-)

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

my best mario


On Fri, 2004-09-24 at 20:43, Alfredo Braunstein wrote:
> mario wrote:
> 
> > Hi,
> 
> Hi
> 
> > how do I see the .tex LaTeX source?
> > (kind of silly, I know;
> > or, how Export work?
> 
> file->export->latex should leave a .tex file with the same name of your .lyx
> in the same directory. 
> 
> Alfredo
> 
> 
> 



Re: Silly Question :-)

2004-09-24 Thread mario
I got it! 
I may customize the Export command, with my preferred viewer (for ASCII/.tex files).
Cute!
bless you
mario



--
Yes, of course :-)

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

my best mario


On Fri, 2004-09-24 at 20:43, Alfredo Braunstein wrote:
> mario wrote:
> 
> > Hi,
> 
> Hi
> 
> > how do I see the .tex LaTeX source?
> > (kind of silly, I know;
> > or, how Export work?
> 
> file->export->latex should leave a .tex file with the same name of your .lyx
> in the same directory. 
> 
> Alfredo
> 
> 
> 



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

> Yes, of course :-)

Sorry for misunderstanding.

> still, I was looking for something on the lyx bars as to open, say, a
> side window and see  the LaTeX source directly.

Actually lyx works internally at a higher level than latex, so this is not
possible.

Alfredo




Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
mario wrote:

> I got it!
> I may customize the Export command, with my preferred viewer (for
> ASCII/.tex files). Cute!

Hah! that's what you wanted ;-) You can add a button to the toolbar and/or
set up keybindings to easy calling the viewer.

snif, I'm not very bright today...

Alfredo



Re: Silly Question :-)

2004-09-24 Thread Paul A. Rubin
Alfredo Braunstein wrote:
mario wrote:

Yes, of course :-)

Sorry for misunderstanding.

still, I was looking for something on the lyx bars as to open, say, a
side window and see  the LaTeX source directly.

Actually lyx works internally at a higher level than latex, so this is not
possible.
Alfredo

Which somehow doesn't stop me from doing it. :-)
Edit->Preferences->File formats,  highlight LaTeX, fill in the Viewer 
slot with your favorite text editor or text viewer (with path, if it's 
not on your command path), and save.  You should now have a View->LaTeX 
menu entry that effectively exports to a temp file and opens it with the 
editor/viewer you picked.  (The new window is not a child window of LyX, 
but otherwise I think it does what you want.)

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Silly Question :-)

2004-09-24 Thread Alfredo Braunstein
Paul A. Rubin wrote:

> Which somehow doesn't stop me from doing it. :-)
> 
> Edit->Preferences->File formats,  highlight LaTeX, fill in the Viewer
> slot with your favorite text editor or text viewer (with path, if it's
> not on your command path), and save.  You should now have a View->LaTeX
> menu entry that effectively exports to a temp file and opens it with the
> editor/viewer you picked.  (The new window is not a child window of LyX,
> but otherwise I think it does what you want.)

Yes, I misinterpreted. I though that Mario wanted to have a latex window to
edit his lyx document somehow. Probably because he used the term "latex
source".

Alfredo




Re: Silly Question :-)

2004-09-24 Thread Lars Risan
On Friday 24 September 2004 20:33, mario wrote:
> Hi,
>
> how do I see the .tex LaTeX source?
> (kind of silly, I know;
> or, how Export work?
 
In the LyX menu "File": -> Export -> Latex. The file  is saved 
in the same directory as your -file (writes over possible 
previous  without asking). 

Open filename.tex in a text editor.

:-)
-lars



silly question

2001-11-23 Thread SteveC

Is it possible to have text flow around a justified figure?

tia

have fun,

SteveC [EMAIL PROTECTED] fractalus.com/steve



Re: silly question

2001-11-23 Thread Wayan


On Fri, 23 Nov 2001, SteveC wrote:

 Is it possible to have text flow around a justified figure?

try to use picins or picinpar package

add the command \usepackage{picins} in latex preamble
(I haven't tried the picinpar package...)

In paragraph... type (in TeX style)
\parpic(width,height)(x_off,y_off)
   [Option][Pos]{Figure}

ex.:
\parpic (1.7cm,2cm)(0cm,2cm)[l]{\yinitials A}

See the complete usage in your tex ducumentation.

Wayan




silly question

2001-11-23 Thread SteveC

Is it possible to have text flow around a justified figure?

tia

have fun,

SteveC [EMAIL PROTECTED] fractalus.com/steve



Re: silly question

2001-11-23 Thread Wayan


On Fri, 23 Nov 2001, SteveC wrote:

 Is it possible to have text flow around a justified figure?

try to use picins or picinpar package

add the command \usepackage{picins} in latex preamble
(I haven't tried the picinpar package...)

In paragraph... type (in TeX style)
\parpic(width,height)(x_off,y_off)
   [Option][Pos]{Figure}

ex.:
\parpic (1.7cm,2cm)(0cm,2cm)[l]{\yinitials A}

See the complete usage in your tex ducumentation.

Wayan




silly question

2001-11-23 Thread SteveC

Is it possible to have text flow around a justified figure?

tia

have fun,

SteveC [EMAIL PROTECTED] fractalus.com/steve



Re: silly question

2001-11-23 Thread Wayan


On Fri, 23 Nov 2001, SteveC wrote:

> Is it possible to have text flow around a justified figure?

try to use picins or picinpar package

add the command \usepackage{picins} in latex preamble
(I haven't tried the picinpar package...)

In paragraph... type (in TeX style)
\parpic(,)(,)
   [][]{Figure}

ex.:
\parpic (1.7cm,2cm)(0cm,2cm)[l]{\yinitials A}

See the complete usage in your tex ducumentation.

Wayan




Solved - Re: Silly question: LyX is creating directories I don't want

2001-08-12 Thread Keeper of the Key to Time

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 12 August 2001 15:30, Dekel Tsur wrote:

  Anyway, I have enough junk in my home directory, so I don't need these
  empty dirs showing up all the time.  :)  Can I stop this from happening?

 Lyx is supposed to create these directories in ~/.lyx regardless of
 document_path. Furthermore, these directories should be created only on the
 first run (you get a yes/no dialog You don't have a personal LyX
 directory... Should I try to set it up for you (recommended)? and the
 directories are created when you press yes).

Ok, I figured it out. These directories reappear if I run 
/usr/share/lyx/configure. I remember I had to do that after upgrading LyX, 
and I did it while in my home directory, not in ~/.lyx. I remember that I had 
to run configure after upgrading, because LyX complained it could not find 
textclass.lst when I tried to start it. The configure script created it in my 
home directory, not ~/.lyx, which confused me.

I'm easily confused lately... I blame it on work-related stress.  ;)

- -- 
// Carl Hudkins :: ICQ 5723399 :: PGP 50238D9E
//
// When two hydrogen atoms love each other very much,
//  they bond with an oxygen atom...  --Trance Gemini, Andromeda


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7dxmQlLp/6lAjjZ4RAkstAKDFrZR8+2C3zqWby9knz3P+9/l5FACfU5zI
QcLBeO8PLJc1XGqalrwgYGc=
=qYxv
-END PGP SIGNATURE-



Solved - Re: Silly question: LyX is creating directories I don't want

2001-08-12 Thread Keeper of the Key to Time

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 12 August 2001 15:30, Dekel Tsur wrote:

  Anyway, I have enough junk in my home directory, so I don't need these
  empty dirs showing up all the time.  :)  Can I stop this from happening?

 Lyx is supposed to create these directories in ~/.lyx regardless of
 document_path. Furthermore, these directories should be created only on the
 first run (you get a yes/no dialog You don't have a personal LyX
 directory... Should I try to set it up for you (recommended)? and the
 directories are created when you press yes).

Ok, I figured it out. These directories reappear if I run 
/usr/share/lyx/configure. I remember I had to do that after upgrading LyX, 
and I did it while in my home directory, not in ~/.lyx. I remember that I had 
to run configure after upgrading, because LyX complained it could not find 
textclass.lst when I tried to start it. The configure script created it in my 
home directory, not ~/.lyx, which confused me.

I'm easily confused lately... I blame it on work-related stress.  ;)

- -- 
// Carl Hudkins :: ICQ 5723399 :: PGP 50238D9E
//
// When two hydrogen atoms love each other very much,
//  they bond with an oxygen atom...  --Trance Gemini, Andromeda


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7dxmQlLp/6lAjjZ4RAkstAKDFrZR8+2C3zqWby9knz3P+9/l5FACfU5zI
QcLBeO8PLJc1XGqalrwgYGc=
=qYxv
-END PGP SIGNATURE-



Solved - Re: Silly question: LyX is creating directories I don't want

2001-08-12 Thread Keeper of the Key to Time

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 12 August 2001 15:30, Dekel Tsur wrote:

> > Anyway, I have enough junk in my home directory, so I don't need these
> > empty dirs showing up all the time.  :)  Can I stop this from happening?

> Lyx is supposed to create these directories in ~/.lyx regardless of
> document_path. Furthermore, these directories should be created only on the
> first run (you get a yes/no dialog "You don't have a personal LyX
> directory... Should I try to set it up for you (recommended)?" and the
> directories are created when you press yes).

Ok, I figured it out. These directories reappear if I run 
/usr/share/lyx/configure. I remember I had to do that after upgrading LyX, 
and I did it while in my home directory, not in ~/.lyx. I remember that I had 
to run configure after upgrading, because LyX complained it could not find 
textclass.lst when I tried to start it. The configure script created it in my 
home directory, not ~/.lyx, which confused me.

I'm easily confused lately... I blame it on work-related stress.  ;)

- -- 
// Carl Hudkins :: ICQ 5723399 :: PGP 50238D9E
//
// "When two hydrogen atoms love each other very much,
//  they bond with an oxygen atom..."  --Trance Gemini, Andromeda


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7dxmQlLp/6lAjjZ4RAkstAKDFrZR8+2C3zqWby9knz3P+9/l5FACfU5zI
QcLBeO8PLJc1XGqalrwgYGc=
=qYxv
-END PGP SIGNATURE-