Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread Joao Luis Meloni Assirati

As far as I know, It is not possible to reverse search from a pdf file. You 
need to use the dvi, which supports marks known as dvi specials. I don't 
maintain my patches anymore.

Best regards,
João.

On Tuesday 24 February 2009 15:54:01 Pavel Sanda wrote:
 Stefano Franchi wrote:
  On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
   Stefano Franchi wrote:
I am starting to work on the final editing of  a long manuscript and
I would very much appreciate the option to click on a page in the pdf
viewer app and jump directly to the corresponding block of text in
the source file.
   
I do not think this is possible with LyX, presently---am I  wrong?
  
   http://bugzilla.lyx.org/show_bug.cgi?id=94
  
   pavel
 
  Thanks Pavel.
 
  If I understood the bugzilla exchange correctly, the situation is:

 there was very lenghty discussion
 http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
 from which is seems everybody wanted it in the tree so it seems like
 a mystery its not already there :)

  1. Reverse seaerching (I guess that's the term) works from kdvi to a
  Latex file opened in a standard editor
 
  2. Georg Baum provided a patch that would  make it work from kdvi to LyX,
  but the patch never made into released version of Lyx, for reasons
  unknown (as of 2/24/09)
 
 
  So there is a workaround, and there is hope!

 i just tried to use this patch, unfortunately most of the code moved around
 so its not easy to patch it again. on the other hand, the changes which are
 needed look like more of mechanical work then some actual rewrite...

 CC-ing to Georg, Joao and lyx-devel.
 may be somebody knows what was the problem.

 pavel




Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread Joao Luis Meloni Assirati

As far as I know, It is not possible to reverse search from a pdf file. You 
need to use the dvi, which supports marks known as dvi specials. I don't 
maintain my patches anymore.

Best regards,
João.

On Tuesday 24 February 2009 15:54:01 Pavel Sanda wrote:
 Stefano Franchi wrote:
  On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
   Stefano Franchi wrote:
I am starting to work on the final editing of  a long manuscript and
I would very much appreciate the option to click on a page in the pdf
viewer app and jump directly to the corresponding block of text in
the source file.
   
I do not think this is possible with LyX, presently---am I  wrong?
  
   http://bugzilla.lyx.org/show_bug.cgi?id=94
  
   pavel
 
  Thanks Pavel.
 
  If I understood the bugzilla exchange correctly, the situation is:

 there was very lenghty discussion
 http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
 from which is seems everybody wanted it in the tree so it seems like
 a mystery its not already there :)

  1. Reverse seaerching (I guess that's the term) works from kdvi to a
  Latex file opened in a standard editor
 
  2. Georg Baum provided a patch that would  make it work from kdvi to LyX,
  but the patch never made into released version of Lyx, for reasons
  unknown (as of 2/24/09)
 
 
  So there is a workaround, and there is hope!

 i just tried to use this patch, unfortunately most of the code moved around
 so its not easy to patch it again. on the other hand, the changes which are
 needed look like more of mechanical work then some actual rewrite...

 CC-ing to Georg, Joao and lyx-devel.
 may be somebody knows what was the problem.

 pavel




Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread Joao Luis Meloni Assirati

As far as I know, It is not possible to reverse search from a pdf file. You 
need to use the dvi, which supports marks known as dvi specials. I don't 
maintain my patches anymore.

Best regards,
João.

On Tuesday 24 February 2009 15:54:01 Pavel Sanda wrote:
> Stefano Franchi wrote:
> > On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
> > > Stefano Franchi wrote:
> > > > I am starting to work on the final editing of  a long manuscript and
> > > > I would very much appreciate the option to click on a page in the pdf
> > > > viewer app and jump directly to the corresponding block of text in
> > > > the source file.
> > > >
> > > > I do not think this is possible with LyX, presently---am I  wrong?
> > >
> > > http://bugzilla.lyx.org/show_bug.cgi?id=94
> > >
> > > pavel
> >
> > Thanks Pavel.
> >
> > If I understood the bugzilla exchange correctly, the situation is:
>
> there was very lenghty discussion
> http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
> from which is seems everybody wanted it in the tree so it seems like
> a mystery its not already there :)
>
> > 1. Reverse seaerching (I guess that's the term) works from kdvi to a
> > Latex file opened in a standard editor
> >
> > 2. Georg Baum provided a patch that would  make it work from kdvi to LyX,
> > but the patch never made into released version of Lyx, for reasons
> > unknown (as of 2/24/09)
> >
> >
> > So there is a workaround, and there is hope!
>
> i just tried to use this patch, unfortunately most of the code moved around
> so its not easy to patch it again. on the other hand, the changes which are
> needed look like more of mechanical work then some actual rewrite...
>
> CC-ing to Georg, Joao and lyx-devel.
> may be somebody knows what was the problem.
>
> pavel




Re: make error

2004-02-02 Thread Joao Luis Meloni Assirati

Hello,

On Sun, 1 Feb 2004, Anca Tibor- Attila wrote:

 Make returns the following error:
 libtool: link: '/usr/lib/libGL.la' is not a valid libtool archive
 make[3]: *** [lyx] Fehler 1

Let me guess... You have an nvidia graphics card and use its proprietary
driver, isn't it? If so, Try to edit /usr/lib/libGL.la substituting a line
like

# Generated by nvidia-installer: 1.0.5

by

# Generated by nvidia-installer: 1.0.5  (for use by libtool)

This is a bug in nvidia's installer.

 and something about all-recursive.

This is just make telling that the target failed.

Regards,
Joao Luis.



Re: make error

2004-02-02 Thread Joao Luis Meloni Assirati

Hello,

On Sun, 1 Feb 2004, Anca Tibor- Attila wrote:

 Make returns the following error:
 libtool: link: '/usr/lib/libGL.la' is not a valid libtool archive
 make[3]: *** [lyx] Fehler 1

Let me guess... You have an nvidia graphics card and use its proprietary
driver, isn't it? If so, Try to edit /usr/lib/libGL.la substituting a line
like

# Generated by nvidia-installer: 1.0.5

by

# Generated by nvidia-installer: 1.0.5  (for use by libtool)

This is a bug in nvidia's installer.

 and something about all-recursive.

This is just make telling that the target failed.

Regards,
Joao Luis.



Re: make error

2004-02-02 Thread Joao Luis Meloni Assirati

Hello,

On Sun, 1 Feb 2004, Anca Tibor- Attila wrote:

> Make returns the following error:
> libtool: link: '/usr/lib/libGL.la' is not a valid libtool archive
> make[3]: *** [lyx] Fehler 1

Let me guess... You have an nvidia graphics card and use its proprietary
driver, isn't it? If so, Try to edit /usr/lib/libGL.la substituting a line
like

# Generated by nvidia-installer: 1.0.5

by

# Generated by nvidia-installer: 1.0.5  (for use by libtool)

This is a bug in nvidia's installer.

> and something about all-recursive.

This is just make telling that the target failed.

Regards,
Joao Luis.



Re: debian and redhat

2003-11-03 Thread Joao Luis Meloni Assirati

On Tue, 4 Nov 2003, Matej Cepl wrote:

 the problem with Debian is that it doesn't (rather
 contraintuitively) install all parts of tetex. You have to
 install tetex-extra on the top of what you have. After
 installing that and running
 texhash
 (cd /usr/share/lyx/;./configure)
 as root, what are you missing?

