Disable copy and paste

2013-08-08 Thread Rilke Rainer Michael
Hi List,

I want to export a lyx document to a pdf. However, I want also that once 
reading the document it is impossible to copy and paste text from this pdf. Do 
you have any idea, whether there is a workaround for lyx?

Best,
Rainer


Re: Disable copy and paste

2013-08-08 Thread Walter van Holst
On 8 aug. 2013, at 10:17, Rilke Rainer Michael ri...@wiso.uni-koeln.de wrote:

 Hi List,
  
 I want to export a lyx document to a pdf. However, I want also that once 
 reading the document it is impossible to copy and paste text from this pdf. 
 Do you have any idea, whether there is a workaround for lyx?
  

Basically you want DRM. Which is silly at best.

AW: Disable copy and paste

2013-08-08 Thread Rilke Rainer Michael
Or maybe that every page is saved as an image and than converted to pdf.


- Rainer

Von: Walter van Holst [mailto:walter.van.ho...@xs4all.nl]
Gesendet: Donnerstag, 8. August 2013 10:23
An: Rilke Rainer Michael
Cc: lyx-users@lists.lyx.org
Betreff: Re: Disable copy and paste

On 8 aug. 2013, at 10:17, Rilke Rainer Michael 
ri...@wiso.uni-koeln.demailto:ri...@wiso.uni-koeln.de wrote:

Hi List,

I want to export a lyx document to a pdf. However, I want also that once 
reading the document it is impossible to copy and paste text from this pdf. Do 
you have any idea, whether there is a workaround for lyx?


Basically you want DRM. Which is silly at best.


Re: Disable copy and paste

2013-08-08 Thread Ray Rashif
On 8 August 2013 16:17, Rilke Rainer Michael ri...@wiso.uni-koeln.de wrote:
 Hi List,



 I want to export a lyx document to a pdf. However, I want also that once
 reading the document it is impossible to copy and paste text from this pdf.
 Do you have any idea, whether there is a workaround for lyx?

That is encryption. You have the choice of disabling printing as well.
Converting to images, or rasterizing fonts, has the same effect as not
allowing copies but greatly increases the file size. However, this is
a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1]

[1] http://www.pdflabs.com/docs/pdftk-cli-examples/


--
GPG/PGP ID: C0711BF1


Re: Disable copy and paste

2013-08-08 Thread Rainer M Krug
Ray Rashif schivmeis...@gmail.com writes:

 On 8 August 2013 16:17, Rilke Rainer Michael ri...@wiso.uni-koeln.de wrote:
 Hi List,



 I want to export a lyx document to a pdf. However, I want also that once
 reading the document it is impossible to copy and paste text from this pdf.
 Do you have any idea, whether there is a workaround for lyx?

Just one word of caution: if you can see the text on screen, you can
extract it by taking a screenshot and using ocr (optical character
recognition) and nothing will stop you. So this just makes it slightly
more difficult to get the text.

As far as I remember, one can also convert the pdf to images, and do the
ocr automatically. Same with images - if they can be displayed, they can
be extracted.


 That is encryption. You have the choice of disabling printing as well.
 Converting to images, or rasterizing fonts, has the same effect as not
 allowing copies but greatly increases the file size. However, this is
 a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1]


pdftk is an excellent tool for doing this. You could even add it as a
copier into lyx to automatically encrypt - if you really want to.

Cheers,

Rainer


 [1] http://www.pdflabs.com/docs/pdftk-cli-examples/


 --
 GPG/PGP ID: C0711BF1

#secure method=pgpmime mode=sign


Footnotes: 
[1]  

-- 
Rainer M. Krug

email: RMKrugatgmaildotcom



Logical Operators

2013-08-08 Thread Jens-D. Doll


Does anyone know, where the forall and exists quantors can be found? I  
found a lot of mathematical symbols, but not these two.


Greetings,
Jens




Re: Disable copy and paste

2013-08-08 Thread Ray Rashif
On 8 August 2013 17:51, Rainer M Krug rai...@krugs.de wrote:
 Just one word of caution: if you can see the text on screen, you can
 extract it by taking a screenshot and using ocr (optical character
 recognition) and nothing will stop you. So this just makes it slightly
 more difficult to get the text.

What's more, if I'm not wrong, encryption depends on the reader having
support, so you can effectively render encryption useless by using a
very old reader and PDF format. Even GhostScript lets you bypass
encryption, though not intentionally.

It's really all about preventing frequent abuse of documents by lay
people. Someone with the intent _will_ get your text somehow or
another. There are many tools that person could employ.


--
GPG/PGP ID: C0711BF1


Re: Disable copy and paste

2013-08-08 Thread Rainer M Krug
Ray Rashif schivmeis...@gmail.com writes:

 On 8 August 2013 17:51, Rainer M Krug rai...@krugs.de wrote:
 Just one word of caution: if you can see the text on screen, you can
 extract it by taking a screenshot and using ocr (optical character
 recognition) and nothing will stop you. So this just makes it slightly
 more difficult to get the text.

 What's more, if I'm not wrong, encryption depends on the reader having
 support, so you can effectively render encryption useless by using a
 very old reader and PDF format. Even GhostScript lets you bypass
 encryption, though not intentionally.

