Re: LyX for M1 Mac on Silicon under Rosetta 2

2021-03-31 Thread Stephan Witt
Am 30.03.2021 um 20:00 schrieb David Bickel :
> 
> Has anyone tried LyX in Rosetta 2 on a Silicon (M1) Mac?

Yes.

> If so, what issues did you encounter?

I’ve tried LyX-2.3.6.2 with Qt-5.12.9. I cannot see any problem until now. It 
works. 

But there is at least one report for a problem with the presentation of file 
names in tabs.
I cannot reproduce it myself.

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


Re: Losing session settings on Mac (was: Using Lyx with git (instead of RCS))

2021-03-03 Thread Stephan Witt
Am 03.03.2021 um 22:25 schrieb Pavel Sanda :
> 
> On Wed, Mar 03, 2021 at 10:00:46PM +0100, Robert Neumann wrote:
>>> Am 03.03.2021 um 17:44 schrieb Pavel Sanda :
>>> On Wed, Mar 03, 2021 at 05:27:39PM +0100, Robert Neumann wrote:
>> (-is there a way to have the version-control-menue showed permanently, I 
>> have to activate it manually everytime
> I do not understand this question. You mean toolbar?
 yes of course, sorry for the incorrect description???
>>> 
>>> I do not experience your problem. The toolbars might get reset once upon a 
>>> time
>>> (for example if you are upgrading to a newer version of lyx) but generally
>>> stay set consistently across sessions (linux here). 
>>> 
>>> If you
>>> 1) close all your lyx sessions
>>> 2) open new one and set toolbars acccording to your needs
>>> 3) close session 
>>> 4) open new session again the toolbar is lost?
>> 
>> not, not really: It works on 10.13 and 10.15 if I open Lyx directly, 
>> If I double-click on a file in the finder it is gone...
>> both LyX 2.3.6.3
> 
> I see, then this is bug specific to mac only.
> There must be something different when lyx is launched via its icon and
> when clicking just on the file.
> 
> CC-ing lyx-devel, Stephan might have a clue what's going on.

I cannot reproduce on Mac either. 

But there are reports sometimes about LyX’s settings not being persistent.

There are user errors:

https://www.lyx.org/trac/ticket/11558

or these are either Qt problems or LyX - I cannot say.

https://www.lyx.org/trac/ticket/10364

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


Re: find next?

2021-02-20 Thread Stephan Witt
Am 21.02.2021 um 07:12 schrieb Daniel :
> 
> On 2021-02-21 02:12, David Pesetsky wrote:
>> Perhaps there is a font size problem?  This is what I see.  Notice that not 
>> only are the "<" and ">" indicators missing, but "Case sensitive" overlaps 
>> the next checkbox.  (Hoping this listserv doesn't strip out graphics 
>> attachments.)
> 
> I see the attached with current master and macOS 10.15.7 (Catalina). There 
> are the arrows but the checkboxes overlap.
> 

Yes, the presentation of the arrows is work made after alpha3 was out.

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


Re: Need a little help with version control

2021-02-12 Thread Stephan Witt
Am 12.02.2021 um 10:52 schrieb list_em...@icloud.com:
> 
>> 
>> On Feb 10, 2021, at 6:06 AM, Stephan Witt  wrote:
>> 
>> Am 10.02.2021 um 11:34 schrieb list_em...@icloud.com:
>>> 
>>>> 
>>>> On Feb 9, 2021, at 5:16 AM, Stephan Witt  wrote:
>>>> 
>>>> Am 09.02.2021 um 13:01 schrieb list_em...@icloud.com:
>>>>> 
>>>>> I’m trying to learn version control (SVN) with LyX on macOS. I have a 
>>>>> little past experience with SVn in another context and I’m in Chapter 2 
>>>>> of the book at svnbook.red-bean.com as a refresher. I am the only person 
>>>>> who will access the repository which is on my own computer.
>>>>> 
>>>>> I have set up new repository and imported three files, a LyX document and 
>>>>> two graphics files. (I am using a nice GUI app on the Mac). I can check 
>>>>> out the LyX document, edit it, and commit. But what I can’t figure out is 
>>>>> what is the LyX File -> Version Control -> Register item for? I think it 
>>>>> wants to add the current LyX file, which is assumed to be not under 
>>>>> version control, to the repository. But _what_ repository? I made a 
>>>>> second LyX file named Registering.lyx and typed “Registering a document” 
>>>>> into the dialog box. Then I get this message:
>>>>> 
>>>>> Some problem occurred while running the command:
>>>>> 'ci -q -u -i -t-"Registering a document" "Registering.lyx"'.
>>>>> 
>>>>> I think I am somehow am missing “Step 0” in setting things up.
>>>>> 
>>>>> Thanks as always for any hints.
>>>> 
>>>> The problem with the "Register Item“ menu item is its missing cleverness. 
>>>> It assumes the RCS version control system. That’s why it is unusable with 
>>>> all other systems like SVN and GIT.
>>>> 
>>>> You have to register (add) it to your repository manually or with the help 
>>>> of your GUI. Later you’re able to work with the LyX version control 
>>>> features.
>>>> 
>>>> Stephan
>>> 
>>> Thanks, but still not working.
>>> 
>>> I create a new repository on my computer, then import or add a LyX 
>>> document. The new doc appears as expected in the repository. I checkout the 
>>> file into a working copy and edit with LyX, then commit the changes, make 
>>> comparisons, etc. with my SVN client. In other words, I believe that I can 
>>> manage things with my SVN client as expected. 
>>> 
>>> However, I cannot get the built-in LyX functionality to work. When the 
>>> working copy of the LyX file is open, none of the expected File -> Version 
>>> Control -> menu items appear, only Register…. Also, most of the icons in 
>>> the Version Control Toolbar become active—only Register and Insert Version 
>>> Info do anything, the latter inserting “No version control.”
>>> 
>>> The working copy that I checked out is apparently known as related to SVN 
>>> because it has the .svn directory. Also (this is an update from my original 
>>> post) when attempting the Regiser… action, I get a message
>>> 
>>> Some problem occurred while running the command:
>>> 'svn add -q "Learning SVN in LyX.lyx”'.
>>> 
>>> So LyX recognizes somehow the presence of SVN but is trying to perform an 
>>> add operation on a file that is already in the repository.
>>> 
>>> Clearly I am missing a basic step.
>>> 
>>> Jerry
>> 
>> Ok, it would be better if I verify my statements sometimes.
>> 
>> I’ve checked it myself now and it works for me. See the log below:
>> 
>> 13:59:54.564: Öffne Dokument ~/tmp/playground/Shortcuts-test2.lyx...
>> 13:59:54.679: svn info "Shortcuts-test2.lyx"
>> 13:59:54.693: svn: warning: W155010: The node 
>> '/Users/stephan/tmp/playground/Shortcuts-test2.lyx' was not found.
>> 13:59:54.693: 
>> 13:59:54.694: svn: E29: Could not display info for all targets because 
>> some targets don't exist
>> 13:59:54.705: Dokument ~/tmp/playground/Shortcuts-test2.lyx ist geöffnet.
>> 13:59:54.706: (file-open: ⌃O)support/Systemcall.cpp (276): Systemcall: 'svn 
>> info "Shortcuts-test2.lyx"' finished with exit code 1
>> 14:00:07.860: svn proplist "Shortcuts-test2.lyx"
>> 14:00:07.877: svn: warning: W25: 
>> '/Users/stephan/tmp/p

Re: Need a little help with version control

2021-02-10 Thread Stephan Witt
Am 10.02.2021 um 11:34 schrieb list_em...@icloud.com:
> 
>> 
>> On Feb 9, 2021, at 5:16 AM, Stephan Witt  wrote:
>> 
>> Am 09.02.2021 um 13:01 schrieb list_em...@icloud.com:
>>> 
>>> I’m trying to learn version control (SVN) with LyX on macOS. I have a 
>>> little past experience with SVn in another context and I’m in Chapter 2 of 
>>> the book at svnbook.red-bean.com as a refresher. I am the only person who 
>>> will access the repository which is on my own computer.
>>> 
>>> I have set up new repository and imported three files, a LyX document and 
>>> two graphics files. (I am using a nice GUI app on the Mac). I can check out 
>>> the LyX document, edit it, and commit. But what I can’t figure out is what 
>>> is the LyX File -> Version Control -> Register item for? I think it wants 
>>> to add the current LyX file, which is assumed to be not under version 
>>> control, to the repository. But _what_ repository? I made a second LyX file 
>>> named Registering.lyx and typed “Registering a document” into the dialog 
>>> box. Then I get this message:
>>> 
>>> Some problem occurred while running the command:
>>> 'ci -q -u -i -t-"Registering a document" "Registering.lyx"'.
>>> 
>>> I think I am somehow am missing “Step 0” in setting things up.
>>> 
>>> Thanks as always for any hints.
>> 
>> The problem with the "Register Item“ menu item is its missing cleverness. It 
>> assumes the RCS version control system. That’s why it is unusable with all 
>> other systems like SVN and GIT.
>> 
>> You have to register (add) it to your repository manually or with the help 
>> of your GUI. Later you’re able to work with the LyX version control features.
>> 
>> Stephan
> 
> Thanks, but still not working.
> 
> I create a new repository on my computer, then import or add a LyX document. 
> The new doc appears as expected in the repository. I checkout the file into a 
> working copy and edit with LyX, then commit the changes, make comparisons, 
> etc. with my SVN client. In other words, I believe that I can manage things 
> with my SVN client as expected. 
> 
> However, I cannot get the built-in LyX functionality to work. When the 
> working copy of the LyX file is open, none of the expected File -> Version 
> Control -> menu items appear, only Register…. Also, most of the icons in the 
> Version Control Toolbar become active—only Register and Insert Version Info 
> do anything, the latter inserting “No version control.”
> 
> The working copy that I checked out is apparently known as related to SVN 
> because it has the .svn directory. Also (this is an update from my original 
> post) when attempting the Regiser… action, I get a message
> 
> Some problem occurred while running the command:
> 'svn add -q "Learning SVN in LyX.lyx”'.
> 
> So LyX recognizes somehow the presence of SVN but is trying to perform an add 
> operation on a file that is already in the repository.
> 
> Clearly I am missing a basic step.
> 
> Jerry

Ok, it would be better if I verify my statements sometimes.

I’ve checked it myself now and it works for me. See the log below:

13:59:54.564: Öffne Dokument ~/tmp/playground/Shortcuts-test2.lyx...
13:59:54.679: svn info "Shortcuts-test2.lyx"
13:59:54.693: svn: warning: W155010: The node 
'/Users/stephan/tmp/playground/Shortcuts-test2.lyx' was not found.
13:59:54.693: 
13:59:54.694: svn: E29: Could not display info for all targets because some 
targets don't exist
13:59:54.705: Dokument ~/tmp/playground/Shortcuts-test2.lyx ist geöffnet.
13:59:54.706: (file-open: ⌃O)support/Systemcall.cpp (276): Systemcall: 'svn 
info "Shortcuts-test2.lyx"' finished with exit code 1
14:00:07.860: svn proplist "Shortcuts-test2.lyx"
14:00:07.877: svn: warning: W25: 
'/Users/stephan/tmp/playground/Shortcuts-test2.lyx' is not under version control
14:00:07.877: svn: E29: Could not display properties of all targets because 
some targets are not versioned
14:00:07.878: svn: E29: Illegal target for the requested operation
support/Systemcall.cpp (276): Systemcall: 'svn proplist "Shortcuts-test2.lyx"' 
finished with exit code 1
14:00:16.886: svn add -q "Shortcuts-test2.lyx"
14:00:16.984: svn info "Shortcuts-test2.lyx"
14:00:17.007: svn proplist "Shortcuts-test2.lyx"
14:00:17.024: Dokument ~/tmp/playground/Shortcuts-test2.lyx neu geladen.

Conclusion:

1. The working environment is LyX-2.3.6.2 and svn binary in path (verify it in 
terminal).
2. You may check and possibly update your LyX app.
3. You may activate the status message pane and redo the register VC command.

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


Re: Need a little help with version control

2021-02-09 Thread Stephan Witt
Am 09.02.2021 um 13:01 schrieb list_em...@icloud.com:
> 
> I’m trying to learn version control (SVN) with LyX on macOS. I have a little 
> past experience with SVn in another context and I’m in Chapter 2 of the book 
> at svnbook.red-bean.com as a refresher. I am the only person who will access 
> the repository which is on my own computer.
> 
> I have set up new repository and imported three files, a LyX document and two 
> graphics files. (I am using a nice GUI app on the Mac). I can check out the 
> LyX document, edit it, and commit. But what I can’t figure out is what is the 
> LyX File -> Version Control -> Register item for? I think it wants to add the 
> current LyX file, which is assumed to be not under version control, to the 
> repository. But _what_ repository? I made a second LyX file named 
> Registering.lyx and typed “Registering a document” into the dialog box. Then 
> I get this message:
> 
> Some problem occurred while running the command:
> 'ci -q -u -i -t-"Registering a document" "Registering.lyx"'.
> 
> I think I am somehow am missing “Step 0” in setting things up.
> 
> Thanks as always for any hints.

The problem with the "Register Item“ menu item is its missing cleverness. It 
assumes the RCS version control system. That’s why it is unusable with all 
other systems like SVN and GIT.

You have to register (add) it to your repository manually or with the help of 
your GUI. Later you’re able to work with the LyX version control features.

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


Re: Mac Os X 10.10

2020-12-08 Thread Stephan Witt
Am 08.12.2020 um 20:58 schrieb schmieder.corinna 
:
> 
> The button for the preview is grey as well as the save button and this is the 
> error I get everytime. 
> 
> 

You need to install the engine to typeset LaTeX. The recommended package is 
MacTeX.

Please read the instructions for Mac OS X presented at LyX’s download page.

Stephan

> 
> 
> Von meinem/meiner Galaxy gesendet
> 
> 
>  Ursprüngliche Nachricht 
> Von: Stephan Witt 
> Datum: 08.12.20 20:39 (GMT+01:00)
> An: "schmieder.corinna" 
> Cc: lyx-users 
> Betreff: Re: Mac Os X 10.10
> 
> Am 08.12.2020 um 19:54 schrieb schmieder.corinna 
> :
> > 
> > Hi Stephan,
> > Thanks for your reply
> > I've been able to install the version, but it's not possible to save a file 
> > or see the preview. 
> > Any ideas? 
> 
> Hi Corinna,
> 
> is there any error message? What are you doing and what happens exactly?
> 
> Stephan
> 
> > Von meinem/meiner Galaxy gesendet
> > 
> > 
> >  Ursprüngliche Nachricht 
> > Von: Stephan Witt 
> > Datum: 07.12.20 21:16 (GMT+01:00)
> > An: Corinna Schmieder 
> > Cc: lyx-users@lists.lyx.org
> > Betreff: Re: Mac Os X 10.10
> > 
> > Am 07.12.2020 um 20:50 schrieb Corinna Schmieder 
> > :
> > > 
> > > Hello, 
> > > I’m a student from Germany. For my Seminar work I’ve to use LyX. But I 
> > > don’t know which Version I have to install on my old Mac Book with Os X 
> > > 10.10. Can you please help me?
> > > Thanks a lot!
> > 
> > Hi Corinna,
> > 
> > please install the latest stable version LyX-2.3.6 if possible.
> > 
> > If it doesn’t work for you I’ll try to help you.
> > 
> > Best regards, Stephan
> > -- 
> > 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

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


Re: Mac Os X 10.10

2020-12-08 Thread Stephan Witt
Am 08.12.2020 um 19:54 schrieb schmieder.corinna 
:
> 
> Hi Stephan,
> Thanks for your reply
> I've been able to install the version, but it's not possible to save a file 
> or see the preview. 
> Any ideas? 

Hi Corinna,

is there any error message? What are you doing and what happens exactly?

Stephan

> Von meinem/meiner Galaxy gesendet
> 
> 
>  Ursprüngliche Nachricht 
> Von: Stephan Witt 
> Datum: 07.12.20 21:16 (GMT+01:00)
> An: Corinna Schmieder 
> Cc: lyx-users@lists.lyx.org
> Betreff: Re: Mac Os X 10.10
> 
> Am 07.12.2020 um 20:50 schrieb Corinna Schmieder 
> :
> > 
> > Hello, 
> > I’m a student from Germany. For my Seminar work I’ve to use LyX. But I 
> > don’t know which Version I have to install on my old Mac Book with Os X 
> > 10.10. Can you please help me?
> > Thanks a lot!
> 
> Hi Corinna,
> 
> please install the latest stable version LyX-2.3.6 if possible.
> 
> If it doesn’t work for you I’ll try to help you.
> 
> Best regards, Stephan
> -- 
> 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: Mac Os X 10.10

2020-12-07 Thread Stephan Witt
Am 07.12.2020 um 20:50 schrieb Corinna Schmieder 
:
> 
> Hello, 
> I’m a student from Germany. For my Seminar work I’ve to use LyX. But I don’t 
> know which Version I have to install on my old Mac Book with Os X 10.10. Can 
> you please help me?
> Thanks a lot!

Hi Corinna,

please install the latest stable version LyX-2.3.6 if possible.

If it doesn’t work for you I’ll try to help you.

Best regards, Stephan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Mac Binary with Qt 5.12.9

2020-12-06 Thread Stephan Witt

> Am 06.12.2020 um 16:33 schrieb Joel Kulesza :
> 
> On Sat, Dec 5, 2020 at 6:44 PM Richard Kimberly Heck  wrote:
> Hi, all,
> 
> Due to bug #12042 (https://www.lyx.org/trac/ticket/12042), Stephan Witt
> has produced an OSX package built with Qt 5.12.9. This is a more
> up-to-date version of Qt than we've been using. If the package works
> well, then we'll replace the binary for 2.3.6 with it. But first, we
> need to make sure it works well! We don't expect there to be any
> problems, but you never know. Could some brave souls test it out and let
> us know how it works?
> 
> It can be found here:
> 
> http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
> 
> Riki
> 
> I'm happy to test, and will report back when I've done so.  Is there any 
> (mis)behavior I should be on the lookout for?

No, I’m not aware of any specific problem. The difference between this one and 
the previous version is the Qt library version only. I simply had no chance to 
use this library version with LyX 2.3.x yet.

Problems may arise with document presentation and ui effects only. The LyX code 
ist the same.

The probability of show stoppers is very low. The library version 5.12.9 should 
be stable.

Thanks for testing.

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


Re: LyX on Apple silicon?

2020-11-18 Thread Stephan Witt
Am 19.11.2020 um 04:41 schrieb Richard Kimberly Heck :
> 
> On 11/18/20 3:54 PM, Dr Eberhard W Lisse wrote:
>> I seem to recall that during the previous processor switch there were
>> Apps in a combined mode, forgot what the name was, which would run on
>> both processors, so I assume XCode will eventually do that.
> 
> I'm sure that the ordinary LyX binaries will still run, under some
> compatibility mode. But I took the question to concern truly native M1
> binaries.
> 
> RKH
> 
>> On 2020-11-17 18:55 , Richard Kimberly Heck wrote:
>>> On 11/17/20 10:55 AM, Chris Menzel wrote:
 2.  What are the plans for creating native LyX binaries for these new
 Macs?
>>> Stephan will know better than I, but presumably there are two options.
>>> (i) Someone who has one of these things is able to compile the source
>>> and produce the binaries.  It would take a bit to get the build
>>> environment set up properly, but once that's done, I don't think it's
>>> that hard.  (ii) It becomes possible to cross-compile for M1 on, say,
>>> Linux.  At the moment, that does not seem to be possible, and maybe
>>> there are reasons it will never be.  Apple does not seem terribly
>>> supportive of that kind of effort.

Sorry, I’m not responsive these days.

AFAICS the situation is similar to transition from PowerPC to Intel CPUS.

1. There is emulation software to run Intel code on M1 CPUs (like Rosetta was) 
in MacOSX 11 (Big Sur).
2. There is the so called universal binary format which allows to provide 
binaries for both CPU architectures.
3. There is Xcode12 which is able to produce code for both architectures in 
universal format on Intel or M1.
4. There is a developer program for eligible persons to support the transition 
(hardware+software).

All these points are available these days (Xcode12 is beta!).

For LyX I conclude: we are not in a hurry.
IMO, the way to go is using clang from Xcode12 to build LyX for Intel and M1 as 
universal binary.
But I’m unable to prove this claim now.

Best regards, Stephan

[1] https://en.wikipedia.org/wiki/MacOS_Big_Sur
[2] https://en.wikipedia.org/wiki/Developer_Transition_Kit_(2020)
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: OSX (Mojave) asks confirmation for opening Lyx

2020-08-07 Thread Stephan Witt
Am 07.08.2020 um 06:37 schrieb Murat Yildizoglu :
> 
> Hello,
> 
> Each time I open Lyx, OSX asks me to confirm that I want to open it really, 
> after having spent some time to show me a progress bar. This is not a real 
> problem, but a bit of a hassle. Is there an easy way to get rid of this 
> verification each time?
> 
> Thank you very much for your attention and help.
> 
> Murat

Hi Murat,

there is a ticket that sounds similar:
https://www.lyx.org/trac/ticket/11894

Do you have this problem or another one? What version of LyX you’re using?
What’s the setting of App-Download of gatekeeper in your security settings?

There is an extended attribute for files in newer OSX versions.
This can be used to mark applications downloaded from non-Apple sources.
LyX is not available via AppStore so there is chance it gets marked.

The workaround mentioned in the ticket is wrong. The correct one is IMO:

$ sudo xattr -c -r /Applications/Lyx.app

Use it if your problem matches the description in the ticket.

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


Re: Lyx 2.3.5.1 and 2.3.5.2 won't open old files on Mac [Solved]

2020-07-06 Thread Stephan Witt
Am 06.07.2020 um 18:45 schrieb Kornel Benko :
> 
> Am Mon, 6 Jul 2020 11:58:03 -0400
> schrieb "Paul A. Rubin" :
> 
>> On 7/6/20 11:37 AM, Richard Kimberly Heck wrote:
>>> On 7/6/20 4:28 AM, Niklas Huldén wrote:  
 Den 01-07-2020 kl. 17:53, skrev Richard Kimberly Heck:  
> On 7/1/20 6:59 AM, Niklas Huldén wrote:  
>> Hello!
>> 
>> I installed LyX 2.3.5 in June on my MacBook Air 13 (Catalina) and
>> noticed that I could not open files from the "Recent files" list in
>> the File menu. The program opened an empty document with the name of
>> the recent file. I could open old documents using the "Open.." choise
>> from the menu.
>> 
>> When I installed version 2.3.5.1 I hoped this behaiviour would have
>> been corrected, but now I could't even use the "Open..." choise. It
>> allways opens up an empty file with the name om the file that should
>> have opened. Same with version 2.3.5.2 that I installed today. For
>> some reason I can open the default Splash.lyx that sits on the "Recent
>> files"
>> 
>> I have backupped my Preferenses file and started up an default version
>> of LyX but the same behaviour continues. What could be the reason for
>> this? Have anyone had similar problems?  
> If you can open LyX from a terminal, with argument "-dbg files", you
> might get more information. You can also  do this by opening the
> messages pane (View> Messages Pane) and activating "files" debug
> messages. (Go to Settings on the pane, click "Selected" then choose
> "files").
> 
> I would guess there is something wrong with the path that LyX is
> getting.
> 
> Riki
> 
> 
 Ok, thanks! I did that but the log shows nothing unusual. But the
 problem seems related only to files that reside in Dropbox folders.
 Lyx opens the files directly but does not download the contents from
 the Dropbox cloud. If i open a folder in the Dropbox app and
 doubleclick on a LyX-file it opens correctly in LyX. It used to work
 without hazzle from the LyX-menus before. Maybe it is a Dropbox problem.  
>>> It sounds like it. I assume there must be some notification to the
>>> Dropbox app that a file has been accessed. LyX wouldn't provide that,
>>> but the OS, or possibly Qt in this case, might.
>>> 
>>> Riki
>>> 
>>> 
>>> 
>> It may be specific to the Mac OS. I just uploaded (via web browser) a 
>> .lyx file to a shared Dropbox folder owned by a coauthor, then opened it 
>> in LyX via the file menu with no problems. This was on Linux Mint.
>> 
>> Paul
>> 
> 
> What is the setting of \use_native_filedialog (possibly in preferences? : it 
> defaults to
> 'true' if not set)

On a Mac it’s shipped w/o any assignment. So it should be true.

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


Re: "Open Recent". How to extend the limit from 50 to 100?

2020-06-20 Thread Stephan Witt
Am 20.06.2020 um 08:29 schrieb typ...@mac.com:
> 
> Thanks JMarc,
> 
> 1. Using LyX Version 2.3.5-1 (2 June 2020), I see that the “Maximum last 
> files” is 50. (Via Preferences -> Look @ Feel -> User Interface.)

Yes, that’s true. It was changed from 20 to 50 on 2016-01-13.

> 2. Where do I find that "there is a hardcoded bound at 100”?

The first hard coded bound is 50 indeed. It’s in the source code in header file 
src/LyXRC.h line 547 for LyX 2.3.5.

The 2nd upper limit of 100 is in source code file src/Session.cpp line 47 the 
assignment of absolute_max_last_files.

This is the limit JMarc had in mind, AFAICS.

> 3. Can I access that limit?

You can’t change it without recompile the complete application.

> 4. PS: I do not see why a file needs to be opened to populate the list that I 
> require??

In fact it’s the list of last accessed files. What do you expect? What is the 
list that you requires? In your first mail you wrote:

> I’d like to review the last 100 files that I’ve opened.

Indeed this list is stored in the file "~/Library/Application 
Support/LyX-2.3/session“

You may fill it yourself if you know how to do it. The first two lines of this 
file are:

## Automatically generated lyx session file 
## Editing this file manually may cause lyx to crash.

So, you’re warned …

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


Re: catalina

2020-04-30 Thread Stephan Witt
Hello Gareth,

thank you for using LyX.

Were did you look for the 64-bit version of LyX on Mac already?

I can see it here: https://www.lyx.org/Download#toc4

Best regards,
Stephan

