Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-12 Thread Wols Lists
On 03/03/20 09:36, Michael wrote:
> As a rule I do not have java on my systems.  Before you go recompiling LO to 
> take USE=java out, note that LO uses java for a number of plugins and without 
> it they won't work.  For example, some of database plugins used in LO Base to 
> open and edit SQL databases rely on java.  It's been years since I edited 
> database tables with LO, so I have no use for it at present and this is why 
> I've taken it out.  YMMV.

Java in LO is deprecated. Unfortunately, the old database they are
trying to upgrade from was written in Java, so actually moving forward
and dropping the Java dependency has turned out to be a rather bigger
job than planned ...

Cheers,
Wol



Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-04 Thread james

On 3/2/20 6:07 PM, Dale wrote:

Howdy,

I don't use LOo a whole lot but several months ago, I noticed a
problem.� Sometimes I go to a electronic type website that has info on
circuits and how something works.� Those pages usually contain text,
pics and such.� I highlight what contains the info I want, which may
include some things I don't, then copy it to my clipboard.� I then go to
LOo and paste it as HTML since that's what it is.� Once pasted, I remove
things I don't want, such as social media icons and other unwanted
things.� I also make some images larger, make text larger and such as
well.� When I get it right, I print it as a pdf file or save it as a LOo
document.� That's how I did it in the past.� When I would paste the
contents, it would include images and all and would be done in seconds,
well under a minute for sure.

When I paste the content now, it doesn't include pics.� The boxes is
there and text for the link to the image but no image.� It also locks
LOo up for minutes.� If I try to scroll up or down, it locks up again.
Even with all that, it never loads the images.� I end up killing the
process.� I think this started when the 6.3.* versions came out.� I
would normally go back to a older version but those are no longer in the
tree. I'm wondering if a USE flag could make it work again.� I used euse
-i to see what each flag does but I'm not seeing anything that would
change it.� What I think the problem could be, LOo can't reach the
network anymore.� In the past when I pasted content, I could see
activity on the network.� I think LOo was fetching the pics and maybe
even some other info as well.� Thing is, I don't see why it can't now.
Again, USE flag maybe???

Here is the info for libreoffice.


root@fireball / # emerge -av libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild�� R�� ~] app-office/libreoffice-6.3.5.2::gentoo� USE="cups 
dbus
gtk java kde mariadb pdfimport -accessibility -bluetooth -branding
-coinmp -debug -eds -firebird -googledrive -gstreamer -gtk2 -ldap -odk
-postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
-scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6
-python3_7 -python3_8" 233,805 KiB

Total: 1 package (1 reinstall), Size of downloads: 233,805 KiB

Would you like to merge these packages? [Yes/No] n

Quitting.

root@fireball / # equery list -po libreoffice
 �* Searching for libreoffice ...
[-P-] [� ] app-office/libreoffice-6.3.4.2-r1:0
[IP-] [� ] app-office/libreoffice-6.3.5.2:0
[-P-] [ -] app-office/libreoffice-6.3.:0
[-P-] [ -] app-office/libreoffice-:0
root@fireball / #


Anyone have a clue how to fix this?


I use LO quite a lot; but it is a beast and they are constantly 
'tweaking' small details