I might be wrong, but I think even okular had an option (!) to enable or
disable to respect the restrictions.


 It's really all about preventing frequent abuse of documents by lay
 people. Someone with the intent _will_ get your text somehow or
 another. There are many tools that person could employ.

Absolutely - but I think the problem are not the lay people, but rather
the expert copier who knows how to do it.

Cheers,

Rainer



 --
 GPG/PGP ID: C0711BF1



-- 
Rainer M. Krug

email: RMKrugatgmaildotcom



Re: Logical Operators

2013-08-08 Thread Josh Hieronymus
They're located with the Miscellaneous symbols that appear when you click
the upside-down nabla triangle button. Or, within a math environment, you
can simply type \forall and \exists to get these symbols.
- Josh


On Thu, Aug 8, 2013 at 6:03 AM, Jens-D. Doll 
jens.d...@studium.uni-hamburg.de wrote:


 Does anyone know, where the forall and exists quantors can be found? I
 found a lot of mathematical symbols, but not these two.

 Greetings,
 Jens





formula numbering

2013-08-08 Thread bieniasz


Hi,

I am writing a book using LyX, and I have a question regarding
the formula numbering. An exclusive way to add and reference the formula 
numbers seems to be via equation labels. This works, but appears 
rather irritating when one has to invent unique names for hundreds of
equations. Is there no simpler way? I do not quite understand why these
labels must be used, in the situation when LyX seems to keep track
of every new equation all the time, and updates the equation numbers 
automatically. It would be much easier just to refer to the various 
equations by these formula numbers, without having
to use additional labels. Are there no plans to introduce such an
improvement into LyX?

Leslaw
 



Re: Disable copy and paste

2013-08-08 Thread Richard Heck

On 08/08/2013 06:31 AM, Rainer M Krug wrote:

Ray Rashif schivmeis...@gmail.com writes:


On 8 August 2013 17:51, Rainer M Krug rai...@krugs.de wrote:

Just one word of caution: if you can see the text on screen, you can
extract it by taking a screenshot and using ocr (optical character
recognition) and nothing will stop you. So this just makes it slightly
more difficult to get the text.

What's more, if I'm not wrong, encryption depends on the reader having
support, so you can effectively render encryption useless by using a
very old reader and PDF format. Even GhostScript lets you bypass
encryption, though not intentionally.

I might be wrong, but I think even okular had an option (!) to enable or
disable to respect the restrictions.


Yes, that was true at one point. And I assume if one complied the source
oneself, one could pretty easily disable encryption.

Richard



Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 09:34 AM, bieniasz wrote:


Hi,

I am writing a book using LyX, and I have a question regarding
the formula numbering. An exclusive way to add and reference the formula
numbers seems to be via equation labels. This works, but appears
rather irritating when one has to invent unique names for hundreds of
equations. Is there no simpler way? I do not quite understand why these
labels must be used, in the situation when LyX seems to keep track
of every new equation all the time, and updates the equation numbers
automatically. It would be much easier just to refer to the various
equations by these formula numbers, without having
to use additional labels.


What happens, then, when you add a new equation somewhere in
the middle of the document?


Are there no plans to introduce such an improvement into LyX?


There has often been talk about automatic labelling, so that the
equation would have its own magic label, so to speak, and you
could reference it without needing to make up a label. But no one
has found the need pressing enough to do it.

Still, making up a label isn't that hard, and it can make it easier
to remeber which equation you want to reference later. You can
of course just use numbers if you wish.

Richard



Re: formula numbering

2013-08-08 Thread bieniasz
Richard Heck rgheck at lyx.org writes:

 What happens, then, when you add a new equation somewhere in
 the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.
 
 There has often been talk about automatic labelling, so that the
 equation would have its own magic label, so to speak, and you
 could reference it without needing to make up a label. But no one
 has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.
 
 Still, making up a label isn't that hard, and it can make it easier
 to remeber which equation you want to reference later. You can
 of course just use numbers if you wish.

Well, yes and no. If I use my own labels, like
E1, E2, E3 etc., then I am in trouble when I need to add something
between E1 and E2, let's say. The problem is that user-defined labels
are not automatically updated, whereas the real equation numbers are.
Hence, I have a mess in which labels are in no clear relation to
the numbers.

So, in conclusion, I daresay the LaTeX/LyX system for equation numbering
needs a reasonable revision. If there are any LyX programmers out there,
please do something about this!!!

Leslaw




Re: formula numbering