You can also run tasksel as root and select the tex/latex task.

João.



Re: debian and redhat

2003-11-03 Thread Joao Luis Meloni Assirati

On Tue, 4 Nov 2003, Matej Cepl wrote:

 the problem with Debian is that it doesn't (rather
 contraintuitively) install all parts of tetex. You have to
 install tetex-extra on the top of what you have. After
 installing that and running
 texhash
 (cd /usr/share/lyx/;./configure)
 as root, what are you missing?

You can also run tasksel as root and select the tex/latex task.

João.



Re: debian and redhat

2003-11-03 Thread Joao Luis Meloni Assirati

On Tue, 4 Nov 2003, Matej Cepl wrote:

> the problem with Debian is that it doesn't (rather
> contraintuitively) install all parts of tetex. You have to
> install tetex-extra on the top of what you have. After
> installing that and running
> texhash
> (cd /usr/share/lyx/;./configure)
> as root, what are you missing?

You can also run tasksel as root and select the tex/latex task.

João.



Re: Converting ERT to WYSIWIG

2003-10-08 Thread Joao Luis Meloni Assirati

On Wed, 8 Oct 2003, Angus Leeming wrote:

 Paul Smith wrote:

  I disagree with you regarding the above paragraph, indicating you a
  counterexample: Scientific WorkPlace. (Please, notice, that I am not
  defending that SWP is, in general, superior to LyX; I definitely
  prefer LyX.) For instance, with SWP, if you insert the LaTeX code
  $x=y$, saving and closing the file, then, when you open again the
  same file, $x=y$ will be shown as WYSIWIG. Obviously, I am with you
  when you say that not all ERTs are visible.

 I could throw numerous counter examples your way where we made LyX
 'too clever' and then regretted it. Letting the user be explicit
 about what he does or doesn't want is a good thing IMO.