SO, you are not alone. If you'll post and example download and a brief 
example guide to what use to work and what does not work now, I'll see 
if I can duplicate the problem. Here is my current LO setup:


 Installed versions:  6.3.4.2-r1^t(02:24:34 AM 02/11/2020)(branding 
cups dbus gstreamer gtk java ldap mariadb odk pdfimport postgres


and

app-office/libreoffice-l10n
 Installed versions:  6.3.4.2... en

I'm interested in more advanced viewing of any and all sorts of 
electrical/electronic file viewing.


curiously,
James



Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-03 Thread Michael
On Tuesday, 3 March 2020 08:17:27 GMT Dale wrote:
> madscientistatlarge wrote:
> > Sent with ProtonMail Secure Email.
> > 
> > ‐‐‐ Original Message ‐‐‐
> > 
> > On Monday, March 2, 2020 5:35 PM, Dale  wrote:
> >> Michael wrote:
> >>> On Monday, 2 March 2020 23:07:03 GMT Dale wrote:
>  Howdy,
>  I don't use LOo a whole lot but several months ago, I noticed a
>  problem. Sometimes I go to a electronic type website that has info on
>  circuits and how something works. Those pages usually contain text,
>  pics and such. I highlight what contains the info I want, which may
>  include some things I don't, then copy it to my clipboard. I then go to
>  LOo and paste it as HTML since that's what it is. Once pasted, I remove
>  things I don't want, such as social media icons and other unwanted
>  things. I also make some images larger, make text larger and such as
>  well. When I get it right, I print it as a pdf file or save it as a LOo
>  document. That's how I did it in the past. When I would paste the
>  contents, it would include images and all and would be done in seconds,
>  well under a minute for sure.
>  When I paste the content now, it doesn't include pics. The boxes is
>  there and text for the link to the image but no image. It also locks
> > 
> > 
> > 
>  Thanks.
>  Dale
>  
>  :-) :-)
>  
>  I haven't looked into how LO works, but it may have something to do
>  with the tonne of JavaScript HTML pages contain these days and how
>  this is processed/ filtered. When I try it here it works for small
>  amounts of text/pics, but unlike your LO, I do not have java installed
>  as a dependency.
> >>> 
> >>> An alternative you could try is to save the page as HTML - File/Save
> >>> Page As. Then select one of the options to save it as below, which when
> >>> you open with LO does not take long to process. If you select 'HTML
> >>> page complete' it will save all JS and images in a separate folder,
> >>> which you could delete thereafter, or repurpose as you see fit.
> >> 
> >> Now that helps a LOT.  It works just like it used to work.  Very fast
> >> too.  It took maybe one to two seconds and it was done.  Everything is
> >> there too.
> >> 
> >> It takes a long while to compile LOo but I'm going to try disabling java
> >> just to see if that helps.  I'm not sure what all the page contains but
> >> here's a link to the page I just tested this with.  It's not like it is
> >> some super secret site or anything.
> >> 
> >> https://www.electronics-tutorials.ws/waveforms/555-circuits-part-1.html
> >> 
> >> It looks like plain stuff to me but I have no idea what is going on
> >> behind the scene.  Maybe some others will enjoy that site.  It has some
> >> good info and they add stuff pretty regular. 
> >> 
> >> Thanks much.  It's a workaround but at least I can get them copied and
> >> printed now.  ;-)
> >> 
> >> Dale
> >> 
> >> :-)  :-)
> > 
> > One caveat when using print to pdf, you should immediately check the pdf,
> > sometimes it only saves part of the page, not sure why, trying it again
> > seems to usually work.
> Very true.  I always check when printing to pdf.  I've noticed in the
> past that it sometimes leaves out things as well.  One thing about copy
> and pasting it into LOo, if it's there in LOo then it's there when I
> print.  I have had printing from a web browser leave out things tho. 
> 
> It's good info to have tho. 
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

As a rule I do not have java on my systems.  Before you go recompiling LO to 
take USE=java out, note that LO uses java for a number of plugins and without 
it they won't work.  For example, some of database plugins used in LO Base to 
open and edit SQL databases rely on java.  It's been years since I edited 
database tables with LO, so I have no use for it at present and this is why 
I've taken it out.  YMMV.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-03 Thread Dale
madscientistatlarge wrote:
>
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐ Original Message ‐‐‐
> On Monday, March 2, 2020 5:35 PM, Dale  wrote:
>
>> Michael wrote:
>>
>>> On Monday, 2 March 2020 23:07:03 GMT Dale wrote:
>>>
 Howdy,
 I don't use LOo a whole lot but several months ago, I noticed a
 problem. Sometimes I go to a electronic type website that has info on
 circuits and how something works. Those pages usually contain text,
 pics and such. I highlight what contains the info I want, which may
 include some things I don't, then copy it to my clipboard. I then go to
 LOo and paste it as HTML since that's what it is. Once pasted, I remove
 things I don't want, such as social media icons and other unwanted
 things. I also make some images larger, make text larger and such as
 well. When I get it right, I print it as a pdf file or save it as a LOo
 document. That's how I did it in the past. When I would paste the
 contents, it would include images and all and would be done in seconds,
 well under a minute for sure.
 When I paste the content now, it doesn't include pics. The boxes is
 there and text for the link to the image but no image. It also locks
> 
>
 Thanks.
 Dale
 :-) :-)
 I haven't looked into how LO works, but it may have something to do with 
 the
 tonne of JavaScript HTML pages contain these days and how this is 
 processed/
 filtered. When I try it here it works for small amounts of text/pics, but
 unlike your LO, I do not have java installed as a dependency.
