Re: [Customization] Using environment variables LYX_USERDIR_VER / LYX_USERDIR_20x

2022-04-08 Thread Kornel Benko
Am Fri, 8 Apr 2022 14:35:00 +0200
schrieb Eloi Torrents :

> While reading the document
> http://ftp.lyx.de/Documentation/en/Customization.pdf and its Spanish
> translation http://ftp.lyx.de/Documentation/es/Customization.pdf I realized
> that the environment variable for changing the user directory is different.
> The English version says that it is LYX_USERDIR_VER while in the Spanish
> version states that it should be LYX_USERDIR_20x. I tried both and neither
> worked for me What is the correct way to set a userdir using an
> environment variable?
> 
> I'm using version 2.3.6.1 in a Linux system.
> 
> Eloi

It may depend on how your lyx is compiled.
Have you tried LYX_USERDIR_23x?

If you can use terminal, you could also call lyx with an parameter (before the 
lyx-docs)
$ lyx -userdir whatever ...

Kornel

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


pgpTnHwkXE5RM.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-docs mailing list
lyx-docs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-docs


Re: C:\Users\rodol\AppData\Roaming\LyX2.3\examples is empty

2021-04-03 Thread Kornel Benko
Am Fri, 2 Apr 2021 20:57:11 +
schrieb Rodolfo Oviedo :

> Hi,
> My folder C:\Users\rodol\AppData\Roaming\LyX2.3\examples is empty. I cannot 
> follow the
> tutorial without the examples. Would you help me to get the examples that the 
> Tutorial
> refers to? Many thanks,
> Rodolfo

1.) star lyx
2.) select Help->About LyX->Version
There you find the 'Library directory:'
that is the correct path

Kornel


pgpFrDXorl0J1.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-docs mailing list
lyx-docs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-docs


Re: Finalize the translation of the LyX 2.3 series

2020-06-14 Thread Kornel Benko
Am Sun, 14 Jun 2020 18:17:32 +0200
schrieb Jürgen Spitzmüller :

> Am Sonntag, den 14.06.2020, 18:00 +0200 schrieb Kornel Benko:
> > YES. If using lyx2.4. You have to specify English in the search
> > buffer.  
> 
> Interesting. This did not work for me (with English and using a
> regexp).
> 
> Jürgen

Format search enabled?

Kornel


pgp9257Zfcw0i.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-docs mailing list
lyx-docs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-docs


Re: Finalize the translation of the LyX 2.3 series

2020-06-14 Thread Kornel Benko
Am Sun, 14 Jun 2020 15:41:12 +0200
schrieb Jürgen Spitzmüller :

> Am Sonntag, den 14.06.2020, 15:12 +0200 schrieb Jean-Pierre Chrétien:
> > BTW, is there a way to use the advanced search to detect text in
> > English language (when I am in a French doc, of course).  
> 
> None that I'm aware of (language seems to be ignored generally AFAICS)
> 
> Jürgen

YES. If using lyx2.4. You have to specify English in the search buffer.

Kornel


pgpjkL2O1mvZ3.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-docs mailing list
lyx-docs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-docs


Re: Request upload images to wiki for guide (Ubuntu + Hebrew)

2020-05-31 Thread Kornel Benko
Am Sun, 31 May 2020 10:09:08 -0400
schrieb Scott Kostyshak :

> On Sun, May 31, 2020 at 04:57:30PM +0300, Guy Sheffer wrote:
> > Hey Kornel,
> > I tried removing the double brackets, now the images are not visible at all
> > on the page, and the links are not neither.
> > 
> > It seems right in the html:
> > 
> > http://unofficialpi.org/media/lyx1.png;
> > alt="" title="">
> > 
> > I figured the issue is now mixed http/https:
> > Error in browser: Loading mixed (insecure) display content “
> > http://unofficialpi.org/media/lyx3.png” on a secure page
> > unofficialpi.org is not my domain and has no https. So I moved it to
> > https://gnethomelinux.com/files/lyx1.png which is and does.

Nice you found the reason :)

> > So Scott - I need you to approve the 3 new urls if that is ok.
> > 
> > Thanks, hope we get it right now,
> > Guy  
> 
> Approved.
..
> They show up, although they seem to show up too large to me.

+1

> Scott

Kornel


pgpLhXb2KTvUt.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-docs mailing list
lyx-docs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-docs


Re: Request upload images to wiki for guide (Ubuntu + Hebrew)

2020-05-31 Thread Kornel Benko
Am Sun, 31 May 2020 08:33:17 -0400
schrieb Scott Kostyshak :