2013-08-08 Thread curtis osterhoudt
I *like* the way LyX handles it. I give my equations labels which _make_sense_ 
to me as a physicist---like Poisson-Eqn---not having to coddle to the 
structure of the paper. If I want to refer to the equation 20 pages later, I 
don't have to go back and find the number and adapt the label or the 
references, nor do I have to worry about renumbering if anything changes. The 
cross-reference system built into Lyx/LaTeX takes care of that. 

   My only objection is the (perhaps apocryphal, but lodged in my brain since 
I've used LyX for about a decade now) requirement/suggestion to put dashes in 
place of spaces in one's labels.





 From: bieniasz nbbie...@cyf-kr.edu.pl
To: lyx-users@lists.lyx.org 
Sent: Thursday, August 8, 2013 8:06 AM
Subject: Re: formula numbering
 

Richard Heck rgheck at lyx.org writes:

 What happens, then, when you add a new equation somewhere in
 the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.

 There has often been talk about automatic labelling, so that the
 equation would have its own magic label, so to speak, and you
 could reference it without needing to make up a label. But no one
 has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.

 Still, making up a label isn't that hard, and it can make it easier
 to remeber which equation you want to reference later. You can
 of course just use numbers if you wish.

Well, yes and no. If I use my own labels, like
E1, E2, E3 etc., then I am in trouble when I need to add something
between E1 and E2, let's say. The problem is that user-defined labels
are not automatically updated, whereas the real equation numbers are.
Hence, I have a mess in which labels are in no clear relation to
the numbers.

So, in conclusion, I daresay the LaTeX/LyX system for equation numbering
needs a reasonable revision. If there are any LyX programmers out there,
please do something about this!!!

Leslaw

Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 01:19 PM, curtis osterhoudt wrote:
I *like* the way LyX handles it. I give my equations labels which 
_make_sense_ to me as a physicist---like Poisson-Eqn---not having to 
coddle to the structure of the paper. If I want to refer to the 
equation 20 pages later, I don't have to go back and find the number 
and adapt the label or the references, nor do I have to worry about 
renumbering if anything changes. The cross-reference system built into 
Lyx/LaTeX takes care of that.


   My only objection is the (perhaps apocryphal, but lodged in my 
brain since I've used LyX for about a decade now) 
requirement/suggestion to put dashes in place of spaces in one's labels.


Yes, LaTeX regards the space as separating tokens, and as things now are 
labels get entered as raw LaTeX, not as something that gets processed by 
LyX. So no spaces. That, however, would be easy to fix.


Richard



Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 12:06 PM, bieniasz wrote:

Richard Heck rgheck at lyx.org writes:


What happens, then, when you add a new equation somewhere in
the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.


What you really want is the auto-labelling that I described, it seems to 
me: Equations act as if they have labels associated with them, but the 
user does not actually see the label.


Thinking about it for a bit, I think this might not be that hard to do 
just for equations. When we've thought about it in the past, we've 
included sections, chapters, and so forth, and then it is harder.



There has often been talk about automatic labelling, so that the
equation would have its own magic label, so to speak, and you
could reference it without needing to make up a label. But no one
has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.


Of course. But when actually writing LaTeX (as opposed to LyX), one uses 
labels, since one wouldn't want to have to change the reference just 
because an equation gets moved.


As Curtis said, too, giving equations, sections, etc, meaningful labels 
makes it easier to figure out which one to reference later. So that is 
what most of us do. Indeed, it isn't really true that one always refers 
to equations by number. In my own papers, particular important equations 
(or formulae) often have labels and not just numbers. E.g., (Sat).


So, in conclusion, I daresay the LaTeX/LyX system for equation 
numbering needs a reasonable revision. If there are any LyX 
programmers out there, please do something about this!!!


As always with open source, it's a question of time and bodies. Those of 
us who work on this just haven't found the need pressing.


Richard



Disable copy and paste

2013-08-08 Thread Rilke Rainer Michael
Hi List,

I want to export a lyx document to a pdf. However, I want also that once 
reading the document it is impossible to copy and paste text from this pdf. Do 
you have any idea, whether there is a workaround for lyx?

Best,
Rainer


Re: Disable copy and paste

2013-08-08 Thread Walter van Holst
On 8 aug. 2013, at 10:17, Rilke Rainer Michael ri...@wiso.uni-koeln.de wrote:

 Hi List,
  
 I want to export a lyx document to a pdf. However, I want also that once 
 reading the document it is impossible to copy and paste text from this pdf. 
 Do you have any idea, whether there is a workaround for lyx?
  

Basically you want DRM. Which is silly at best.

AW: Disable copy and paste

2013-08-08 Thread Rilke Rainer Michael
Or maybe that every page is saved as an image and than converted to pdf.


- Rainer

Von: Walter van Holst [mailto:walter.van.ho...@xs4all.nl]
Gesendet: Donnerstag, 8. August 2013 10:23
An: Rilke Rainer Michael
Cc: lyx-users@lists.lyx.org
Betreff: Re: Disable copy and paste

On 8 aug. 2013, at 10:17, Rilke Rainer Michael 
ri...@wiso.uni-koeln.demailto:ri...@wiso.uni-koeln.de wrote:

Hi List,

I want to export a lyx document to a pdf. However, I want also that once 
reading the document it is impossible to copy and paste text from this pdf. Do 
you have any idea, whether there is a workaround for lyx?


Basically you want DRM. Which is silly at best.


Re: Disable copy and paste

2013-08-08 Thread Ray Rashif
On 8 August 2013 16:17, Rilke Rainer Michael ri...@wiso.uni-koeln.de wrote:
 Hi List,



 I want to export a lyx document to a pdf. However, I want also that once
 reading the document it is impossible to copy and paste text from this pdf.
 Do you have any idea, whether there is a workaround for lyx?

That is encryption. You have the choice of disabling printing as well.
Converting to images, or rasterizing fonts, has the same effect as not
allowing copies but greatly increases the file size. However, this is
a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1]

[1] http://www.pdflabs.com/docs/pdftk-cli-examples/


--
GPG/PGP ID: C0711BF1


Re: Disable copy and paste

2013-08-08 Thread Rainer M Krug
Ray Rashif schivmeis...@gmail.com writes:

 On 8 August 2013 16:17, Rilke Rainer Michael ri...@wiso.uni-koeln.de wrote:
 Hi List,



 I want to export a lyx document to a pdf. However, I want also that once
 reading the document it is impossible to copy and paste text from this pdf.
 Do you have any idea, whether there is a workaround for lyx?

Just one word of caution: if you can see the text on screen, you can
extract it by taking a screenshot and using ocr (optical character
recognition) and nothing will stop you. So this just makes it slightly
more difficult to get the text.

As far as I remember, one can also convert the pdf to images, and do the
ocr automatically. Same with images - if they can be displayed, they can
be extracted.


 That is encryption. You have the choice of disabling printing as well.
 Converting to images, or rasterizing fonts, has the same effect as not
 allowing copies but greatly increases the file size. However, this is
 a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1]