>>> An alternative you could try is to save the page as HTML - File/Save Page 
>>> As.
>>> Then select one of the options to save it as below, which when you open with
>>> LO does not take long to process. If you select 'HTML page complete' it will
>>> save all JS and images in a separate folder, which you could delete
>>> thereafter, or repurpose as you see fit.
>> Now that helps a LOT.  It works just like it used to work.  Very fast
>> too.  It took maybe one to two seconds and it was done.  Everything is
>> there too.
>>
>> It takes a long while to compile LOo but I'm going to try disabling java
>> just to see if that helps.  I'm not sure what all the page contains but
>> here's a link to the page I just tested this with.  It's not like it is
>> some super secret site or anything.
>>
>> https://www.electronics-tutorials.ws/waveforms/555-circuits-part-1.html
>>
>> It looks like plain stuff to me but I have no idea what is going on
>> behind the scene.  Maybe some others will enjoy that site.  It has some
>> good info and they add stuff pretty regular. 
>>
>> Thanks much.  It's a workaround but at least I can get them copied and
>> printed now.  ;-)
>>
>> Dale
>>
>> :-)  :-)
> One caveat when using print to pdf, you should immediately check the pdf, 
> sometimes it only saves part of the page, not sure why, trying it again seems 
> to usually work.
>
>


Very true.  I always check when printing to pdf.  I've noticed in the
past that it sometimes leaves out things as well.  One thing about copy
and pasting it into LOo, if it's there in LOo then it's there when I
print.  I have had printing from a web browser leave out things tho. 

It's good info to have tho. 

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-02 Thread madscientistatlarge




Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
On Monday, March 2, 2020 5:35 PM, Dale  wrote:

> Michael wrote:
>
> > On Monday, 2 March 2020 23:07:03 GMT Dale wrote:
> >
> > > Howdy,
> > > I don't use LOo a whole lot but several months ago, I noticed a
> > > problem. Sometimes I go to a electronic type website that has info on
> > > circuits and how something works. Those pages usually contain text,
> > > pics and such. I highlight what contains the info I want, which may
> > > include some things I don't, then copy it to my clipboard. I then go to
> > > LOo and paste it as HTML since that's what it is. Once pasted, I remove
> > > things I don't want, such as social media icons and other unwanted
> > > things. I also make some images larger, make text larger and such as
> > > well. When I get it right, I print it as a pdf file or save it as a LOo
> > > document. That's how I did it in the past. When I would paste the
> > > contents, it would include images and all and would be done in seconds,
> > > well under a minute for sure.
> > > When I paste the content now, it doesn't include pics. The boxes is
> > > there and text for the link to the image but no image. It also locks



> > > Thanks.
> > > Dale
> > > :-) :-)
> > > I haven't looked into how LO works, but it may have something to do with 
> > > the
> > > tonne of JavaScript HTML pages contain these days and how this is 
> > > processed/
> > > filtered. When I try it here it works for small amounts of text/pics, but
> > > unlike your LO, I do not have java installed as a dependency.
> >
> > An alternative you could try is to save the page as HTML - File/Save Page 
> > As.
> > Then select one of the options to save it as below, which when you open with
> > LO does not take long to process. If you select 'HTML page complete' it will
> > save all JS and images in a separate folder, which you could delete
> > thereafter, or repurpose as you see fit.
>
> Now that helps a LOT.  It works just like it used to work.  Very fast
> too.  It took maybe one to two seconds and it was done.  Everything is
> there too.
>
> It takes a long while to compile LOo but I'm going to try disabling java
> just to see if that helps.  I'm not sure what all the page contains but
> here's a link to the page I just tested this with.  It's not like it is
> some super secret site or anything.
>
> https://www.electronics-tutorials.ws/waveforms/555-circuits-part-1.html
>
> It looks like plain stuff to me but I have no idea what is going on
> behind the scene.  Maybe some others will enjoy that site.  It has some
> good info and they add stuff pretty regular. 
>
> Thanks much.  It's a workaround but at least I can get them copied and
> printed now.  ;-)
>
> Dale
>
> :-)  :-)

