Work-around for missing text style no spell-check

2014-07-04 Thread R. H. van der Gaag
Dear Lyx’ers,
My PhD thesis will contain lots of text in medieval Dutch. This means that 
spell checking becomes a problem. There is a very old feature request for a 
text style “no spell-check”, or something similar, that would enable users to 
have portions of the text skipped when spell-checking. As far as I’m aware, no 
work is being done to write code for such a feature, and I myself unfortunately 
am unable to do. But perhaps one of you has been in a similar predicament, and 
has found a work-around? If so I’d be happy to hear about it.

Kind regards, Hiram
The Netherlands

Work-around for missing text style no spell-check

2014-07-04 Thread R. H. van der Gaag
Dear Lyx’ers,
My PhD thesis will contain lots of text in medieval Dutch. This means that 
spell checking becomes a problem. There is a very old feature request for a 
text style “no spell-check”, or something similar, that would enable users to 
have portions of the text skipped when spell-checking. As far as I’m aware, no 
work is being done to write code for such a feature, and I myself unfortunately 
am unable to do. But perhaps one of you has been in a similar predicament, and 
has found a work-around? If so I’d be happy to hear about it.

Kind regards, Hiram
The Netherlands

Work-around for missing text style "no spell-check"

2014-07-04 Thread R. H. van der Gaag
Dear Lyx’ers,
My PhD thesis will contain lots of text in medieval Dutch. This means that 
spell checking becomes a problem. There is a very old feature request for a 
text style “no spell-check”, or something similar, that would enable users to 
have portions of the text skipped when spell-checking. As far as I’m aware, no 
work is being done to write code for such a feature, and I myself unfortunately 
am unable to do. But perhaps one of you has been in a similar predicament, and 
has found a work-around? If so I’d be happy to hear about it.

Kind regards, Hiram
The Netherlands

Advanced text editing commands

2023-04-27 Thread R. H. van der Gaag
Having come from Vim and Obsidian, I find I miss a number of ‘advanced’ text 
editing commands, like jumping to a particular place in the text with just a 
few keystrokes, or selecting a sentence. Am I the only one who would be happy 
to have such commands in LyX? 

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


Re: Advanced text editing commands

2023-04-27 Thread R. H. van der Gaag

> On 27 Apr 2023, at 16:57, Scott Kostyshak  wrote:
> 
> On Thu, Apr 27, 2023 at 10:01:59AM -0400, Richard Kimberly Heck wrote:
>> On 4/27/23 03:13, R. H. van der Gaag wrote:
>>> Having come from Vim and Obsidian, I find I miss a number of ‘advanced’ 
>>> text editing commands, like jumping to a particular place in the text with 
>>> just a few keystrokes,
>> Such as?
>>> or selecting a sentence.
>> 
>> I don't know how easy this would be to do in a multi-lingual way.
> 
> R. H., to answer your question directly, yes I miss them :). I am used to 
> Vim, and I often wish I could use Vim-like features in LyX. e.g., I love 
> using 'g;' in Vim. I think the first 'g;' in LyX can be down with "Navigate 
> back" ('Ctrl + shift + <' or something like that) but I would love to go 
> through the entire change list as quickly as with 'g;'.
> 
> Also, I've requested persistent undo (https://www.lyx.org/trac/ticket/12578), 
> which I've gotten used to in Vim.
> 
> I imagine Emacs users have similar desires to use Emacs features in LyX.
> 
> That said, without considerable work, I don't see it happening in LyX anytime 
> soon.
> 
> Scott

It’s nice to know I’m not the only one! I guess the number of editing tricks I 
miss isn’t even that large. I would like to be able to select, change, and 
delete around a word and a sentence, like I can in Vim. And to do a ‘light 
speed’ jump to any part of the visible text by typing some shortcut and then 
typing the first two letters of the word I want to jump to; in Vim, and in 
Obsidian (using a plugin) the matches are then marked with a letter, and 
hitting that letter takes me there. On top of that, going back and forward 
through the locations where my cursor has been placed, and like you say, 
persistent undo would be wonderful. 

I have no idea how to do this in LFUN, and no time, frankly, to figure out if 
that is even possible.

I now find myself reverting to Obsidian or Vim to write longer copy, which is 
less than ideal. 

RH


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


UTF-8 and the Tufte Book document class

2023-07-18 Thread R H van der Gaag
Hi all,
I am writing a book using the Tufte Book document class, with the Tufte font 
included through ``\usepackage{ETbb}`` in the preamble. This works fine. But 
the encoding is T1, and producing a PDF fails when I change it to UTF8. I 
intend to add some Chinese text, and I either have to get UTF8 to work with 
this document or get Chinese characters with the present T1 encoding (but that 
is not the preferred approach, given that LyX 2.4 will be UTF8 throughout, if I 
am not mistaken, so I might as well get that sorted now). The main language of 
the document is Dutch, with bits in German, ancient Greek, French, and other 
languages. I am using LyX 2.3.7 on an M2 MacBook Air and an M1 iMac.