> Am 30.04.2020 um 12:14 schrieb Gareth Williams :
> 
> Hello, 
> 
> Apologies for quite probably using the wrong email address, maybe you can 
> help me.  I am wondering if there will be an upgrade (or is there already) 
> for catalina by making this lyx app for mac 64 bit please?  Bug fan of it and 
> would like to keep using it.
> 
> thanks,
> Gareth
> -- 
> 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: [ANNOUNCE] LyX 2.3.4.2 'Emergency' Release

2020-02-12 Thread Stephan Witt
Am 12.02.2020 um 17:54 schrieb emile lunardon :
> 
> 
> I compiled the new version of LyX 2.3.4.2. The crash while trying to use the 
> Ø symbol has disappeared. However, there is still an anomaly: if after 
> writing this symbol, you try to write a second one next to it, nothing 
> happens (this also happens with the Å symbol which is to the left of Ø on the 
> presentation palette). It seems to me that the cursor stays inside the 
> character instead of being positioned ready to receive a new character as it 
> happens with most symbols.
> 
> I don't think it's an urgent bug to fix since by moving the cursor with the 
> mouse you get the ability to insert a new character.

Yes, I’ve seen this too. But this is already fixed in the 2.4.x series. So as 
it is no crash I didn't try to solve it.

> Bug hunting is a never ending exercise!

Very true.

Stephan

> Le mer. 12 févr. 2020 à 14:54, Rich Shepard  a 
> écrit :
> On Wed, 12 Feb 2020, Richard Kimberly Heck wrote:
> 
> > This is an emergency release that fixes four bugs in 2.3.4. Only the first
> > two really warrant an emergency release, but while we're at it...
> 
> Riki,
> 
> My thanks to you and all the development team for being so responsive and
> effective. All us uses greatly appreciate your time and efforts with our
> indespensible writing tool.
> 
> Best 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

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


Re: Bug in Lyx 1.3.4 ?

2020-02-05 Thread Stephan Witt
> Am 05.02.2020 um 23:33 schrieb emile lunardon :
> 
> I have installed LyX 2.3.4 on Windows10 and the same crash already seen on 
> LyX for Linux occurs when trying to enter the two Math Symbols : 
> $\textrm{Ø}\textrm{Å}$
> 
> Le mer. 5 févr. 2020 à 08:32, emile lunardon  a 
> écrit :
> When I try to enter, under LyX 1.3.4 (Linux), one of the two Math symbols 
> shown in the attached file (written with LyX 1.3.3), there is a crash of LyX 
> 1.3.4 with the attached messages.
> 
> Can someone confirm this strange phenomena ?

I can confirm your bug with Qt5 on macOS with LyX 2.3.4. I think this is the 
version you’re talking about all the time.

One has to use the math toolbar and there choose the symbol Å from the 
miscellaneous pane.

The backtrace is:

(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS 
(code=1, address=0x18)
frame #0: 0x0001000699dc 
LyX`lyx::Buffer::params(this=0x) at Buffer.cpp:719:9
frame #1: 0x00010079fa18 LyX`lyx::(anonymous 
namespace)::Parser::parse1(this=0x7ffeefbf5b20, grid=0x7ffeefbf23e0, 
flags=128, mode=TEXT_MODE, numbered=false) at MathParser.cpp:2080:20
  * frame #2: 0x000100790987 LyX`lyx::(anonymous 
namespace)::Parser::parse(this=0x7ffeefbf5b20, array=0x000113353690, 
flags=64, mode=TEXT_MODE) at MathParser.cpp:782:2
frame #3: 0x00010079f18c LyX`lyx::(anonymous 
namespace)::Parser::parse1(this=0x7ffeefbf5b20, grid=0x7ffeefbf5a30, 
flags=0, mode=MATH_MODE, numbered=false) at MathParser.cpp:2013:6
frame #4: 0x000100790987 LyX`lyx::(anonymous 
namespace)::Parser::parse(this=0x7ffeefbf5b20, array=0x7ffeefbf6530, 
flags=0, mode=MATH_MODE) at MathParser.cpp:782:2
frame #5: 0x000100790874 
LyX`lyx::mathed_parse_cell(ar=0x7ffeefbf6530, str=L"\\textrm \\AA", 
f=NORMAL) at MathParser.cpp:2156:37
frame #6: 0x0001007c28d2 LyX`lyx::asArray(str=L"\\textrm \\AA", 
ar=0x7ffeefbf6530, pf=NORMAL) at MathSupport.cpp:990:38
frame #7: 0x0001006deba4 
LyX`lyx::InsetMathNest::doDispatch(this=0x0001112cde10, 
cur=0x000106149098, cmd=0x7ffeefbf9068) at InsetMathNest.cpp:1237:4
frame #8: 0x00010065baa2 
LyX`lyx::InsetMathGrid::doDispatch(this=0x0001112cde10, 
cur=0x000106149098, cmd=0x7ffeefbf9068) at InsetMathGrid.cpp:1733:18
frame #9: 0x00010067e615 
LyX`lyx::InsetMathHull::doDispatch(this=0x0001112cde10, 
cur=0x000106149098, cmd=0x7ffeefbf9068) at InsetMathHull.cpp:2024:18
frame #10: 0x000100811520 
LyX`lyx::Inset::dispatch(this=0x0001112cde10, cur=0x000106149098, 
cmd=0x7ffeefbf9068) at Inset.cpp:325:2
frame #11: 0x0001001e018b 
LyX`lyx::Cursor::dispatch(this=0x000106149098, cmd0=0x00011123dd68) at 
Cursor.cpp:337:11
frame #12: 0x000100d876b4 
LyX`lyx::frontend::GuiView::dispatchToBufferView(this=0x00011159b6f0, 
cmd=0x00011123dd68, dr=0x7ffeefbfc7a0) at GuiView.cpp:3687:15
frame #13: 0x000100d80df6 
LyX`lyx::frontend::GuiView::dispatch(this=0x00011159b6f0, 
cmd=0x00011123dd68, dr=0x7ffeefbfc7a0) at GuiView.cpp:4343:4
frame #14: 0x000100a96008 
LyX`lyx::frontend::GuiApplication::dispatch(this=0x000105d0a1d0, 
cmd=0x00011123dd68, dr=0x7ffeefbfc7a0) at GuiApplication.cpp:2076:19
frame #15: 0x000100a8ff88 
LyX`lyx::frontend::GuiApplication::dispatch(this=0x000105d0a1d0, 
cmd=0x00011123dd68) at GuiApplication.cpp:1405:3
frame #16: 0x00010037a4ea LyX`lyx::dispatch(action=0x00011123dd68) 
at LyX.cpp:1462:19
frame #17: 0x000100a41c4b 
LyX`lyx::frontend::Action::action(this=0x00011334a560) at Action.cpp:87:2
frame #18: 0x000100a41d51 
LyX`lyx::frontend::Action::qt_static_metacall(_o=0x00011334a560, 
_c=InvokeMetaMethod, _id=1, _a=0x7ffeefbfc970) at moc_Action.cpp:81:21
frame #19: 0x00010554d63a QtCore`QMetaObject::activate(QObject*, int, 
int, void**) + 2298
frame #20: 0x00010474e185 
QtWidgets`QAction::activate(QAction::ActionEvent) + 309
frame #21: 0x000104841be3 QtWidgets`QAbstractButtonPrivate::click() + 
147
frame #22: 0x000104842d6c 
QtWidgets`QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 268
frame #23: 0x000104939bbf 
QtWidgets`QToolButton::mouseReleaseEvent(QMouseEvent*) + 15
frame #24: 0x0001047931d2 QtWidgets`QWidget::event(QEvent*) + 450
frame #25: 0x00010493a14f QtWidgets`QToolButton::event(QEvent*) + 319
frame #26: 0x0001047576ff 
QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 271
frame #27: 0x00010475a59d QtWidgets`QApplication::notify(QObject*, 
QEvent*) + 7373
frame #28: 0x000100a9d033 
LyX`lyx::frontend::GuiApplication::notify(this=0x000105d0a1d0, 
receiver=0x0001114debf0, event=0x7ffeefbfd060) at 
GuiApplication.cpp:2712:24
frame #29: 0x00010551c684 
QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 

Re: Lyx v 2.3.X - severe Problems

2019-08-18 Thread Stephan Witt
Am 18.08.2019 um 14:23 schrieb Matthias Görlach :
> 
> Hi,

Hi Matthias, the people on this mailing list like to get the answers below the 
questions.
 
> command line didnt do it.
> 
> I sudo-ed your command - it ran through (logfile  attached); 
> lyx reacts the same as before.

The log file look indeed similar - but sudo isn’t appropriate here.
The configuration run checks the availability of system components
for ordinary users, i.e. for you.

ATM, I have no idea why the module detection stops at algorithm2e.module.
This is the problem, IMO.

Is your LyX installation complete? The directory 
/Applications/LyX.app/Contents/Resources/layouts should contain 231 files.
$ ls /Applications/LyX.app/Contents/Resources/layouts|wc
 231 2313964
$ ls -1R /Applications/LyX.app/Contents/Resources|wc
42373917   76461
The complete tree has 4237 items.

To check another thing: there is an automatic upgrade in configure run.
Perhaps it copies some problematic contents from your 2.2 installation.
To circumvent this you may try these commands (no sudo please):
$ mkdir /tmp/LyX
$ cd /tmp/LyX
$ python -tt /Applications/LyX.app/Contents/Resources/configure.py 
--binary-dir=/Applications/LyX.app/Contents/MacOS/

After your configure operation in /tmp/LyX you’ll probably have the same
log file as before. I’d like to know where the contents of /tmp/LyX is
different to mine:
$ ls -ltr /tmp/LyX
total 744
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 bind
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 clipart
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 doc
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 examples
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 images
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 kbd
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 layouts
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 scripts
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 templates
drwxr-xr-x  2 stephan  wheel  64 18 Aug 20:47 ui
-rw-r--r--  1 stephan  wheel   12617 18 Aug 20:47 clsFiles.lst
-rw-r--r--  1 stephan  wheel  211862 18 Aug 20:47 styFiles.lst
-rw-r--r--  1 stephan  wheel4448 18 Aug 20:47 bstFiles.lst
-rw-r--r--  1 stephan  wheel1922 18 Aug 20:47 bibFiles.lst
-rw-r--r--  1 stephan  wheel 234 18 Aug 20:47 bbxFiles.lst
-rw-r--r--  1 stephan  wheel 175 18 Aug 20:47 cbxFiles.lst
-rw-r--r--  1 stephan  wheel   15640 18 Aug 20:47 lyxmodules.lst
-rw-r--r--  1 stephan  wheel1986 18 Aug 20:47 lyxciteengines.lst
-rw-r--r--  1 stephan  wheel 348 18 Aug 20:47 xtemplates.lst
-rw-r--r--  1 stephan  wheel   10480 18 Aug 20:47 textclass.lst
-rw-r--r--  1 stephan  wheel1444 18 Aug 20:47 packages.lst
-rw-r--r--  1 stephan  wheel   20254 18 Aug 20:47 lyxrc.defaults
-rw-r--r--  1 stephan  wheel   65778 18 Aug 20:47 configure.log

Sorry, I forgot to give you the advise to work in a temporary directory last 
time.
I’m afraid you have to cleanup the working directory you’ve used for your 
attempt
to run LyX configure script (your home directory?).

There are the following directories:
bind clipart doc examples images kbd layouts scripts templates ui
and some list files.

Best
Stephan

> 
> Best
> 
> Matthias
> 
> On 18.08.19 13:59, Stephan Witt wrote:
>> Am 18.08.2019 um 09:03 schrieb Matthias Görlach 
>> 
>> :
>> 
>>> sorry, stephan,
>>> 
>>> not sure if i put you addressee yesterday (only see cc, no "to") - here the 
>>> mail meant for you and riki.
>>> 
>> Hi Matthias,
>> 
>> the start of the configure run looks normal. But the end is not ok.
>> 
>> Your configure log ends with:
>> ...
>> INFO: +Indexing TeX files... 
>> INFO: Indexing files of type cls
>> Indexing files of type sty
>> Indexing files of type bst
>> Indexing files of type bib
>> Indexing files of type bbx
>> Indexing files of type cbx
>> INFO:done
>> DEBUG: Removing file lyxmodules.lst
>> DEBUG: Removing file chkmodules.tex
>> INFO: +checking list of modules... 
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/algorithm2e.module
>> ...
>> 
>> Mine has these contents:
>> ...
>> INFO: +Indexing TeX files... 
>> INFO: Indexing files of type cls
>> Indexing files of type sty
>> Indexing files of type bst
>> Indexing files of type bib
>> Indexing files of type bbx
>> Indexing files of type cbx
>> INFO:done
>> DEBUG: Removing file lyxmodules.lst
>> DEBUG: Failed to remove file chkmodules.tex
>> INFO: +checking list of modules...
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/fixme.module
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/pdfform.module
>> INFO: /Applications/LyX.app/Contents/Resources/layouts/sweave.module
>> IN

Re: Lyx v 2.3.X - severe Problems

2019-08-18 Thread Stephan Witt
ayout file:scrlttr2 could not be found.
> 
> Nothing of this happens after reinstall of 2.2.4
> 
> I attach here my letter template - just in case...
> 
> Also in the config log it says:
> 
> INFO: +checking for "libreoffice"...  no
> INFO: +checking for "gimp"...  no
> INFO: +checking for "firefox"...  no
> etc
> 
> but they are on board!
> 
> I reply here only to the two of you (not the UsersList) - as it might be only 
> a arcane situation (as I understand from your emails)
> 
> Many thanx & Best
> 
> Matthias
> 
> On 17.08.19 10:59, Stephan Witt wrote:
>> Am 16.08.2019 um 17:04 schrieb Richard Kimberly Heck 
>> :
>> 
>>> On 8/16/19 6:01 AM, Stephan Witt wrote:
>>> 
>>>> Am 15.08.2019 um 23:00 schrieb Matthias Görlach 
>>>> 
>>>> :
>>>> 
>>>>> Hi,
>>>>> after running and using Lyx for maybe 10 years, I finally tried to 
>>>>> upgrade from v 2.2.4 to 2.3.2 and 2.3.3.
>>>>> 
>>>>> This resulted in unusability or continuously repeated error messages 
>>>>> relating to "missing document classes", something about "missing library" 
>>>>> and finally to "LyX will only have minimal functionality because no text 
>>>>> classes have been found. You can either try to configure LyX normally, 
>>>>> try to reconfigure without checking your LaTeX installation, or continue."
>>>>> 
>>>>> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
>>>>> Reconfigure didnt do a thing - neither a complete new install of the 
>>>>> recent MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. 
>>>>> mac texmaker) worked flawlessly.
>>>>> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
>>>>> (MacBookPro9,2).
>>>>> 
>>>>> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 
>>>>> solved the problem - its running fine.
>>>>> 
>>>>> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be 
>>>>> running fine on my system - so what is the issue???
>>>>> 
>>>>> Any hints/help available??
>>>>> 
>>>> Hi Matthias,
>>>> 
>>>> as others said already - it should work.
>>>> 
>>>> What can be done to diagnose the problem? I would need to know what the 
>>>> LyX configure run did.
>>>> 
>>>> There is a folder in your user directory named ~/Library/Application 
>>>> Support/LyX-2.3. This is the location to look for the file configure.log. 
>>>> Please send it to the users list or in a private mail to me.
>>>> 
>>> I could be wrong, of course, but it smells like a permissions problem.
>>> We've seen this kind of thing in other cases, where configure.py can't
>>> write to the relevant folder. If not, the log may not exist.
>>> 
>> That would surprise me. On a Unix system and a Mac one should be able
>> to write to the directories below the home directory. LyX runs with
>> user privileges on a Mac all the time - permission problems shouldn’t
>> exist.
>> 
>> Stephan 
>> 
> 
> -- 
> Matthias Görlach
> Ebertstr. 4
> 07743 Jena
> 
> *49-0171 1988809
> 
> <01_Brief_MaGo_Template.lyx>



Re: Lyx v 2.3.X - severe Problems

2019-08-17 Thread Stephan Witt
Am 16.08.2019 um 17:04 schrieb Richard Kimberly Heck :
> 
> On 8/16/19 6:01 AM, Stephan Witt wrote:
>> Am 15.08.2019 um 23:00 schrieb Matthias Görlach 
>> :
>>> Hi,
>>> after running and using Lyx for maybe 10 years, I finally tried to upgrade 
>>> from v 2.2.4 to 2.3.2 and 2.3.3.
>>> 
>>> This resulted in unusability or continuously repeated error messages 
>>> relating to "missing document classes", something about "missing library" 
>>> and finally to "LyX will only have minimal functionality because no text 
>>> classes have been found. You can either try to configure LyX normally, try 
>>> to reconfigure without checking your LaTeX installation, or continue."
>>> 
>>> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
>>> Reconfigure didnt do a thing - neither a complete new install of the recent 
>>> MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac 
>>> texmaker) worked flawlessly.
>>> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
>>> (MacBookPro9,2).
>>> 
>>> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 
>>> solved the problem - its running fine.
>>> 
>>> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be 
>>> running fine on my system - so what is the issue???
>>> 
>>> Any hints/help available??
>> Hi Matthias,
>> 
>> as others said already - it should work.
>> 
>> What can be done to diagnose the problem? I would need to know what the LyX 
>> configure run did.
>> 
>> There is a folder in your user directory named ~/Library/Application 
>> Support/LyX-2.3. This is the location to look for the file configure.log. 
>> Please send it to the users list or in a private mail to me.
> 
> I could be wrong, of course, but it smells like a permissions problem.
> We've seen this kind of thing in other cases, where configure.py can't
> write to the relevant folder. If not, the log may not exist.

That would surprise me. On a Unix system and a Mac one should be able
to write to the directories below the home directory. LyX runs with
user privileges on a Mac all the time - permission problems shouldn’t
exist.

Stephan 

Re: Lyx v 2.3.X - severe Problems

2019-08-16 Thread Stephan Witt
Am 15.08.2019 um 23:00 schrieb Matthias Görlach :
> 
> Hi,
> after running and using Lyx for maybe 10 years, I finally tried to upgrade 
> from v 2.2.4 to 2.3.2 and 2.3.3.
> 
> This resulted in unusability or continuously repeated error messages relating 
> to "missing document classes", something about "missing library" and finally 
> to "LyX will only have minimal functionality because no text classes have 
> been found. You can either try to configure LyX normally, try to reconfigure 
> without checking your LaTeX installation, or continue."
> 
> I tried a lot - to no avail - incl newsgroups, Wiki etc etc
> Reconfigure didnt do a thing - neither a complete new install of the recent 
> MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac 
> texmaker) worked flawlessly.
> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro 
> (MacBookPro9,2).
> 
> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved 
> the problem - its running fine.
> 
> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be running 
> fine on my system - so what is the issue???
> 
> Any hints/help available??

Hi Matthias,

as others said already - it should work.

What can be done to diagnose the problem? I would need to know what the LyX 
configure run did.

There is a folder in your user directory named ~/Library/Application 
Support/LyX-2.3. This is the location to look for the file configure.log. 
Please send it to the users list or in a private mail to me.

Stephan

> -- 
> Matthias Görlach
> Ebertstr. 4
> 07743 Jena
> 
> *49-0171 1988809
> 



Re: hyphenation point in bib file

2019-05-02 Thread Stephan Witt
Am 02.05.2019 um 08:27 schrieb Wolfgang Engelmann :
> 
> 
> 
> On 01.05.19 22:27, Paul A. Rubin wrote:
>> On 5/1/19 7:23 AM, Wolfgang Engelmann wrote: 
>>> Does somebody know how I can use a hyphenation point in a bib file? I use a 
>>> two column page layout in my lax document and a word is not broken, thus 
>>> running in the next column. 
>>> 
>>> Wolfgang 
>>> 
>> You can insert {\-} in the .bib file to indicate an optional hyphenation 
>> point. 
>> 
>> Paul 
>> 
> Thanks, Axel and Paul. Inserting just ~ did not work, {\~}worked in this case:
> 
> Trans{\-}lation-independent circadian control of the cell cycle in a 
> unicellular photosynthetic eukaryote
> 
>  Miyagishima, Shin-ya et al. (2014). “Trans-
>  lation-independent circadian control of
>  the cell cycle in a unicellular photosyn-
>  thetic eukaryote.” In: Nature communi-
>  cations 5, p. 3807.
> 
> but not here
> 
> A transcriptionally and functionally distinct PD-1, 
> {\-}javax.xml.bind.JAXBElement{\-}@7a062e7f, CD8,{\-} 
> javax.xml.bind.JAXBElement{\-}@2110cbd6, T cell pool with predictive 
> potential in non-small-cell lung cancer treated with PD-1 blockade.

I don't believe this title is correct. It looks like the (wrong) output of a 
text-processing utility.

Stephan

> 
>  Thommen, Daniela S. et al. (2018). “A tran-
>  scriptionally and functionally distinct
>  PD-1, javax.xml.bind.JAXBElement@7a062e7f,
>  CD8, javax.xml.bind.JAXBElement@2110cbd6,
>  T cell pool with predictive potential in
>  non-small-cell lung cancer treated with
>  PD-1 blockade.” In: Nature medicine 24,
>  pp. 994–1004.
> 
>  Wang, Yaping et al. (2017). “Upregula-
>  tion of circadian gene ’hClock’ contribu-
>  tion to metastasis of colorectal cancer.”
>  In: International journal of oncology 50,
>  pp. 2191–2199.
> 
> I can live with it, since this citation happens to be in the right column and 
> is still readable.
> 
> Wolfgang
> 
> 



Re: Exporting ePub / XML: always SIGSEV

2019-04-26 Thread Stephan Witt
8
> ( 20) 20 CoreFoundation 0x7fff30050dd1 __CFRunLoopDoSources0 : 20 
> CoreFoundation 0x7fff30050dd1 __CFRunLoopDoSources0 + 195
> ( 21) 21 CoreFoundation 0x7fff3005037a __CFRunLoopRun : 21 CoreFoundation 
> 0x7fff3005037a __CFRunLoopRun + 1219
> ( 22) 22 CoreFoundation 0x7fff3004fc64 CFRunLoopRunSpecific : 22 
> CoreFoundation 0x7fff3004fc64 CFRunLoopRunSpecific + 463
> ( 23) 23 HIToolbox 0x7fff2f2e6ab5 RunCurrentEventLoopInMode : 23 
> HIToolbox 0x7fff2f2e6ab5 RunCurrentEventLoopInMode + 293
> ( 24) 24 HIToolbox 0x7fff2f2e66f4 ReceiveNextEventCommon : 24 HIToolbox 
> 0x7fff2f2e66f4 ReceiveNextEventCommon + 371
> ( 25) 25 HIToolbox 0x7fff2f2e6568 
> _BlockUntilNextEventMatchingListInModeWithFilter : 25 HIToolbox 
> 0x7fff2f2e6568 _BlockUntilNextEventMatchingListInModeWithFilter + 64
> ( 26) 26 AppKit 0x7fff2d5a1363 _DPSNextEvent : 26 AppKit 
> 0x7fff2d5a1363 _DPSNextEvent + 997
> ( 27) 27 AppKit 0x7fff2d5a0102 -[NSApplication: 27 AppKit 
> 0x7fff2d5a0102 -[NSApplication(NSEvent) 
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
> ( 28) 28 AppKit 0x7fff2d59a165 -[NSApplication run] : 28 AppKit 
> 0x7fff2d59a165 -[NSApplication run] + 699
> ( 29) 29 libqcocoa.dylib 0x00010925f73d 
> _ZN21QCocoaEventDispatcher13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
>  : 29 libqcocoa.dylib 0x00010925f73d 
> _ZN21QCocoaEventDispatcher13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
>  + 2445
> ( 30) 30 QtCore 0x0001067536e1 
> _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE : 30 QtCore 
> 0x0001067536e1 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 417
> ( 31) 31 QtCore 0x000106758288 _ZN16QCoreApplication4execEv : 31 QtCore 
> 0x000106758288 _ZN16QCoreApplication4execEv + 392
> ( 32) 32 lyx 0x0001053a2841 _ZN3lyx3LyX4execERiPPc : 32 lyx 
> 0x0001053a2841 _ZN3lyx3LyX4execERiPPc + 1009
> ( 33) 33 lyx 0x000105284d1f main : 33 lyx 0x000105284d1f main + 79
> ( 34) 34 libdyld.dylib 0x7fff5d29ded9 start : 34 libdyld.dylib 
> 0x7fff5d29ded9 start + 1
> 
> 
> 
> Am 25. Apr. 2019, 22:50 +0200 schrieb Stephan Witt :
>> Am 25.04.2019 um 22:14 schrieb jezZiFeR :
>>> 
>>> Dear Stephan,
>>> 
>>> with the tutorial it seems that I also do not get a SIGSEV in some cases, 
>>> but I also get it when I go via:
>>> file–export–export as…
>>> 
>>> When I tried this for.html I also got this message: »Kann keinen 
>>> LaTeX-Befehl für das Zeichen '⌃' (Code-Punkt 0x2303) finden.
>>> Einige Zeichen Ihres Dokuments sind mit der gewählten Kodierung 
>>> wahrscheinlich nicht darstellbar.
>>> Eine Änderung der Dokumentkodierung auf 'utf8' könnte helfen.«
>>> 
>>> This means something like the is no LaTeX-command for »^« and it is 
>>> suggested to change the document’s coding to utf 8, which is not possible 
>>> for the tutorial-file.
>> 
>> Yes, this is a problem with the tutorial in LyX 2.3.2 and will be fixed in 
>> 2.3.3.
>> 
>>> 
>>> Maybe it is interesting, that the dialogue of two different documents (mine 
>>> & German tutorial) produce different export-possibilities and the tutorial 
>>> has much more. I add two screenshots to make it clearer.
>> 
>> Hmmm, the export possibilities efficiently depend on the existing 
>> converters. The longer list doesn’t necessarily mean more possibilities… I 
>> don’t know off-hand how the lists are constructed and why they contain 
>> useless entries.
>> 
>>> 
>>> Excuse me, what is the »sack trace«? Should I send you the details of the 
>>> SIGSEV?
>> 
>> Yes, please.
>> 
>> Best regards,
>> Stephan
>> 
>>> I will continue trying some more documents tomorrow.
>>> 
>>> Thank you, all best
>>> Jess
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Am 25. Apr. 2019, 21:52 +0200 schrieb Stephan Witt :
>>>> Am 25.04.2019 um 18:56 schrieb jezZiFeR :
>>>>> 
>>>>> Hello,
>>>>> 
>>>>> I try to export ePubs for a while now and it never worked in different 
>>>>> configurations. LyX was always freezing. In the moment I use OS 10.14.3, 
>>>>> Intel and LyX 2.3.2 with TeXLive 2018.
>>>>> 
>>>>> When I do the following:
>>>>> + file – export as – DocBook (XML) and then try to save I get the 
>>>>> follwing error:
>>>>> »Keine Informationen vorhanden, um das Format DocBook (XML) zu 
>>>>> exportieren.«
>>>>> In English this means something like »There is no information to export 
>>>>> the format DocBook (XML).
>>>>> + Now I click »cancel« and get a SIGSEV-signal, like every time.
>>>>> 
>>>>> Does anybody have a hint what I could do? Would be very good to use XML, 
>>>>> maybe there is a workaround.
>>>>> 
>>>>> Thanks, all best
>>>>> Jess
>>>> 
>>>> Hello Jess,
>>>> 
>>>> I’m on Mac OS 10.14.4 with LyX 2.3.2. I’m unable to export to DocBook too. 
>>>> But - at least with the Tutorial - I don’t get a crash on Cancel.
>>>> 
>>>> Can you send me the stack trace please and tell me if it happens with 
>>>> every LyX document or with some of your documents only?
>>>> 
>>>> Best regards,
>>>> Stephan
>>> >> 22.04.20.png>
>> 



Re: Exporting ePub / XML: always SIGSEV

2019-04-25 Thread Stephan Witt
Am 25.04.2019 um 22:14 schrieb jezZiFeR :
> 
> Dear Stephan,
> 
> with the tutorial it seems that I also do not get a SIGSEV in some cases, but 
> I also get it when I go via:
> file–export–export as…
> 
> When I tried this for.html I also got this message: »Kann keinen LaTeX-Befehl 
> für das Zeichen '⌃' (Code-Punkt 0x2303) finden. 
> Einige Zeichen Ihres Dokuments sind mit der gewählten Kodierung 
> wahrscheinlich nicht darstellbar.
> Eine Änderung der Dokumentkodierung auf 'utf8' könnte helfen.«
> 
> This means something like the is no LaTeX-command for »^« and it is suggested 
> to change the document’s coding to utf 8, which is not possible for the 
> tutorial-file.

Yes, this is a problem with the tutorial in LyX 2.3.2 and will be fixed in 
2.3.3.

> 
> Maybe it is interesting, that the dialogue of two different documents (mine & 
> German tutorial) produce different export-possibilities and the tutorial has 
> much more. I add two screenshots to make it clearer.

Hmmm, the export possibilities efficiently depend on the existing converters. 
The longer list doesn’t necessarily mean more possibilities… I don’t know 
off-hand how the lists are constructed and why they contain useless entries.

> 
> Excuse me, what is the »sack trace«? Should I send you the details of the 
> SIGSEV?

Yes, please.

Best regards,
Stephan

> I will continue trying some more documents tomorrow.
> 
> Thank you, all best
> Jess
> 
> 
> 
> 
> 
> 
> 
> Am 25. Apr. 2019, 21:52 +0200 schrieb Stephan Witt :
>> Am 25.04.2019 um 18:56 schrieb jezZiFeR :
>>> 
>>> Hello,
>>> 
>>> I try to export ePubs for a while now and it never worked in different 
>>> configurations. LyX was always freezing. In the moment I use OS 10.14.3, 
>>> Intel and LyX 2.3.2 with TeXLive 2018.
>>> 
>>> When I do the following:
>>> + file – export as – DocBook (XML) and then try to save I get the follwing 
>>> error:
>>> »Keine Informationen vorhanden, um das Format DocBook (XML) zu exportieren.«
>>> In English this means something like »There is no information to export the 
>>> format DocBook (XML).
>>> + Now I click »cancel« and get a SIGSEV-signal, like every time.
>>> 
>>> Does anybody have a hint what I could do? Would be very good to use XML, 
>>> maybe there is a workaround.
>>> 
>>> Thanks, all best
>>> Jess
>> 
>> Hello Jess,
>> 
>> I’m on Mac OS 10.14.4 with LyX 2.3.2. I’m unable to export to DocBook too. 
>> But - at least with the Tutorial - I don’t get a crash on Cancel.
>> 
>> Can you send me the stack trace please and tell me if it happens with every 
>> LyX document or with some of your documents only?
>> 
>> Best regards,
>> Stephan
>  22.04.20.png>



Re: Exporting ePub / XML: always SIGSEV

2019-04-25 Thread Stephan Witt
Am 25.04.2019 um 18:56 schrieb jezZiFeR :
> 
> Hello,
> 
> I try to export ePubs for a while now and it never worked in different 
> configurations. LyX was always freezing. In the moment I use OS 10.14.3, 
> Intel and LyX 2.3.2 with TeXLive 2018.
> 
> When I do the following:
> + file – export as – DocBook (XML) and then try to save I get the follwing 
> error:
> »Keine Informationen vorhanden, um das Format DocBook (XML) zu exportieren.«
> In English this means something like »There is no information to export the 
> format DocBook (XML).
> + Now I click »cancel« and get a SIGSEV-signal, like every time.
> 
> Does anybody have a hint what I could do? Would be very good to use XML, 
> maybe there is a workaround.
> 
> Thanks, all best
> Jess

Hello Jess,

I’m on Mac OS 10.14.4 with LyX 2.3.2. I’m unable to export to DocBook too. But 
- at least with the Tutorial - I don’t get a crash on Cancel.

Can you send me the stack trace please and tell me if it happens with every LyX 
document or with some of your documents only?

Best regards,
Stephan

Re: BibLatex references with de, von etc

2019-03-07 Thread Stephan Witt
Am 07.03.2019 um 11:53 schrieb F M Salter :
> 
> I am using lyx 2.3.2 on debian stretch.
> 
> I am finding different outputs for two cases
> 
> author = ({de Boer), J)

Are you sure, the parentheses are as shown? I’d say the first closing one is 
wrong.

Regards,
Stephan

> 
> author = ({von Hayek}, Friedrich August )
> 
> The references are correct for both showinig the von and the de.  The 
> citations styles apparently  differ.  von Hayek is shown but the de is lost 
> leaving only Boer.
> 
> Does any one know how to resolve this issue.
> 
> Regards
> 
> Frank Salter
> 
> 



Re: jpg to eps within powerdot

2019-01-04 Thread Stephan Witt
Am 04.01.2019 um 18:51 schrieb Jacques Le Bourlot :
> 
> Dear Stephan,
> 
> Yes! It solved most of my issues. I did have to add converters for png and 
> gif files too (nothing automatic…), but the result is fine, and it works 
> without any further action required. And the final file is HUGELY smaller 
> which is great.
> 
> I still have some problems with inputting PDF files, but I will try to solve 
> it alone first before asking for help. It is probably something between 
> poppler and xpdf (to be checked).

You may consider using sips on Mac. It’s very useful for converting pdf files 
to raster images.

Stephan

> 
> Thanks a lot for the prompt — and to the point — answer.
> 
> Jacques



Re: jpg to eps within powerdot

2019-01-04 Thread Stephan Witt
Am 04.01.2019 um 17:20 schrieb Jacques Le Bourlot :
> 
> 
> 
>> Le 4 janv. 2019 à 16:08, Stephan Witt  a écrit :
>> 
>>> Am 03.01.2019 um 17:01 schrieb Jacques Le Bourlot 
>>> :
>>> 
>>> 
>>> Bonjour,
>>> 
>>> I’ve been using the powerdot class in LyX for years without a glitch, 
>>> including in my presentations pictures with a large diversity of format 
>>> (including jpg, png, pdf, …). Please note that powerdot can NOT be used 
>>> with pdflatex, and MUST go through ps2pdf (i.e., with a dvi step somewhere).
>>> 
>>> I’m running into difficulties after a recent update:
>>> 
>>> * Mac OSX 10.14.2 (Mojave)
>>> * LyX 2.3.2
>>> * TeXLive-2018
>>> * ImageMagick and many tools installed with MacPort.
>>> 
>>> I include some jpeg images into my presentation, and now get the message 
>>> (note: translated from French by myself): « no information to convert jpg 
>>> files to eps - define a converter in preferences » . After a second try, I 
>>> sometime do not get this message, but a LaTeX error: « LaTeX Error: Cannot 
>>> determine size of graphic in ... »
>>> 
>>> I did add a converter in preferences: « convert $$o $$i », without success. 
>>> 
>>> If I convert « by hand » in a shell (convert toto.jpg toto.eps), then use 
>>> the eps file in LyX everything is fine.
>>> 
>>> What am I missing? Thank you.
>>> 
>>> Jacques
>>> 
>> 
>> Bonjour Jaques,
>> 
>> there is a problem with converters (inkscape) on Mac OSX, ATM. To be sure 
>> you’re affected by the known problem it would be good to have an example 
>> document. See "How to create a minimal example" section in the following:
>> 
>>  https://wiki.lyx.org/FAQ/MinimalExample
>> 
>> Stephan
> 
> 
> Dear Stephan,
> 
> Here is a (probably) minimal example.
> 
> * As is, I get an error about either conversion not found or size not found.
> * If I replace the « jpg » extension by « eps » (using the file created with 
> « convert »), then everything is fine.
> 
> Thank you for your help.
> 
> Jacques
> 
> PS: I selected the smallest file I could find, but most of the other eps 
> files are huge! Which is a reason why I do not want to do it « by hand », 
> …besides the inconvenience to lose a nicely working tool.
> 
> PPS: Sorry for the double post: I did not realise first that the mailing list 
> was not included.
> 
> 
> 
> 
> 
> 
> 

The good thing is - it works for me. I didn’t had to add the converter. The 
built-in converter script succeeds. Then I tried it with your converter 
definition and failed. Finally I noticed it would be good to call the convert 
utility with « convert $$i $$o » - i.e. in => out. Now I can preview it with 
ps2pdf and export a pdf of it.

Does this work for you?

Best regards,
Stephan

Re: jpg to eps within powerdot

2019-01-04 Thread Stephan Witt
> Am 03.01.2019 um 17:01 schrieb Jacques Le Bourlot 
> :
> 
> 
> Bonjour,
> 
> I’ve been using the powerdot class in LyX for years without a glitch, 
> including in my presentations pictures with a large diversity of format 
> (including jpg, png, pdf, …). Please note that powerdot can NOT be used with 
> pdflatex, and MUST go through ps2pdf (i.e., with a dvi step somewhere).
> 
> I’m running into difficulties after a recent update:
> 
> * Mac OSX 10.14.2 (Mojave)
> * LyX 2.3.2
> * TeXLive-2018
> * ImageMagick and many tools installed with MacPort.
> 
> I include some jpeg images into my presentation, and now get the message 
> (note: translated from French by myself): « no information to convert jpg 
> files to eps - define a converter in preferences » . After a second try, I 
> sometime do not get this message, but a LaTeX error: « LaTeX Error: Cannot 
> determine size of graphic in ... »
> 
> I did add a converter in preferences: « convert $$o $$i », without success. 
> 
> If I convert « by hand » in a shell (convert toto.jpg toto.eps), then use the 
> eps file in LyX everything is fine.
> 
> What am I missing? Thank you.
> 
> Jacques
> 

Bonjour Jaques,

there is a problem with converters (inkscape) on Mac OSX, ATM. To be sure 
you’re affected by the known problem it would be good to have an example 
document. See "How to create a minimal example" section in the following:

   https://wiki.lyx.org/FAQ/MinimalExample

Stephan

Re: Lyx V2.3.2 - Issues with svgs snippets on Mac OS X

2018-12-23 Thread Stephan Witt
Am 22.12.2018 um 23:59 schrieb Robert Betz :
> 
> Daniel,
> 
> I have tired all sorts of things on Mac OS X Mojave but I cannot get either 
> SVG or SVGZ files to render in Lyx.  Just get error generating loadable 
> format.
> 
> I was wondering if any other users on Mac OS X Mojave are having problems 
> with rendering SVG and/or SVGZ?  An easy way to test this is to load up the 
> User Manual in Lyx and scroll down until you hit the small svgs snippets in 
> the text (used to store pictures of screen buttons in the file).

I’m sure it worked for me in the past. So I gave it a try on Mojave and it 
works.

Then I tried to break it and this is easy. My converter configuration does the 
SVG to PNG conversion with rsvg-convert because I’ve installed it from 
MacPorts. But the idea was to have a reasonable fallback for those not having 
it. It looks like not working anymore. I changed my system to make rsvg-convert 
unavailable and now I cannot display SVG anymore too.

I’ll investigate the issue and report back.

Stephan

@Daniel: Does it work on Windows without inkscape?

> 
> Thanks.
> 
> 
> Regards,
> 
> Bob
> 
> 
> PROFESSOR ROBERT BETZ
> School of Electrical Engineering and Computing
> Faculty of Engineering and Built Environment
> 
> T: +61 2 4921 6091
> M: +61 (0)419 249 948
> E: robert.b...@newcastle.edu.au
> 
> The University of Newcastle (UoN)
> University Drive
> Callaghan NSW 2308
> Australia
> 
> CRICOS Provider 00109J
> 
> 
> 
> 
>> On 20 Dec 2018, at 2:20 pm, Daniel  wrote:
>> 
>> On 20/12/2018 12:00, Robert Betz wrote:
>>> I don’t know whether anyone else is having trouble with the snippets in the 
>>> Lyx User Guide, but on my Machine (Mac OS X V10.14.2 Mojave) the svgz 
>>> snippets all get errors as below
>>> I anyone else having this problem.  The Inkscape converter seems to be 
>>> having problems with these.  Works fine in Ubuntu.
>>> Regards,
>>> Bob
>> 
>> Works fine under Win10.
>> 
>> Daniel
>> 
>> 
> 



Re: [ANNOUNCE] LyX 2.2.3 Released.

2018-12-16 Thread Stephan Witt
Hi Bob,

is it a problem with LyX 2.3.2 and with 2.3.1 forward search is fast?

My guess was: it’s a problem new with Mojave…

Regards,
Stephan

> Am 16.12.2018 um 15:34 schrieb Robert Betz :
> 
> I have noticed that Lyx V2.3.2 under Mac OSX 10.14.1 (Mojave) has a very slow 
> forward search.  Seems to take a couple of seconds.
> 
> This was reported by another user as well.  In addition he was having 
> problems with the reverse search working. Reverse search on my system is 
> working well, and does not suffer the delays of the forward search.
> 
> 
> 
> Regards,
> 
> Bob
> 
> 
> PROFESSOR ROBERT BETZ
> School of Electrical Engineering and Computing
> Faculty of Engineering and Built Environment
> 
> T: +61 2 4921 6091
> M: +61 (0)419 249 948
> E: robert.b...@newcastle.edu.au
> 
> The University of Newcastle (UoN)
> University Drive
> Callaghan NSW 2308
> Australia
> 
> CRICOS Provider 00109J
> 
> 
> 
> 
>> On 14 Dec 2018, at 5:09 pm, Chris Menzel  wrote:
>> 
>> I'm always hesitant to complain about this brilliant piece of software but, 
>> for me (Mojave 10.14.2 Beta) with this version, forward search (LyX ⟶ Skim) 
>> is still very slow and reverse search (Skim ⟶ LyX) appears to be 
>> nonfunctional. I've of course checked all the usual settings.
>> 
>> -chris
>> 
>> On Fri, Dec 14, 2018 at 9:32 AM Richard Kimberly Heck  
>> wrote:
>> ...
>> 
>> Public release of LyX version 2.3.2
>> ===
>> 
>> We are proud to announce the release of LyX 2.3.2. This is the second
>> maintenance release in the 2.3.x series.
>> 
>> You can download LyX 2.3.2 from http://www.lyx.org/Download/.
> 



Re: PDF graphics is blurred in LyX when scaled

2018-11-14 Thread Stephan Witt
Am 12.11.2018 um 18:53 schrieb Baris Erkus :
> 
> On 11/12/2018 4:36 PM, Stephan Witt wrote:
>> Am 12.11.2018 um 14:03 schrieb Stephen Buonopane :
>>>> On Nov 12, 2018, at 7:52 AM, Baris Erkus  wrote:
>>>> 
>>>> On 12-Nov-18 3:38 PM, Kornel Benko wrote:
>>>>> Am Montag, 12. November 2018 13:21:58 CET schrieb Daniel 
>>>>> :
>>>>>> On 11/11/2018 19:14, Paul A. Rubin wrote:
>>>>>>> On 11/10/18 9:45 PM, Baris Erkus wrote:
>>>>>>>> Hello,
>>>>>>>> 
>>>>>>>> PDF graphics appears to be blurred in LyX when scaled from Graphics
>>>>>>>> Options --> LaTeX and LyX options --> Show in LyX --> Scale on Screen.
>>>>>>>> 
>>>>>>>> I am not sure if this is a feature to reduce CPU rendering workload or
>>>>>>>> smtg, but it would be really nice to have a clear view of the PDF
>>>>>>>> while working on the document rather than looking at it using a PDF
>>>>>>>> viewer.
>>>>>>>> 
>>>>>>>> See MWE and the view from LyX below.
>>>>>>>> 
>>>>>>>> Baris
>>>>>>>> 
>>>>>>>> 
>>>>>>> The image in your PDF file is a bitmap (PNG), so I don't hold out much
>>>>>>> hope for being able to zoom it without loss of fidelity.
>>>>>> Why do you think the graphic in the PDF is a bitmap? I have zoomed in on
>>>>>> it and never got any pixels to see. At least it must be an extremely
>>>>>> high resolution bitmap then.
>>>>>> 
>>>>>> Daniel
>>>>>> 
>>>>> Because PNG format is bitmap?
>>>>>   PNG image data, 652 x 668, 8-bit/color RGB, non-interlaced
>>>>> 
>>>>>   Kornel
>>>>> 
>>>> The external graphics is in PDF, which is attached to the original
>>>> e-mail; it was generated in Tikz, so it is a vector graphics. No
>>>> question about it.  When inserted into LyX, maybe LyX creates a
>>>> temporary bitmap or PNG file to show to the user, I am not sure.
>>>> 
>>>> It should not be a big thing to show a higher resolution graphics or to
>>>> let the user decide for possible performance issues. One day I will be
>>>> doing all these small modification by myself, but when that I do not
>>>> know... :-)
>>>> 
>>>> Baris
>>> 
>>> Yes LyX creates a PNG file for the on-screen preview within LyX (It also 
>>> does this for the math preview)
>>> If you dig into the LyX temp directory you will find all of the PNG files.
>>> 
>>> I recall that an older version of LyX (on Mac) did not use PNG for 
>>> on-screen previews, in which case it may be possible to revert to the older 
>>> behavior even in 2.3.X?
>> There are fundamental differences between the handling of SVG and PDF files 
>> in LyX.
>> 
>> LyX is using Qt plugins to render the images on screen.
>> 
>> For PDF files one has to convert them to temporary bitmap files because 
>> there is no plugin to render them directly. (Perhaps this is not true 
>> anymore.) For SVG files there is a plugin. But this one is limited in 
>> functionality. There was a decision to not use it for on-screen display 
>> because of the complaints regarding missing details.
>> 
>> The problem with the temporary images is the fixed resolution of the 
>> generated images. The used cache is not invalidated in case of higher 
>> preview zoom levels. Furthermore you can have different resolutions at 
>> runtime too. In case of a machine with multiple monitors with different 
>> physical resolutions you get different values for moving the LyX window 
>> around.
>> 
>> Stephan
> 
> This makes sense. Do you think it is reasonable that I put this as a 
> wish to the tracker?

I think it’s already there… but couldn’t find it ATM.

Stephan

Re: PDF graphics is blurred in LyX when scaled

2018-11-12 Thread Stephan Witt
Am 12.11.2018 um 14:03 schrieb Stephen Buonopane :
> 
>> On Nov 12, 2018, at 7:52 AM, Baris Erkus  wrote:
>> 
>> On 12-Nov-18 3:38 PM, Kornel Benko wrote:
>>> Am Montag, 12. November 2018 13:21:58 CET schrieb Daniel :
 On 11/11/2018 19:14, Paul A. Rubin wrote:
> On 11/10/18 9:45 PM, Baris Erkus wrote:
>> Hello,
>> 
>> PDF graphics appears to be blurred in LyX when scaled from Graphics
>> Options --> LaTeX and LyX options --> Show in LyX --> Scale on Screen.
>> 
>> I am not sure if this is a feature to reduce CPU rendering workload or
>> smtg, but it would be really nice to have a clear view of the PDF
>> while working on the document rather than looking at it using a PDF
>> viewer.
>> 
>> See MWE and the view from LyX below.
>> 
>> Baris
>> 
>> 
> The image in your PDF file is a bitmap (PNG), so I don't hold out much
> hope for being able to zoom it without loss of fidelity.
 Why do you think the graphic in the PDF is a bitmap? I have zoomed in on
 it and never got any pixels to see. At least it must be an extremely
 high resolution bitmap then.
 
 Daniel
 
>>> Because PNG format is bitmap?
>>> PNG image data, 652 x 668, 8-bit/color RGB, non-interlaced
>>> 
>>> Kornel
>>> 
>> The external graphics is in PDF, which is attached to the original 
>> e-mail; it was generated in Tikz, so it is a vector graphics. No 
>> question about it.  When inserted into LyX, maybe LyX creates a 
>> temporary bitmap or PNG file to show to the user, I am not sure.
>> 
>> It should not be a big thing to show a higher resolution graphics or to 
>> let the user decide for possible performance issues. One day I will be 
>> doing all these small modification by myself, but when that I do not 
>> know... :-)
>> 
>> Baris
> 
> 
> Yes LyX creates a PNG file for the on-screen preview within LyX (It also does 
> this for the math preview)
> If you dig into the LyX temp directory you will find all of the PNG files.
> 
> I recall that an older version of LyX (on Mac) did not use PNG for on-screen 
> previews, in which case it may be possible to revert to the older behavior 
> even in 2.3.X?

There are fundamental differences between the handling of SVG and PDF files in 
LyX.

LyX is using Qt plugins to render the images on screen.

For PDF files one has to convert them to temporary bitmap files because there 
is no plugin to render them directly. (Perhaps this is not true anymore.) For 
SVG files there is a plugin. But this one is limited in functionality. There 
was a decision to not use it for on-screen display because of the complaints 
regarding missing details.

The problem with the temporary images is the fixed resolution of the generated 
images. The used cache is not invalidated in case of higher preview zoom 
levels. Furthermore you can have different resolutions at runtime too. In case 
of a machine with multiple monitors with different physical resolutions you get 
different values for moving the LyX window around.

Stephan

Re: Adding local templates directory to dialog

2018-06-23 Thread Stephan Witt
Am 23.06.2018 um 20:44 schrieb Paul A. Rubin :
> 
> I should know the answer to this but apparently have forgotten. Is there any 
> way to modify the "New from Template" dialog so that local templates (in 
> ~/.lyx/templates on Linux) are one click away? Alternatively, is there a way 
> to add to the list of directory shortcuts on the left side of the dialog 
> (currently "Computer" and my home directory)?

My alternate solution is to change the template directory to the local 
templates in your home directory and place a symbolic link to the system 
template dir inside it. That way you can reach both places quickly. On a Mac 
this is done automatically on first configuration. Unfortunately there is no 
(known) API to modify the list of directory shortcuts on the left side of the 
dialog automatically.

Stephan

Re: Cannot get spell check to work on LyX 2.3.0 and Mac OS 10.13.4 (High Sierra)

2018-04-23 Thread Stephan Witt
Am 23.04.2018 um 18:47 schrieb Marshall Feldman :
> 
> I'm having a devil of a time trying to get spell check working with LyX 2.3.0 
> and Mac OS 10.13.4. I have similar configurations on two other computers, and 
> the spell check does seem to work there. But on this one, whenever I issue 
> Tools > Spellchecker..., LyX throws the error message, "Spell checker has no 
> dictionaries." This happens with all 3 available Spellchecker engines:  
> Native, Aspell, and Hunspell.
> 
> Here are some things I've tried:
> 
>   • Install the latest version of LibreOffice, which relies on Hunspell. 
> I thought reinstalling LO might fix issues with Hunspell, at least.
>   • Reinstall Hunspell. Hunspell is supposedly included with recent 
> versions of Mac OS, but I followed the OSX and macOS instructions on the 
> Hunspell GitHub page to (re)install Hunspell.
>   • Downloaded and reinstalled the en_US.aff/dic files as recommended 
> here. The original post is several years old, and one hopes any corruption in 
> the dictionary file would have been corrected by now, but one never knows.
>   • Test with each of the 3 spell checkers.
> FWIW, this testing was done with:
> 
>   • LyX > Preferences > Language Settings > Spellchecker always set to 
> activate "Spellcheck continuously" and "Spellcheck notes and comments."
>   • LyX > Preferences > Language Settings > Spellchecker does not allow 
> activation of "Accept compound words," as this option is grayed out.
>   • LyX > Preferences > Paths > Hunspell dictionaries set to 
> "~/Library/Spelling"
> A MWE is attached.
> 
> Please help me before I spell again!!!
> 
> Thanks.
> 

The spell checker function isn’t document specific, IMHO.

Hunspell dictionaries are bundled with LyX 2.3.0, you shouldn’t have to change 
anything to use it. Native spell checker (the default) is using the OS spell 
checker service. For Aspell you need the dictionaries that come with macports 
aspell.

Probably the best you can do is to enable file related debug messages to check 
hunspell file lookup and GUI debug messages for native spell checker operation.
Verify the messages and post them here for reference. You can enable messages 
at runtime from the View > Messages dialog.

Best regards,
Stephan

Re: LyX 2.3.0 and tables with footnotes

2018-04-04 Thread Stephan Witt
Am 04.04.2018 um 10:36 schrieb Andrew Parsloe :
> 
> On 4/04/2018 6:15 p.m., Niklas Huldén wrote:
>> On 03.04.2018 20:58, Paul A. Rubin wrote:
>>> On 04/03/2018 12:38 PM, Niklas Huldén wrote:
 Den 03-04-2018 kl. 18:51, skrev Paul A. Rubin:
> On 04/03/2018 10:55 AM, Niklas Huldén wrote:
>> Hello all!
>> 
>> I am testing LyX 2.3.0 on windows 10 with MikTex 2.9. I have some old 
>> tables with footnotes inside them which used to line up fine with the 
>> table using the "minipage trick" putting the table in a minipage 
>> (whitout the caption).
>> In LyX 2.3.0 this results in the footnote becoming an ordinary footnote, 
>> which makes it hard to keep tables and footnotes on the same page. But I 
>> understand this is a feature now. Is there any way to "emulate" the old 
>> behavior? I include a MWF and two screenshots.
>> 
>> Thanks and all the best!
>> Niklas
> You could add \renewcommand{\tablefootnote}{\footnote} to the document 
> preamble. (If you do this a lot, you might want to cobble together a 
> module for it.)
> 
> Paul
> 
 Thank you Paul! This works fine and takes me out of immediate danger zone. 
 I guess a module would be a good idea in the long run.
 
 A somewhat linked issue is that I get an error message if I use the rotate 
 package in a LyX file that uses tablefootnotes: "Package tablefootnote 
 Error: Package rotating loaded after tablefootnote."
 
 Hard to find a place to load rotate before the tablefootnote though.
 
 Many thanks again!
 
 Niklas
 
>>> Niklas,
>>> 
>>> I've attached a module. Try putting it in your local layouts folder 
>>> (~/.lyx/layouts on most Linux systems), then reconfigure LyX, add it to 
>>> your document (and do /not/ add the \renewcommand line in the preamble), 
>>> then see if you get the desired results (including using the rotate 
>>> package).
>>> 
>>> Cheers,
>>> Paul
>>> 
>> Hello,
>> 
>> Thank you Paul! I placed the module in (windows 10) 
>> "c:\Users\myselfwhatever\AppData\Local\LyX 2.3\Resources\layouts\ and 
>> reconfigured but could not find any module in restarted LyX. This might have 
>> something to do with my Windows configuration.
>> 
>> I then placed it in "c:\Program Files (x86)\LyX 2.3\Resources\layouts\" as 
>> administrator, reconfigured and now it is available in document 
>> settings/modules. Everything works including getting rid of the rotating 
>> error message :)
>> 
>> I will try it in my Mac tonight.
>> 
>> All the best!
>> Niklas
>> 
> On Windows 7 the module should go to "C:\Users\ name>\AppData\Roaming\LyX2.3\layouts\".  I would expect this to be the same 
> on Windows 10. The "c:\Program Files (x86)\LyX 2.3\Resources\layouts\" 
> location should be left for layouts and modules of the official LyX 
> distribution. When LyX 2.3.1 comes out and you upgrade, this folder will be 
> overwritten and Paul's module will be lost (unless it gets incorporated into 
> the official LyX distro.).
> 
> Andrew

The correct path name for the user configuration directory is
shown in the About LyX dialog. Probably there is a missing or
an additional space in path name here.

On Mac the directory path name should contain LyX-2.3, BTW.

Stephan

Re: Lyx Preferences on the Mac

2018-03-14 Thread Stephan Witt
Am 14.03.2018 um 16:25 schrieb Dr Eberhard Lisse :
> 
> Hi,
> 
> I have started to use v 2.3.0 and am running into small issues with
> window sizes, background color and such.
> 
> I have added my email into the identity field and grep'ed for files
> cotaining the string and can't find it.
> 
> Where does LyX store its preference file, or rather the one where the
> changes remain persistent, so I can modify settings there?

"$HOME/Library/Application Support/LyX-2.3/preferences"

resp. LyX 2.2.x preferences are here:

"$HOME/Library/Application Support/LyX-2.2/preferences“

Regards,
Stephan

Re: Small poll - download speed of LyX installers

2018-02-17 Thread Stephan Witt
Am 16.02.2018 um 17:20 schrieb Pavel Sanda :
> 
> Hello lyx users,
> 
> it has been brought to our(=developers) attention that downloading speed of 
> lyx
> installers might become too slow on various places over the globe. The size of
> installers was steadily growing past years and 220 MB might indeed pose 
> problem
> in case users end up with connections speeds about ~10kbs...
> 
> That's why this small poll - we would be intersted to know how bad the 
> situation
> generally is -- especially outside of Europe.
> 
> If you have one minute of spare time could you download this file
> ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
> and report:
> 
> 1. time to download (/ download speed)
> 2. country (and/or domain) where you download from
> 3. whether you download from home/academic network/large company...
> (you don't have to report more details than it feels comfortable...)
> 
> Both good and bad answers matter, we want to know whether this is sporadic
> or widespread problem.
> 
> In case your download of the link above is more than couple seconds, it would
> be useful if you also reported whether some of the mirror servers listed at
> http://www.lyx.org/Download#toc11 which are closer to your geographical
> location perform better.
> 
> Thanks for your time,
> Pavel

Hi Pavel,

this is the speed via Home-WLAN (ISP Vodafone-Berlin):

$ wget 
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
Länge: 135668328 (129M) (unmaßgeblich)
LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg 129,38M   495KB/sin 3m 47s
2018-02-17 22:27:15 (584 KB/s) - »LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg« 
gespeichert [135668328]

$ wget 
ftp://ftp.ucsd.edu/LyX/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
Länge: 135668328 (129M) (unmaßgeblich)
LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg 129,38M  3,01MB/sin 45s 
2018-02-17 22:28:45 (2,86 MB/s) - »LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg« 
gespeichert [135668328]

this is the speed at office (LAN) (ISP Vodafone-Berlin):

$ wget 
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
Länge: 135668328 (129M) (unmaßgeblich)
135.668.328  776K/s   in 2m 23s  
2018-02-17 22:30:35 (929 KB/s) - »»LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg«« 
gespeichert [135668328]

$ wget 
ftp://ftp.ucsd.edu/LyX/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
Länge: 135668328 (129M) (unmaßgeblich)
135.668.328 11,2M/s   in 20s 
2018-02-17 22:27:42 (6,40 MB/s) - »»LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg«« 
gespeichert [135668328]

Stephan

Re: lyx to lyx on the Mac command line

2017-08-08 Thread Stephan Witt
Am 08.08.2017 um 17:07 schrieb José Abílio Matos :
> 
> On Tuesday, 8 August 2017 15.50.28 WEST Dr Eberhard Lisse wrote:
>> Hi,
>> 
>> is there a way of changing a lyx file from an older version to the
>> current one on the command line, like opening the file, making a
>> modification to trigger the saving allowed and saving it under the old
>> filename?
>> 
>>  find . -name '*lyx' -exec whatever {} \;
>> 
>> 
>> I wouldn't mind even a Apple Script :-)-O
>> 
>> greetings, el
> 
> I do not use macs, last time I did it was running linux as opposed to macos 
> 9. :-)
> 
> In any case the script responsible for converting the lyx files to a newer 
> format is called lyx2lyx.
> 
> If you get its path (e.g. here on linux it is /usr/share/lyx/lyx2lyx/lyx2lyx) 
> then you can call it directly. It has several options for command line call 
> and it even supports compressed lyx files directly.

On Mac you may have multiple LyX applications on your system.
The standard location is the folder /Applications and the name
is LyX.app. There it is located in Contents/Resources/lyx2lyx/.

So, the standard is 
/Applications/LyX.app/Contents/Resources/lyx2lyx/lyx2lyx

But the application bundle is completely relocatable. It is up
to the owner of the Mac to know where the „current“ LyX.app is
located.

Stephan

> 
> I can help further if you need.
> 
> Regards,
> -- 
> José Abílio



Re: Help improve LyX's defaults by sharing your preferences

2017-07-30 Thread Stephan Witt
Am 30.07.2017 um 19:45 schrieb Uwe Stöhr :
> 
> El 29.07.2017 a las 23:47, Scott Kostyshak escribió:
> 
>> Agreed. Hopefully we can get more in the future.
> 
> As on no OS people are using 100% and as 120% was the reported the minimal 
> used zoom level, I again vote to make the new 100% the current 120%.

How do you want to achieve this? I’m not so confident it’s good to change the 
current computation of screen zoom. Every preference saved to disk would be 
„invalid“ after a change.

I’m not against a decision what the best default zoom level is.

Stephan

> 
> I opened an enhancement accordingly:
> http://www.lyx.org/trac/ticket/10737
> 
> (For the records: on Manjaro Linux KDE I have set 150% zoom.)
> 
> regards Uwe



Re: [ANNOUNCE] LyX 2.2.3 Released

2017-05-15 Thread Stephan Witt
Am 16.05.2017 um 05:31 schrieb Edwin Burmeister :

Hi Edwin,

> 
> (1) The links below for “lists.lyx.org” do not work.

Which link exactly? lists.lyx.org itself isn’t a link.
The other links below work for me.

> (2) The introductory file “splash.lyz” cannot be viewed as a PDF without 
> error. This was also true in 2.2.2, but it works fine in 2.1.5. Some error 
> message about a convertor needing to be defined in Preferences, but I cannot 
> figure out  the solution. Need help here.

Anyone who wants to help you needs more information. The platform you’re 
working on
and the error message is missing.

Stephan

> 
> Thanks.
> 
> ***
> Edwin Burmeister
> Research Professor of Economics
> Duke University
> e...@econ.duke.edu
> 
>> On May 15, 2017, at 9:56 PM, Richard Heck  wrote:
>> 
>> Public release of LyX version 2.2.3
>> ===
>> 
>> We are proud to announce the release of LyX 2.2.3. This is the third
>> maintenance release in the 2.2.x series. 
>> 
>> You can download LyX 2.2.3 from http://www.lyx.org/Download/.
>> 
>> LyX is a document processor that encourages an approach to writing based 
>> on the structure of your documents and not simply their appearance. It is
>> released under a Free and Open Source Software license.
>> 
>> LyX 2.2.3 is the result of on-going efforts to make our stable version more 
>> reliable and more stable. We have fixed a number of bugs and made a number 
>> of improvements. Most of these are relatively minor in themselves, but the 
>> combined result of fixing them all has led to significant improvements. We 
>> encourage all users of 2.2.2 to upgrade to this version.
>> 
>> If you think you have found a bug in LyX 2.2.3, please open a bug report at
>> http://www.lyx.org/trac/wiki/BugTrackerHome. If you're not sure whether it
>> really is a bug, you can e-mail the LyX developers' mailing list (lyx-devel 
>>  lists.lyx.org) and ask. 
>> 
>> If you have trouble using LyX or have a question, consult the
>> documentation that comes with LyX and the LyX wiki, which lives at
>> http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX 
>> users' list (lyx-users  lists.lyx.org).
>> 
>> We hope you enjoy using LyX 2.2.3.
>> 
>> The LyX team.
>> http://www.lyx.org
>> 
>> 
>> What's new
>> ==
>> 
>> ** Updates:
>> ***
>> 
>> * DOCUMENT INPUT/OUTPUT
>> 
>> - Allow use of verbatim and quotation environments with IOP articles
>>   (bug 10505).
>> 
>> - Search for input files relative to local layout files, when those 
>>   are provided and relative paths are used.
>> 
>> 
>> * USER INTERFACE
>> 
>> - The title bar is now set according to platform UI. Read-only and
>>   version control are shown by indicators in the status bar.
>> 
>> - The toolbar context menu and the View>Toobars menus are now
>>   identical. Both allow to change icon size and to enable individual
>>   toolbars.
>> 
>> - The citation dialog has been redesigned, following user suggestions.
>> 
>> - Remember citation style settings both within and between sessions
>>   (bug 10256).
>> 
>> - Improve cross-references dialog design.
>> 
>> - Implement wrap-around in change tracking's next-change function (bug 
>> 10388).
>> 
>> - The Math Delimiters dialog now has a "Swap & Reverse" button (bug 10457).
>> 
>> - Document Settings > "Output" has been renamed to "Formats" now that it
>>   also contains the option "Save transient properties".
>> 
>> - The title of the source pane now reflects the format being previewed,
>>   e.g. "LaTeX (pdflatex) Preview".
>> 
>> - Improve information preview of bibliographic references (e.g. in the
>>   Citation dialog), particularly for bibtex databases that use biblatex
>>   features.
>> 
>> - When using Return in an empty paragraph and the depth is reduced,
>>   the layout of the paragraph is now changed accordingly.
>> 
>> - Issue an error message if incompatible languages (in terms of language
>>   package requirements) are used (bug 10456).
>> 
>> - Improve display speed, especially when compiled against Qt 4.x.
>> 
>> - Polish the BibTeX add dialog (bug 9795).
>> 
>> - Fix regression that was not allowing inserting more than three consecutive
>>   dashes without jumping through hoops.
>> 
>> 
>> * DOCUMENTATION AND LOCALIZATION
>> 
>> - New Arabic translation of the Intro and Tutorial manuals and the Shortcuts
>>   documentation file
>> 
>> - Updated translation of the French EmbeddedObjects and UserGuide manuals
>> 
>> - Updated Arabic, Brazilian, Chinese, German, Italian, Slovakian, Swedish,
>>   Ukrainian and French user interface localization.
>> 
>> 
>> * BUILD/INSTALLATION
>> 
>> - Correctly determine whether the X11 backend is used by Qt 5.8.
>> 
>> 
>> ** Bug fixes:
>> *
>> 
>> * DOCUMENT INPUT/OUTPUT
>> 
>> - Fix nested language handling with polyglossia (bug 9633).
>> 
>> - Fix usage of multiple varieties of the same polyglossia language.
>> 
>> 

Re: Lyx 2.2 errors w/ miktex 2.9.6 (on win10)

2017-04-13 Thread Stephan Witt
Am 13.04.2017 um 15:44 schrieb Mitch Gusat :
> 
> Seen the same issues on Mac and Linux, but it's particularly vexing on 
> Windows since the recent (April'17) Miktex 2.9 release: Lyx 2.0/1/2 used to 
> work flawlessly for years before the new miktex release.

Hi Mitch,

I’d like to get more detailed infos regarding the problems you’ve mentioned for 
LyX on Mac.

Thank you
Stephan



Re: Searchable PDF documents --> Solution: Problem with Mac standard Program

2017-01-14 Thread Stephan Witt
Am 14.01.2017 um 20:00 schrieb Uwe Ade :
> 
> .. news! 
> 
> It seems the  problem is a MacOS-Problem. If i use the OSX-Standard-Program 
> Preview (in German Vorschau) theres a problem to save the with Lyx generated 
> Files searchable. 
> After the Compilation preview starts and the PDF-file in Preview is 
> searchable. 
> After saving the file with „Save As“ the saved file is not searchable.
> 
> If i use PDF Expert to show the lyx pdf-output and to save it, the pdf-file 
> is searchable.
> 
> Perhaps someone can use this Information. My Configuration: macOS Sierra 
> Version 10.12.1 Preview (Vorschau) Version 9.0 ( 909.12)

I cannot reproduce this on a Mac with El Capitan Version 10.11.6 and Preview 
Version 8.1 (877.7)

Stephan

Re: LyX Spell Checker Sanity Check

2017-01-07 Thread Stephan Witt
Am 07.01.2017 um 03:07 schrieb Richard Heck :
> 
> On 01/06/2017 03:08 PM, Joel Kulesza wrote:
>> Colleagues,
>> 
>> Does anyone know what "baed" means?  With all lower case, I cannot
>> find any reasonable definition. 
>> 
>> However, the spell checker (dialog and interactive) in LyX doesn't
>> flag it as misspelled (though it's a case of me wanting to type
>> "based").  
>> 
>> I am using LyX 2.2.2 on OS X 10.11.6 with the as-distributed spell
>> checker.  Is different behavior observed on other OSs and/or spell
>> checkers?
> 
> The spell checkers are all external programs. I don't know what the
> default is on OSX.

The default on OSX is the native spell checker service of Apple. AFAIK it’s 
internally some hunspell-based spell checker engine. But, by using the OSX 
based service the learned words are not application specific. If a word was 
learned it’s possible to „unlearn“ it again with right mouse button menu.

Stephan

> 
> Is it possible you accidentally told the spell checker to accept this word?
> 
> Richard



Re: shortcut for Use Computer Algebra System

2016-11-15 Thread Stephan Witt
Am 15.11.2016 um 15:33 schrieb Roberto <foice.n...@gmail.com>:
> 
> This is fantastic! Thanks a lot! it was easy with the new binding menu in the 
> preferences, wow. Worth adding it to the webpage Paola has pointed me to? 

You’re welcome.

The mentioned documentation is an online version of the built-in Math manual 
help.
The procedure of binding an arbitrary key to a command (sequence) is part of
Appendix C of the users guide: C-2.2.1 Editing Shortcuts. 

Regards,
Stephan

> 
> On 15 November 2016 at 09:50, Stephan Witt <st.w...@gmx.net> wrote:
> Am 15.11.2016 um 09:29 schrieb Roberto <foice.n...@gmail.com>:
>> 
>> Thanks! this looks what I need. The only problem is that I am not familiar 
>> with customization and this does not look like a "\bind" line to put in a 
>> mac.bind or math.bind - did I miss anything? where should I put this 
>> command-alternatives break-paragraph;math-extern maxima  ?
> 
> Does the attached image help? Sorry, my LyX is in german.
> 
> I've added a shortcut for math-extern with the argument maxima as an example.
> 
> Stephan
>  
>> 
>> On 14 November 2016 at 12:45, Paola Manzini <pm...@st-andrews.ac.uk> wrote:
>> 
>> On 14 Nov 2016, at 11:02, Roberto <foice.n...@gmail.com> wrote:
>> 
>>> Hello,
>>>   I am on Mac with Lyx 2.2.0 trying to put a shortcut for Edit>Math>Use 
>>> Computer Algebra System>Mathematica
>>> but I do know what the Lyx function would be to put it in the binding file. 
>>> I tried the Preferences>Editing>Shortcuts  but this function is not listed. 
>>> 
>>> Mathematica calculations work fine if I use the mouse to get the CAS 
>>> function, but is pretty nested down in the menu ... can anybody help me to 
>>> get a short cut to use CAS (and Mathematica in particular) 
>>> 
>>> Thanks,
>>> Roberto
>> 
>> Hi Roberto,
>> according to the LyX manual there is no shortcut, but a way around it, have 
>> a look here:
>> http://elyxer.nongnu.org/lyx/Math.html#toc-Subsection-23.2
>> 
>> I haven't tried, though, I right click then select CAS
>> Paola
> 
> 
> 



Re: Not compiling Lyx

2016-11-10 Thread Stephan Witt
Am 11.11.2016 um 03:37 schrieb JC Clark :
> 
> I am not able to compile lyx 2.2.2
> 
> I am on Centos 7 Linux .
> 
> 
> Any thoughts

Please send the file config.log.

IMO, it’s better to discuss this on the developers list.
So I’ve CCed lyx-devel.

AFAIK there is a LyX package for Fedora. Perhaps you can use it instead.

Regards,
Stephan

> 
> 
> The error message is below:
> 
> 
> CXXLDlyx
> frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function 
> `lyx::frontend::FancyLineEdit::iconClicked()':
> FancyLineEdit.cpp:(.text+0x3e1): undefined reference to 
> `lyx::frontend::IconButton::staticMetaObject'
> frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function 
> `lyx::frontend::IconButton::IconButton(QWidget*)':
> FancyLineEdit.cpp:(.text+0xb47): undefined reference to `vtable for 
> lyx::frontend::IconButton'
> FancyLineEdit.cpp:(.text+0xb4f): undefined reference to `vtable for 
> lyx::frontend::IconButton'
> collect2: error: ld returned 1 exit status
> make[4]: *** [lyx] Error 1
> make[4]: Leaving directory `/home/hobo/local/src/lyx-2.2.2/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/hobo/local/src/lyx-2.2.2/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/hobo/local/src/lyx-2.2.2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/hobo/local/src/lyx-2.2.2'
> make: *** [all] Error 2
> 
> 
> Thanks in advance
> 



Re: LyX update loses settings.

2016-10-19 Thread Stephan Witt
Am 16.10.2016 um 20:07 schrieb Mark, K5AM <k...@zianet.com>:
> 
> 
> Hi Stephan,
> 
> Thank you for considering this problem.
> 
> I am using LyX Version 2.2.0. I am reluctant to update to
> the new version, since it was so much trouble to redo the
> settings last time.
> 
> Windows 7 Pro 64.
> 
> The settings I needed to redo:
>   Paths in Preferences
>   Location of pwl_english.dict
>   Some special keys that I set
>   Shortcut keys that I set
>   Colors
>   Other items that I may have forgotten,
>   but usually find out about soon enough.
> 
> Mark

Hi Mark,

LyX on Windows saves the preferences in a version specific directory, IMO.
The "About LyX“ dialog should tell you the location. Make a note where it is
before doing the upgrade. You may try to restore your settings from there after 
the upgrade. Compare the files in the two different directories and adjust
them accordingly.

I hope it works as I’m not on Windows. I’ve CCed Uwe Stöhr - perhaps he
can tell you more or a simpler solution.

Stephan

> 
> On 2016-10-16 11:01, Stephan Witt wrote:
>> Am 15.10.2016 um 22:08 schrieb Mark <k...@zianet.com>:
>>> 
>>> LyX update loses settings.
>>> 
>>> Is there an easy way to save settings, and restore after an update?
>> 
>> Hi Mark,
>> 
>> it’s not clear what version and on which platform you’re using LyX.
>> 
>> Stephan
>> 



Re: making LyX work with CAS on Mac OS

2016-10-19 Thread Stephan Witt
Am 19.10.2016 um 10:30 schrieb Paola Manzini :
> YAY!!! it works Stephan, thank you ever so much, you have been so very 
> patient, never been so happy to discover that 3+2=5 :-)
> Presumably I would have to repeat the same procedure to create wrappers for 
> mathematica and maple?

Yes, this should work in principle. I don’t have these tools - the point is:
you have to wrap the command line utility you can use in terminal.
But care for Kornels advice below.

> e.g.:
> #!/bin/
> sh
> 
> /Applications/Mathematica.app/Contents/MacOS/MathKernel "$@„

The first line „#!/bin/sh“ is another ritual were you shouldn’t be
creative :) Don’t break it into multiple lines.

The exec in front of the command line utility is again for efficiency.
The shell process created by LyX to start the CAS utility will be
replaced by the CAS utility instead of creating another child process.
 
> 
> for mathematica and 
> #!/bin/
> sh
> 
> /Applications/Maple 18/Maple 18.app/Contents/MacOS/Maple 18 "$@"
> 
> Again, a million thanks!
> Paola

You’re welcome.

Am 19.10.2016 um 10:51 schrieb Kornel Benko :
> 
> Am Mittwoch, 19. Oktober 2016 um 08:30:53, schrieb Paola Manzini 
> 
> ...
>> for mathematica and 
>> #!/bin/sh
>> /Applications/Maple 18/Maple 18.app/Contents/MacOS/Maple 18 "$@"
>> 
> 
> I don't believe this is possible. At least I'd expect
>   #!/bin/sh
>"/Applications/Maple 18/Maple 18.app/Contents/MacOS/Maple 18" "$@"
> 
>   Kornel

Yes, Kornel, you’re right. The spaces in path name need quotes.
In case of maxima it was not required to quote the path name because
it doesn’t contain spaces.

Regards,
Stephan

Re: making LyX work with CAS on Mac OS

2016-10-19 Thread Stephan Witt
Am 19.10.2016 um 09:54 schrieb Stephan Witt <st.w...@gmx.net>:
> 
> Am 19.10.2016 um 08:45 schrieb Paola Manzini <pm...@st-andrews.ac.uk>:
>> 
>> On 19 Oct 2016, at 07:43, Paola Manzini <pm...@st-andrews.ac.uk> wrote:
>>> 
>>> 
>>>> On 18 Oct 2016, at 21:28, Stephan Witt <st.w...@gmx.net> wrote:
>>>> 
>>>> Am 18.10.2016 um 18:45 schrieb Paola Manzini <pm...@st-andrews.ac.uk>:
>>>>> 
>>>>> 
>>>>>> On 18 Oct 2016, at 16:49, Kornel Benko <kor...@lyx.org> wrote:
>>>>>> 
>>>>>> Am Dienstag, 18. Oktober 2016 um 15:32:08, schrieb Paola Manzini 
>>>>>> <pm...@st-andrews.ac.uk>
>>>>>> ...
>>>>>> 
>>>>>>> hi Stephan, thanks for the scissor tip, will never look at 8< the same 
>>>>>>> way again :-)
>>>>>>> I’ve followed all your steps, but sadly still nothing has changed - 
>>>>>>> tough maybe I have erred somewhere? Here is what I did: 
>>>>>>> First of all I created the wrapper file, and put it in HOME\bin, which 
>>>>>>> I had already created following your instructions.
>>>>>>> Then I’ve run 
>>>>>>> $ cat $HOME/bin/maxima
>>>>>>> in the terminal window, and got the two lines of the new “wrapper” 
>>>>>>> file. 
>>>>>>> Then put both ~/bin and HOME/bin in the LyX path for good measure, 
>>>>>>> reconfigured LyX, closed Lyx and relaunched it, and again, it does not 
>>>>>>> work.
>>>>>>> So I thought maybe I should also have run the last two of the three 
>>>>>>> other lines of code to be run in the terminal. Did that, but as you can 
>>>>>>> see from the attachment after running that command I do not get a “$” 
>>>>>>> sign, but a “>” as terminal prompt. Maybe this is the problem?
>>>>>>> Thanks for your patience!
>>>>>> 
>>>>>> No problem. Simply type the 2 lines, cat is awaiting input.
>>>>>> To end the input you have to enter EOF, probably it is control+D.
>>>>>> 
>>>>>> Kornel
>>>>> 
>>>>> thanks Kornel (and Stephan), but now the result is that the maxima 
>>>>> wrapper has been overwritten by empty lines!
>>>>> So just to recap what I’ve done:
>>>>> 1. created the wrapper file, called it maxima, put it in HOME/bin, and 
>>>>> checked it is there with the correct content by running the command “$ 
>>>>> cat $HOME/bin/maxima” (no quotes) in the terminal window; I can also see 
>>>>> the file in finder
>>>>> 2. run the three commands in the terminal window, where after the second 
>>>>> line I had to use ctrl D to signal end of file
>>>>> as a result, the “maxima” file has become an empty file (indeed, running 
>>>>> “$ cat $HOME/bin/maxima” in the terminal window returns empty lines.
>>>>> No change in behaviour in Lyx. If it helps, I have also Maple and 
>>>>> Mathematica installed on my machine, but no luck invoking them from LyX 
>>>>> either.
>>>>> screenshot of terminal window is attached in case it is of any help.
>>>>> Above all, thanks for taking the time with this.
>>>>> paola
>>>>> 
>>>> 
>>>> Hi Paola,
>>>> 
>>>> I tried to be as verbose as I can - but it was too terse, sorry.
>>>> 
>>>> Two points: 
>>>> 1. The dollar sign in front of my command line text shouldn’t be typed.
>>>> It’s usual to mark text input as terminal input.
>>>> 2. The EOF marker is an arbitrary text and should have been typed as given.
>>>> 
>>>> I’ll attach a screen shot of a my terminal session to prepared the wrapper 
>>>> script.
>>>> 
>>>> Finally the correct PATH extension in LyX settings is important.
>>>> Either it should be „$HOME/bin“ or „~/bin“ - having both does not harm
>>>> but it slightly reduces the startup speed of every external script.
>>>> 
>>>> Regards,
>>>> Stephan
>>>> 
>>>> 
>>>> 
>>> 
>>> Dear Stephan,
>>> thanks so much for the time you are taking on this, and apologies for being 
>>> slow! I have tried following exactly what you did, but there seems to be a 
>>> problem when I get to “which maxima” - I get an empty line. On the other 
>>> hand, the
>>>>>>> cat $HOME/bin/maxima
>>> does return the contents of the file, and I do see a newly created maxima 
>>> file in the “bin” folder (in finder) - maybe my system is missing some 
>>> other component?
>>> Again, many thanks,
>>> Paola
>> p.s.
>> screenshot attached
>> 
> 
> Dear Paola,
> 
> no problem, we’re almost there.
> 
> Sorry, I forgot to adjust the PATH setting in terminal.
> I have $HOME/bin already in PATH in terminal.
> This is not standard, obviously - so let’s add it for the test :)
> This is the equivalent of adding $HOME/bin to LyX PATH settings.
> 
> See the screenshot.
> 
> Regards,
> Stephan

Oops, the screenshot… the blue text is my keyboard input.



Re: making LyX work with CAS on Mac OS

2016-10-19 Thread Stephan Witt
Am 19.10.2016 um 08:45 schrieb Paola Manzini <pm...@st-andrews.ac.uk>:
> 
> On 19 Oct 2016, at 07:43, Paola Manzini <pm...@st-andrews.ac.uk> wrote:
>> 
>> 
>>> On 18 Oct 2016, at 21:28, Stephan Witt <st.w...@gmx.net> wrote:
>>> 
>>> Am 18.10.2016 um 18:45 schrieb Paola Manzini <pm...@st-andrews.ac.uk>:
>>>> 
>>>> 
>>>>> On 18 Oct 2016, at 16:49, Kornel Benko <kor...@lyx.org> wrote:
>>>>> 
>>>>> Am Dienstag, 18. Oktober 2016 um 15:32:08, schrieb Paola Manzini 
>>>>> <pm...@st-andrews.ac.uk>
>>>>> ...
>>>>> 
>>>>>> hi Stephan, thanks for the scissor tip, will never look at 8< the same 
>>>>>> way again :-)
>>>>>> I’ve followed all your steps, but sadly still nothing has changed - 
>>>>>> tough maybe I have erred somewhere? Here is what I did: 
>>>>>> First of all I created the wrapper file, and put it in HOME\bin, which I 
>>>>>> had already created following your instructions.
>>>>>> Then I’ve run 
>>>>>> $ cat $HOME/bin/maxima
>>>>>> in the terminal window, and got the two lines of the new “wrapper” file. 
>>>>>> Then put both ~/bin and HOME/bin in the LyX path for good measure, 
>>>>>> reconfigured LyX, closed Lyx and relaunched it, and again, it does not 
>>>>>> work.
>>>>>> So I thought maybe I should also have run the last two of the three 
>>>>>> other lines of code to be run in the terminal. Did that, but as you can 
>>>>>> see from the attachment after running that command I do not get a “$” 
>>>>>> sign, but a “>” as terminal prompt. Maybe this is the problem?
>>>>>> Thanks for your patience!
>>>>> 
>>>>> No problem. Simply type the 2 lines, cat is awaiting input.
>>>>> To end the input you have to enter EOF, probably it is control+D.
>>>>> 
>>>>> Kornel
>>>> 
>>>> thanks Kornel (and Stephan), but now the result is that the maxima wrapper 
>>>> has been overwritten by empty lines!
>>>> So just to recap what I’ve done:
>>>> 1. created the wrapper file, called it maxima, put it in HOME/bin, and 
>>>> checked it is there with the correct content by running the command “$ cat 
>>>> $HOME/bin/maxima” (no quotes) in the terminal window; I can also see the 
>>>> file in finder
>>>> 2. run the three commands in the terminal window, where after the second 
>>>> line I had to use ctrl D to signal end of file
>>>> as a result, the “maxima” file has become an empty file (indeed, running 
>>>> “$ cat $HOME/bin/maxima” in the terminal window returns empty lines.
>>>> No change in behaviour in Lyx. If it helps, I have also Maple and 
>>>> Mathematica installed on my machine, but no luck invoking them from LyX 
>>>> either.
>>>> screenshot of terminal window is attached in case it is of any help.
>>>> Above all, thanks for taking the time with this.
>>>> paola
>>>> 
>>> 
>>> Hi Paola,
>>> 
>>> I tried to be as verbose as I can - but it was too terse, sorry.
>>> 
>>> Two points: 
>>> 1. The dollar sign in front of my command line text shouldn’t be typed.
>>> It’s usual to mark text input as terminal input.
>>> 2. The EOF marker is an arbitrary text and should have been typed as given.
>>> 
>>> I’ll attach a screen shot of a my terminal session to prepared the wrapper 
>>> script.
>>> 
>>> Finally the correct PATH extension in LyX settings is important.
>>> Either it should be „$HOME/bin“ or „~/bin“ - having both does not harm
>>> but it slightly reduces the startup speed of every external script.
>>> 
>>> Regards,
>>> Stephan
>>> 
>>> 
>>> 
>> 
>> Dear Stephan,
>> thanks so much for the time you are taking on this, and apologies for being 
>> slow! I have tried following exactly what you did, but there seems to be a 
>> problem when I get to “which maxima” - I get an empty line. On the other 
>> hand, the
>>>>>> cat $HOME/bin/maxima
>> does return the contents of the file, and I do see a newly created maxima 
>> file in the “bin” folder (in finder) - maybe my system is missing some other 
>> component?
>> Again, many thanks,
>> Paola
> p.s.
> screenshot attached
> 

Dear Paola,

no problem, we’re almost there.

Sorry, I forgot to adjust the PATH setting in terminal.
I have $HOME/bin already in PATH in terminal.
This is not standard, obviously - so let’s add it for the test :)
This is the equivalent of adding $HOME/bin to LyX PATH settings.

See the screenshot.

Regards,
Stephan

Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Stephan Witt
Am 18.10.2016 um 15:41 schrieb Paola Manzini <pm...@st-andrews.ac.uk>:
> 
> 
>> On 18 Oct 2016, at 13:41, Stephan Witt <st.w...@gmx.net> wrote:
>> 
>> Am 18.10.2016 um 13:58 schrieb Paola Manzini <pm...@st-andrews.ac.uk>:
>>> 
>>> 
>>>> On 18 Oct 2016, at 12:33, Kornel Benko <kor...@lyx.org> wrote:
>>>> 
>>>> Am Dienstag, 18. Oktober 2016 um 11:10:06, schrieb Paola Manzini 
>>>> <pm...@st-andrews.ac.uk>
>>>> ...
>>>> 
>>>>>>> Hi all,
>>>>>>> 
>>>>>>> I’ve searched the list and though this is not the first time the problem
>>>>>>> is
>>>>>>> noted, I haven’t been able to find any solution. The short of it is: it
>>>>>>> just won’t work. So for instance if I type “5+2” then invoke
>>>>>>> Edit/Math/CAS,
>>>>>>> I only get a lonely = side to the right of the expression, and no result
>>>>>>> (see screenshot)>
>>>> 
>>>> ...
>>>> 
>>>>>> What happens if you call maxima from the console window and input the
>>>>>> string '(5+2);' followed by ? Here I get:
>>>>>> (%i1) (5+2);
>>>>>> (%o1)  7
>>>>>> (%i2)
>>>>>> 
>>>> 
>>>> ...
>>>> 
>>>>> from the console I get the same as you:
>>>>> 
>>>>>   (%i2) 5+2;
>>>>>   (%o2)  7
>>>>>   (%i3)
>>>> 
>>>> It should work. Do you have the same PATH settings on console?
>>>> Note, that I am not on MAC, so only guessing.
>>>> 
>>>> Kornel
>>> 
>>> I know it should work, which is why it is sooo frustrating! I cannot see 
>>> any path settings in the Terminal, but I have put in lyX the same address 
>>> as the one invoked for Maxima run from a terminal window, and still no joy!
>> 
>> The problem is that LyX contains the call of the external utility as 
>> hard-coded string and it is „maxima“.
>> 
>> The only solution I can see is to wrap the wrapper script „maxima.sh“ 
>> located inside the Maxima.app bundle
>> with a utility script like the following code (I cannot attach it - every 
>> virus checker will block the transport):
>> === 8< snip here >8 ===
>> #!/bin/sh
>> exec /Applications/Maxima.app/Contents/Resources/maxima.sh "$@"
>> === 8< snip here >8 ===
>> 
>> In terminal you may do this:
>> $ mkdir -p $HOME/bin
>> $ cat - > $HOME/bin/maxima <> #!/bin/sh
>> exec /Applications/Maxima.app/Contents/Resources/maxima.sh "\$@"
>> EOF
>> $ chmod +x $HOME/bin/maxima
>> 
>> Then verify that "$HOME/bin“ is in LyX’s configured PATH - either as written 
>> or as "~/bin".
>> 
>> Then it should work.
>> 
>> Regards,
>> Stephan
>> 
>> PS: Be careful with the quotation marks and the backslash. They’re essential.
>> 
> 
> many thanks Stephan, I’ll try, but as I am as far from a techie as you can 
> imagine, some questions for you: 
> 1. are these two alternative methods, or do I need first to create the 
> wrapper, then run from the terminal? 
> 2. where should I save the wrapper, and with what name?
> 3. the  means joining the two “8”?
> thanks!

1. You need to create the wrapper first and may try it (after creating it) in 
terminal by typing "$HOME/bin/maxima“
2. The wrapper should be placed in folder $HOME/bin (which is created first in 
case it doesn’t exist already by „mkdir“)
3. The snip surrounded two lines is the contents of the wrapper script - „8<" 
and „>8" are the two scissors :)

To explain the terminal commands:
The first terminal command is ensuring the existence of the folder „$HOME/bin“.
The second one (starting with „cat“ and ending with EOF) is one the way to 
create the wrapper script without any editor.
The third command is making your new wrapper script executable.

The 2nd command needs to be entered exactly as you see it.

You can verify what you did by using the terminal command:
$ cat $HOME/bin/maxima

It should give you the 2-line-script between the lines surrounded by the 
scissors.

The problem why you has to do it yourself is: I cannot send you any shell 
script.
No virus scanner will let it through. It doesn’t matter if it is useful or not.

Regards,
Stephan

Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Stephan Witt
Am 18.10.2016 um 13:58 schrieb Paola Manzini :
> 
> 
>> On 18 Oct 2016, at 12:33, Kornel Benko  wrote:
>> 
>> Am Dienstag, 18. Oktober 2016 um 11:10:06, schrieb Paola Manzini 
>> 
>> ...
>> 
> Hi all,
> 
> I’ve searched the list and though this is not the first time the problem
> is
> noted, I haven’t been able to find any solution. The short of it is: it
> just won’t work. So for instance if I type “5+2” then invoke
> Edit/Math/CAS,
> I only get a lonely = side to the right of the expression, and no result
> (see screenshot)>
>> 
>> ...
>> 
 What happens if you call maxima from the console window and input the
 string '(5+2);' followed by ? Here I get:
 (%i1) (5+2);
 (%o1)  7
 (%i2)
 
>> 
>> ...
>> 
>>> from the console I get the same as you:
>>> 
>>>(%i2) 5+2;
>>>(%o2)  7
>>>(%i3)
>> 
>> It should work. Do you have the same PATH settings on console?
>> Note, that I am not on MAC, so only guessing.
>> 
>> Kornel
> 
> I know it should work, which is why it is sooo frustrating! I cannot see any 
> path settings in the Terminal, but I have put in lyX the same address as the 
> one invoked for Maxima run from a terminal window, and still no joy!

The problem is that LyX contains the call of the external utility as hard-coded 
string and it is „maxima“.

The only solution I can see is to wrap the wrapper script „maxima.sh“ located 
inside the Maxima.app bundle
with a utility script like the following code (I cannot attach it - every virus 
checker will block the transport):
=== 8< snip here >8 ===
#!/bin/sh
exec /Applications/Maxima.app/Contents/Resources/maxima.sh "$@"
=== 8< snip here >8 ===

In terminal you may do this:
$ mkdir -p $HOME/bin
$ cat - > $HOME/bin/maxima <

Re: making LyX work with CAS on Mac OS

2016-10-18 Thread Stephan Witt
Am 18.10.2016 um 13:10 schrieb Paola Manzini :
> 
> 
>> On 18 Oct 2016, at 12:05, Kornel Benko  wrote:
>> 
>> Am Dienstag, 18. Oktober 2016 um 10:57:08, schrieb Paola Manzini 
>> 
>>> On 18 Oct 2016, at 11:39, Kornel Benko 
>>> > wrote:
>>> 
>>> Am Dienstag, 18. Oktober 2016 um 10:12:50, schrieb Paola Manzini 
>>> >
>>> Hi all,
>>> 
>>> I’ve searched the list and though this is not the first time the problem is 
>>> noted, I haven’t been able to find any solution. The short of it is: it 
>>> just won’t work. So for instance if I type “5+2” then invoke Edit/Math/CAS, 
>>> I only get a lonely = side to the right of the expression, and no result 
>>> (see screenshot)
>>> 
>>> I am currently running Lyx 2.2.0 on Mac Os Sierra, but I had exactly the 
>>> same problem under Maverick and El Capitan with previous Lyx versions, 
>>> namely, nothing happens.
>>> 
>>> I have specified the paths correctly (I think) to where the apps are 
>>> (Mathematica, Maxima, Maple - nothing seems to work), and I can see the 
>>> software calling the app (math-extern maxima), or (math-extern 
>>> mathematica), but no result is churned out.
>>> 
>>> Here is what I have in the "PATH prefix" field under 
>>> Lyx->Preferences->Paths:
>>> 
>>> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/Library/TeX/local/bin:/Library/TeX/bin:/Library/TeX/X11R6/bin:/Library/TeX/sbin:/sbin:/usr/local/sbin:/Library/TeX/usr/local/bin:/Applications/Mathematica.app/Contents/MacOS/MathKernel:/Applications/Maxima.app:/Applications/Maple
>>>  18/Maple 18.app
>>> 
>>> Can anyone please help?
>>> 
>>> Many thanks,
>>> Paola
>>> 
>>> [cid:1CA68732-253E-465F-82E6-7DF587AC9DB0@st-andrews.ac.uk]
>>> 
>>> 
>>> I'd try calling lyx with '-dbg mathed' parameter from a console window.
>>> Alternatively use View->Messages Pane->Settings
>>> Check 'Selected'
>>> Double click on 'mathed - Math editor'
>>> back to 'Output'
>>> ...
>>> calling: maxima
>>> input: 'simpsum:true;tex(5 + 2);'
>>> output: '7'
>>> Buffer.cpp (3449): updateMacro of novýsúbor9.lyx
>>> 12:31:27.889: Automatický úklad hotový.
>>> 
>>> Here it shows:
>>> 12:38:28.705: Alt+M Afinding 'finding 'finding 'use whole cell: checking 
>>> expr: '5 + 2'
>>> calling: maxima
>>> input: 'simpsum:true;tex(5 + 2);'
>>> output: '7'
>>> 
>>> Kornel
>>> 
>>> many thanks Kornel for your prompt reply, I’ve tried what you suggested, 
>>> and what I got is no output, namely:
>>> 
>>> 11:55:08.254: (math-extern maxima)finding 'finding 'finding 'use whole 
>>> cell: checking expr: '5 + 2'
>>> calling: maxima
>>> input: 'simpsum:true;tex(5 + 2);’
>>> 
>>> does this suggest where the problem is?
>> 
>> No, missing: output: '7'
>> 
>> What happens if you call maxima from the console window and input the string 
>> '(5+2);' followed by ?
>> Here I get:
>> (%i1) (5+2);
>> (%o1)  7
>> (%i2) 
>> 
>>> thanks,
>>> Paola
>> 
>> Kornel
> 
> from the console I get the same as you:
>   (%i2) 5+2;
>   (%o2)  7
>   (%i3)

How did you call maxima in terminal?

I have it installed too and it looks like that:

$ ls -l /Applications/Maxima.app/Contents/Resources
total 480
-rw-r--r--@ 1 stephan  admin 577 22 Apr  2013 AppSettings.plist
-rw-r--r--@ 1 stephan  admin   27964 22 Apr  2013 MainMenu.nib
-rw-r--r--@ 1 stephan  admin  198769  4 Dez  2012 appIcon.icns
drwxr-xr-x@ 7 stephan  admin 238 22 Apr  2013 maxima
-rwxr-xr-x@ 1 stephan  admin 341 22 Apr  2013 maxima.sh
-rw-r--r--@ 1 stephan  admin1358 18 Nov  2012 script
-rwxr-xr-x@ 1 stephan  admin 409 22 Apr  2013 xmaxima.sh
$ /Applications/Maxima.app/Contents/Resources/maxima/bin/maxima 
/Applications/Maxima.app/Contents/Resources/maxima/bin/maxima: line 199: exec: 
sbcl: not found
$ /Applications/Maxima.app/Contents/Resources/maxima.sh
Maxima 5.30.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.55.0-abb03f9
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) 


It seems one has to start maxima.sh to get the command line interface. I’m not 
sure LyX knows it.
In any case one has to add "/Applications/Maxima.app/Contents/Resources“ to the 
PATH.

Stephan



Re: LyX 2.2.2 on Mac Os 10.12

2016-10-16 Thread Stephan Witt
Am 16.10.2016 um 15:11 schrieb Dr Eberhard Lisse :
> 
> Hi,
> 
> I have upgraded and when I now want to insert a Table of Content
> Characters the first 7 lines (Math to Box) are greyed out. The same
> document opened with 2.2.1 works as advertized.
> 
> Any idea why that could be?

Hi,

it looks like a problem with the build I didn’t notice.

Until a new package is available you has to use 2.2.1 instead.

Sorry for the inconvenience.

Regards,
Stephan

Re: LyX update loses settings.

2016-10-16 Thread Stephan Witt
Am 15.10.2016 um 22:08 schrieb Mark :
> 
> 
> LyX update loses settings.
> 
> Is there an easy way to save settings, and restore after an update?

Hi Mark,

it’s not clear what version and on which platform you’re using LyX.

Stephan

Re: Problem with PDF Preview

2016-07-21 Thread Stephan Witt
Am 21.07.2016 um 03:10 schrieb Dr Dave Forrester :
> 
> Dear Lyx Experts,
> 
> Thanks very much in advance for your help.
> 
> I recently updated Lyx only to find out that I should have updated MacTex 
> first. I downloaded the latest MacTex and then found that the Preview Button 
> was greyed out. From the Lyx Users Archive, I found out how to access in the 
> Preferences, File Handling > File Formats; I selected Latex (pdflatex) in the 
> Format drop down box and then found that the option of pdflatex was not 
> available in either of the drop down boxes for 'With TeX Fonts' and 'With 
> non-tex Fonts'. I saved this page with the result that the Preview button 
> became operable, but when I click on it, all I get is a tab in Safari with 
> MathHTML, and not the beautiful PDF output that you usually get opened up in 
> Preview miraculously before your eyes, as has happened so many times before.
> 
> Would greatly appreciate your assistance, as you do need the beautiful 
> Preview output to send to the publishers.

You didn’t mention the version numbers of any of your software components. 
For now I’ll assume it doesn’t matter.

You have to make sure your TeX installation is found by LyX.

1st thing is to Reconfigure. If this does’t help check the
contents of the PATH-Prefix in LyX-preferences. It should
contain "/Library/TeX/texbin“ for newer MacTeX installations.

If you don’t get further locate the protocol file of your attempt
to reconfigure LyX. It is in your home folder in the hidden folder
"Library/Application Support/LyX-2.2“ and is named „configure.log“.
Please send the contents of this file to the mailing list.

Stephan

Re: svn problems

2016-07-11 Thread Stephan Witt

> Am 11.07.2016 um 17:25 schrieb Frank Schwidom :
> 
> Hi,
> 
> how can i switch off the svn-usage in lyx?

Hi Frank,

I don’t know, what your problem with LyX's SVN-support is - but
it’s active for directories within an SVN-checkout. In case you
want to work without version control you have to copy the document
out of the scope of the version control.

Regards,
Stephan

Re: remove word from personal dictionary....

2016-07-01 Thread Stephan Witt
Am 01.07.2016 um 15:51 schrieb Charlie :
> 
> 
> On Fri, 1 Jul 2016 11:13:38 +0200 Stephan mentioned this: 
>   Re: remove word from personal dictionary. 
> 
>> There is no dialogue. It’s a right-button-click popup-menu.
>> See attached snapshot…
>> 
>>> But accept or reject change isn't what I want. I would like
>>> "keep added word in dictionary" or "remove added word in
>>> dictionary" or something to that effect?
>>> 
>>> I want to remove a word I placed into the dictionary a couple of
>>> hours ago.
>>> 
>>> I went to /usr/share/hunspell/ to the dictionaries there, but that
>>> appears to be the list of words used, not the added words. I looked
>>> for the word I misspelled and added by accident, but it wasn't
>>> there.
>>> 
>>> I don't know where my "added to dictionary" words go? That would be
>>> a help to know. I could then go in and edit the file.  
>> 
>> It depends on the spell checker you’ve used. 
>> For hunspell and aspell it’s a file named pwl_english.dict or similar
>> in the directory $HOME/.lyx
>> 
>>> 
>>> So when I read about the way to remove a word from the dictionary, I
>>> thought I would give it a larrup.
>>> 
>>> So far no luck.
>>> 
>>> Thanks for your reply. I won't send a simple file with one word.  
>> 
>> Why not? Sometimes the concrete word matters. :)
> 
>  From my keyboard:
> 
>   Hello Stephan,
> 
>  Here you have the screenshot. Did I say I was using Debian
>  Jessie (testing)?

No.

> 
> Which of those commands in the drop down menu allow me to delete a word
> word that I used several reboots ago in my added word list. It's sort
> of my last hope. [see below] But I can live without getting that word
> removed.
> 
> I did that before by the way. Checked the drop down menu, but didn't see
> which entry to try as explained in my email.

Obviously the description for personal dictionary management with LyX you’ve
read in the LaTeX-forum is wrong for the Enchant spell checker.

> There is no .dict in the whole of my /home directory.
> 
> My spellchecker is Enchant.

The enchant spell checker is another layer between LyX and the real function.
LyX calls enchant functions. Enchant is doing what is configured there.
Either myspell, ispell or something else.

See e.g. here: http://linux.die.net/man/1/enchant

According to this manual you may have a look in your home directory in .enchant

Stephan



Re: remove word from personal dictionary....

2016-07-01 Thread Stephan Witt
Am 01.07.2016 um 08:43 schrieb Charlie :
> 
>   
>   From my keyboard:
> 
> 
>   I read this on
> http://www.latex-community.org/forum/viewtopic.php?f=19=20782
> 
> Dated in 2012:
> 
> [quote]
> 
> You can remove an item from your personal word list with LyX. 
> 
> Place the cursor inside the word you want to delete and activate the
> context menu (right mouse button). The context menu contains an item to
> remove the word from your personal dictionary.
> 
> [end quote]
> 
> It doesn't work for me. Did it ever work? When was that feature removed
> and if anyone knows why? Or is it something that I'm misinterpreting?

Hi Charlie,

yes, this worked before and it’s not removed. It should work.

The menu item shows up if the marked word is found in personal dictionary.

How did you add it to the personal dictionary? Are you able to provide a 
minimal example document to demonstrate the problem?

Stephan

> 
> Be well,
> Charlie
> 
> 
>   East Gippsland Wildlife Rehabilitators Inc..
>  http://www.egwildlife.com.au/
> 
> -- 
>   Registered Linux User:- 329524
>   ***
> 
>   Whether the flower looks better in the nosegay than in the
>   meadow where it grew and we had to wet our feet to get it! Is
>   the scholastic air any advantage? ..Henry David Thoreau
> 
>   ***
> 
>   Debian GNU/Linux - Magic indeed.
> 
>   -



Re: Added Words Not In Dictionary, Redux

2016-05-10 Thread Stephan Witt
Am 08.05.2016 um 21:32 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:
> 
> Le 08/05/16 à 19:17, Stephan Witt a écrit :
>> I’ve pasted your email into a new document and switched to Aspell as my
>> current spell checker backend in LyX. As you’ve described it the 
>> "communities’"
>> are marked as misspelled. Obviously the word „communities“ is a know one and
>> the problem is the handling of the possessive apostrophe for plural words
>> with terminal ‚s‘ - this is a problem in the Aspell dictionary or the Aspell
>> code. I don’t know if Aspell is able to handle this correctly. (BTW, hunspell
>> isn’t better on my system.)
> It might be interesting to adapt what emacs does here.

Isn’t this a workaround for a broken spell checker backend and/or dictionary?

If I try it with the hunspell command line on CentOS I get: 
==
$ hunspell -d en_US
Hunspell 1.2.8
For example communities and communities'
*
*
+ community
*
+ community
==

I interpret it that it works ok. Hunspell got the words „communities“ and 
„communities'" through affix removal.

I’ll have to check what LyX is doing here.

Stephan

> 
> JMarc
> 
> 
> ispell-dictionary-alist is a variable defined in `ispell.el'.
> Its value is shown below.
> 
> Documentation:
> An alist of dictionaries and their associated parameters.
> 
> Each element of this list is also a list:
> 
> (DICTIONARY-NAME CASECHARS NOT-CASECHARS OTHERCHARS MANY-OTHERCHARS-P
>ISPELL-ARGS EXTENDED-CHARACTER-MODE CHARACTER-SET)
> 
> DICTIONARY-NAME is a possible string value of variable `ispell-dictionary',
> nil means the default dictionary.
> 
> CASECHARS is a regular expression of valid characters that comprise a word.
> 
> NOT-CASECHARS is the opposite regexp of CASECHARS.
> 
> OTHERCHARS is a regexp of characters in the NOT-CASECHARS set but which can be
> used to construct words in some special way.  If OTHERCHARS characters follow
> and precede characters from CASECHARS, they are parsed as part of a word,
> otherwise they become word-breaks.  As an example in English, assume the
> regular expression "[']" for OTHERCHARS.  Then "they're" and
> "Steven's" are parsed as single words including the "'" character, but
> "Stevens'" does not include the quote character as part of the word.
> If you want OTHERCHARS to be empty, use the empty string.
> Hint: regexp syntax requires the hyphen to be declared first here.
> 
> CASECHARS, NOT-CASECHARS, and OTHERCHARS must be unibyte strings
> containing bytes of CHARACTER-SET.  In addition, if they contain
> non-ASCII bytes, the regular expression must be a single
> `character set' construct that doesn't specify a character range
> for non-ASCII bytes.
> 
> MANY-OTHERCHARS-P is non-nil when multiple OTHERCHARS are allowed in a word.
> Otherwise only a single OTHERCHARS character is allowed to be part of any
> single word.
> 
> ISPELL-ARGS is a list of additional arguments passed to the ispell
> subprocess.
> 
> EXTENDED-CHARACTER-MODE should be used when dictionaries are used which
> have been configured in an Ispell affix file.  (For example, umlauts
> can be encoded as \"a, a\", "a, ...)  Defaults are ~tex and ~nroff
> in English.  This has the same effect as the command-line `-T' option.
> The buffer Major Mode controls Ispell's parsing in tex or nroff mode,
> but the dictionary can control the extended character mode.
> Both defaults can be overruled in a buffer-local fashion.  See
> `ispell-parsing-keyword' for details on this.
> 
> CHARACTER-SET used to encode text sent to the ispell subprocess
> when the language uses non-ASCII characters.
> 
> Note that with "ispell" as the speller, the CASECHARS and
> OTHERCHARS slots of the alist should contain the same character
> set as casechars and otherchars in the LANGUAGE.aff file (e.g.,
> english.aff).  aspell and hunspell don't have this limitation.
> 
> Value:
> (("fr" "[[:alpha:]]" "[^[:alpha:]]" "[-'.@]" t nil nil iso-8859-1)
> ("en" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil iso-8859-1)
> ("en_AU" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil iso-8859-1)
> ("en_GB" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil iso-8859-1)
> ("en_CA" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil iso-8859-1)
> ("de" "[[:alpha:]]" "[^[:alpha:]]" "[']" t nil nil iso-8859-1)
> ("es" "[[:alpha:]]" "[^[:alpha:]]" "[-]" nil nil nil iso-8859-1)
> ("it" "[[:alpha:]]" "[^[:alpha:]]" "[-.]" nil nil nil iso-8859-1)
> ("nl" "[[:alpha:]]" "[^[:alpha:]]" "[']" t nil nil iso-8859-1)
> ("sv" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil iso-8859-1)
> ("da" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil iso-8859-1)
> ("pt" "[[:alpha:]]" "[^[:alpha:]]" "[']" t nil nil iso-8859-1)
> ("pt_BR" "[[:alpha:]]" "[^[:alpha:]]" "[']" t nil nil iso-8859-1)
> ("ru" "[[:alpha:]]" "[^[:alpha:]]" "" nil nil nil iso-8859-1)
> ("pl_PL" "[[:alpha:]]" "[^[:alpha:]]" "[']" t nil nil iso-8859-1))
> 
> 



