Re: Best reference manger

2022-03-24 Thread Murat Yildizoglu via lyx-users
Hello Lu,
Under OSX, I prefer Bibdesk with Zotero. The latter can be used in other OSs. 

--

Prof. Murat Yildizoglu
Advisor to the Minister of Education, Youth and Sports of Cambodia
Expertise France


On leave from:
UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)

web: www.yildizoglu.fr

> Le 25 mars 2022 à 10:47, Lou via lyx-users  a écrit :
> 
> 
> Is jabref the best way to find and cite bibliography references in Lyx? Is 
> there a better, easier way? 
> 
> Lou
> 
> -- 
> 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: EPUB converter

2022-03-07 Thread Murat Yildizoglu via lyx-users
When I have contacted Alex last year when I was converting my book, I have 
understood that he is not continuing to work on this project anymore. 
Fortunately, ElyXer continues to be functional with LyX. But I have met some 
quirks during the translation. I had to correct them by custom scripts that I 
execute ex-post, after the first conversion.
It is a pity because Elyxer continues to give the most beautiful output to my 
taste. For example, math is beautifully converted using Mathjax.

--
Prof. Murat Yildizoglu

Université de Bordeaux
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

murat.yildizo...@u-bordeaux.fr

http://yildizoglu.fr

http://www.twitter.com/yildizoglu
Le 7 mars 2022 à 19:02 +0700, Dr Eberhard Lisse via lyx-users 
, a écrit :
>
> Ken
>
> there is a mailing list/news group for elyxer (last traffic 2017)
>
> elyxer-us...@nongnu.org
> gmane.editors.lyx.elyxer
>
> el
>
>
> On 2022-03-07 04:35 , Ken Kopelson via lyx-users wrote:
> [...]
> > Speaking of which, I did run into a problem with the LyXHTML export
> > from LyX. The other HTML exports from LyX all include the output
> > contained in Tex Code insets, while the LyXHTML export does not. This
> > creates a problem for using any kind of /lettrine or "initials"
> > functionality in your book, which is quite a problem.
> >
> > What I did to fix the problem is include a configurable table in the
> > converter that automatically includes the starting text for each
> > paragraph. Anytime I would change the first words of a paragraph, I
> > would have to make a change in the converter's configuration file,
> > changing the text there also. This is obviously extremely hacky, but
> > it does get the job done. If only the LyX team would fix the LyXHTML
> > export so it includes any text in a Tex Code block, ideally executing
> > the Tex Code so it properly adjusts the text size, that would be
> > ideal. The regular HTML export does this, so it should be easy to
> > just port that code over to the LyXHTML export. At least, one would
> > hope so.
> [...]
>
> --
> 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: EPUB converter

2022-03-05 Thread Murat Yildizoglu via lyx-users
Hi Steve,

I think that not every one of us has the same kind of needs as you. For 
example, for a basic user like me, a “good enough” converter that gives me the 
ability to easily create reasonable ePub and Kindle books would definitely be 
useful. Sometimes PDF is not the most convenient format.  

I agree that HTML export from LyX is not perfect (even without entering the 
strict semantical markup area, since I do not have needs that yet pushed me in 
there, I understand that it is your case) and I had to write a full set of 
scripts to tweak the output to make it beautiful enough to my eyes and correct 
some errors generated by Elyxer (I prefer the output by Elyxer to the native 
one because its author had a keen sense of esthetics and it is beautiful out of 
the box in my case). I nevertheless use LyX as my main editing platform because 
it is a fantastic tool and I am sincerely grateful to all the people who have 
contributed to its development. 

Consequently, I would be happy to test any ePUB output system to check if it is 
“good enough” for me.

Thank you for your efforts Ken. I think that the lyx-devel list would be a good 
place to start. Unfortunately, it is a closed list as far as I know. But they 
also listed to lyx-users and probably some of the developers could give you 
good pointers towards people in charge of this part of the conversion tools.

Best regards,

Murat