One caveat when using print to pdf, you should immediately check the pdf, 
sometimes it only saves part of the page, not sure why, trying it again seems 
to usually work.



Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-02 Thread Dale
Michael wrote:
> On Monday, 2 March 2020 23:07:03 GMT Dale wrote:
>> Howdy,
>>
>> I don't use LOo a whole lot but several months ago, I noticed a
>> problem.  Sometimes I go to a electronic type website that has info on
>> circuits and how something works.  Those pages usually contain text,
>> pics and such.  I highlight what contains the info I want, which may
>> include some things I don't, then copy it to my clipboard.  I then go to
>> LOo and paste it as HTML since that's what it is.  Once pasted, I remove
>> things I don't want, such as social media icons and other unwanted
>> things.  I also make some images larger, make text larger and such as
>> well.  When I get it right, I print it as a pdf file or save it as a LOo
>> document.  That's how I did it in the past.  When I would paste the
>> contents, it would include images and all and would be done in seconds,
>> well under a minute for sure. 
>>
>> When I paste the content now, it doesn't include pics.  The boxes is
>> there and text for the link to the image but no image.  It also locks
>> LOo up for minutes.  If I try to scroll up or down, it locks up again. 
>> Even with all that, it never loads the images.  I end up killing the
>> process.  I think this started when the 6.3.* versions came out.  I
>> would normally go back to a older version but those are no longer in the
>> tree. I'm wondering if a USE flag could make it work again.  I used euse
>> -i to see what each flag does but I'm not seeing anything that would
>> change it.  What I think the problem could be, LOo can't reach the
>> network anymore.  In the past when I pasted content, I could see
>> activity on the network.  I think LOo was fetching the pics and maybe
>> even some other info as well.  Thing is, I don't see why it can't now. 
>> Again, USE flag maybe???
>>
>> Here is the info for libreoffice.
>>
>>
>> root@fireball / # emerge -av libreoffice
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild   R   ~] app-office/libreoffice-6.3.5.2::gentoo  USE="cups dbus
>> gtk java kde mariadb pdfimport -accessibility -bluetooth -branding
>> -coinmp -debug -eds -firebird -googledrive -gstreamer -gtk2 -ldap -odk
>> -postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
>> -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6
>> -python3_7 -python3_8" 233,805 KiB
>>
>> Total: 1 package (1 reinstall), Size of downloads: 233,805 KiB
>>
>> Would you like to merge these packages? [Yes/No] n
>>
>> Quitting.
>>
>> root@fireball / # equery list -po libreoffice
>>  * Searching for libreoffice ...
>> [-P-] [  ] app-office/libreoffice-6.3.4.2-r1:0
>> [IP-] [  ] app-office/libreoffice-6.3.5.2:0
>> [-P-] [ -] app-office/libreoffice-6.3.:0
>> [-P-] [ -] app-office/libreoffice-:0
>> root@fireball / #
>>
>>
>> Anyone have a clue how to fix this? 
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-) 
> I haven't looked into how LO works, but it may have something to do with the 
> tonne of JavaScript HTML pages contain these days and how this is processed/
> filtered.  When I try it here it works for small amounts of text/pics, but 
> unlike your LO, I do not have java installed as a dependency.
>
> An alternative you could try is to save the page as HTML - File/Save Page As. 
>  
> Then select one of the options to save it as below, which when you open with 
> LO does not take long to process.  If you select 'HTML page complete' it will 
> save all JS and images in a separate folder, which you could delete 
> thereafter, or repurpose as you see fit.

Now that helps a LOT.  It works just like it used to work.  Very fast
too.  It took maybe one to two seconds and it was done.  Everything is
there too.

It takes a long while to compile LOo but I'm going to try disabling java
just to see if that helps.  I'm not sure what all the page contains but
here's a link to the page I just tested this with.  It's not like it is
some super secret site or anything.

https://www.electronics-tutorials.ws/waveforms/555-circuits-part-1.html

It looks like plain stuff to me but I have no idea what is going on
behind the scene.  Maybe some others will enjoy that site.  It has some
good info and they add stuff pretty regular. 