Re: Added Words Not In Dictionary, Redux

2016-05-08 Thread Stephan Witt
Am 08.05.2016 um 20:51 schrieb Rich Shepard <rshep...@appl-ecosys.com>:
> 
> On Sun, 8 May 2016, Stephan Witt wrote:
> 
>> I’ve pasted your email into a new document and switched to Aspell as my
>> current spell checker backend in LyX.
> 
> Stephen,
> 
>  That's interesting. I use ispell here rather than aspell, but I don't
> recall having this problem years ago with LyX. Perhaps it is a spell-checker
> issue. I'll see if there's a way to contact the ispell developers or a way
> to add words to that dictionary.

now I’m curious how you’re using ispell. The time you’ve reported your problem
for the first time you’ve mentioned you’re using Aspell.

Are you able to say when this problem arose first time? Which version of LyX
started to have it?

Stephan

Re: Added Words Not In Dictionary, Redux

2016-05-08 Thread Stephan Witt
Am 24.04.2016 um 19:23 schrieb Rich Shepard :
> 
>  A while ago I asked why some words that were marked to be added to my
> personal dictionary were not added, and were highlighted for correction each
> time I ran the spelling checker. I've isolated the cases where this occurs.
> 
>  This happens with only collective possession terms; that is, those with
> the possessive apostrophe to the right of the terminal 's.'
> 
>  For example, the LyX spell checker (perhaps a plug-in?) will accept
> "community's" and "communities", but not "communities'" (the latter
> referring to a trait found in all communities.)
> 
>  Perhaps this can lead to a fix for the next release.