> On 6 March 2022, at 09:09, Steve Litt via lyx-users  
> wrote:
> 
> Hi Ken,
> 
> I suggest you put it out. The LyX project has a 15 year history of
> outputting pidgeon HTML incapable of building a *semantic* ePub,
> claiming what they've done is good enough, and treating with hostility
> my observations that they're prematurely converting style to appearance.
> 
> The LyX project is the wrong project to do LyX=>ePub; ePub isn't in
> their DNA, and until I'm shown otherwise, I'm treating any LyX=>ePub
> capabilities from the LyX project as vaporware.
> 
> Where can I download your converter with instructions?
> 
> Thanks,
> 
> SteveT
> 
> 
> Ken Kopelson via lyx-users said on Sat, 5 Mar 2022 12:47:52 -0800
> 
>> Does anyone know how I can get in touch with the people who are
>> working
>> on the EPUB export in version 2.4? I want to gauge if it will be worth
>> it for me to put my converter out. This will depend on:
>> 
>> 1) When 2.4 will be released
>> 2) How good the EPUB export will be
>> 
>> Any help on this would be appreciated. Even telling who I can contact
>> about this.
>> 
>> Many thanks,
>> *Ken Kopelson*
>> (619) 733-3374
>> 
>> 
>> On Thu, Mar 3, 2022 at 5:29 AM Dr Eberhard Lisse via lyx-users <
>> lyx-users@lists.lyx.org> wrote:
>> 
>>> Ken,
>>> 
>>> where is the missing link :-)-O?
>>> 
>>> 
>>> This is great news.
>>> 
>>> I am actually waiting for 2.4 and DocBook to convert my 859
>>> page "handbook" to EPUB so my staff and I can carry it around on our
>>> Kindles (App on iPad actually).
>>> 
>>> But, I would be very keen to see how your package works.
>>> 
>>> My little handbook doesn't really need anything fancier than a few
>>> images (JPG, PNG and PDF).
>>> 
>>> I also use (in one (common) "include.tex") something like
>>> 
>>> \usepackage{etoolbox}
>>> \newbool{business}
>>> \boolfalse{business}
>>> \newbool{private}
>>> \booltrue{private}
>>> 
>>> but if that (see your below remark) were not to work I can address
>>> that via a Makefile and different include (front matter) files as
>>> you seem to be doing.
>>> 
>>> Maybe you can look into that, because then you can have a single
>>> include file by putting something like this into a Makefile
>>> 
>>> bus:
>>> @perl -i -p \
>>>  -e
>>> 's/\\boolfalse\{business\}/\\booltrue\{business\}/g;' \
>>>  -e
>>> 's/\\booltrue\{private\}/\\boolfalse\{private\}/g;' \ include.tex
>>> @lyx -f -e pdf5 handbook.lyx
>>> 
>>> priv:
>>> @perl -i -p \
>>>  -e
>>> 's/\\booltrue\{business\}/\\boolfalse\{business\}/g;' \
>>>  -e
>>> 's/\\boolfalse\{private\}/\\booltrue\{private\}/g;' \ include.tex
>>> @lyx -f -e pdf5 handbook.lyx
>>> 
>>> and then use something like
>>> 
>>> \ifbool{business}{}{\include{business.tex}}
>>> \ifbool{private}{\include{private.tex}}{}
>>> 
>>> as ERT.
>>> 
>>> Looks complicated, is complicated, but once it works no further
>>> touching required.
>>> 
>>> 
>>> 
>>> In the meantime I have pulled
>>> 
>>> http://www.editorium.com/ftp/LyXBookSampler.zip
>>> 
>>> from
>>> 
>>> https://wiki.lyx.org/Layouts/Layouts
>>> 
>>> and will start some RTFM :-)-O
>>> 
>>> greetings, el
>>> 
>>> 
>>> On 03/03/2022 00:58, Ken Kopelson via lyx-users wrote:  
 Hello LyX users,
 
 I am sending this email to let people know that I have produced a
 converter for LyX that produces an excellent quality EPUB/Kindle
 file.  
>>> [...]  
 I love using LyX with the LyXBook theme 

Re: "Lyx must be updated"

2021-12-16 Thread Murat Yildizoglu via lyx-users
This is good news Stephan! Lyx is already pretty quick under Rosetta, but it 
should be quicker in native habits probably.
I have not checked TexLive, if it is M1 or Intel now. Maybe I should check it 
also. 
The nice speed and battery boost we get under M1 is so good, I have not really 
had the need to optimize anything yet :-)