Thanks much.  It's a workaround but at least I can get them copied and
printed now.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-02 Thread Michael
On Monday, 2 March 2020 23:07:03 GMT Dale wrote:
> Howdy,
> 
> I don't use LOo a whole lot but several months ago, I noticed a
> problem.  Sometimes I go to a electronic type website that has info on
> circuits and how something works.  Those pages usually contain text,
> pics and such.  I highlight what contains the info I want, which may
> include some things I don't, then copy it to my clipboard.  I then go to
> LOo and paste it as HTML since that's what it is.  Once pasted, I remove
> things I don't want, such as social media icons and other unwanted
> things.  I also make some images larger, make text larger and such as
> well.  When I get it right, I print it as a pdf file or save it as a LOo
> document.  That's how I did it in the past.  When I would paste the
> contents, it would include images and all and would be done in seconds,
> well under a minute for sure. 
> 
> When I paste the content now, it doesn't include pics.  The boxes is
> there and text for the link to the image but no image.  It also locks
> LOo up for minutes.  If I try to scroll up or down, it locks up again. 
> Even with all that, it never loads the images.  I end up killing the
> process.  I think this started when the 6.3.* versions came out.  I
> would normally go back to a older version but those are no longer in the
> tree. I'm wondering if a USE flag could make it work again.  I used euse
> -i to see what each flag does but I'm not seeing anything that would
> change it.  What I think the problem could be, LOo can't reach the
> network anymore.  In the past when I pasted content, I could see
> activity on the network.  I think LOo was fetching the pics and maybe
> even some other info as well.  Thing is, I don't see why it can't now. 
> Again, USE flag maybe???
> 
> Here is the info for libreoffice.
> 
> 
> root@fireball / # emerge -av libreoffice
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ~] app-office/libreoffice-6.3.5.2::gentoo  USE="cups dbus
> gtk java kde mariadb pdfimport -accessibility -bluetooth -branding
> -coinmp -debug -eds -firebird -googledrive -gstreamer -gtk2 -ldap -odk
> -postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
> -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6
> -python3_7 -python3_8" 233,805 KiB
> 
> Total: 1 package (1 reinstall), Size of downloads: 233,805 KiB
> 
> Would you like to merge these packages? [Yes/No] n
> 
> Quitting.
> 
> root@fireball / # equery list -po libreoffice
>  * Searching for libreoffice ...
> [-P-] [  ] app-office/libreoffice-6.3.4.2-r1:0
> [IP-] [  ] app-office/libreoffice-6.3.5.2:0
> [-P-] [ -] app-office/libreoffice-6.3.:0
> [-P-] [ -] app-office/libreoffice-:0
> root@fireball / #
> 
> 
> Anyone have a clue how to fix this? 
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

I haven't looked into how LO works, but it may have something to do with the 
tonne of JavaScript HTML pages contain these days and how this is processed/
filtered.  When I try it here it works for small amounts of text/pics, but 
unlike your LO, I do not have java installed as a dependency.

An alternative you could try is to save the page as HTML - File/Save Page As.  
Then select one of the options to save it as below, which when you open with 
LO does not take long to process.  If you select 'HTML page complete' it will 
save all JS and images in a separate folder, which you could delete 
thereafter, or repurpose as you see fit.

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-02 Thread Dale
Howdy,

I don't use LOo a whole lot but several months ago, I noticed a
problem.  Sometimes I go to a electronic type website that has info on
circuits and how something works.  Those pages usually contain text,
pics and such.  I highlight what contains the info I want, which may
include some things I don't, then copy it to my clipboard.  I then go to
LOo and paste it as HTML since that's what it is.  Once pasted, I remove
things I don't want, such as social media icons and other unwanted
things.  I also make some images larger, make text larger and such as
well.  When I get it right, I print it as a pdf file or save it as a LOo
document.  That's how I did it in the past.  When I would paste the
contents, it would include images and all and would be done in seconds,
well under a minute for sure. 

When I paste the content now, it doesn't include pics.  The boxes is
there and text for the link to the image but no image.  It also locks
LOo up for minutes.  If I try to scroll up or down, it locks up again. 
Even with all that, it never loads the images.  I end up killing the
process.  I think this started when the 6.3.* versions came out.  I
would normally go back to a older version but those are no longer in the
tree. I'm wondering if a USE flag could make it work again.  I used euse
-i to see what each flag does but I'm not seeing anything that would
change it.  What I think the problem could be, LOo can't reach the
network anymore.  In the past when I pasted content, I could see
activity on the network.  I think LOo was fetching the pics and maybe
even some other info as well.  Thing is, I don't see why it can't now. 
Again, USE flag maybe???

Here is the info for libreoffice.


root@fireball / # emerge -av libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] app-office/libreoffice-6.3.5.2::gentoo  USE="cups dbus
gtk java kde mariadb pdfimport -accessibility -bluetooth -branding
-coinmp -debug -eds -firebird -googledrive -gstreamer -gtk2 -ldap -odk
-postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
-scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6
-python3_7 -python3_8" 233,805 KiB

Total: 1 package (1 reinstall), Size of downloads: 233,805 KiB

Would you like to merge these packages? [Yes/No] n

Quitting.

root@fireball / # equery list -po libreoffice
 * Searching for libreoffice ...
[-P-] [  ] app-office/libreoffice-6.3.4.2-r1:0
[IP-] [  ] app-office/libreoffice-6.3.5.2:0
[-P-] [ -] app-office/libreoffice-6.3.:0
[-P-] [ -] app-office/libreoffice-:0
root@fireball / #


Anyone have a clue how to fix this? 

Thanks.

Dale

:-)  :-)