Hi Rich,

I’ve pasted your email into a new document and switched to Aspell as my
current spell checker backend in LyX. As you’ve described it the "communities’"
are marked as misspelled. Obviously the word „communities“ is a know one and
the problem is the handling of the possessive apostrophe for plural words
with terminal ‚s‘ - this is a problem in the Aspell dictionary or the Aspell
code. I don’t know if Aspell is able to handle this correctly. (BTW, hunspell
isn’t better on my system.)

I don’t know how to fix it and I think it’s not a task for LyX development.

But I’m pretty sure it’s impossible to fix this for words you’ve added to
your personal word list. Why this? Because the management of word ends and
suffixes is part of the dictionary files and has to be told to the spell checker
engine explicitly. The mechanism of the personal word lists don’t provide any
interface for these subtle details. The only solution I can think of is to
ignore trailing apostrophes in general. Again I don’t know if this would be
correct for english - I’m a native german speaker.

Regards,
Stephan

Re: Automatic save of LaTeX

2016-04-19 Thread Stephan Witt
Am 19.04.2016 um 17:42 schrieb Anders Host-Madsen :
> 
> Anders Host-Madsen  yahoo.com> writes:
> 
> A few more comment on this. To get the same latex file as one would
> get when exporting from the menu, set the "nice" flag in the exporter.
> 
> The main issue with the script approach is that it changes the name 
> of the files. For example, spaces become _. I don't see how to solve
> this. I doesn't seem the real name of the original file is available
> to the converter.

