Re: Reducing document figures size

2019-10-17 Thread Cris Fuhrman
On Thu, Oct 17, 2019 at 1:19 PM Rich Shepard 
wrote:

> Thanks, Chris. Over the past couple of decades I've used gs primarily to
> convert .ps to .pdf (or the reverse) and have never dug deeply into all its
> capabilities. And it hadn't occurred to me to look at it.
>

I recently had to submit a paper to an IEEE conference and there was a
missing embedded font in the PDF (coming from a figure created in R). I
spent an hour trying to play around with the fonts in R, etc. with no
results. Finally I googled the problem and found that GS was able to solve
it (even using the fonts on my Windows 10 machine!). Like for you, gs has
helped me many times over the years, even before PS/PDF was a mainstream
format. Much like you, I was surprised... but not.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reducing document figures size

2019-10-17 Thread Rich Shepard

On Thu, 17 Oct 2019, Cris Fuhrman wrote:


GhostScript has lots of features. There are some hints at this GIST:
https://gist.github.com/firstdoit/6390547


Thanks, Chris. Over the past couple of decades I've used gs primarily to
convert .ps to .pdf (or the reverse) and have never dug deeply into all its
capabilities. And it hadn't occurred to me to look at it.

Thanks for the pointer!

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reducing document figures size

2019-10-17 Thread Cris Fuhrman
GhostScript has lots of features. There are some hints at this GIST:
https://gist.github.com/firstdoit/6390547

On Thu, Oct 17, 2019 at 10:45 AM Rich Shepard 
wrote:

> I have a 37-page report and the pdf size is 7.3M because it includes 34
> figures. Some of these figures are digital photographs (720x480dpi, .png),
> some are spatial maps produced by GRASS (.pdf), and some are lattice plots
> produced by R (large amounts of data display slowly, .pdf).
>
> Is there a format that would preserve image quality but consume less space?
> I'm sure that ImageMagick's 'convert' will do the job. I've tried
> converting
> PDF files to EPS but the quality is noticeably degraded.
>
> Ideas most welcome.
>
> Regards,
>
> Rich
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reuse MikTeX from Win10 in WSL

2019-10-17 Thread Cris Fuhrman
On Thu, Oct 17, 2019 at 9:44 AM Kees Zeelenberg (kzStats) <
kzsta...@gmail.com> wrote:

> Yes, this is possible; that is to say I once did this under a dual boot of
> W10 and Lubuntu. Install MikTeX in the usual way under one system, say W10,
> then install the basics under the other system, WSL, and add the W10
> install TEXMF root directory, where the packages are, as user root
> directory under WSL.  Of course, in this construct, packages can only be
> updated under W10.
>

Thanks for sharing - this is interesting. Did you turn off the option on
the Linux side to install automatically missing modules (assuming that such
an option exists there, too)? One of the nice things about MikTeX in
Windows is that the modules are loaded dynamically inside of LaTeX (or even
LyX). TeXLive has huge "chunks" for modules (via apt-get), at least as
far as I can tell.


> It should also be possible to share between TeXLive and MikTeX in a
> similar way.
>
> I don’t do this anymore, since HD are cheap nowadays.
>

True, but the same is not true about SSDs. My main machine is a Surface Pro
and it's very snappy, but the SSD has ~250Gb - I'm not hurting for space
yet, which is why I asked the question. My home desktop has a 2TB HD that
is a performance bottleneck when I run LyX.

I will give it a try and report back. Cheers!
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Reducing document figures size

2019-10-17 Thread Rich Shepard

I have a 37-page report and the pdf size is 7.3M because it includes 34
figures. Some of these figures are digital photographs (720x480dpi, .png),
some are spatial maps produced by GRASS (.pdf), and some are lattice plots
produced by R (large amounts of data display slowly, .pdf).

Is there a format that would preserve image quality but consume less space?
I'm sure that ImageMagick's 'convert' will do the job. I've tried converting
PDF files to EPS but the quality is noticeably degraded.

Ideas most welcome.

Regards,

Rich

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: Reuse MikTeX from Win10 in WSL

2019-10-17 Thread Kees Zeelenberg (kzStats)
Van: lyx-users  Namens Cris Fuhrman
Verzonden: dinsdag 15 oktober 2019 15:15
Aan: LyX Users 
Onderwerp: Reuse MikTeX from Win10 in WSL

 

The trouble is that, like many things WSL, I wind up with two installations of 
the same library (MikTeX from Win 10 and TexLive from Ubuntu install of LyX). I 
know a MikTeX exists for Ubuntu, so I got to thinking maybe I could configure 
it to point to the Win 10 installation.

 

Yes, this is possible; that is to say I once did this under a dual boot of W10 
and Lubuntu. Install MikTeX in the usual way under one system, say W10, then 
install the basics under the other system, WSL, and add the W10 install TEXMF 
root directory, where the packages are, as user root directory under WSL.  Of 
course, in this construct, packages can only be updated under W10.

It should also be possible to share between TeXLive and MikTeX in a similar way.

I don’t do this anymore, since HD are cheap nowadays. 

 

 

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Testing archives

2019-10-17 Thread Jean-Marc Lasgouttes

Just a quick message to see whether archiving works again.

JMarc
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users