In the future, when we have a reliable tex2lyx (latex to lyx converter),
lyx could have some button that merges an ERT inset into the lyx normal
text, possibly splitting it in more ERTs if some parts are not
translatable. Then the user could paste latex code into the ERT inset,
then if he wants he could activate the translation. This would be very
useful and lyx would be clever only if required.

Joao.



Re: Converting ERT to WYSIWIG

2003-10-08 Thread Joao Luis Meloni Assirati

On Wed, 8 Oct 2003, Angus Leeming wrote:

 Paul Smith wrote:

  I disagree with you regarding the above paragraph, indicating you a
  counterexample: Scientific WorkPlace. (Please, notice, that I am not
  defending that SWP is, in general, superior to LyX; I definitely
  prefer LyX.) For instance, with SWP, if you insert the LaTeX code
  $x=y$, saving and closing the file, then, when you open again the
  same file, $x=y$ will be shown as WYSIWIG. Obviously, I am with you
  when you say that not all ERTs are visible.

 I could throw numerous counter examples your way where we made LyX
 'too clever' and then regretted it. Letting the user be explicit
 about what he does or doesn't want is a good thing IMO.

In the future, when we have a reliable tex2lyx (latex to lyx converter),
lyx could have some button that merges an ERT inset into the lyx normal
text, possibly splitting it in more ERTs if some parts are not
translatable. Then the user could paste latex code into the ERT inset,
then if he wants he could activate the translation. This would be very
useful and lyx would be clever only if required.

Joao.



Re: Converting ERT to WYSIWIG

2003-10-08 Thread Joao Luis Meloni Assirati

On Wed, 8 Oct 2003, Angus Leeming wrote:

> Paul Smith wrote:
>
> > I disagree with you regarding the above paragraph, indicating you a
> > counterexample: Scientific WorkPlace. (Please, notice, that I am not
> > defending that SWP is, in general, superior to LyX; I definitely
> > prefer LyX.) For instance, with SWP, if you insert the LaTeX code
> > $x=y$, saving and closing the file, then, when you open again the
> > same file, $x=y$ will be shown as WYSIWIG. Obviously, I am with you
> > when you say that not all ERTs are visible.
>
> I could throw numerous counter examples your way where we made LyX
> 'too clever' and then regretted it. Letting the user be explicit
> about what he does or doesn't want is a good thing IMO.

In the future, when we have a reliable tex2lyx (latex to lyx converter),
lyx could have some button that "merges" an ERT inset into the lyx normal
text, possibly splitting it in more ERTs if some parts are not
translatable. Then the user could paste latex code into the ERT inset,
then if he wants he could activate the translation. This would be very
useful and lyx would be clever only if required.

Joao.



Re: Interpretation of ERT

2003-02-07 Thread Joao Luis Meloni Assirati


On Fri, 7 Feb 2003, Vaclav Smidl wrote:

 LyX exports any NL (newline) character in TeX insets as TWO NL characters in
 .tex file. It is interpreted as \par by LaTeX.

 It means that any commands that does not allow \par have to be written in one
 runaway line. It significantly decreases readability.

Please read bug 698 http://bugzilla.lyx.org/show_bug.cgi?id=698 do you
think that it refers to the same problem?

 I would certainly preffer to find in .tex file exactly what I wrote into
 inset.

As it was suggested, you can type Control-Enter, but then you would get a
line brake symbol, which does not exist in latex source, and double line
brakes show as a single ones, so readability is not very good.

João.




Re: Interpretation of ERT

2003-02-07 Thread Joao Luis Meloni Assirati


On Fri, 7 Feb 2003, Vaclav Smidl wrote:

 LyX exports any NL (newline) character in TeX insets as TWO NL characters in
 .tex file. It is interpreted as \par by LaTeX.

 It means that any commands that does not allow \par have to be written in one
 runaway line. It significantly decreases readability.

Please read bug 698 http://bugzilla.lyx.org/show_bug.cgi?id=698 do you
think that it refers to the same problem?

 I would certainly preffer to find in .tex file exactly what I wrote into
 inset.

As it was suggested, you can type Control-Enter, but then you would get a
line brake symbol, which does not exist in latex source, and double line
brakes show as a single ones, so readability is not very good.

João.




Re: Interpretation of ERT

2003-02-07 Thread Joao Luis Meloni Assirati


On Fri, 7 Feb 2003, Vaclav Smidl wrote:

> LyX exports any NL (newline) character in TeX insets as TWO NL characters in
> .tex file. It is interpreted as \par by LaTeX.
>
> It means that any commands that does not allow \par have to be written in one
> runaway line. It significantly decreases readability.

Please read bug 698 http://bugzilla.lyx.org/show_bug.cgi?id=698 do you
think that it refers to the same problem?

> I would certainly preffer to find in .tex file exactly what I wrote into
> inset.

As it was suggested, you can type Control-Enter, but then you would get a
"line brake" symbol, which does not exist in latex source, and double line
brakes show as a single ones, so readability is not very good.

João.




Re: creating local texmf directory

2002-11-05 Thread Joao Luis Meloni Assirati


On Tue, 5 Nov 2002, Paul Tremblay wrote:

 If the administrator adds a local texmf file for
 him/her, then there is still a problem.

The user can create the directory by himself.

 In order to reconfigure things
 for TeX, you have to run texhash as *root.*

In my system (debian 3.0), I can run texhash without being root:

$ texhash
texhash: Updating /home/assirati/texmf/ls-R...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/local/lib/texmf/ls-R...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/spool/texmf: directory not writable. Skipping...
texhash: Done.

I have write permission in /home/assirati/texmf/ and /usr/local/, but not
in /var, so texhash skips it. After this, I have a ls-R in
/home/assirati/texmf/

 I suppose there is no way around this. I guess most LyX users have root
 permission?

I hope not, or lyx users will be very few...

João.






Re: creating local texmf directory

2002-11-05 Thread Joao Luis Meloni Assirati


On Tue, 5 Nov 2002, Paul Tremblay wrote:

 If the administrator adds a local texmf file for
 him/her, then there is still a problem.

The user can create the directory by himself.

 In order to reconfigure things
 for TeX, you have to run texhash as *root.*

In my system (debian 3.0), I can run texhash without being root:

$ texhash
texhash: Updating /home/assirati/texmf/ls-R...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/local/lib/texmf/ls-R...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/spool/texmf: directory not writable. Skipping...
texhash: Done.

I have write permission in /home/assirati/texmf/ and /usr/local/, but not
in /var, so texhash skips it. After this, I have a ls-R in
/home/assirati/texmf/

 I suppose there is no way around this. I guess most LyX users have root
 permission?

I hope not, or lyx users will be very few...

João.






Re: creating local texmf directory

2002-11-05 Thread Joao Luis Meloni Assirati


On Tue, 5 Nov 2002, Paul Tremblay wrote:

> If the administrator adds a local texmf file for
> him/her, then there is still a problem.

The user can create the directory by himself.

> In order to reconfigure things
> for TeX, you have to run texhash as *root.*

In my system (debian 3.0), I can run texhash without being root:

$ texhash
texhash: Updating /home/assirati/texmf/ls-R...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/local/lib/texmf/ls-R...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/spool/texmf: directory not writable. Skipping...
texhash: Done.

I have write permission in /home/assirati/texmf/ and /usr/local/, but not
in /var, so texhash skips it. After this, I have a ls-R in
/home/assirati/texmf/

> I suppose there is no way around this. I guess most LyX users have root
> permission?

I hope not, or lyx users will be very few...

João.






Re: creating local texmf directory

2002-11-04 Thread Joao Luis Meloni Assirati


On Mon, 4 Nov 2002, Steve Litt wrote:

 On my Mandrake 8.2 system texmf.cnf is here:

 /usr/share/texmf/web2c/texmf.cnf

 And the  HOMETEXMF = $HOME/texmf line is commented out. By the way, why would
 someone make this directory visible? I would imagine that $HOME/.texmf would
 be better so that the average user wouldn't blunder into the directory and do
 damage.

I suppose that if the user is able to create the directory texmf, collect
and consciously use his sty files, he would not damage the directory,
unless by accident.

João.




Re: creating local texmf directory

2002-11-04 Thread Joao Luis Meloni Assirati


On Mon, 4 Nov 2002, Steve Litt wrote:

 On my Mandrake 8.2 system texmf.cnf is here:

 /usr/share/texmf/web2c/texmf.cnf

 And the  HOMETEXMF = $HOME/texmf line is commented out. By the way, why would
 someone make this directory visible? I would imagine that $HOME/.texmf would
 be better so that the average user wouldn't blunder into the directory and do
 damage.

I suppose that if the user is able to create the directory texmf, collect
and consciously use his sty files, he would not damage the directory,
unless by accident.

João.




Re: creating local texmf directory

2002-11-04 Thread Joao Luis Meloni Assirati


On Mon, 4 Nov 2002, Steve Litt wrote:

> On my Mandrake 8.2 system texmf.cnf is here:
>
> /usr/share/texmf/web2c/texmf.cnf
>
> And the  HOMETEXMF = $HOME/texmf line is commented out. By the way, why would
> someone make this directory visible? I would imagine that $HOME/.texmf would
> be better so that the average user wouldn't blunder into the directory and do
> damage.

I suppose that if the user is able to create the directory texmf, collect
and consciously use his sty files, he would not damage the directory,
unless by accident.

João.




Re: creating local texmf directory

2002-11-03 Thread Joao Luis Meloni Assirati

Hi,

Check for the file texmf.cnf (in debian with tetex it is on /etc/texmf) in
your system. Mine has a line

HOMETEXMF = $HOME/texmf

that tells that each user can place his classes under this directory in
his home directory.

Regards,
João.

On Sun, 3 Nov 2002, Paul Tremblay wrote:

 Could someone tell me how to create a local texmf directory? I have been
 adding classes and bst files to my main texmf directory, and I
 understand I am not supposed to do this. I believe I should be able to
 create a local directory for this purpose.

 I am writing a tutorial on using bibtex with LyX, and I realized that
 not all users have root access like I do. So I need to explain how to
 copy a bst file to a local texmf directory.

 I did check in the Customization file, but couldn't understand exactly
 what to do. For one thing, it seems like I need root permission to
 modify the configuration file which tells TeX of the existence of the
 local texmf directory. But what if a user does not have root
 permission--how could he/she create a local directory?

 Thanks

 Paul

 --

 
 *Paul Tremblay *
 *[EMAIL PROTECTED]*
 





Re: creating local texmf directory

2002-11-03 Thread Joao Luis Meloni Assirati

Hi,

Check for the file texmf.cnf (in debian with tetex it is on /etc/texmf) in
your system. Mine has a line

HOMETEXMF = $HOME/texmf

that tells that each user can place his classes under this directory in
his home directory.

Regards,
João.

On Sun, 3 Nov 2002, Paul Tremblay wrote:

 Could someone tell me how to create a local texmf directory? I have been
 adding classes and bst files to my main texmf directory, and I
 understand I am not supposed to do this. I believe I should be able to
 create a local directory for this purpose.

 I am writing a tutorial on using bibtex with LyX, and I realized that
 not all users have root access like I do. So I need to explain how to
 copy a bst file to a local texmf directory.

 I did check in the Customization file, but couldn't understand exactly
 what to do. For one thing, it seems like I need root permission to
 modify the configuration file which tells TeX of the existence of the
 local texmf directory. But what if a user does not have root
 permission--how could he/she create a local directory?

 Thanks

 Paul

 --

 
 *Paul Tremblay *
 *[EMAIL PROTECTED]*
 





Re: creating local texmf directory

2002-11-03 Thread Joao Luis Meloni Assirati

Hi,

Check for the file texmf.cnf (in debian with tetex it is on /etc/texmf) in
your system. Mine has a line

HOMETEXMF = $HOME/texmf

that tells that each user can place his classes under this directory in
his home directory.

Regards,
João.

On Sun, 3 Nov 2002, Paul Tremblay wrote:

> Could someone tell me how to create a local texmf directory? I have been
> adding classes and bst files to my main texmf directory, and I
> understand I am not supposed to do this. I believe I should be able to
> create a local directory for this purpose.
>
> I am writing a tutorial on using bibtex with LyX, and I realized that
> not all users have root access like I do. So I need to explain how to
> copy a bst file to a local texmf directory.
>
> I did check in the Customization file, but couldn't understand exactly
> what to do. For one thing, it seems like I need root permission to
> modify the configuration file which tells TeX of the existence of the
> local texmf directory. But what if a user does not have root
> permission--how could he/she create a local directory?
>
> Thanks
>
> Paul
>
> --
>
> 
> *Paul Tremblay *
> *[EMAIL PROTECTED]*
> 
>