This is possible with a little bit more effort.

1. Add "$$f“ as 3rd parameter for your converter call in LyX preferences.
2. Extend your script similar to the following modified version:

===
#!/bin/sh
exec >> "$HOME"/bin/iPadConvert.log
echo $(date)":" "$0" "$@"
filename=$(basename "$1" .tex)
if [ -d "$2" ]; then
   targetdir="$2"
elif [ -f "$2" ]; then
   targetdir=$(dirname "$2")
else
   targetdir="$2"
   if [ ! -d "$2" ]; then
  echo Bad call with target "$2"
  exit 1
   fi
fi
if [ -n "$3" ]; then
   targetname=$(basename "$3" .lyx)
else
   targetname="$(filename)"
fi
echo pwd=$(pwd) filename="$filename"
echo pdflatex "$1" "$targetdir"/"$targetname".pdf
pdflatex "$1" && test -f "$filename".pdf && cp "$filename".pdf 
"$targetdir"/"$targetname".pdf
echo cp "$1" "$targetdir"/"$targetname".tex
cp "$1" "$targetdir"/"$targetname".tex
===

The point is to check for an (optional) 3rd argument to set the targetname like 
the LyX source file name.

Stephan

Re: ANNOUNCE: LyX version 2.2.0 (rc1)

2016-04-16 Thread Stephan Witt

> Am 16.04.2016 um 15:22 schrieb Wolfgang Engelmann 
> :
> 
> 
> 
>> On 16.04.2016 14:56, Richard Heck wrote:
>>> On 04/16/2016 04:47 AM, Wolfgang Engelmann wrote:
>>> 
>>> 
 Am 16.04.2016 um 10:42 schrieb Wolfgang Engelmann:
 
 
> Am 16.04.2016 um 08:58 schrieb Guenter Milde:
>> On 2016-04-15, Scott Kostyshak wrote:
>> On Fri, Apr 15, 2016 at 12:02:16PM +0200, Wolfgang Engelmann wrote:
> 
>>> but still have no access:
>>> we@wolfgang-Mr-Whisper-Ultra-SSD-II:/mnt/sdb/we/Desktop/lyx-2.2.0rc1$ 
>>> ./configure
>>> bash: ./configure: Keine Berechtigung
> ...
> 
>> I have no idea why you get that error though. You should have write
>> access to that folder, the configure file itself is owned by you (we),
>> and the exec bit is set. I am stumped.
>> I would suggest trying to run a very simple executable:
>> 1. create a file on your desktop called "hello" with the following 
>> contents:
>> -
>> #!/bin/bash
>> echo "hello world"
>> -
>> then run
>> chmod +x ./hello
>> ./hello
>> Does that work?
>> Regardless of the above, what is the exit code after you run ./configure
>> ?
>> To find that out, run the following immediately after:
>> echo $?
> Some Linux distributions/installations prevent running of files on certain
> devices, e.g. anything from an USB-stick because of security reasons.
> 
> /mnt/sdb/ looks like a removable device, so maybe you try after copying 
> to a
> hard disk or find the setting to enable executing from removable devices?
> 
> Günter
 I have appended a screenshot in my last mail showing the hierarchy of 
 myPC. I have an ssd harddisk (sda) AND a 2 TB harddisk (sdb) which serves 
 as my home. Not sure whether this is the problem.
 Wolfgang
>>> Forgot to say: sda and sdb are both in the PC, no external disk switched on.
>> 
>> Definitely try what Scott suggested. It may be that you cannot execute files 
>> from /mnt/sdb/.  I always disable execution from /tmp/ myself, and other 
>> systems do it for other devices. You could also try posting here the output 
>> of "findmnt /dev/sdb/".
>> 
>> Richard
> Tried Scotts proposals:
> 
> A.
> content of the hello file:
> 
> #!/bin/bash
> 
> echo "hello world"
> 
> 
> ~/Desktop$ ls -l ./hello
> -rwxr-xr-x 1 we we 31 Apr 16 10:03 ./hello
> 
> ~/Desktop$ ./hello
> bash: ./hello: Keine Berechtigung
> 
> 
> B.
> tried configure:
> ~/Desktop/lyx-2.2.0rc1$ ./configure
> bash: ./configure: Keine Berechtigung
> 
> $ ls -l ./configure
> -rwxr-xr-x 1 we we 408602 Apr 12 03:31 ./configure
> 
> C. tried Richards
> we@wolfgang-Mr-Whisper-Ultra-SSD-II:/$ findmnt /dev/sdb/
> we@wolfgang-Mr-Whisper-Ultra-SSD-II:/$
> (no output)
> tried:
> $ findmnt /dev/
> TARGET SOURCE FSTYPE   OPTIONS
> /dev   udev   devtmpfs rw,relatime,size=10240k,nr_inodes=911159,mode=755
> tired:
> $ findmnt /
> TARGET SOURCEFSTYPE OPTIONS
> /  /dev/sda2 ext4   rw,relatime,errors=remount-ro,data=ordered
> 
> Does this give you some cues?
> Thanks for your time and help,
> Wolfgang

Another useful command to see if the mount flags are the culprit: mount. 

To get the configure command processed try: sh configure instead of ./configure 

Stephan 


Re: Automatic save of LaTeX

2016-04-15 Thread Stephan Witt
Am 13.04.2016 um 23:55 schrieb Anders Host-Madsen :
> 
> Paul A. Rubin  msu.edu> writes:
> 
>> Is LExport.sh marked executable by all users, not just yourself. I don't
>> know whether LyX runs the script with you as the user or with LyX as the 
>> user.
> 
> It should be. Here is ls -l
> 
> -rwxrwxrwx@ 1 madsen  admin 20 Apr 12 14:11 LExport.sh
> 
>> 
>> Also, does the script specify a command interpreter with a hash-bang comment
>> at the top? In other words, when you successfully run it outside LyX, do you
>> do so with "./LExport.sh", or do you specify a command interpreter (e.g,
>> "bash ./LExport.sh"?
> 
> Yes. Here is the script (at the moment I'm just trying to make the script run,
> so it doesn't do anything yet):
> 
> #!/bin/bash
> cp $1 $2
> 
> Perhaps it's some security issue on Mac that prevents it from running?
> 
> Anyway, now that I know there is a message pane, I figured out exactly
> where it goes wrong with the command-sequence. The issue is with copying
> figures. Sometimes they don't copy, and pdflatex fails. If I have a
> long LyX document, but without figures, the command-sequence seems
> to always work, producing a latex and pdf file.

This is working for me:

1. Create a script in "$HOME"/bin named iPadConvert.sh
1a) mkdir -p "$HOME"/bin
1b) vi "$HOME"/bin/iPadConvert.sh
===
#!/bin/sh
exec >> "$HOME"/bin/iPadConvert.log
echo $(date)":" "$0" "$@"
filename=$(basename "$1" .tex)
if [ -d "$2" ]; then 
   targetdir="$2" 
elif [ -f "$2" ]; then
   targetdir=$(dirname "$2")
else
   targetdir="$2"
   if [ ! -d "$2" ]; then
  echo Bad call with target "$2"
  exit 1
   fi
fi
echo pwd=$(pwd) filename="$filename"
echo pdflatex "$1" "$targetdir"/"$filename".pdf 
pdflatex "$1" && test -f "$filename".pdf && cp "$filename".pdf "$targetdir"/
echo cp "$1" "$targetdir"/"$filename".tex
cp "$1" "$targetdir"/"$filename".tex
===
1c) chmod +x "$HOME"/bin/iPadConvert.sh

2. Add $HOME/bin to PATH settings of LyX (at end with colon separator)
=> Preferences => Path
e.g.
/Library/TeX/texbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:$HOME/bin

3. Add file format and converter
==
\format "ipad" "" "iPad" "" "auto" "" "" „"
\converter "pdflatex" "ipad" "iPadConvert.sh $$i $$r" ""
==

4. Export to iPad
=> "$HOME"/bin/iPadConvert.log contains e.g.
==
Fri Apr 15 09:00:41 CEST 2016: /Users/stephan/bin/iPadConvert.sh newfile4.tex 
/Users/stephan/Documents/
pwd=/private/var/folders/1x/zm63s22x7s591xrlgm4rl9v4gn/T/lyx_tmpdir.HyRSsWW90987/lyx_tmpbuf0
 filename=newfile4
pdflatex newfile4.tex /Users/stephan/Documents//newfile4.pdf
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded 
format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./newfile4.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.

cp newfile4.tex /Users/stephan/Documents//newfile4.tex
==

BTW, you don’t need to save the document to get the updated .tex and .pdf 
files...

The culprit is: you need to add the location of your script to LyX’s path 
setting!

HTH and regards,
Stephan

Re: error creating PDF

2016-01-10 Thread Stephan Witt
> Am 10.01.2016 um 19:35 schrieb Laura Schröder :
> 
> Here is an  (nonsense-text) example, but any "new" file can't produce pdf.
> The nomencl.sty is there
> If some other people have this issue, may it be a bug?
> thank you all!
>  
> 

Hi Laura,

the preamble of your document contains these lines