> On Sun, May 31, 2020 at 09:47:51AM +0300, Guy Sheffer wrote:
> > Hey Scott,
> > XeteX fonts do look good. And indeed Culmus is outdated. And when searching
> > online you still get guides that say Culmus is the way to go.  
> 
> Good to know!
> 
> > I can see you approved the images, but for some reason the url ending in
> > png does not turn in to an image. Even though its says it should here:
> > https://wiki.lyx.org/PmWiki/Images
> > And here: https://wiki.lyx.org/PmWiki/TextFormattingRules#References
> > 
> > What should I change for it to work?  
> 
> Unfortunately I don't know. Perhaps someone else on this list has an
> idea. We should indeed correct the information on that page if it is
> wrong.
> 
> Best,
> 
> Scott

Can it be that the images are too big?
Also there is a difference between entries for shown images and this new 
entries.

Yours:
http://unofficialpi.org/media/lyx1.png;
rel="nofollow">http://unofficialpi.org/media/lyx1.png
vs
http://pmwiki.org/; rel="nofollow">
http://pmichaud.com/img/misc/pc.jpg; alt="PmWiki"
title="PmWiki">

Kornel



pgpOGVHOgxrCr.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-docs mailing list
lyx-docs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-docs


Re: Question where to find beispiel_roh.lyx usw.

2020-02-22 Thread Kornel Benko
Am Sat, 22 Feb 2020 16:35:43 +0100
schrieb "Gottfried Arnold" :

> Hallo,
> sorry ich beginne gerade mit Lyx und wollte den Rat im Lyx-TUtorium befolgen 
> und mit
> Beispielen üben, um besser reinzukommen. Leider finde ich aber weder in meiner
> Linux-Version (korrekt installiert?) noch in der Windows 10-Version den
> Installationsordner, wo die Beispiele Resources/]examples/de des
> LyX-Installationsordners sind. Wenn ich ins Download gehen, komme ich bei 
> Windows in
> die exe-Datei und die Installation würde nochmal beginnen; bei Linux ist im 
> Home
> unter .lyx mein Ordner "examples" leer. (möglicherweise Installationsfehler); 
> mit
> Synaptic finde ich auch keine examples für lyx. Können Sie mir einen Tip 
> geben? Danke
> MfG
> Gottfried Arnold

(This is English writing list)
The examples can be found with help of lyx for instance.

1.) Run lyx
2.) Use the menu
Help->About LyX->Version
to find the entry for "Library directory", in my case 
"/usr/local/share/lyx2.3/"
3.) There you find the "examples" dir

Kornel


pgpyBRZK6rHVe.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-docs mailing list
lyx-docs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-docs


Re: Translations for 2.3.1

2018-08-19 Thread Kornel Benko
Am Sonntag, 19. August 2018 15:46:30 CEST schrieb Szőke Sándor 
:
> Something else:
> Just before this check I found a strange bug in LyX, I was checked and 
> tried to update the hu version of splash.lyx (it is attached).
> After openeing the file and clicking in the 3rd item in the ordered 
> list. Esp. into the "Dokumentum->Nézet [PDF (pdflatex)]" first word, and 
> right click than lyx hangs immediately.
> I wanted to change the language to Hungarian.
> It crash both locale English and Hungarian. (Hungarian is hu_HU.utf8)
> 

You are right, the version is too new. It opens file with lyx2.4 though.
Back-converted is fine.

Kornel


splash.lyx
Description: application/lyx


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


Re: Math manual