Any helpful hints are much appreciated.

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


Adjusting the vertical placement of margin notes

2023-05-22 Thread R. H. van der Gaag
I write most of my longer copy using the (beautiful and eminently readable) 
Tufte Book and Tufte Handout document class. One advantage of this is that 
footnotes are displayed as margin notes. If a note is added near the bottom of 
the page, though, this causes the note text to extend beyond the lower edge of 
the main text column. Obviously, the note should either scoot upwards, enough 
for its last line to land at the same vertical position as the main text 
column’s last line, or the note should break off at that vertical position, and 
continue on the next page. But I don’t know how to accomplish this.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adjusting the vertical placement of margin notes

2023-05-28 Thread R. H. van der Gaag
Thanks a lot, this takes care of it brilliantly. 

> On 28 May 2023, at 01:09, Udicoudco  wrote:
> 
> On Tue, May 23, 2023 at 8:44 AM R. H. van der Gaag
>  wrote:
>> 
>> I write most of my longer copy using the (beautiful and eminently readable) 
>> Tufte Book and Tufte Handout document class. One advantage of this is that 
>> footnotes are displayed as margin notes. If a note is added near the bottom 
>> of the page, though, this causes the note text to extend beyond the lower 
>> edge of the main text column. Obviously, the note should either scoot 
>> upwards, enough for its last line to land at the same vertical position as 
>> the main text column’s last line, or the note should break off at that 
>> vertical position, and continue on the next page. But I don’t know how to 
>> accomplish this.
> 
> Tufte Book uses \marginpar for all the sidenotes, footnotes etc., so
> you can use the package marginfix to automatically adjust the vertical
> placement of a side note. I don't know if someone wrote a package to
> allow page breaks in \marginpar but that would be interesting.
> 
> Attached is an example file, this is the first page of the example
> file of Tufte Book that is shipped with LyX, written by
> Jason Waskiewicz, and edited slightly to demonstrate the package 
> functionality.
> 
> Please read the documentation of the package for further details.
> 
> Regards,
> Udi
>> --
>> 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


Dutch 'trema' not handled as required in hyphenation