> On 17 December 2021, at 04:16, Stephan Witt  wrote:
> 
> Am 16.12.2021 um 09:56 schrieb Murat Yildizoglu via lyx-users 
> :
>> 
>> I have tried to send this to lyx-devel but I am not a member.
>> 
>>> Begin forwarded message:
>>> 
>>> From: lyx-devel-ow...@lists.lyx.org
>>> Subject: "Lyx must be updated"
>>> Date: 16 December 2021 at 15:55:19 GMT+7
>>> To: myi...@gmail.com
>>> 
>>> Due to the massive amount of spam that this list receives, non-members
>>> are not permitted to post to this list. Please subscribe if you would
>>> like to post. (If you are trying to file a bug report, you can instead
>>> do that at https://www.lyx.org/trac/newticket.
>>> 
>>> 
>>> From: Murat Yildizoglu 
>>> Subject: "Lyx must be updated"
>>> Date: 16 December 2021 at 15:55:13 GMT+7
>>> To: LyX Developers 
>>> 
>>> 
>>> This is what OSX 12.1 tells me now with Lyx  LyX-2.3.6.2.
>>> 
>>> ""LyX" needs to be updated
>>> This app will not work with future versions of
>>> macOS and needs to be updated to improve
>>> compatibility. Contact the developer for more
>>> information.”
>>> 
>>> I imagine that the next version will be good with future versions of OSX.
>>> 
>>> I have just wanted to inform.
>>> 
>>> Best regards,
>>> Murat
> 
> Hi Murat,
> 
> that’s probably because of the LyX-2.3.6.2 package is pure Intel code and the 
> friendly OS wants to warn you about the fact the Apple company is on the way 
> to drop the support for the Intel CPUs.
> 
> The upcoming LyX-2.4 and the next LyX-2.3 release will be build for both CPU 
> architectures - the Intel and the Apple M1 chips.
> 
> Best regards,
> Stephan

—

Prof. Murat Yildizoglu

Advisor to the Minister of Education, Youth and Sports of Cambodia
Expertise France






On temporary leave from 
University of Bordeaux


#80 Preah Norodom Boulevard
Phnom Penh
Royaume du Cambodge
Telegram: +855 95 732 088
http://yildizoglu.fr


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


Fwd: "Lyx must be updated"

2021-12-16 Thread Murat Yildizoglu via lyx-users
I have tried to send this to lyx-devel but I am not a member.

> Begin forwarded message:
> 
> From: lyx-devel-ow...@lists.lyx.org
> Subject: "Lyx must be updated"
> Date: 16 December 2021 at 15:55:19 GMT+7
> To: myi...@gmail.com
> 
> Due to the massive amount of spam that this list receives, non-members
> are not permitted to post to this list. Please subscribe if you would
> like to post. (If you are trying to file a bug report, you can instead
> do that at https://www.lyx.org/trac/newticket.
> 
> 
> From: Murat Yildizoglu 
> Subject: "Lyx must be updated"
> Date: 16 December 2021 at 15:55:13 GMT+7
> To: LyX Developers 
> 
> 
> This is what OSX 12.1 tells me now with Lyx  LyX-2.3.6.2.
> 
> ""LyX" needs to be updated
> This app will not work with future versions of
> macOS and needs to be updated to improve
> compatibility. Contact the developer for more
> information.”
> 
> I imagine that the next version will be good with future versions of OSX.
> 
> I have just wanted to inform.
> 
> Best regards,
> Murat
> 
> 
> 
> 
> 
> 

—

Prof. Murat Yildizoglu

Advisor to the Minister of Education, Youth and Sports of Cambodia
Expertise France






On temporary leave from 
University of Bordeaux


#80 Preah Norodom Boulevard
Phnom Penh
Royaume du Cambodge
Telegram: +855 95 732 088
http://yildizoglu.fr


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


Re: Graphic file formats

2021-12-09 Thread Murat Yildizoglu via lyx-users
I understand Rich. I tend to think that when outliers are important, boxplots 
are maybe not the best way to represent such a data. For example, they easily 
get difficult to interpret because of the compression imposed by them on the 
boxes, given the axes’ scales. 

--

Prof. Murat Yildizoglu
Advisor to the Minister of Education, Youth and Sports of Cambodia
Expertise France


On leave from:
UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)

web: www.yildizoglu.fr

> Le 9 déc. 2021 à 23:04, Rich Shepard via lyx-users  
> a écrit :
> 
> On Thu, 9 Dec 2021, Murat Yildizoglu via lyx-users wrote:
> 
>> In Rich’s specific case, I suspect that the outliers of the boxplots crowd
>> the plot. ggplot has an option for not plotting them, then you have just
>> simple boxes left on the plot, and they do not need much memory, a few Ko
>> only.
> 
> Murat,
> 
> Addressing environmental regulatory issues outliers are very important.
> 
> 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: Graphic file formats

2021-12-09 Thread Murat Yildizoglu via lyx-users
You can even save in PNG from R and choose the definition in dpi that you want 
and the size of the bitmap plot. You can make them quite big, they will never 
be as demanding as a vector image (as in a pdf export)  with thousands data 
points.

In Rich’s specific case, I suspect that the outliers of the boxplots crowd the 
plot. ggplot has an option for not plotting them, then you have just simple 
boxes left on the plot, and they do not need much memory, a few Ko only.

For showing data distribution, I also like to use, when they are informative 
and relevant, kernel-density plots instead of data points.

I have had to find these substitution strategies because my points plots were 
saturating the lab printer’s memory, giving incomplete printed pages (and yes, 
the pages were also slow to show on screen of course with machines of that 
time).


http://yildizoglu.fr
Le 9 déc. 2021 à 20:57 +0700, Herbert Voss via lyx-users 
, a écrit :
>
>
> Am 08.12.21 um 18:09 schrieb Rich Shepard via lyx-users:
> > On Wed, 8 Dec 2021, Steve Litt wrote:
> >
> > > That's a lot of time. How many words is this book?
> >
> >
> > It's not the document's size, but the PDF image's size. I've attached
> > a copy
> > of the 3.7M file so everyone can play with loading it in a document.
>
> Here: https://hvoss.org/document2.pdf is a pdf with your image,
> the first one as pdf the second one as png:
>
> -rw-r--r--   1 voss  wheel   108688  9 Dez 14:49 all-discharge-plots-1.png
> -rw-r--r--@  1 voss  wheel  3704503  9 Dez 14:45 all-discharge-plots.pdf
>
> the ong has only 108kB and was converted with pdftocairo -png ...
>
> Herbert
> --
> 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: Graphic file formats

2021-12-08 Thread Murat Yildizoglu via lyx-users
I am not a pdf expert but this rather surprising given my experience with R 
plots. Rich, have you checked that the figures have not been converted to 
bitmaps with a default (and probably insufficient ) quality during this 
compression?
You can check it by zooming in on the figures to see if they quickly pixellise 
and become ugly. 

--

Prof. Murat Yildizoglu
Advisor to the Minister of Education, Youth and Sports of Cambodia
Expertise France


On leave from:
UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)