2016-01-03 Thread Kornel Benko
Am Samstag, 2. Januar 2016 um 22:21:21, schrieb Kornel Benko <kor...@lyx.org>
> Am Samstag, 2. Januar 2016 um 11:31:02, schrieb Kornel Benko <kor...@lyx.org>
> > Am Samstag, 2. Januar 2016 um 04:07:57, schrieb Scott Kostyshak 
> > <skost...@lyx.org>
> > > On Sat, Jan 02, 2016 at 08:08:12AM +, Jean-Pierre Chrétien wrote:
> > > > Le 02/01/2016 01:31, Scott Kostyshak a écrit :
> > > > >On Fri, Jan 01, 2016 at 07:07:16PM +, Jean-Pierre Chrétien wrote:
> > > >
> > > > >>Then, it seems that the last reference ([9] to the checklist.html 
> > > > >>file on
> > > > >>the NIST web site) is dead. It reads now :
> > > > >>
> > > > >>http://physics.nist.gov/Pubs/SP811/sec11.html
> > > > >
> > > > >Just checked and works well for me. Does it work now for you?
> > > >
> > > > No,
> > > >
> > > > http://physics.nist.gov/Document/checklist.pdf
> > > >
> > > > gives an "Error 404" page. Maybe you have it in your cache ?
> > >
> > > I see what you mean now. I confirm that the link is broken. We have
> > > tests to catch broken links, and we correctly detect this link to test,
> > > but for some reason it passes the test.
> > >
> > > Thanks for reporting this. It would be nice to find the correct link and
> > > change the docs before release.
> > >
> > > Kornel, do you have an idea for why this test passes? What do you think
> > > about checking for the string "404" in the title of the html page?
> >
> > Until now we did not interpret the data.
> > This is, what we get (first lines):
> > 
> > 
> > Error 404
> >  > src="/js/federated 
> > analytics.all.min.js?agency=NIST&subagency=pml&pua=UA-37115410-46&yt=true">
> > 
> >
> > So yes, we can interpret the string.
> >
> > commit 4b49a59
> >
> > > Scott
>
> It turned out, that there are more broken url's.
> We have to check for the string '404 Not Found' in title block.
> Also there may be more title blocks involved.

Now we have even more broken URLs.

I changed the check for valid url from low-level Net::HTTP to more sophisticated
LWP::UserAgent.
*Rechecked* all found broken urls with firefox.
Some of them required login and registration, they share now own non-tested 
group,
collected in file 'knownToRegisterURLS'.
The problematic cases are where the page provided by the html server is some 
default 'Not Found' page.

22 wrong urls.

Kornel
Error url: "ftp://ftp.edpsciences.org/pub/aa/readme.html;
  lib/doc/Additional.lyx:u7702
  lib/doc/de/Additional.lyx:u8441
  lib/doc/es/Additional.lyx:u8104
  lib/doc/fr/Additional.lyx:u8666
  lib/doc/ja/Additional.lyx:u8353
Error url: "http://filip.ouvaton.org/xypic/xymatrix/index.html;
  lib/examples/ja/xypic.lyx:u3419
Error url: "http://jasa.peerx-press.org/html/jasa/Using_LaTeX;
  lib/templates/JASA.lyx:u87
Error url: "http://mirror.ctan.org/macros/latex/contrib/seminar/doc/sem-user.pdf;
  lib/examples/seminar.lyx:h191,h633,h723
Error url: "http://mirrors.ctan.org/macros/generic/diagrams/xypic/xy/doc/xyguide.pdf;
  lib/examples/fr/xypic.lyx:u3685
  lib/examples/xypic.lyx:u3708
Error url: "http://mirrors.ctan.org/macros/generic/diagrams/xypic/xy/doc/xyrefer.pdf;
  lib/examples/fr/xypic.lyx:u3731
  lib/examples/xypic.lyx:u3751
Error url: "http://physics.nist.gov/Document/checklist.pdf;
  lib/doc/de/Math.lyx:h37726
  lib/doc/fr/Math.lyx:h38384
  lib/doc/ja/Math.lyx:h37141
  lib/doc/Math.lyx:h37853
Error url: "http://spie.org/app/Publications/index.cfm?fuseaction=authinfo=proceedings;
  lib/doc/ja/LaTeXConfig.lyx:u3900
  lib/doc/LaTeXConfig.lyx:u4156
Error url: "http://wiki.lyx.org/Layouts/Econometrica;
  lib/templates/ectaart.lyx:u103
Error url: "http://www.acm.org/class/1998/;
  lib/templates/ACM-siggraph.lyx:u566
Error url: "http://www.ctan.org/tex-archive/macros/latex/contrib/forest/;
  lib/examples/de/linguistics.lyx:u2176
  lib/examples/linguistics.lyx:u2136
Error url: "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf;
  lib/examples/serial_letter1.lyx:h307
  lib/examples/serial_letter2.lyx:h269
  lib/examples/serial_letter3.lyx:h325
Error url: "http://www.dpmms.cam.ac.uk/~al366/xytutorial.html;
  lib/examples/ja/xypic.lyx:u3372
Error url: "http://www.jstatsoft.org/downloads/JSSstyle.zip;
  lib/doc/ja/LaTeXConfig.lyx:u3348
  lib/doc/LaTeXConfig.lyx:u3577
Error url: "http://www.jurabib.org;
  lib/doc/ja/LaTeXConfig.lyx:u5344
  lib/doc/LaTeXConfig.lyx:u5683
Er