Re: totally lost newby (yes I'm blond) question.

2002-10-30 Thread Joao Luis Meloni Assirati


On Wed, 30 Oct 2002, Robin Turner wrote:
 sty and cls files need to go in the latex subdirectory of your TeX
 installation.  As root, cd to wherever it is (e.g.
 /usr/share/texmf/tex/latex) then copy the files (you probably want to
 makea new subdirectory for them first, though putting them in ./base
 should also work).  Then run texhash to update your TeX installation.

In my system (Debian 3.0) the tex distribution is tetex and it has the
configuration file /etc/texmf/texmf.cnf which says

TEXMFLOCAL = /usr/local/share/texmf

that is, I can put additional sty files in a subdirectory like
/usr/local/share/texmf/book/ and then run texhash. Maybe there is some
place like this in your system where you can put additional tex material
without messing your (linux) distribution.

João.




Re: totally lost newby (yes I'm blond) question.

2002-10-30 Thread Joao Luis Meloni Assirati


On Wed, 30 Oct 2002, Robin Turner wrote:
 sty and cls files need to go in the latex subdirectory of your TeX
 installation.  As root, cd to wherever it is (e.g.
 /usr/share/texmf/tex/latex) then copy the files (you probably want to
 makea new subdirectory for them first, though putting them in ./base
 should also work).  Then run texhash to update your TeX installation.

In my system (Debian 3.0) the tex distribution is tetex and it has the
configuration file /etc/texmf/texmf.cnf which says

TEXMFLOCAL = /usr/local/share/texmf

that is, I can put additional sty files in a subdirectory like
/usr/local/share/texmf/book/ and then run texhash. Maybe there is some
place like this in your system where you can put additional tex material
without messing your (linux) distribution.

João.




Re: totally lost newby (yes I'm blond) question.

2002-10-30 Thread Joao Luis Meloni Assirati


On Wed, 30 Oct 2002, Robin Turner wrote:
> sty and cls files need to go in the latex subdirectory of your TeX
> installation.  As root, cd to wherever it is (e.g.
> /usr/share/texmf/tex/latex) then copy the files (you probably want to
> makea new subdirectory for them first, though putting them in ./base
> should also work).  Then run texhash to update your TeX installation.

In my system (Debian 3.0) the tex distribution is tetex and it has the
configuration file /etc/texmf/texmf.cnf which says

TEXMFLOCAL = /usr/local/share/texmf

that is, I can put additional sty files in a subdirectory like
/usr/local/share/texmf/book/ and then run texhash. Maybe there is some
place like this in your system where you can put additional tex material
without messing your (linux) distribution.

João.




Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:

 On Mon, Oct 28, 2002 at 03:40:53PM -0800, Max Bian wrote:
  LyX doesn't break words in the editor at the end of a line, but it
  would break subscript or superscript at the end of line.

 Super/subscripts a faked anyway... Does it hurt you badly?

Why is lyx not using \textsuperscript for superscripts? BTW, is there a
latex equivalent to \textsuperscript for subscripts?

João.




Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:
 So maybe

 \DeclareRobustCommand*\textsubscript[1]{%
   \textsubscript{\selectfont#1}}
 \def\textsubscript#1{%
   {\mth\ensuremath{_{\mbox{\fontsize\sfsize\z#1}

 in the preamble would help?

No, it gives a lot of errors:

This is TeX, Version 3.14159 (Web2C 7.3.7)
(./teste.tex
LaTeX2e 2001/06/01
Babel v3.7h and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (./teste.aux)
! Undefined control sequence.
\textsubscript#1-{\m
   th\ensuremath {_{\mbox {\fontsize \sf size\z
#1
l.10 A\textsubscript{b}

?
! Missing number, treated as zero.
to be read again
   \protect
l.10 A\textsubscript{b}

?
! Illegal unit of measure (pt inserted).
to be read again
   \protect
l.10 A\textsubscript{b}

?
! Missing number, treated as zero.
to be read again
   
l.10 A\textsubscript{b}

?
! Illegal unit of measure (pt inserted).
to be read again
   
l.10 A\textsubscript{b}

?
! Undefined control sequence.
argument \fontsize \sf size\z
 \selectfont b
l.10 A\textsubscript{b}

?

LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size 0 not available
(Font)  size 5 substituted on input line 10.

[1] (./teste.aux)

LaTeX Font Warning: Size substitutions with differences
(Font)  up to 5.0pt have occurred.

 )
Output written on teste.dvi (1 page, 272 bytes).
Transcript written on teste.log.





Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:

 On Tue, Oct 29, 2002 at 08:46:16AM -0200, Joao Luis Meloni Assirati wrote:
  No, it gives a lot of errors:

 What happens if you wrap these four lines in

 \makeatletter
 ...
 \makearother

\makeatother.

Works beautifully. Thanks.

Anyway, \text{super,sub}script are is still using math, so they are
faked. But these have the advantage over the simpler lyx $^{\textrm{}}$
in that fonts are preserved.

João.





Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:

 On Mon, Oct 28, 2002 at 03:40:53PM -0800, Max Bian wrote:
  LyX doesn't break words in the editor at the end of a line, but it
  would break subscript or superscript at the end of line.

 Super/subscripts a faked anyway... Does it hurt you badly?

Why is lyx not using \textsuperscript for superscripts? BTW, is there a
latex equivalent to \textsuperscript for subscripts?

João.




Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:
 So maybe

 \DeclareRobustCommand*\textsubscript[1]{%
   \textsubscript{\selectfont#1}}
 \def\textsubscript#1{%
   {\mth\ensuremath{_{\mbox{\fontsize\sfsize\z#1}

 in the preamble would help?

No, it gives a lot of errors:

This is TeX, Version 3.14159 (Web2C 7.3.7)
(./teste.tex
LaTeX2e 2001/06/01
Babel v3.7h and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (./teste.aux)
! Undefined control sequence.
\textsubscript#1-{\m
   th\ensuremath {_{\mbox {\fontsize \sf size\z
#1
l.10 A\textsubscript{b}

?
! Missing number, treated as zero.
to be read again
   \protect
l.10 A\textsubscript{b}

?
! Illegal unit of measure (pt inserted).
to be read again
   \protect
l.10 A\textsubscript{b}

?
! Missing number, treated as zero.
to be read again
   
l.10 A\textsubscript{b}

?
! Illegal unit of measure (pt inserted).
to be read again
   
l.10 A\textsubscript{b}

?
! Undefined control sequence.
argument \fontsize \sf size\z
 \selectfont b
l.10 A\textsubscript{b}

?

LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size 0 not available
(Font)  size 5 substituted on input line 10.

[1] (./teste.aux)

LaTeX Font Warning: Size substitutions with differences
(Font)  up to 5.0pt have occurred.

 )
Output written on teste.dvi (1 page, 272 bytes).
Transcript written on teste.log.





Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:

 On Tue, Oct 29, 2002 at 08:46:16AM -0200, Joao Luis Meloni Assirati wrote:
  No, it gives a lot of errors:

 What happens if you wrap these four lines in

 \makeatletter
 ...
 \makearother

\makeatother.

Works beautifully. Thanks.

Anyway, \text{super,sub}script are is still using math, so they are
faked. But these have the advantage over the simpler lyx $^{\textrm{}}$
in that fonts are preserved.

João.





Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:

> On Mon, Oct 28, 2002 at 03:40:53PM -0800, Max Bian wrote:
> > LyX doesn't break words in the editor at the end of a line, but it
> > would break subscript or superscript at the end of line.
>
> Super/subscripts a faked anyway... Does it hurt you badly?

Why is lyx not using \textsuperscript for superscripts? BTW, is there a
latex equivalent to \textsuperscript for subscripts?

João.




Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:
> So maybe
>
> \DeclareRobustCommand*\textsubscript[1]{%
>   \@textsubscript{\selectfont#1}}
> \def\@textsubscript#1{%
>   {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}
>
> in the preamble would help?

No, it gives a lot of errors:

This is TeX, Version 3.14159 (Web2C 7.3.7)
(./teste.tex
LaTeX2e <2001/06/01>
Babel  and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (./teste.aux)
! Undefined control sequence.
\@textsubscript#1->{\m
   @th\ensuremath {_{\mbox {\fontsize \sf @size\z
@#1
l.10 A\textsubscript{b}

?
! Missing number, treated as zero.

   \protect
l.10 A\textsubscript{b}

?
! Illegal unit of measure (pt inserted).

   \protect
l.10 A\textsubscript{b}

?
! Missing number, treated as zero.

   @
l.10 A\textsubscript{b}

?
! Illegal unit of measure (pt inserted).

   @
l.10 A\textsubscript{b}

?
! Undefined control sequence.
 \fontsize \sf @size\z
 @\selectfont b
l.10 A\textsubscript{b}

?

LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <0> not available
(Font)  size <5> substituted on input line 10.

[1] (./teste.aux)

LaTeX Font Warning: Size substitutions with differences
(Font)  up to 5.0pt have occurred.

 )
Output written on teste.dvi (1 page, 272 bytes).
Transcript written on teste.log.





Re: Bug or not?

2002-10-29 Thread Joao Luis Meloni Assirati


On Tue, 29 Oct 2002, Andre Poenitz wrote:

> On Tue, Oct 29, 2002 at 08:46:16AM -0200, Joao Luis Meloni Assirati wrote:
> > No, it gives a lot of errors:
>
> What happens if you wrap these four lines in
>
> \makeatletter
> ...
> \makearother

\makeatother.

Works beautifully. Thanks.

Anyway, \text{super,sub}script are is still using math, so they are
"faked". But these have the advantage over the simpler lyx $^{\textrm{}}$
in that fonts are preserved.

João.





Re: Small poll

2002-10-28 Thread Joao Luis Meloni Assirati


I vote for (a).

João.




Re: Small poll

2002-10-28 Thread Joao Luis Meloni Assirati


I vote for (a).

João.




Re: Small poll

2002-10-28 Thread Joao Luis Meloni Assirati


I vote for (a).

João.




Brace grouping in math mode.

2002-03-18 Thread Joao Luis Meloni Assirati


Hello,

I use the latest lyx 1.2.0cvs. When in math mode, typing { produces a pair
of raw grouping braces {} instead of a pure brace \{, as in text mode. I
posted this to lyx-devel and was informed that grouping {} are sometimes
needed in math mode. Can someone show me an example where grouping braces
are needed outside ERT?

Thank you,

Joao Luis.




Brace grouping in math mode.

2002-03-18 Thread Joao Luis Meloni Assirati


Hello,

I use the latest lyx 1.2.0cvs. When in math mode, typing { produces a pair
of raw grouping braces {} instead of a pure brace \{, as in text mode. I
posted this to lyx-devel and was informed that grouping {} are sometimes
needed in math mode. Can someone show me an example where grouping braces
are needed outside ERT?

Thank you,

Joao Luis.




Brace grouping in math mode.

2002-03-18 Thread Joao Luis Meloni Assirati


Hello,

I use the latest lyx 1.2.0cvs. When in math mode, typing { produces a pair
of raw grouping braces {} instead of a pure brace \{, as in text mode. I
posted this to lyx-devel and was informed that grouping {} are sometimes
needed in math mode. Can someone show me an example where grouping braces
are needed outside ERT?

Thank you,

Joao Luis.




align and gather.

2002-01-31 Thread Joao Luis Meloni Assirati


Hello everybody!

I use Scientific Word and want to change to LyX, because SW is too
expensive and buggy. I'm trying the latest version 1.1.6fix6 at Debian
(Linux) OS, and although lyx interface isn't too rich as in SW, I can work
in lyx as well as in SW. I found lyx superior to SW in many respects, for
example it shows the title, abstract, etc, and shows also tex code!

The problem is that I must work (physicist's work: lots of math) with
people that use SW, and I noticed that although my lyx can import
SW latex, it displays align, align*, gather, and gather* environments
(that we use a lot) as tex, that is the WYSIWYM interface does not work
for these environments.

I want to know:

1) Is this is normal? I mean, are these features really missing and
planned to be put in some next version?

2) Will I find other similar limitations in lyx? 

BTW, I know perl and my native language is portugese, so I could
contribute in reLyX and internationalization. How can I start contributing
in these fields?

Thanks!

Joao Luis M. Assirati.




align and gather.

2002-01-31 Thread Joao Luis Meloni Assirati


Hello everybody!

I use Scientific Word and want to change to LyX, because SW is too
expensive and buggy. I'm trying the latest version 1.1.6fix6 at Debian
(Linux) OS, and although lyx interface isn't too rich as in SW, I can work
in lyx as well as in SW. I found lyx superior to SW in many respects, for
example it shows the title, abstract, etc, and shows also tex code!

The problem is that I must work (physicist's work: lots of math) with
people that use SW, and I noticed that although my lyx can import
SW latex, it displays align, align*, gather, and gather* environments
(that we use a lot) as tex, that is the WYSIWYM interface does not work
for these environments.

I want to know:

1) Is this is normal? I mean, are these features really missing and
planned to be put in some next version?

2) Will I find other similar limitations in lyx? 

BTW, I know perl and my native language is portugese, so I could
contribute in reLyX and internationalization. How can I start contributing
in these fields?

Thanks!

Joao Luis M. Assirati.




align and gather.

2002-01-31 Thread Joao Luis Meloni Assirati


Hello everybody!

I use Scientific Word and want to change to LyX, because SW is too
expensive and buggy. I'm trying the latest version 1.1.6fix6 at Debian
(Linux) OS, and although lyx interface isn't too rich as in SW, I can work
in lyx as well as in SW. I found lyx superior to SW in many respects, for
example it shows the title, abstract, etc, and shows also tex code!

The problem is that I must work (physicist's work: lots of math) with
people that use SW, and I noticed that although my lyx can import
SW latex, it displays align, align*, gather, and gather* environments
(that we use a lot) as tex, that is the WYSIWYM interface does not work
for these environments.

I want to know:

1) Is this is normal? I mean, are these features really missing and
planned to be put in some next version?

2) Will I find other similar limitations in lyx? 

BTW, I know perl and my native language is portugese, so I could
contribute in reLyX and internationalization. How can I start contributing
in these fields?

Thanks!

Joao Luis M. Assirati.