2023-05-28 Thread R. H. van der Gaag
Hi there fellow LyXers,
I noticed that the Dutch ‘trema’ (the dots above ü ä ï ö ë) isn’t removed when 
the word is hyphenated directly before the letter with the trema (it should, to 
comply with grammar rules. In LaTeX, 

\usepackage{newunicodechar}
\makeatletter
\newunicodechar{ë}{\@trema e}
\newunicodechar{ï}{\@trema i}
\newunicodechar{ö}{\@trema o}
\newunicodechar{ä}{\@trema a}
\newunicodechar{ü}{\@trema u}
\makeatother

takes care of this, but adding the same lines to the preamble in LyX doesn’t. 
Am I overlooking something? How can I make this work?

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


Re: lyx-users Digest, Vol 196, Issue 3

2023-07-27 Thread R H van der Gaag
On 19 Jul 2023, at 11:18, lyx-users-requ...@lists.lyx.org wrote:
> 
> I wonder whether using Tufte Book class is a good idea. It does not
> compile here with TeXLive 2023 due to a bug which is known for quite
> some time, but there is no visible maintenance (last revision of the
> class 2015).  By contrast, revisions of the standard book class and
> memoir.cls in TeXLive 2023 are end of 2022 and scrbook.cls is 2023.
> 
> Tobias 

Scary! On my M1 and M2 Macs, with up to date system software and LyX 2.3.7, 
TeXLive 2023 and the Tufte Book class get along well. Should I expect trouble 
down the road?

And if Adobe kills T1, will I still be able to compile using the ettb font 
files I have locally? Sorry for these tech-unsavvy questions, I’m just a simple 
philosopher.

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


Time stamp is off

2023-06-18 Thread R. H. van der Gaag
Hi all,
I noticed the time stamp on tracked changes is two hours off. Solutions found 
online seem to fail. Is there a way to get correct time stamps?

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


Backups are not written nearly as often as they should be

2023-06-21 Thread R. H. van der Gaag
Hi all,
I have LyX set up to make backups when saving and also make backups (the term 
seems wrong for the automatic snapshots that these are) every two minutes. But 
when I look at the directory those files are supposed to be written to, there 
is a file there, but it not up to date, neither as an auto-saved snapshot nor 
as duplicate (a backup proper) - it is older than it should be, up to over an 
hour older sometimes. Am I overlooking something? I checked the path, and went 
from using a Dropbox directory to using one on my SSD, but results are the 
same. Before reporting this as a bug, I thought I should mention this here. I 
am on LyX 2.3.7, on macOS 13.4, Apple Silicon chip. 

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


Re: Time stamp is off

2023-06-18 Thread R. H. van der Gaag
On 18 Jun 2023, at 15:01, Maria Gouskova  wrote:

> On Sun, Jun 18, 2023 at 7:22 AM R. H. van der Gaag  
> wrote:
> Hi all,
> I noticed the time stamp on tracked changes is two hours off. Solutions found 
> online seem to fail. Is there a way to get correct time stamps?
> 
> I cannot reproduce this here--my time stamps look correct. I am using LyX 
> 2.3.6 on Linux Mint 21, Cinnamon 5.4.12. (Btw, it helps when you include 
> details of your system and installation for questions like this).

Of course, sorry about that. This is on LyX 2.3.7, macOS 13.4, on an M1 iMac. I 
am in the Amsterdam timezone, and time stamps like \lyxadded{RH}{Sun Jun 18 
13:00:02 2023} are two hours behind. I worry about this a little bit: time 
discrepancies can cause nasty synchronisation issues sometimes. This has not 
happened so far, but since I am working on two machines, I have to be careful.

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


Re: Time stamp is off

2023-06-19 Thread R. H. van der Gaag

> On 18 Jun 2023, at 20:24,   wrote:
> 
>> -Oorspronkelijk bericht-
>> Van: lyx-users  Namens R. H. van der Gaag
>> Verzonden: zondag 18 juni 2023 15:10
> ...
>> On 18 Jun 2023, at 15:01, Maria Gouskova  wrote:
>> 
>>> On Sun, Jun 18, 2023 at 7:22 AM R. H. van der Gaag
>>  wrote:
>>> Hi all,
>>> I noticed the time stamp on tracked changes is two hours off. Solutions 
>>> found
>> online seem to fail. Is there a way to get correct time stamps?
>>> 
>>> I cannot reproduce this here--my time stamps look correct. I am using LyX 
>>> 2.3.6
>> on Linux Mint 21, Cinnamon 5.4.12. (Btw, it helps when you include details 
>> of your
>> system and installation for questions like this).
>> 
>> Of course, sorry about that. This is on LyX 2.3.7, macOS 13.4, on an M1 
>> iMac. I am
>> in the Amsterdam timezone, and time stamps like \lyxadded{RH}{Sun Jun 18
>> 13:00:02 2023} are two hours behind. I worry about this a little bit: time
>> discrepancies can cause nasty synchronisation issues sometimes. This has not
>> happened so far, but since I am working on two machines, I have to be 
>> careful.
> 
> For me it also works correctly. I am in the same timezone (Amsterdam), and my 
> LyX date format is %c
> (Tools / Preferences / Output / General / Dateformat).
> Insert / Date gives Sun Jun 18 20:24:41 2023

Thanks for checking. Insert date gives the correct (Dutch) time here, too. But 
the time stamps added to the LaTeX preview are always exactly two hours behind. 
A riddle.

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


Re: Time stamp is off

2023-06-19 Thread R. H. van der Gaag
On 19 Jun 2023, at 18:46, Richard Kimberly Heck  wrote:
> 
> On 6/19/23 09:36, R. H. van der Gaag wrote:
>> 
>> Thanks for checking. Insert date gives the correct (Dutch) time here, too. 
>> But the time stamps added to the LaTeX preview are always exactly two hours 
>> behind. A riddle.
> 
> Two hours behind sounds like UCT (GMT). European time is one hour ahead but 
> then another hour for daylight savings. I suspect that your system clock is 
> set for UCT, which is what LaTeX is picking up.
> 
> I've had similar problems on a Windows system.

My macOS preferences say "Central European Summer Time" and in the terminal I 
get

 rh@iMac ~ % date
 Mon Jun 19 21:27:10 CEST 2023

It remains a mystery, then, where LyX or LaTeX gets its UCT/GMT time from. 
Should I worry about this possibly messing up sync?

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


A question about the macOS warning message

2022-01-04 Thread R. H. van der Gaag via lyx-users
Launching LyX on macOS 12.1 (Monterey) causes a warning to appear, saying that 
in future OS versions, the application will no longer run, and that it should 
be updated. Is anyone working on this? I tried to find indications that this 
was so on the website, but to no avail. My dissertation is in LyX, and it would 
be a problem is updating my Mac’s system software would disrupt the work.

Thanks in advance for any help/advice.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users