pdftk is an excellent tool for doing this. You could even add it as a
copier into lyx to automatically encrypt - if you really want to.

Cheers,

Rainer


 [1] http://www.pdflabs.com/docs/pdftk-cli-examples/


 --
 GPG/PGP ID: C0711BF1

#secure method=pgpmime mode=sign


Footnotes: 
[1]  

-- 
Rainer M. Krug

email: RMKrugatgmaildotcom



Logical Operators

2013-08-08 Thread Jens-D. Doll


Does anyone know, where the forall and exists quantors can be found? I  
found a lot of mathematical symbols, but not these two.


Greetings,
Jens




Re: Disable copy and paste

2013-08-08 Thread Ray Rashif
On 8 August 2013 17:51, Rainer M Krug rai...@krugs.de wrote:
 Just one word of caution: if you can see the text on screen, you can
 extract it by taking a screenshot and using ocr (optical character
 recognition) and nothing will stop you. So this just makes it slightly
 more difficult to get the text.

What's more, if I'm not wrong, encryption depends on the reader having
support, so you can effectively render encryption useless by using a
very old reader and PDF format. Even GhostScript lets you bypass
encryption, though not intentionally.

It's really all about preventing frequent abuse of documents by lay
people. Someone with the intent _will_ get your text somehow or
another. There are many tools that person could employ.


--
GPG/PGP ID: C0711BF1


Re: Disable copy and paste

2013-08-08 Thread Rainer M Krug
Ray Rashif schivmeis...@gmail.com writes:

 On 8 August 2013 17:51, Rainer M Krug rai...@krugs.de wrote:
 Just one word of caution: if you can see the text on screen, you can
 extract it by taking a screenshot and using ocr (optical character
 recognition) and nothing will stop you. So this just makes it slightly
 more difficult to get the text.

 What's more, if I'm not wrong, encryption depends on the reader having
 support, so you can effectively render encryption useless by using a
 very old reader and PDF format. Even GhostScript lets you bypass
 encryption, though not intentionally.

I might be wrong, but I think even okular had an option (!) to enable or
disable to respect the restrictions.


 It's really all about preventing frequent abuse of documents by lay
 people. Someone with the intent _will_ get your text somehow or
 another. There are many tools that person could employ.

Absolutely - but I think the problem are not the lay people, but rather
the expert copier who knows how to do it.

Cheers,

Rainer



 --
 GPG/PGP ID: C0711BF1



-- 
Rainer M. Krug

email: RMKrugatgmaildotcom



Re: Logical Operators

2013-08-08 Thread Josh Hieronymus
They're located with the Miscellaneous symbols that appear when you click
the upside-down nabla triangle button. Or, within a math environment, you
can simply type \forall and \exists to get these symbols.
- Josh


On Thu, Aug 8, 2013 at 6:03 AM, Jens-D. Doll 
jens.d...@studium.uni-hamburg.de wrote:


 Does anyone know, where the forall and exists quantors can be found? I
 found a lot of mathematical symbols, but not these two.

 Greetings,
 Jens





formula numbering

2013-08-08 Thread bieniasz


Hi,

I am writing a book using LyX, and I have a question regarding
the formula numbering. An exclusive way to add and reference the formula 
numbers seems to be via equation labels. This works, but appears 
rather irritating when one has to invent unique names for hundreds of
equations. Is there no simpler way? I do not quite understand why these
labels must be used, in the situation when LyX seems to keep track
of every new equation all the time, and updates the equation numbers 
automatically. It would be much easier just to refer to the various 
equations by these formula numbers, without having
to use additional labels. Are there no plans to introduce such an
improvement into LyX?

Leslaw
 



Re: Disable copy and paste