web: www.yildizoglu.fr

> Le 9 déc. 2021 à 00:54, Rich Shepard  a écrit :
> 
> On Wed, 8 Dec 2021, Steve Litt wrote:
> 
>> There are ways to shrink PDF size:
>> Web search: linux shrink pdf size
> 
> SteveT,
> 
> First hit uses ghostscript; I never dove deep into gs and didn't know that
> it can effectively compress a PDF file. It compressed the original 3,704,503
> byte file to 897,417 bytes; a reduction of 76%. That's impressive.
> 
> Thanks for the valuable lesson!
> 
> Stay well,
> 
> 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: Graphic file formatsx

2021-12-08 Thread Murat Yildizoglu via lyx-users
This is not a problem of the text content.

 When you create a points plot in R, it puts the information about all the 
points in the exported PDF figure, even if many of them correspond to the same 
coordinates. It does not « flatten » the pdf figure. When you plot millions of 
points, that results in a lot of information and may necessitate considerable 
amount of memory from the computer for displaying on the screen or from the 
printer, to transfer on paper. 
When we export to a bitmap format like PNG, the information is « flattened » 
and all points that fall on the same pixels are coded just the value of these 
pixels. That makes the figure easier to handle. 

When you do a curve plot (like a density plot, for example) this problem does 
not exist. This is another strategy that I  use when possible: can I show the 
same informed with a curve instead of with dots? If yes, I go for it. It is 
much more parsimonious. 

Using a bitmap format with correct proportions and sufficient density, the 
first solution gives very satisfactory results even if the figures are bitmaps. 

--

Prof. Murat Yildizoglu


> Le 9 déc. 2021 à 00:37, Steve Litt  a écrit :
> 
> Rich Shepard said on Wed, 8 Dec 2021 07:51:56 -0800 (PST)
> 
>> On Wed, 8 Dec 2021, Dr Eberhard Lisse wrote:
> 
>>> For my big handbook (which takes 110 seconds to compile (70 on the
>>> M1)) I have split this into child documents which compile
>>> individually within 10 to 15 seconds.  
>> 
>> How about loading a PDF image that's 3,704,503 bytes in size while
>> reading your big handbook?
> 
> OK, 3,704,503 bytes got my attention. No wonder it's slow.
> 
> There are ways to shrink PDF size:
> 
> Web search: linux shrink pdf size
> 
> SteveT
> 
> Steve Litt 
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
> -- 
> 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