%für deutsche Nomenlatur
\renewcommand{\eqdeclaration}[1]{, siehe Gleichung\nobreakspace(#1)}
\renewcommand{\pagedeclaration}[1]{, Seite\nobreakspace{}#1}
\renewcommand{\nomname}{Nomenklatur}

This is a problem if nomenclature package is not used and should be removed.
If you’ve saved this with „Als Dokument-Voreinstellung speichern“ then you 
should save another version without these lines.

Stephan

Re: Hunspell not found

2015-12-14 Thread Stephan Witt
Am 14.12.2015 um 11:45 schrieb David :

> Dear list,
> 
> I'd like to use Hunspell as spellchecker in Lyx (2.1.4) but it seems
> that it is not found (see screenshot attached).

That's the case for a LyX compiled without Hunspell support. 
Where did you get your LyX from?

> 
> Hunspell is definitely installed on my system (Opensuse 13.1). For
> example, a
> 
> hunspell -D
> 
> on the command line prints the installed dictionaries.

This is irrelevant for LyX.

> The log of the
> output of
> 
> lyx -dbg any
> 
> contains the following line
> 
> table[57]:  tag: `\hunspelldir_path'  code:57
> 
> but I don't know if it's relevant. Also, I tried a reconfigure.
> 
> On another that I use and which is running Ubuntu, Hunspell works in Lyx.
> 
> Any thoughts on this problem?

In case of a self compiled LyX install the devel package for hunspell.
Otherwise ask the packager of the LyX package you've installed.

Stephan


Re: Finding the generated latex file

2015-10-28 Thread Stephan Witt
Am 28.10.2015 um 15:09 schrieb Ilan :

> After compiling a file in Lyx, I no longer see the full path to the Latex 
> file 
> in the log.
> It used to be in the first lines of the Latex log window.
> 
> Is there any way to get it back? That way I can easily copy and paste the 
> path 
> in order to debug the Latex file directly.

Hi Ilan,

there are many possible answers/suggestions:

1. You can lookup the current temporary in the settings dialog.
It's in the section for the path names.

2. There is the so called Source Pane. There you can see the
live TeX code LyX will produce for the paragraph or the document.

3. You may use one of the Export menu items with "LaTeX" to
place the output in the directory where your LyX file is.

Stephan

Re: Finding the generated latex file

2015-10-28 Thread Stephan Witt
Am 28.10.2015 um 17:39 schrieb Ilan :

> Thanks David and Stephan.
> 
> My problem is that I'm working on a multi-file project so under the tmp 
> directory there are several directories and the location of the Latex file 
> depends on the file I compiled (and of course the tmp directory has a 
> different 
> name each time under windows).
> 
> What I used to do until few months ago is opening the Latex log, and there I 
> saw the full path to the compiled file, so I could copy it to a Latex editor.
> After some updates to Lyx & Latex, I see in the log only the file name 
> without 
> the path.
> 
> I can (and this is what I do) to find the current tmp directory and then 
> searching for all the Latex files to find the right one by its name.
> I hoped there is an option to return to the previous state of easily finding 
> the directory with a click.

You may create a directory somewhere and assign it as temporary directory
in the settings dialog. LyX creates the temporary files in sub-directories
of this assigned temporary directory after a restart of the LyX application.

Hope this is useful.

Stephan

Re: Math menus at bottom of screen do not work

2015-10-27 Thread Stephan Witt
Am 27.10.2015 um 10:29 schrieb Fridrik Baldursson :

> Hi,
> 
> I work with Lyx for OS X El Capitan vs. 10.11. I tried downloading and
> reinstalling Lyx before posting this but the problem remains. 
> 
> The problem is that when I try to enter mathematical formulas using the
> menus at the bottom of the screen (e.g. greek letters, arrows,
> equality/inequality relations etc.) nothing happens: I click on a symbol,
> e.g. alpha, with no result. I am not sure, but I think this started after I
> installed El Capitan recently - Lyx has worked perfectly on my Mac for some
> years now.
> 
> I've seen reports on this list of problems - different from this one - after
> El Capitan installation and the remedy seems to be to remove something
> called System Integrity Protection. I have not tried this - not sure how to
> do it - and it seems like a really bad solution to the problem.

It's already reported that the font problems are not solved by disabling SIP.

> Hope someone can help!

At the moment, there is no help available, sorry.
There is only the option to wait for the upcoming LyX 2.2 release, AFAIK.

Stephan

Re: Crash when quitting on OS X

2015-10-14 Thread Stephan Witt
Am 15.10.2015 um 01:31 schrieb disinteres...@gmail.com:

> With LyX 2.1.4 and OS X 10.10.5, I often get crashes when quitting using 
> command+q. Oddly, the release notes for 2.1.4 say that it fixes another 
> crashes on quitting bug (#8637). I was getting these crashes with previous 
> versions of LyX when I was on Mavericks, but upgrading to Yosemite solved the 
> problem until I updated to 2.1.4, which reintroduced the behavior.
> 
> Is anyone else seeing this?

These crashes are difficult to reproduce on a developer system. I had them once 
and the change fixed it. Later I got them again and now they are gone again 
without any change. Sorry, it's not clear what's triggering them. It happens on 
destruction of the LinkBack-machinery on exit of LyX.

I want to give it another try and made a change to address the cause of the 
problem. I can make a LyX 2.1.4 with this change and will be happy if you are 
willing to test it.

Regards,
Stephan

Re: Does LyX work with MBP Retina screen?

2015-10-06 Thread Stephan Witt
Am 06.10.2015 um 07:09 schrieb Scott Kostyshak <skost...@lyx.org>:

> On Tue, Oct 06, 2015 at 05:02:52AM +0200, Stephan Witt wrote:
>> Am 06.10.2015 um 02:14 schrieb Scott Kostyshak <skost...@lyx.org>:
>> 
>>> On Mon, Oct 05, 2015 at 03:29:32PM -0600, James Sutherland wrote:
>>>> Scott,
>>>> 
>>>> LyX works fine with MBP Retina displays.  However, it doesn't look very
>>>> good on those screens (it looks slightly pixelated).  It is a matter of
>>>> appearance, not functionality.
>>> 
>>> Thanks for explaining this James.
>>> 
>>> Do we have confirmation from anyone who has tested 2.2.0 that the
>>> pixelation is gone and that everything works as expected on MBP Retina
>>> displays?
>> 
>> Scott,
>> 
>> I've sent some users a download link for testing and got some positive
>> feedback. Although it's a little bit too general question to be answered:
>> "everything works as expected on MBP Retina?"
>> 
>> I can say: yes, the pixelation is gone. It's much better and one never
>> wants to go back to 2.1.x. There aren't any stability issues, AFAIK.
>> I cannot tell the performance difference for sure. I'll have to test
>> this explicitly.
>> 
>> One issue I'm aware is the scaling of icon insets on change of zoom.
>> But this shouldn't be an issue with HiDPI vs. normal displays.
> 
> Thanks for the comments, Stephan. A lot of people will be happy because
> of your improvements. I was curious to know the current state of affairs
> because of this question:
> http://tex.stackexchange.com/questions/271091/wysiwyg-latex-editor-that-can-export-high-resolution-images

I see. The question is a little bit strange. As someone pointed out already
the resolution of the final product doesn't depend on screen resolution.
Is it easy to produce PDFs with math formulas as vector graphics with LyX?

Stephan

Re: Does LyX work with MBP Retina screen?

2015-10-05 Thread Stephan Witt
Am 06.10.2015 um 02:14 schrieb Scott Kostyshak :

> On Mon, Oct 05, 2015 at 03:29:32PM -0600, James Sutherland wrote:
>> Scott,
>> 
>> LyX works fine with MBP Retina displays.  However, it doesn't look very
>> good on those screens (it looks slightly pixelated).  It is a matter of
>> appearance, not functionality.
> 
> Thanks for explaining this James.
> 
> Do we have confirmation from anyone who has tested 2.2.0 that the
> pixelation is gone and that everything works as expected on MBP Retina
> displays?

Scott,

I've sent some users a download link for testing and got some positive
feedback. Although it's a little bit too general question to be answered:
"everything works as expected on MBP Retina?"

I can say: yes, the pixelation is gone. It's much better and one never
wants to go back to 2.1.x. There aren't any stability issues, AFAIK.
I cannot tell the performance difference for sure. I'll have to test
this explicitly.

One issue I'm aware is the scaling of icon insets on change of zoom.
But this shouldn't be an issue with HiDPI vs. normal displays.

Stephan


Re: El Capitan

2015-10-01 Thread Stephan Witt
Am 01.10.2015 um 20:28 schrieb Robert Dolan :

> Hello,
> 
> I am using the latest version of Lyx with MacTex 2015 on OX El Capitan. Since 
> I installed El Capitan I have not been able to preview the pdf using the 
> “view” icon on the Lyx toolbar. I changed the path as instructed

Can you be a bit more specific? What did you change?

> and I am able to export the lyx file as a pdf. However, I just cannot 
> view/update/preview it without exporting it.

Please, try the reconfiguration of LyX.

Stephan
 
> Any help would be greatly appreciated.
> 
> Thank you!



Re: El Capitain

2015-09-28 Thread Stephan Witt
Am 28.09.2015 um 22:20 schrieb Anders Host-Madsen :

> Has anyone tested out LyX with OSX El Capitain? Any issues?
> 

Yes, my installation failed to update to El Capitan GM. 
I tried it with an external drive and it never completed
the final (?) step after rebooting the system.

So, I couldn't test LyX with it.

Stephan


Re: New installation - eye preview button greyed out

2015-09-26 Thread Stephan Witt
Am 26.09.2015 um 11:10 schrieb Tim :

> I have the same problem.
> I have just downloaded version 2.14 on a Mac. 
> The eyes on the toolbar  are greyed out.
> I followed the procedure to solve the issue. 
> Though, pdf is not an option when it  comes to output.
> I only have Rich Text Format and LyXHTML. 
> Any ideas on what I should do? 

Did you install MacTeX already? If you did it after installing
LyX you have to reconfigure LyX. If this doesn't help you have
to check the protocol of the last configure run. You may do so
with enabling the messages in View->Messages and check the output.
Alternatively you may check the contents of the configure.log file.
To find this file you may open the Terminal app and type

$ mdfind -name configure.log

This should print something like

/Users/stephan/Library/Application Support/LyX-2.1/configure.log

This file contains the protocol of the script LyX is using to
check for the availability of the programs you've installed to
produce the final output - including the pdf files.

Stephan


Re: Trouble with Cross-Reference

2015-09-24 Thread Stephan Witt
Am 24.09.2015 um 20:10 schrieb Sarah :

> So sorry, I forgot to include in my original message that I'm working on a 
> Mac machine. OS X 10.9.5

Hi Sarah,

it would be nice to see the document you've created so far. 
I'm not sure if I'm able to help - but others will be interested
in the example with your problem too.

Perhaps the tutorial is not the best here. If I insert a cross-
reference like you described it I get the text 

"If you want to know more about this document, then see Section 
*2 on the previous page*, which can be found on page."

in Preview. The phrase between the stars is the generated text
of the reference. Obviously the rest of the sentence is nonsense.

Regards,
Stephan

> 
> On 9/24/15 11:27 AM, Sarah wrote:
>> Hi,
>> 
>> I'm working through the LyX Tutorial and I've encountered a problem in 
>> Section 3.4.2: Your first cross-reference. I have followed the steps 
>> outlined in this section:
>>  • Applied the label "sec:About-This-Document" at the end of the title 
>> line for Section 2 of my document (as directed in Section 3.4.1 in the 
>> tutorial)
>>  • Typed the suggested text, "If you want to know more about this 
>> document, then see Section, which can be found on page." within Section 2 of 
>> my document
>>  • Placed the cursor after the word "Section"
>>  • Used the Cross Reference toolbar button
>>  • Selected " on page " from the "Format" drop-down 
>> menu in the Cross-reference dialog
>>  • Selected the label "sec:About-This-Document"
>> 
>> The reference label "Ref+Text: sec:About-This-Document" then appears after 
>> the word "Section" in my text. However, when I view the .pdf file, no page 
>> information is published. The sentence reads: "If you want to know more 
>> about this document, then see Section 2, which can be found on page." 
>> Information is published for the Section but not for the page.
>> 
>> Please let me know if you see an error in my steps. This particular format 
>> is not completely necessary for my needs, and I can fix the problem manually 
>> by including another cross-reference at the end of the word "page" and using 
>> the "" format in the Cross-reference dialog, but I'd like to know 
>> whether I am creating the problem or the format contains a bug.
>> 
>> Thanks.
>>  
>> -- 
>> Sarah Davis
>> 
> 



Re: Unable to find class files

2015-09-16 Thread Stephan Witt

Am 16.09.2015 um 20:49 schrieb Will Parsons :

> On Wednesday, 16 Sep 2015 12:31 PM -0400, Richard Heck wrote:
>> On 09/16/2015 10:18 AM, Will Parsons wrote:
>>> I had a working installation of LyX under FreeBSD, but at some point
>>> fairly recently (I'm not sure the exact circumstances), my LyX
>>> installation can't produce PDF files anymore because (almost) all
>>> document classes are marked unavailable.  Googling has been no help -
>>> the common recommendations of running (from LyX) "Tools =>
>>> Reconfigure" and (from the command line) "fmtutil-sys --all" have not
>>> solved the problem.
>>> 
>>> The document that I am currently working on uses the "article" class,
>>> and under /usr/local/share/texmf-dist/tex/latex/base there is a file
>>> "article.cls" (among other *.cls files).  I'm at a loss.  Can anyone
>>> shed light on what might be wrong?
>>> 
>>> (I've already posted this to a FreeBSD mailing list without success so
>>> far.)
>> 
>> Try running "kspewhich article.cls" first. Is it found?
> 
> % kspewhich article.cls
> kspewhich: Command not found.

Should be "kpsewhich article.cls" - IMO.

Stephan


Re: ! Package pdftex.def Error: File not found.

2015-08-01 Thread Stephan Witt
Am 01.08.2015 um 07:55 schrieb Ed Warminski e.warmin...@sheffield.ac.uk:

 Dear Stephan,
 
 apologies for spelling your name incorrectly in the last message and thank 
 you for your reply.

Dear Ed,

no problem.

 You asked me to: enable the Message pane and select the log messages related 
 to file and graphics processing, try the preview again and post the resulting 
 output here.
 
 In the settings of the Message pane I enabled Files used by LyX and 
 Graphics conversion and loading as I thought they were the nearest 
 interpretations of your request.

I didn't name them exactly because I'm using LyX with german UI and the strings 
are translated.

You have a problem with the svg to pdf conversion. LyX is able to detect the 
installed software and to choose the possible path to convert one file format 
to another automatically. So, the exact way it is done may vary. Indeed the 
converter path on my system is different. I have inkscape installed and LyX is 
using another tool to convert. It's using rsvg-convert instead.

Now the question is: why isn't it working with inkscape? You can see in your 
log inkscape is complaining about a missing input file named 
0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg

Possible reasons are:
* some broken behavior on Mac 10.10.x I cannot verify ATM
* some problem with spaces in path (you have a sub folder named untitled 
folder)
* some broken converter configuration when using inkscape

How did you install inkscape? Are you able to add the rsvg-convert tool? Did 
you change some setting of LyX preferences with file formats and converter 
tools?

Stephan

 I tried the preview again and the error occurred again, here is the output 
 copied from the Message pane...
 
 06:42:52.191: Previewing ...
 06:42:52.217: inkscape 
 --file=0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
  --export-area-drawing --without-gui 
 --export-pdf=0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdfBuffer.cpp
  (3940): target=pdf2
 Buffer.cpp (4009): 
 filename=/var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/svg_test.tex
 insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename = 
 /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
 insets/InsetGraphics.cpp (774):   Message = 
 insets/InsetGraphics.cpp (789):   Opts = 
 insets/InsetGraphics.cpp (796):   Before = \includegraphics
   after = 
 insets/InsetGraphics.cpp (461): Comparing 
 /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg and 
 /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
 support/FileName.cpp (606): Checksumming 
 /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg 
 1862632004 lasted 0 ms.
 Format.cpp (399): filetools(getFormatFromContents)
   Couldn't find a known format!
 Format.cpp (493): will guess format from file extension: svg - svg
 support/FileName.cpp (223): Copying 
 /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
 Format.cpp (399): filetools(getFormatFromContents)
   Couldn't find a known format!
 Format.cpp (493): will guess format from file extension: svg - svg
 insets/InsetGraphics.cpp (109): findTargetFormat: PDF mode
 insets/InsetGraphics.cpp (676):we have: from svg to pdf6
 insets/InsetGraphics.cpp (682):   the orig file is: 
 /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
 insets/InsetGraphics.cpp (731):   The original file is 
 /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
   A copy has been made and convert is to be called with:
   file to convert = 
 /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
from svg to pdf6
 ConverterCache.cpp (392): /Users/ed/Documents/Home_to_work/150731/untitled 
 folder/information.svg pdf6
 ConverterCache.cpp (396): not in cache.
 Converter.cpp (374): Converting from  svg to pdf6
 Converter.cpp (466): Calling inkscape 
 --file=0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
  --export-area-drawing --without-gui 
 --export-pdf=0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf
 06:42:59.962: 
 06:42:59.969: ** (inkscape-bin:560): WARNING **: Can't open file: 
 0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg 
 (doesn't exist)
 06:42:59.971: 
 06:42:59.986: ** (inkscape-bin:560): WARNING **: Can't open file: 
 0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg 
 (doesn't exist)
 06:42:59.986: 
 06:42:59.987: ** (inkscape-bin:560): WARNING **: Specified document 
 

Re: ! Package pdftex.def Error: File not found.

2015-08-01 Thread Stephan Witt
Am 01.08.2015 um 07:55 schrieb Ed Warminski :

> Dear Stephan,
> 
> apologies for spelling your name incorrectly in the last message and thank 
> you for your reply.

Dear Ed,

no problem.

> You asked me to: "enable the Message pane and select the log messages related 
> to file and graphics processing, try the preview again and post the resulting 
> output here".
> 
> In the settings of the Message pane I enabled "Files used by LyX" and 
> "Graphics conversion and loading" as I thought they were the nearest 
> interpretations of your request.

I didn't name them exactly because I'm using LyX with german UI and the strings 
are translated.

You have a problem with the svg to pdf conversion. LyX is able to detect the 
installed software and to choose the possible path to convert one file format 
to another automatically. So, the exact way it is done may vary. Indeed the 
converter path on my system is different. I have inkscape installed and LyX is 
using another tool to convert. It's using rsvg-convert instead.

Now the question is: why isn't it working with inkscape? You can see in your 
log inkscape is complaining about a missing input file named 
"0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg"

Possible reasons are:
* some broken behavior on Mac 10.10.x I cannot verify ATM
* some problem with spaces in path (you have a sub folder named "untitled 
folder")
* some broken converter configuration when using inkscape

How did you install inkscape? Are you able to add the "rsvg-convert" tool? Did 
you change some setting of LyX preferences with file formats and converter 
tools?

Stephan

> I tried the preview again and the error occurred again, here is the output 
> copied from the Message pane...
> 
> 06:42:52.191: Previewing ...
> 06:42:52.217: inkscape 
> --file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg"
>  --export-area-drawing --without-gui 
> --export-pdf="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf"Buffer.cpp
>  (3940): target=pdf2
> Buffer.cpp (4009): 
> filename=/var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/svg_test.tex
> insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename = 
> /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
> insets/InsetGraphics.cpp (774):   Message = ""
> insets/InsetGraphics.cpp (789):   Opts = 
> insets/InsetGraphics.cpp (796):   Before = \includegraphics
>   after = 
> insets/InsetGraphics.cpp (461): Comparing 
> /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg and 
> /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
> support/FileName.cpp (606): Checksumming 
> "/Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg" 
> 1862632004 lasted 0 ms.
> Format.cpp (399): filetools(getFormatFromContents)
>   Couldn't find a known format!
> Format.cpp (493): will guess format from file extension: svg -> svg
> support/FileName.cpp (223): Copying 
> /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
> Format.cpp (399): filetools(getFormatFromContents)
>   Couldn't find a known format!
> Format.cpp (493): will guess format from file extension: svg -> svg
> insets/InsetGraphics.cpp (109): findTargetFormat: PDF mode
> insets/InsetGraphics.cpp (676):we have: from svg to pdf6
> insets/InsetGraphics.cpp (682):   the orig file is: 
> /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
> insets/InsetGraphics.cpp (731):   The original file is 
> /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg
>   A copy has been made and convert is to be called with:
>   file to convert = 
> /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg
>from svg to pdf6
> ConverterCache.cpp (392): /Users/ed/Documents/Home_to_work/150731/untitled 
> folder/information.svg pdf6
> ConverterCache.cpp (396): not in cache.
> Converter.cpp (374): Converting from  svg to pdf6
> Converter.cpp (466): Calling inkscape 
> --file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg"
>  --export-area-drawing --without-gui 
> --export-pdf="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf"
> 06:42:59.962: 
> 06:42:59.969: ** (inkscape-bin:560): WARNING **: Can't open file: 
> 0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg 
> (doesn't exist)
> 06:42:59.971: 
> 06:42:59.986: ** (inkscape-bin:560): WARNING **: Can't open file: 
> 0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg 
> (doesn't exist)
> 

Re: ! Package pdftex.def Error: File not found.

2015-07-31 Thread Stephan Witt
 output out of 1 (max. 1000)
 
 
 On 31 July 2015 at 09:54, Stephan Witt st.w...@gmx.net wrote:
 Am 31.07.2015 um 10:19 schrieb Ed Warminski e.warmin...@sheffield.ac.uk:
 
  Dear All,
 
  first, any help you may offer will be most appreciated, I'm a noobie!
 
  Try as I might I am unable to avoid the ! Package pdftex.def Error: File 
  not found message when trying to view (pdflatex) a LyX file containing an 
  SVG graphic (created in Inkscape).
 
  I've tried to research this issue and tried various solutions with no 
  change in the result.
  My workaround is to convert the SVG into PDF format externally and use that 
  in the LyX document.
 
 Hi Ed,
 
 it would be good to have a small LyX file + SVG file demonstrating the 
 problem.
 The LyX file shouldn't contain any stuff not needed to produce the error.
 See http://wiki.lyx.org/FAQ/MinimalExample for an explanation why and how to 
 do it.
 Thanks.
 
 Stephan
 
 
  Here is the LaTeX log entry containing the error:
  -
  LaTeX Warning: File 
  `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found on 
  input line 28.
 
  ! Package pdftex.def Error: File 
  `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found.
 
  See the pdftex.def package documentation for explanation. Type H return 
  for immediate help. ... l.28 ...ts_Home_to_work_150731_drawing-1_copy.pdf} 
  Using draft setting for this image. Try typing return to proceed. If that 
  doesn't work, type X return to quit.
  --
 
  I can not even find the pdftex.def package documentation to refer to.
 
  My Mac has the following installed: MacOS 10.10.4, LyX 2.1.4, Inkscape 
  0.91, MacTeX 2015 and XQuatrz 2.7.7.
 
  --
  cheers, ed.
 
  --- END of MESSAGE ---
 
  Dr. E. E. Warminski
  The Chemistry Department (C15A)
  University of Sheffield
  Dainton Building
  Brook Hill
  Sheffield
  S3 7HF
 
  Direct Telephone line (with answerphone): (+44) 0114 22 29324
 
 
 
 
 -- 
 cheers, ed.
 
 --- END of MESSAGE ---
 
 Dr. E. E. Warminski
 The Chemistry Department (C15A)
 University of Sheffield
 Dainton Building
 Brook Hill
 Sheffield
 S3 7HF
 
 Direct Telephone line (with answerphone): (+44) 0114 22 29324
 drawing-1 copy.svginformation.svgsvg_test.lyx

 Message pane 
17:49:58.484: Generiere Vorschau ...
17:49:58.485: (buffer-view: ⌘R)
17:49:58.539: Erfolgreiche Vorschau des Formats PDF (pdflatex)Buffer.cpp 
(3940): target=pdf2
Buffer.cpp (4009): 
filename=/var/folders/1x/zm63s22x7s591xrlgm4rl9v4gn/T/lyx_tmpdir.OnBiPNs39942/lyx_tmpbuf0/svg_test.tex
Buffer.cpp (1550): makeLaTeXFile encoding: ISO-8859-15, 
fname=/private/var/folders/1x/zm63s22x7s591xrlgm4rl9v4gn/T/lyx_tmpdir.OnBiPNs39942/lyx_tmpbuf0/svg_test.tex
Buffer.cpp (1648):   Validating buffer...
LyX needs the following commands when LaTeXing:
* Packages:\usepackage{graphicx}

* Macros:
* Textclass stuff:
* done.
Buffer.cpp (1654):   Buffer validation done.
output_latex.cpp (578): TeXOnePar for paragraph 0 ptr 0x10f0b6710 ''
Paragraph.cpp (2382): Paragraph::latex... 0x10f0b6710
Paragraph.cpp (2678): Paragraph::latex... done 0x10f0b6710
output_latex.cpp (1072): TeXOnePar for paragraph 0 done; ptr 0x10f0b6710 next 
0x10d6fb1f0
output_latex.cpp (578): TeXOnePar for paragraph 1 ptr 0x10d6fb1f0 ''
Paragraph.cpp (2382): Paragraph::latex... 0x10d6fb1f0
output_latex.cpp (578): TeXOnePar for paragraph 0 ptr 0x10dbcad80 ''
Paragraph.cpp (2382): Paragraph::latex... 0x10dbcad80
insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename = 
/Users/stephan/Documents/lyxtest/Ed-Warminski-SVG/information.svg
insets/InsetGraphics.cpp (774): Message = 
insets/InsetGraphics.cpp (789): Opts = 
insets/InsetGraphics.cpp (796): Before = \includegraphics
after = 
insets/InsetGraphics.cpp (461): Comparing 
/Users/stephan/Documents/lyxtest/Ed-Warminski-SVG/information.svg and 
/var/folders/1x/zm63s22x7s591xrlgm4rl9v4gn/T/lyx_tmpdir.OnBiPNs39942/lyx_tmpbuf0/0_Users_stephan_Documents_lyxtest_Ed-Warminski-SVG_information.svg
support/FileName.cpp (606): Checksumming 
/Users/stephan/Documents/lyxtest/Ed-Warminski-SVG/information.svg 1862632004 
lasted 0 ms.
support/FileName.cpp (606): Checksumming 
/var/folders/1x/zm63s22x7s591xrlgm4rl9v4gn/T/lyx_tmpdir.OnBiPNs39942/lyx_tmpbuf0/0_Users_stephan_Documents_lyxtest_Ed-Warminski-SVG_information.svg
 1862632004 lasted 0 ms.
Format.cpp (399): filetools(getFormatFromContents)
Couldn't find a known format!
Format.cpp (493):   will guess format from file extension: svg - svg
insets/InsetGraphics.cpp (109): findTargetFormat: PDF mode
insets/InsetGraphics.cpp (676):  we have: from svg to pdf6
insets/InsetGraphics.cpp (682): the orig file is: 
/Users/stephan/Documents/lyxtest/Ed-Warminski-SVG/information.svg
insets/InsetGraphics.cpp (731): The original file is 
/Users/stephan/Documents/lyxtest/Ed-Warminski-SVG/information.svg
A copy has been made and convert

Re: ! Package pdftex.def Error: File not found.

2015-07-31 Thread Stephan Witt
Am 31.07.2015 um 10:19 schrieb Ed Warminski e.warmin...@sheffield.ac.uk:

 Dear All,
 
 first, any help you may offer will be most appreciated, I'm a noobie!
 
 Try as I might I am unable to avoid the ! Package pdftex.def Error: File not 
 found message when trying to view (pdflatex) a LyX file containing an SVG 
 graphic (created in Inkscape).
 
 I've tried to research this issue and tried various solutions with no change 
 in the result.
 My workaround is to convert the SVG into PDF format externally and use that 
 in the LyX document.

Hi Ed,

it would be good to have a small LyX file + SVG file demonstrating the problem.
The LyX file shouldn't contain any stuff not needed to produce the error.
See http://wiki.lyx.org/FAQ/MinimalExample for an explanation why and how to do 
it.
Thanks.

Stephan
 
 
 Here is the LaTeX log entry containing the error:
 -
 LaTeX Warning: File 
 `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found on 
 input line 28.
 
 ! Package pdftex.def Error: File 
 `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found.
 
 See the pdftex.def package documentation for explanation. Type H return for 
 immediate help. ... l.28 ...ts_Home_to_work_150731_drawing-1_copy.pdf} Using 
 draft setting for this image. Try typing return to proceed. If that doesn't 
 work, type X return to quit.
 --
 
 I can not even find the pdftex.def package documentation to refer to.
 
 My Mac has the following installed: MacOS 10.10.4, LyX 2.1.4, Inkscape 0.91, 
 MacTeX 2015 and XQuatrz 2.7.7.
 
 -- 
 cheers, ed.
 
 --- END of MESSAGE ---
 
 Dr. E. E. Warminski
 The Chemistry Department (C15A)
 University of Sheffield
 Dainton Building
 Brook Hill
 Sheffield
 S3 7HF
 
 Direct Telephone line (with answerphone): (+44) 0114 22 29324



Re: ! Package pdftex.def Error: File not found.

2015-07-31 Thread Stephan Witt
Am 31.07.2015 um 10:19 schrieb Ed Warminski :

> Dear All,
> 
> first, any help you may offer will be most appreciated, I'm a noobie!
> 
> Try as I might I am unable to avoid the "! Package pdftex.def Error: File not 
> found" message when trying to view (pdflatex) a LyX file containing an SVG 
> graphic (created in Inkscape).
> 
> I've tried to research this issue and tried various solutions with no change 
> in the result.
> My workaround is to convert the SVG into PDF format externally and use that 
> in the LyX document.

Hi Ed,

it would be good to have a small LyX file + SVG file demonstrating the problem.
The LyX file shouldn't contain any stuff not needed to produce the error.
See http://wiki.lyx.org/FAQ/MinimalExample for an explanation why and how to do 
it.
Thanks.

Stephan
 
> 
> Here is the LaTeX log entry containing the error:
> -
> LaTeX Warning: File 
> `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found on 
> input line 28.
> 
> ! Package pdftex.def Error: File 
> `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found.
> 
> See the pdftex.def package documentation for explanation. Type H  for 
> immediate help. ... l.28 ...ts_Home_to_work_150731_drawing-1_copy.pdf} Using 
> draft setting for this image. Try typing  to proceed. If that doesn't 
> work, type X  to quit.
> --
> 
> I can not even find the pdftex.def package documentation to refer to.
> 
> My Mac has the following installed: MacOS 10.10.4, LyX 2.1.4, Inkscape 0.91, 
> MacTeX 2015 and XQuatrz 2.7.7.
> 
> -- 
> cheers, ed.
> 
> --- END of MESSAGE ---
> 
> Dr. E. E. Warminski
> The Chemistry Department (C15A)
> University of Sheffield
> Dainton Building
> Brook Hill
> Sheffield
> S3 7HF
> 
> Direct Telephone line (with answerphone): (+44) 0114 22 29324



Re: ! Package pdftex.def Error: File not found.

2015-07-31 Thread Stephan Witt
266 string characters out of 6134842
>  88769 words of memory out of 500
>  5605 multiletter control sequences out of 15000+60
>  4716 words of font info for 16 fonts, out of 800 for 9000
>  1141 hyphenation exceptions out of 8191
>  38i,4n,23p,238b,259s stack positions out of 5000i,500n,1p,20b,8s
> {/usr/local/texlive/2015/texmf-dist/fonts/enc/dvips/cm-supe
> r/cm-super-t1.enc} er/sfrm1000.pfb> /sftt1000.pfb>
> Output written on svg_test.pdf (1 page, 44392 bytes).
> PDF statistics:
>  17 PDF objects out of 1000 (max. 8388607)
>  11 compressed objects within 1 object stream
>  0 named destinations out of 1000 (max. 50)
>  1 words of extra memory for PDF output out of 1 (max. 1000)
> 
> 
> On 31 July 2015 at 09:54, Stephan Witt <st.w...@gmx.net> wrote:
> Am 31.07.2015 um 10:19 schrieb Ed Warminski <e.warmin...@sheffield.ac.uk>:
> 
> > Dear All,
> >
> > first, any help you may offer will be most appreciated, I'm a noobie!
> >
> > Try as I might I am unable to avoid the "! Package pdftex.def Error: File 
> > not found" message when trying to view (pdflatex) a LyX file containing an 
> > SVG graphic (created in Inkscape).
> >
> > I've tried to research this issue and tried various solutions with no 
> > change in the result.
> > My workaround is to convert the SVG into PDF format externally and use that 
> > in the LyX document.
> 
> Hi Ed,
> 
> it would be good to have a small LyX file + SVG file demonstrating the 
> problem.
> The LyX file shouldn't contain any stuff not needed to produce the error.
> See http://wiki.lyx.org/FAQ/MinimalExample for an explanation why and how to 
> do it.
> Thanks.
> 
> Stephan
> 
> >
> > Here is the LaTeX log entry containing the error:
> > -
> > LaTeX Warning: File 
> > `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found on 
> > input line 28.
> >
> > ! Package pdftex.def Error: File 
> > `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found.
> >
> > See the pdftex.def package documentation for explanation. Type H  
> > for immediate help. ... l.28 ...ts_Home_to_work_150731_drawing-1_copy.pdf} 
> > Using draft setting for this image. Try typing  to proceed. If that 
> > doesn't work, type X  to quit.
> > --
> >
> > I can not even find the pdftex.def package documentation to refer to.
> >
> > My Mac has the following installed: MacOS 10.10.4, LyX 2.1.4, Inkscape 
> > 0.91, MacTeX 2015 and XQuatrz 2.7.7.
> >
> > --
> > cheers, ed.
> >
> > --- END of MESSAGE ---
> >
> > Dr. E. E. Warminski
> > The Chemistry Department (C15A)
> > University of Sheffield
> > Dainton Building
> > Brook Hill
> > Sheffield
> > S3 7HF
> >
> > Direct Telephone line (with answerphone): (+44) 0114 22 29324
> 
> 
> 
> 
> -- 
> cheers, ed.
> 
> --- END of MESSAGE ---
> 
> Dr. E. E. Warminski
> The Chemistry Department (C15A)
> University of Sheffield
> Dainton Building
> Brook Hill
> Sheffield
> S3 7HF
> 
> Direct Telephone line (with answerphone): (+44) 0114 22 29324
> 

 Message pane 
17:49:58.484: Generiere Vorschau ...
17:49:58.485: (buffer-view: ⌘R)
17:49:58.539: Erfolgreiche Vorschau des Formats PDF (pdflatex)Buffer.cpp 
(3940): target=pdf2
Buffer.cpp (4009): 
filename=/var/folders/1x/zm63s22x7s591xrlgm4rl9v4gn/T/lyx_tmpdir.OnBiPNs39942/lyx_tmpbuf0/svg_test.tex
Buffer.cpp (1550): makeLaTeXFile encoding: ISO-8859-15, 
fname=/private/var/folders/1x/zm63s22x7s591xrlgm4rl9v4gn/T/lyx_tmpdir.OnBiPNs39942/lyx_tmpbuf0/svg_test.tex
Buffer.cpp (1648):   Validating buffer...
LyX needs the following commands when LaTeXing:
* Packages:\usepackage{graphicx}

* Macros:
* Textclass stuff:
* done.
Buffer.cpp (1654):   Buffer validation done.
output_latex.cpp (578): TeXOnePar for paragraph 0 ptr 0x10f0b6710 ''
Paragraph.cpp (2382): Paragraph::latex... 0x10f0b6710
Paragraph.cpp (2678): Paragraph::latex... done 0x10f0b6710
output_latex.cpp (1072): TeXOnePar for paragraph 0 done; ptr 0x10f0b6710 next 
0x10d6fb1f0
output_latex.cpp (578): TeXOnePar for paragraph 1 ptr 0x10d6fb1f0 ''
Paragraph.cpp (2382): Paragraph::latex... 0x10d6fb1f0
output_latex.cpp (578): TeXOnePar for paragraph 0 ptr 0x10dbcad80 ''
Paragraph.cpp (2382): Paragraph::latex... 0x10dbcad80
insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename = 
/Users/stephan/Documents/lyxtest/Ed-Warminski-SVG/information.svg
insets/InsetGraphics.cpp (774): Message = ""
insets/InsetGraphics.cpp (789): Opts = 
insets/InsetGraphics.cpp (796): Before = \inc

Re: :yx scanning disks on opening

2015-07-10 Thread Stephan Witt
Am 10.07.2015 um 07:54 schrieb Bob Alvarez reward...@gmail.com:

 On 7/9/15 3:27 PM, Scott Kostyshak wrote:
 
 Can you please go to Help  About LyX and copy/paste the information? I
 am particularly interested in the Library directory and User
 directory.
 
 
 LyX Version 2.1.3
 (Friday, February 06, 2015)
 
 Library directory: C:\Program Files (x86)\LyX 2.1\Resources\
 User directory: ~\AppData\Roaming\LyX2.1\
 
 --
 
 Scott
 
 See the information above. I do not know how the program uses the user 
 directory but AFAIK Windows does not define the ~ symbol as the home 
 directory. I tried to use it on the Windows command line program cmd.exe and 
 it did not recognize it.
 
 C:\Users\bobcd ~
 The system cannot find the path specified.

LyX does the substitution of ~ with the home directory itself at runtime.

Stephan

Re: :yx scanning disks on opening

2015-07-10 Thread Stephan Witt
Am 10.07.2015 um 07:54 schrieb Bob Alvarez reward...@gmail.com:

 On 7/9/15 3:27 PM, Scott Kostyshak wrote:
 
 Can you please go to Help  About LyX and copy/paste the information? I
 am particularly interested in the Library directory and User
 directory.
 
 
 LyX Version 2.1.3
 (Friday, February 06, 2015)
 
 Library directory: C:\Program Files (x86)\LyX 2.1\Resources\
 User directory: ~\AppData\Roaming\LyX2.1\
 
 --
 
 Scott
 
 See the information above. I do not know how the program uses the user 
 directory but AFAIK Windows does not define the ~ symbol as the home 
 directory. I tried to use it on the Windows command line program cmd.exe and 
 it did not recognize it.
 
 C:\Users\bobcd ~
 The system cannot find the path specified.

LyX does the substitution of ~ with the home directory itself at runtime.

Stephan

Re: :yx scanning disks on opening

2015-07-10 Thread Stephan Witt
Am 10.07.2015 um 07:54 schrieb Bob Alvarez :

> On 7/9/15 3:27 PM, Scott Kostyshak wrote:
> 
>> Can you please go to Help > About LyX and copy/paste the information? I
>> am particularly interested in the "Library directory" and "User
>> directory".
>> 
> 
> LyX Version 2.1.3
> (Friday, February 06, 2015)
> 
> Library directory: C:\Program Files (x86)\LyX 2.1\Resources\
> User directory: ~\AppData\Roaming\LyX2.1\
> 
> --
> 
> Scott
> 
> See the information above. I do not know how the program uses the user 
> directory but AFAIK Windows does not define the ~ symbol as the home 
> directory. I tried to use it on the Windows command line program cmd.exe and 
> it did not recognize it.
> 
> C:\Users\bob>cd ~
> The system cannot find the path specified.

LyX does the substitution of ~ with the home directory itself at runtime.

Stephan

Re: spell checker

2015-05-27 Thread Stephan Witt
Am 27.05.2015 um 11:21 schrieb Scott Kostyshak skost...@lyx.org:

 On Wed, May 27, 2015 at 4:43 AM, Wolfgang Engelmann
 engelm...@uni-tuebingen.de wrote:
 I installed hunspell but can't select it in lyx toolssettingslanguage
 settingsspellchecker
 (writing is not possible). I did reconfigure. enchant is also installed.
 I am using Kubuntu and Lyx 2.1.3
 Wolfgang
 
 What do you have under Tools  Preferences  Paths  Hunspell?
 
 In my opinion we should automatically fill that in (e.g. LyX should
 try to find the Hunspell libraries).
 See also:
 https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184250.html

I think this is another topic.

If hunspell is not enabled in settings-spellchecker LyX is compiled
without it. The location of the dictionaries doesn't matter, IMO.

Stephan


Re: spell checker

2015-05-27 Thread Stephan Witt
Am 27.05.2015 um 14:10 schrieb Wolfgang Engelmann engelm...@uni-tuebingen.de:

 
 
 Am 27.05.2015 um 11:28 schrieb Stephan Witt:
 Am 27.05.2015 um 11:21 schrieb Scott Kostyshak skost...@lyx.org
 :
 
 
 On Wed, May 27, 2015 at 4:43 AM, Wolfgang Engelmann
 
 engelm...@uni-tuebingen.de
  wrote:
 
 I installed hunspell but can't select it in lyx toolssettingslanguage
 settingsspellchecker
 (writing is not possible). I did reconfigure. enchant is also installed.
 I am using Kubuntu and Lyx 2.1.3
 Wolfgang
 
 What do you have under Tools  Preferences  Paths  Hunspell?
 
 In my opinion we should automatically fill that in (e.g. LyX should
 try to find the Hunspell libraries).
 See also:
 
 https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184250.html
 I think this is another topic.
 
 If hunspell is not enabled in settings-spellchecker LyX is compiled
 without it. The location of the dictionaries doesn't matter, IMO.
 
 Stephan
 
 Thanks to all three of you. I am answering to the three messages.
 The paths allow to search for the Thesaurus,

The code to implement thesaurus support is always part of LyX. 

 but the Hunspell search box is greyed out and I can'write into it. 

The hunspell dictionary path input field is enabled if and only if
the code of the hunspell engine is part of LyX. This is a decision
of the LyX packager. It looks like the LyX package you're using is
built without any spell checker support.


 content of Help  About  Build Info:
 
 LyX 2.1.3 (2015-02-05)
 Erstellt am Feb 12 2015, 11:01:23
 Configuration
 Host type: i686-pc-linux-gnu
 Special build flags: build=release

use-hunspell is missing here.
use-enchant is missing too!

Stephan

 C++ Compiler: g++ (4.8)
 C++ Compiler LyX flags:
 C++ Compiler flags: -O2
 Linker flags:
 Linker user flags:
 Qt 4 Frontend:
 Qt 4 version: 4.8.6
 Packaging: posix
 LyX binary dir: /usr/local/bin
 LyX files dir: /usr/local/share/lyx
 
 
 Did you install LyX from the PPA or from the Ubuntu repos?
 
 If I remember correctly (Alzheimer light...) the latter. 
 
 If hunspell is not enabled in settings-spellchecker LyX is compiled
 without it. The location of the dictionaries doesn't matter, IMO.
 
 as I mentioned I can't enter the path 
 
 Wolfgang




Re: spell checker

2015-05-27 Thread Stephan Witt
Am 27.05.2015 um 11:21 schrieb Scott Kostyshak skost...@lyx.org:

 On Wed, May 27, 2015 at 4:43 AM, Wolfgang Engelmann
 engelm...@uni-tuebingen.de wrote:
 I installed hunspell but can't select it in lyx toolssettingslanguage
 settingsspellchecker
 (writing is not possible). I did reconfigure. enchant is also installed.
 I am using Kubuntu and Lyx 2.1.3
 Wolfgang
 
 What do you have under Tools  Preferences  Paths  Hunspell?
 
 In my opinion we should automatically fill that in (e.g. LyX should
 try to find the Hunspell libraries).
 See also:
 https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184250.html

I think this is another topic.

If hunspell is not enabled in settings-spellchecker LyX is compiled
without it. The location of the dictionaries doesn't matter, IMO.

Stephan


Re: spell checker

2015-05-27 Thread Stephan Witt
Am 27.05.2015 um 14:10 schrieb Wolfgang Engelmann engelm...@uni-tuebingen.de:

 
 
 Am 27.05.2015 um 11:28 schrieb Stephan Witt:
 Am 27.05.2015 um 11:21 schrieb Scott Kostyshak skost...@lyx.org
 :
 
 
 On Wed, May 27, 2015 at 4:43 AM, Wolfgang Engelmann
 
 engelm...@uni-tuebingen.de
  wrote:
 
 I installed hunspell but can't select it in lyx toolssettingslanguage
 settingsspellchecker
 (writing is not possible). I did reconfigure. enchant is also installed.
 I am using Kubuntu and Lyx 2.1.3
 Wolfgang
 
 What do you have under Tools  Preferences  Paths  Hunspell?
 
 In my opinion we should automatically fill that in (e.g. LyX should
 try to find the Hunspell libraries).
 See also:
 
 https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184250.html
 I think this is another topic.
 
 If hunspell is not enabled in settings-spellchecker LyX is compiled
 without it. The location of the dictionaries doesn't matter, IMO.
 
 Stephan
 
 Thanks to all three of you. I am answering to the three messages.
 The paths allow to search for the Thesaurus,

The code to implement thesaurus support is always part of LyX. 

 but the Hunspell search box is greyed out and I can'write into it. 

The hunspell dictionary path input field is enabled if and only if
the code of the hunspell engine is part of LyX. This is a decision
of the LyX packager. It looks like the LyX package you're using is
built without any spell checker support.


 content of Help  About  Build Info:
 
 LyX 2.1.3 (2015-02-05)
 Erstellt am Feb 12 2015, 11:01:23
 Configuration
 Host type: i686-pc-linux-gnu
 Special build flags: build=release

use-hunspell is missing here.
use-enchant is missing too!

Stephan

 C++ Compiler: g++ (4.8)
 C++ Compiler LyX flags:
 C++ Compiler flags: -O2
 Linker flags:
 Linker user flags:
 Qt 4 Frontend:
 Qt 4 version: 4.8.6
 Packaging: posix
 LyX binary dir: /usr/local/bin
 LyX files dir: /usr/local/share/lyx
 
 
 Did you install LyX from the PPA or from the Ubuntu repos?
 
 If I remember correctly (Alzheimer light...) the latter. 
 
 If hunspell is not enabled in settings-spellchecker LyX is compiled
 without it. The location of the dictionaries doesn't matter, IMO.
 
 as I mentioned I can't enter the path 
 
 Wolfgang




Re: spell checker

2015-05-27 Thread Stephan Witt
Am 27.05.2015 um 11:21 schrieb Scott Kostyshak :

> On Wed, May 27, 2015 at 4:43 AM, Wolfgang Engelmann
>  wrote:
>> I installed hunspell but can't select it in lyx tools>settings>language
>> settings>spellchecker
>> (writing is not possible). I did reconfigure. enchant is also installed.
>> I am using Kubuntu and Lyx 2.1.3
>> Wolfgang
> 
> What do you have under Tools > Preferences > Paths > Hunspell?
> 
> In my opinion we should automatically fill that in (e.g. LyX should
> try to find the Hunspell libraries).
> See also:
> https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184250.html

I think this is another topic.

If hunspell is not enabled in settings->spellchecker LyX is compiled
without it. The location of the dictionaries doesn't matter, IMO.

Stephan


Re: spell checker

2015-05-27 Thread Stephan Witt
Am 27.05.2015 um 14:10 schrieb Wolfgang Engelmann <engelm...@uni-tuebingen.de>:

> 
> 
> Am 27.05.2015 um 11:28 schrieb Stephan Witt:
>> Am 27.05.2015 um 11:21 schrieb Scott Kostyshak <skost...@lyx.org>
>> :
>> 
>> 
>>> On Wed, May 27, 2015 at 4:43 AM, Wolfgang Engelmann
>>> 
>>> <engelm...@uni-tuebingen.de>
>>>  wrote:
>>> 
>>>> I installed hunspell but can't select it in lyx tools>settings>language
>>>> settings>spellchecker
>>>> (writing is not possible). I did reconfigure. enchant is also installed.
>>>> I am using Kubuntu and Lyx 2.1.3
>>>> Wolfgang
>>>> 
>>> What do you have under Tools > Preferences > Paths > Hunspell?
>>> 
>>> In my opinion we should automatically fill that in (e.g. LyX should
>>> try to find the Hunspell libraries).
>>> See also:
>>> 
>>> https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184250.html
>> I think this is another topic.
>> 
>> If hunspell is not enabled in settings->spellchecker LyX is compiled
>> without it. The location of the dictionaries doesn't matter, IMO.
>> 
>> Stephan
>> 
> Thanks to all three of you. I am answering to the three messages.
> The paths allow to search for the Thesaurus,

The code to implement thesaurus support is always part of LyX. 

> but the Hunspell search box is greyed out and I can'write into it. 

The hunspell dictionary path input field is enabled if and only if
the code of the hunspell engine is part of LyX. This is a decision
of the LyX packager. It looks like the LyX package you're using is
built without any spell checker support.


> content of Help > About > Build Info:
> 
> LyX 2.1.3 (2015-02-05)
> Erstellt am Feb 12 2015, 11:01:23
> Configuration
> Host type: i686-pc-linux-gnu
> Special build flags: build=release

use-hunspell is missing here.
use-enchant is missing too!

Stephan

> C++ Compiler: g++ (4.8)
> C++ Compiler LyX flags:
> C++ Compiler flags: -O2
> Linker flags:
> Linker user flags:
> Qt 4 Frontend:
> Qt 4 version: 4.8.6
> Packaging: posix
> LyX binary dir: /usr/local/bin
> LyX files dir: /usr/local/share/lyx
> 
> 
> Did you install LyX from the PPA or from the Ubuntu repos?
> 
> If I remember correctly (Alzheimer light...) the latter. 
> 
> If hunspell is not enabled in settings->spellchecker LyX is compiled
> without it. The location of the dictionaries doesn't matter, IMO.
> 
> as I mentioned I can't enter the path 
> 
> Wolfgang




Re: Disable editing / read only menu option?

2015-05-05 Thread Stephan Witt
Am 05.05.2015 um 13:21 schrieb Rainer M Krug rai...@krugs.de:

 Liviu Andronic landronim...@gmail.com writes:
 
 On Tue, May 5, 2015 at 10:40 AM, Rainer M Krug rai...@krugs.de wrote:
 Liviu Andronic landronim...@gmail.com writes:
 
 On Tue, May 5, 2015 at 6:44 AM, Scott Kostyshak skost...@lyx.org wrote:
 On Mon, May 4, 2015 at 8:05 AM, Helge Hafting helge.haft...@hist.no 
 wrote:
 
 
 Den 23. mars 2015 17:57, skrev Scott Kostyshak:
 
 Dear LyX users,
 
 What are your thoughts on having an option in the menu called
 something like Disable editing or Read only, which would make it
 so you could not edit the current document?
 
 Have you tried making the file itself read-only? LyX already knows about
 read-only files and will not allow editing then.
 
 Good point. I think the advantage of the feature being discussed at
 http://www.lyx.org/trac/ticket/6692
 is to give users a user-friendly way to do it inside of LyX.
 
 
 Indeed. Setting a file read-only on the disk may work well enough for
 Linux users, but Windows or Mac users can't be bothered with such
 low-level details.
 
 Hang on - I am a Mac user, use emacs, know (and love!) the terminal,
 regularly edit file permissions and owners - maybe because in my heart I
 am a Linux person? :-)
 

I'm a Unix-user with a Mac too. But there is no need to use the terminal for 
this task.
Using the Finder there is the Command-i or RBM-Info and you get a panel to set 
the file permissions.

With Windows it's similar.

 
 Mac users addicted to Emacs must be a very rare breed indeed... :)
 
 I don't think so - I am surprised how many are there actually when you
 look in the mailing lists of emacs, org-mode or ess (Emacs Speaks
 Statistics). I see a Mac as a hybrid: on the one side, you have the GUI
 which works perfectly (in contrast to windows...) and *requires* not
 much tinkering to make it work nearly perfect, while on the other side
 you can use easily all the Linux software (see e.g. the homebrew project
 http://brew.sh for the terminal / console software or LyX ...) - under
 the hood, OSX is not much different then Linux. So I have the best from
 both worlds, and probably the best hardware in the world.
 
 
 
 Having a quick way to set this within LyX can be useful, and even
 within the same LyX session you can set/unset this status.
 
 I completely agree - an option to set a file read-only from within LyX
 would be quite useful. Even Emacs can do this - and emacs users are
 addicted to the terminal!
 
 I even think this should not be hidden in a menu, but in the open dialog
 and in the tab itself, so that one can easily set it when opening a file
 and change (and see the actual status!) without having to go into a menu.

I don't like the proposal to extend the open dialog. This is nearly impossible
with native dialogs and the Qt-specific dialogs look so strange.

Stephan



Re: Disable editing / read only menu option?

2015-05-05 Thread Stephan Witt
Am 05.05.2015 um 13:21 schrieb Rainer M Krug rai...@krugs.de:

 Liviu Andronic landronim...@gmail.com writes:
 
 On Tue, May 5, 2015 at 10:40 AM, Rainer M Krug rai...@krugs.de wrote:
 Liviu Andronic landronim...@gmail.com writes:
 
 On Tue, May 5, 2015 at 6:44 AM, Scott Kostyshak skost...@lyx.org wrote:
 On Mon, May 4, 2015 at 8:05 AM, Helge Hafting helge.haft...@hist.no 
 wrote:
 
 
 Den 23. mars 2015 17:57, skrev Scott Kostyshak:
 
 Dear LyX users,
 
 What are your thoughts on having an option in the menu called
 something like Disable editing or Read only, which would make it
 so you could not edit the current document?
 
 Have you tried making the file itself read-only? LyX already knows about
 read-only files and will not allow editing then.
 
 Good point. I think the advantage of the feature being discussed at
 http://www.lyx.org/trac/ticket/6692
 is to give users a user-friendly way to do it inside of LyX.
 
 
 Indeed. Setting a file read-only on the disk may work well enough for
 Linux users, but Windows or Mac users can't be bothered with such
 low-level details.
 
 Hang on - I am a Mac user, use emacs, know (and love!) the terminal,
 regularly edit file permissions and owners - maybe because in my heart I
 am a Linux person? :-)
 

I'm a Unix-user with a Mac too. But there is no need to use the terminal for 
this task.
Using the Finder there is the Command-i or RBM-Info and you get a panel to set 
the file permissions.

With Windows it's similar.

 
 Mac users addicted to Emacs must be a very rare breed indeed... :)
 
 I don't think so - I am surprised how many are there actually when you
 look in the mailing lists of emacs, org-mode or ess (Emacs Speaks
 Statistics). I see a Mac as a hybrid: on the one side, you have the GUI
 which works perfectly (in contrast to windows...) and *requires* not
 much tinkering to make it work nearly perfect, while on the other side
 you can use easily all the Linux software (see e.g. the homebrew project
 http://brew.sh for the terminal / console software or LyX ...) - under
 the hood, OSX is not much different then Linux. So I have the best from
 both worlds, and probably the best hardware in the world.
 
 
 
 Having a quick way to set this within LyX can be useful, and even
 within the same LyX session you can set/unset this status.
 
 I completely agree - an option to set a file read-only from within LyX
 would be quite useful. Even Emacs can do this - and emacs users are
 addicted to the terminal!
 
 I even think this should not be hidden in a menu, but in the open dialog
 and in the tab itself, so that one can easily set it when opening a file
 and change (and see the actual status!) without having to go into a menu.

I don't like the proposal to extend the open dialog. This is nearly impossible
with native dialogs and the Qt-specific dialogs look so strange.

Stephan



Re: "Disable editing" / "read only" menu option?

2015-05-05 Thread Stephan Witt
Am 05.05.2015 um 13:21 schrieb Rainer M Krug :

> Liviu Andronic  writes:
> 
>> On Tue, May 5, 2015 at 10:40 AM, Rainer M Krug  wrote:
>>> Liviu Andronic  writes:
>>> 
 On Tue, May 5, 2015 at 6:44 AM, Scott Kostyshak  wrote:
> On Mon, May 4, 2015 at 8:05 AM, Helge Hafting  
> wrote:
>> 
>> 
>> Den 23. mars 2015 17:57, skrev Scott Kostyshak:
>>> 
>>> Dear LyX users,
>>> 
>>> What are your thoughts on having an option in the menu called
>>> something like "Disable editing" or "Read only", which would make it
>>> so you could not edit the current document?
>>> 
>> Have you tried making the file itself read-only? LyX already knows about
>> read-only files and will not allow editing then.
> 
> Good point. I think the advantage of the feature being discussed at
> http://www.lyx.org/trac/ticket/6692
> is to give users a user-friendly way to do it inside of LyX.
> 
>>> 
 Indeed. Setting a file read-only on the disk may work well enough for
 Linux users, but Windows or Mac users can't be bothered with such
 low-level details.
>>> 
>>> Hang on - I am a Mac user, use emacs, know (and love!) the terminal,
>>> regularly edit file permissions and owners - maybe because in my heart I
>>> am a Linux person? :-)
>>> 

I'm a Unix-user with a Mac too. But there is no need to use the terminal for 
this task.
Using the Finder there is the Command-i or RBM-Info and you get a panel to set 
the file permissions.

With Windows it's similar.

>> 
>> Mac users addicted to Emacs must be a very rare breed indeed... :)
> 
> I don't think so - I am surprised how many are there actually when you
> look in the mailing lists of emacs, org-mode or ess (Emacs Speaks
> Statistics). I see a Mac as a hybrid: on the one side, you have the GUI
> which works perfectly (in contrast to windows...) and *requires* not
> much tinkering to make it work nearly perfect, while on the other side
> you can use easily all the Linux software (see e.g. the homebrew project
> http://brew.sh for the terminal / console software or LyX ...) - under
> the hood, OSX is not much different then Linux. So I have the best from
> both worlds, and probably the best hardware in the world.
> 
>> 
>> 
 Having a quick way to set this within LyX can be useful, and even
 within the same LyX session you can set/unset this status.
>>> 
>>> I completely agree - an option to set a file read-only from within LyX
>>> would be quite useful. Even Emacs can do this - and emacs users are
>>> addicted to the terminal!
>>> 
>>> I even think this should not be hidden in a menu, but in the open dialog
>>> and in the tab itself, so that one can easily set it when opening a file
>>> and change (and see the actual status!) without having to go into a menu.

I don't like the proposal to extend the open dialog. This is nearly impossible
with native dialogs and the Qt-specific dialogs look so strange.

Stephan



Re: Usability / index-window

2015-04-26 Thread Stephan Witt
Am 26.04.2015 um 15:24 schrieb Jürgen Spitzmüller sp...@lyx.org:

 2015-04-26 15:21 GMT+02:00 Stephan Witt st.w...@gmx.net:
 I think Jess wants to dock the outliner pane. This is possible by dragging 
 the pane window near the left or right margin of the document window. See the 
 attached screenshot. The two windows one gets again with a click at the left 
 icon in the title.
 
 So the pane is not docked by default on the Mac?

No, it isn't.

Stephan

Re: Usability / index-window

2015-04-26 Thread Stephan Witt
Am 26.04.2015 um 15:24 schrieb Jürgen Spitzmüller sp...@lyx.org:

 2015-04-26 15:21 GMT+02:00 Stephan Witt st.w...@gmx.net:
 I think Jess wants to dock the outliner pane. This is possible by dragging 
 the pane window near the left or right margin of the document window. See the 
 attached screenshot. The two windows one gets again with a click at the left 
 icon in the title.
 
 So the pane is not docked by default on the Mac?

No, it isn't.

Stephan

Re: Usability / index-window

2015-04-26 Thread Stephan Witt
Am 26.04.2015 um 15:24 schrieb Jürgen Spitzmüller <sp...@lyx.org>:

> 2015-04-26 15:21 GMT+02:00 Stephan Witt <st.w...@gmx.net>:
> I think Jess wants to dock the outliner pane. This is possible by dragging 
> the pane window near the left or right margin of the document window. See the 
> attached screenshot. The two windows one gets again with a click at the left 
> icon in the title.
> 
> So the pane is not docked by default on the Mac?

No, it isn't.

Stephan

Re: LyX on Retina display

2015-03-19 Thread Stephan Witt
Am 19.03.2015 um 12:32 schrieb Rudi Gaelzer rgael...@gmail.com:

 Resuming this discussion, I've just acquired a MSI notebook with Retina 
 display (2880x1620).

Is it a Mac or a Windows gadget? If you're on Windows then this is a known 
problem.

Stephan

 I changed the screen fonts sizes and set the Instant Preview size to the 
 factor 1.8.  With these modifications, I can read what's on the screen fairly 
 well.
 However, the icons are still too small, even when I use Big-sized icons.
 Is there a way to make a further increase in the size of the icons?
 Thanks.
 
 On Wednesday 14 January 2015 11:39:38 Chris Menzel wrote:
 Thank you for posting that screenshot, Stephan. However, I believe I'm
 getting much better resolution than in your screenshot (under Lyx 2.1.2.2)
 on both my rMPB and my retina iMac by scaling up the resolution to the next
 higher setting above the default (on the iMac, the Displays preference pane
 calls it 2880x1620, but of course with the far higher retina pixel
 density) and using MinionPro as the screen font:
 http://cmenzel.org/LyX-screenshot.pdf. To my eyes, the scaled up setting
 has no effect on the quality of the display in other programs (though you
 might want to use larger fonts than you would with the default setting).
 Others screen fonts that (unlike MinionPro) are part of the MacTeX 2014
 distribution, e.g., Palatino, seem to me to look almost as good.
 
 -chris
 
 -- 
 Rudi Gaelzer
 Institute of Physics
 Federal University of Rio Grande do Sul
 BRAZIL
 Registered Linux user # 153741



  1   2   3   4   5   6   7   8   9   10   >