2013-08-08 Thread Richard Heck

On 08/08/2013 06:31 AM, Rainer M Krug wrote:

Ray Rashif schivmeis...@gmail.com writes:


On 8 August 2013 17:51, Rainer M Krug rai...@krugs.de wrote:

Just one word of caution: if you can see the text on screen, you can
extract it by taking a screenshot and using ocr (optical character
recognition) and nothing will stop you. So this just makes it slightly
more difficult to get the text.

What's more, if I'm not wrong, encryption depends on the reader having
support, so you can effectively render encryption useless by using a
very old reader and PDF format. Even GhostScript lets you bypass
encryption, though not intentionally.

I might be wrong, but I think even okular had an option (!) to enable or
disable to respect the restrictions.


Yes, that was true at one point. And I assume if one complied the source
oneself, one could pretty easily disable encryption.

Richard



Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 09:34 AM, bieniasz wrote:


Hi,

I am writing a book using LyX, and I have a question regarding
the formula numbering. An exclusive way to add and reference the formula
numbers seems to be via equation labels. This works, but appears
rather irritating when one has to invent unique names for hundreds of
equations. Is there no simpler way? I do not quite understand why these
labels must be used, in the situation when LyX seems to keep track
of every new equation all the time, and updates the equation numbers
automatically. It would be much easier just to refer to the various
equations by these formula numbers, without having
to use additional labels.


What happens, then, when you add a new equation somewhere in
the middle of the document?


Are there no plans to introduce such an improvement into LyX?


There has often been talk about automatic labelling, so that the
equation would have its own magic label, so to speak, and you
could reference it without needing to make up a label. But no one
has found the need pressing enough to do it.

Still, making up a label isn't that hard, and it can make it easier
to remeber which equation you want to reference later. You can
of course just use numbers if you wish.

Richard



Re: formula numbering

2013-08-08 Thread bieniasz
Richard Heck rgheck at lyx.org writes:

 What happens, then, when you add a new equation somewhere in
 the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.
 
 There has often been talk about automatic labelling, so that the
 equation would have its own magic label, so to speak, and you
 could reference it without needing to make up a label. But no one
 has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.
 
 Still, making up a label isn't that hard, and it can make it easier
 to remeber which equation you want to reference later. You can
 of course just use numbers if you wish.

Well, yes and no. If I use my own labels, like
E1, E2, E3 etc., then I am in trouble when I need to add something
between E1 and E2, let's say. The problem is that user-defined labels
are not automatically updated, whereas the real equation numbers are.
Hence, I have a mess in which labels are in no clear relation to
the numbers.

So, in conclusion, I daresay the LaTeX/LyX system for equation numbering
needs a reasonable revision. If there are any LyX programmers out there,
please do something about this!!!

Leslaw




Re: formula numbering

2013-08-08 Thread curtis osterhoudt
I *like* the way LyX handles it. I give my equations labels which _make_sense_ 
to me as a physicist---like Poisson-Eqn---not having to coddle to the 
structure of the paper. If I want to refer to the equation 20 pages later, I 
don't have to go back and find the number and adapt the label or the 
references, nor do I have to worry about renumbering if anything changes. The 
cross-reference system built into Lyx/LaTeX takes care of that. 

   My only objection is the (perhaps apocryphal, but lodged in my brain since 
I've used LyX for about a decade now) requirement/suggestion to put dashes in 
place of spaces in one's labels.





 From: bieniasz nbbie...@cyf-kr.edu.pl
To: lyx-users@lists.lyx.org 
Sent: Thursday, August 8, 2013 8:06 AM
Subject: Re: formula numbering
 

Richard Heck rgheck at lyx.org writes:

 What happens, then, when you add a new equation somewhere in
 the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.

 There has often been talk about automatic labelling, so that the
 equation would have its own magic label, so to speak, and you
 could reference it without needing to make up a label. But no one
 has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.

 Still, making up a label isn't that hard, and it can make it easier
 to remeber which equation you want to reference later. You can
 of course just use numbers if you wish.

Well, yes and no. If I use my own labels, like
E1, E2, E3 etc., then I am in trouble when I need to add something
between E1 and E2, let's say. The problem is that user-defined labels
are not automatically updated, whereas the real equation numbers are.
Hence, I have a mess in which labels are in no clear relation to
the numbers.

So, in conclusion, I daresay the LaTeX/LyX system for equation numbering
needs a reasonable revision. If there are any LyX programmers out there,
please do something about this!!!

Leslaw

Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 01:19 PM, curtis osterhoudt wrote:
I *like* the way LyX handles it. I give my equations labels which 
_make_sense_ to me as a physicist---like Poisson-Eqn---not having to 
coddle to the structure of the paper. If I want to refer to the 
equation 20 pages later, I don't have to go back and find the number 
and adapt the label or the references, nor do I have to worry about 
renumbering if anything changes. The cross-reference system built into 
Lyx/LaTeX takes care of that.


   My only objection is the (perhaps apocryphal, but lodged in my 
brain since I've used LyX for about a decade now) 
requirement/suggestion to put dashes in place of spaces in one's labels.


Yes, LaTeX regards the space as separating tokens, and as things now are 
labels get entered as raw LaTeX, not as something that gets processed by 
LyX. So no spaces. That, however, would be easy to fix.


Richard



Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 12:06 PM, bieniasz wrote:

Richard Heck rgheck at lyx.org writes:


What happens, then, when you add a new equation somewhere in
the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.


What you really want is the auto-labelling that I described, it seems to 
me: Equations act as if they have labels associated with them, but the 
user does not actually see the label.


Thinking about it for a bit, I think this might not be that hard to do 
just for equations. When we've thought about it in the past, we've 
included sections, chapters, and so forth, and then it is harder.



There has often been talk about automatic labelling, so that the
equation would have its own magic label, so to speak, and you
could reference it without needing to make up a label. But no one
has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.


Of course. But when actually writing LaTeX (as opposed to LyX), one uses 
labels, since one wouldn't want to have to change the reference just 
because an equation gets moved.


As Curtis said, too, giving equations, sections, etc, meaningful labels 
makes it easier to figure out which one to reference later. So that is 
what most of us do. Indeed, it isn't really true that one always refers 
to equations by number. In my own papers, particular important equations 
(or formulae) often have labels and not just numbers. E.g., (Sat).


So, in conclusion, I daresay the LaTeX/LyX system for equation 
numbering needs a reasonable revision. If there are any LyX 
programmers out there, please do something about this!!!


As always with open source, it's a question of time and bodies. Those of 
us who work on this just haven't found the need pressing.


Richard



Disable copy and paste

2013-08-08 Thread Rilke Rainer Michael
Hi List,

I want to export a lyx document to a pdf. However, I want also that once 
reading the document it is impossible to copy and paste text from this pdf. Do 
you have any idea, whether there is a workaround for lyx?

Best,
Rainer


Re: Disable copy and paste

2013-08-08 Thread Walter van Holst
On 8 aug. 2013, at 10:17, Rilke Rainer Michael  wrote:

> Hi List,
>  
> I want to export a lyx document to a pdf. However, I want also that once 
> reading the document it is impossible to copy and paste text from this pdf. 
> Do you have any idea, whether there is a workaround for lyx?
>  

Basically you want DRM. Which is silly at best.

AW: Disable copy and paste

2013-08-08 Thread Rilke Rainer Michael
Or maybe that every page is saved as an image and than converted to pdf.


- Rainer

Von: Walter van Holst [mailto:walter.van.ho...@xs4all.nl]
Gesendet: Donnerstag, 8. August 2013 10:23
An: Rilke Rainer Michael
Cc: lyx-users@lists.lyx.org
Betreff: Re: Disable copy and paste

On 8 aug. 2013, at 10:17, Rilke Rainer Michael 
> wrote:

Hi List,

I want to export a lyx document to a pdf. However, I want also that once 
reading the document it is impossible to copy and paste text from this pdf. Do 
you have any idea, whether there is a workaround for lyx?


Basically you want DRM. Which is silly at best.


Re: Disable copy and paste

2013-08-08 Thread Ray Rashif
On 8 August 2013 16:17, Rilke Rainer Michael  wrote:
> Hi List,
>
>
>
> I want to export a lyx document to a pdf. However, I want also that once
> reading the document it is impossible to copy and paste text from this pdf.
> Do you have any idea, whether there is a workaround for lyx?

That is encryption. You have the choice of disabling printing as well.
Converting to images, or rasterizing fonts, has the same effect as not
allowing copies but greatly increases the file size. However, this is
a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1]

[1] http://www.pdflabs.com/docs/pdftk-cli-examples/


--
GPG/PGP ID: C0711BF1


Re: Disable copy and paste

2013-08-08 Thread Rainer M Krug
Ray Rashif  writes:

> On 8 August 2013 16:17, Rilke Rainer Michael  wrote:
>> Hi List,
>>
>>
>>
>> I want to export a lyx document to a pdf. However, I want also that once
>> reading the document it is impossible to copy and paste text from this pdf.
>> Do you have any idea, whether there is a workaround for lyx?

Just one word of caution: if you can see the text on screen, you can
extract it by taking a screenshot and using ocr (optical character
recognition) and nothing will stop you. So this just makes it slightly
more difficult to get the text.

As far as I remember, one can also convert the pdf to images, and do the
ocr automatically. Same with images - if they can be displayed, they can
be extracted.

>
> That is encryption. You have the choice of disabling printing as well.
> Converting to images, or rasterizing fonts, has the same effect as not
> allowing copies but greatly increases the file size. However, this is
> a standalone process, separate from LyX. I use PDFtk on GNU/Linux. [1]
>

pdftk is an excellent tool for doing this. You could even add it as a
copier into lyx to automatically encrypt - if you really want to.

Cheers,

Rainer


> [1] http://www.pdflabs.com/docs/pdftk-cli-examples/
>
>
> --
> GPG/PGP ID: C0711BF1
>
<#secure method=pgpmime mode=sign>


Footnotes: 
[1]  

-- 
Rainer M. Krug

email: RMKruggmailcom



Logical Operators

2013-08-08 Thread Jens-D. Doll


Does anyone know, where the forall and exists quantors can be found? I  
found a lot of mathematical symbols, but not these two.


Greetings,
Jens




Re: Disable copy and paste

2013-08-08 Thread Ray Rashif
On 8 August 2013 17:51, Rainer M Krug  wrote:
> Just one word of caution: if you can see the text on screen, you can
> extract it by taking a screenshot and using ocr (optical character
> recognition) and nothing will stop you. So this just makes it slightly
> more difficult to get the text.

What's more, if I'm not wrong, encryption depends on the reader having
support, so you can effectively render encryption useless by using a
very old reader and PDF format. Even GhostScript lets you bypass
encryption, though not intentionally.

It's really all about preventing frequent abuse of documents by lay
people. Someone with the intent _will_ get your text somehow or
another. There are many tools that person could employ.


--
GPG/PGP ID: C0711BF1


Re: Disable copy and paste

2013-08-08 Thread Rainer M Krug
Ray Rashif  writes:

> On 8 August 2013 17:51, Rainer M Krug  wrote:
>> Just one word of caution: if you can see the text on screen, you can
>> extract it by taking a screenshot and using ocr (optical character
>> recognition) and nothing will stop you. So this just makes it slightly
>> more difficult to get the text.
>
> What's more, if I'm not wrong, encryption depends on the reader having
> support, so you can effectively render encryption useless by using a
> very old reader and PDF format. Even GhostScript lets you bypass
> encryption, though not intentionally.

I might be wrong, but I think even okular had an option (!) to enable or
disable to respect the restrictions.

>
> It's really all about preventing frequent abuse of documents by lay
> people. Someone with the intent _will_ get your text somehow or
> another. There are many tools that person could employ.

Absolutely - but I think the problem are not the lay people, but rather
the "expert copier" who knows how to do it.

Cheers,

Rainer

>
>
> --
> GPG/PGP ID: C0711BF1
>


-- 
Rainer M. Krug

email: RMKruggmailcom



Re: Logical Operators

2013-08-08 Thread Josh Hieronymus
They're located with the "Miscellaneous" symbols that appear when you click
the upside-down "nabla" triangle button. Or, within a math environment, you
can simply type "\forall" and "\exists" to get these symbols.
- Josh


On Thu, Aug 8, 2013 at 6:03 AM, Jens-D. Doll <
jens.d...@studium.uni-hamburg.de> wrote:

>
> Does anyone know, where the forall and exists quantors can be found? I
> found a lot of mathematical symbols, but not these two.
>
> Greetings,
> Jens
>
>
>


formula numbering

2013-08-08 Thread bieniasz


Hi,

I am writing a book using LyX, and I have a question regarding
the formula numbering. An exclusive way to add and reference the formula 
numbers seems to be via "equation labels". This works, but appears 
rather irritating when one has to invent unique names for hundreds of
equations. Is there no simpler way? I do not quite understand why these
labels must be used, in the situation when LyX seems to keep track
of every new equation all the time, and updates the equation numbers 
automatically. It would be much easier just to refer to the various 
equations by these formula numbers, without having
to use additional labels. Are there no plans to introduce such an
improvement into LyX?

Leslaw
 



Re: Disable copy and paste

2013-08-08 Thread Richard Heck

On 08/08/2013 06:31 AM, Rainer M Krug wrote:

Ray Rashif  writes:


On 8 August 2013 17:51, Rainer M Krug  wrote:

Just one word of caution: if you can see the text on screen, you can
extract it by taking a screenshot and using ocr (optical character
recognition) and nothing will stop you. So this just makes it slightly
more difficult to get the text.

What's more, if I'm not wrong, encryption depends on the reader having
support, so you can effectively render encryption useless by using a
very old reader and PDF format. Even GhostScript lets you bypass
encryption, though not intentionally.

I might be wrong, but I think even okular had an option (!) to enable or
disable to respect the restrictions.


Yes, that was true at one point. And I assume if one complied the source
oneself, one could pretty easily disable encryption.

Richard



Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 09:34 AM, bieniasz wrote:


Hi,

I am writing a book using LyX, and I have a question regarding
the formula numbering. An exclusive way to add and reference the formula
numbers seems to be via "equation labels". This works, but appears
rather irritating when one has to invent unique names for hundreds of
equations. Is there no simpler way? I do not quite understand why these
labels must be used, in the situation when LyX seems to keep track
of every new equation all the time, and updates the equation numbers
automatically. It would be much easier just to refer to the various
equations by these formula numbers, without having
to use additional labels.


What happens, then, when you add a new equation somewhere in
the middle of the document?


Are there no plans to introduce such an improvement into LyX?


There has often been talk about automatic labelling, so that the
equation would have its own "magic" label, so to speak, and you
could reference it without needing to make up a label. But no one
has found the need pressing enough to do it.

Still, making up a label isn't that hard, and it can make it easier
to remeber which equation you want to reference later. You can
of course just use numbers if you wish.

Richard



Re: formula numbering

2013-08-08 Thread bieniasz
Richard Heck  lyx.org> writes:

> What happens, then, when you add a new equation somewhere in
> the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.
 
> There has often been talk about automatic labelling, so that the
> equation would have its own "magic" label, so to speak, and you
> could reference it without needing to make up a label. But no one
> has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.
 
> Still, making up a label isn't that hard, and it can make it easier
> to remeber which equation you want to reference later. You can
> of course just use numbers if you wish.

Well, yes and no. If I use my own labels, like
E1, E2, E3 etc., then I am in trouble when I need to add something
between E1 and E2, let's say. The problem is that user-defined labels
are not automatically updated, whereas the real equation numbers are.
Hence, I have a mess in which labels are in no clear relation to
the numbers.

So, in conclusion, I daresay the LaTeX/LyX system for equation numbering
needs a reasonable revision. If there are any LyX programmers out there,
please do something about this!!!

Leslaw




Re: formula numbering

2013-08-08 Thread curtis osterhoudt
I *like* the way LyX handles it. I give my equations labels which _make_sense_ 
to me as a physicist---like "Poisson-Eqn"---not having to coddle to the 
structure of the paper. If I want to refer to the equation 20 pages later, I 
don't have to go back and find the number and adapt the label or the 
references, nor do I have to worry about renumbering if anything changes. The 
cross-reference system built into Lyx/LaTeX takes care of that. 

   My only objection is the (perhaps apocryphal, but lodged in my brain since 
I've used LyX for about a decade now) requirement/suggestion to put dashes in 
place of spaces in one's labels.





 From: bieniasz 
To: lyx-users@lists.lyx.org 
Sent: Thursday, August 8, 2013 8:06 AM
Subject: Re: formula numbering
 

Richard Heck  lyx.org> writes:

> What happens, then, when you add a new equation somewhere in
> the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.

> There has often been talk about automatic labelling, so that the
> equation would have its own "magic" label, so to speak, and you
> could reference it without needing to make up a label. But no one
> has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.

> Still, making up a label isn't that hard, and it can make it easier
> to remeber which equation you want to reference later. You can
> of course just use numbers if you wish.

Well, yes and no. If I use my own labels, like
E1, E2, E3 etc., then I am in trouble when I need to add something
between E1 and E2, let's say. The problem is that user-defined labels
are not automatically updated, whereas the real equation numbers are.
Hence, I have a mess in which labels are in no clear relation to
the numbers.

So, in conclusion, I daresay the LaTeX/LyX system for equation numbering
needs a reasonable revision. If there are any LyX programmers out there,
please do something about this!!!

Leslaw

Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 01:19 PM, curtis osterhoudt wrote:
I *like* the way LyX handles it. I give my equations labels which 
_make_sense_ to me as a physicist---like "Poisson-Eqn"---not having to 
coddle to the structure of the paper. If I want to refer to the 
equation 20 pages later, I don't have to go back and find the number 
and adapt the label or the references, nor do I have to worry about 
renumbering if anything changes. The cross-reference system built into 
Lyx/LaTeX takes care of that.


   My only objection is the (perhaps apocryphal, but lodged in my 
brain since I've used LyX for about a decade now) 
requirement/suggestion to put dashes in place of spaces in one's labels.


Yes, LaTeX regards the space as separating tokens, and as things now are 
labels get entered as raw LaTeX, not as something that gets processed by 
LyX. So no spaces. That, however, would be easy to fix.


Richard



Re: formula numbering

2013-08-08 Thread Richard Heck

On 08/08/2013 12:06 PM, bieniasz wrote:

Richard Heck  lyx.org> writes:


What happens, then, when you add a new equation somewhere in
the middle of the document?

This is what LyX already does - it updates automatically the equation
numbers. My point is why one cannot use these numbers for referencing
the equations in the text, since they are already there, up-to-date.


What you really want is the auto-labelling that I described, it seems to 
me: Equations act as if they have labels associated with them, but the 
user does not actually see the label.


Thinking about it for a bit, I think this might not be that hard to do 
just for equations. When we've thought about it in the past, we've 
included sections, chapters, and so forth, and then it is harder.



There has often been talk about automatic labelling, so that the
equation would have its own "magic" label, so to speak, and you
could reference it without needing to make up a label. But no one
has found the need pressing enough to do it.

This is difficult to understand for me. LaTeX users are primarily
scientists who write scientific texts. In such text one ALWAYS
refers to equations by numbers, and not by any peculiar labels.


Of course. But when actually writing LaTeX (as opposed to LyX), one uses 
labels, since one wouldn't want to have to change the reference just 
because an equation gets moved.


As Curtis said, too, giving equations, sections, etc, meaningful labels 
makes it easier to figure out which one to reference later. So that is 
what most of us do. Indeed, it isn't really true that one always refers 
to equations by number. In my own papers, particular important equations 
(or formulae) often have labels and not just numbers. E.g., (Sat).


So, in conclusion, I daresay the LaTeX/LyX system for equation 
numbering needs a reasonable revision. If there are any LyX 
programmers out there, please do something about this!!!


As always with open source, it's a question of time and bodies. Those of 
us who work on this just haven't found the need pressing.


Richard