Opening documents from a link in Libreoffice

2024-03-01 Thread Daniel CLEMENT via lyx-users
Hello,

I am using LyX 2.3.7 under the latest MacOS.

I have a Libreoffice spreadsheet with many links to LyX documents. When I click 
on such a link, it does launch LyX and the associated document. But several 
functions (Python-related, I guess) are missing: shortcuts and (more 
importantly) lyx2lyx.

Granted, if I open a document from a link, it’s just to have a quick look, not 
for heavy editing. But if the document is old, lyx2lyx fails and the file just 
won’t open (whereas it opens quite nicely if I open it from within LyX). I hope 
I’m being clear… 

IIRC this issue was not present under Linux. Nor does it happen with other file 
types than LyX.

I don’t know what to think. I’m not even sure it has to do with LyX (maybe 
Libreoffice trying to enforce its own Python flavour?), but I thought as well 
to report it.

Best regards, Daniel

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


Default directory for saving previewed files

2023-11-12 Thread Daniel CLEMENT via lyx-users
Dear list members,

I have recently noticed a small annoyance (LyX 2.3.7, MacOS 14).

It’s about the folder where the various PDF previewers save their files by 
default. They always revert to a /lyx_tmpbuf0 (e.g.) which is rather deeply 
nested below the LyX temp directory, either the one chosen for me by the 
system, or the one that I specified.

That makes it tedious to navigate back to the folder where I want to put the 
file.

I’d rather have them remember the last directory used—I think it was the case 
before (my upgrading to MacOS 14).

Apple’s “Preview” and Master PDF both exhibit this behaviour, unlike Acrobat 
reader (but it has other drawbacks).

I don’t know whether the culprit is the latest MacOS, or my recent Python woes, 
but I’d be glad if there was a setting somewhere which would help me to solve 
that.

TIA for any insight - BR, Daniel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Python (was Shortcuts under MacOs Sonoma)

2023-11-09 Thread Daniel CLEMENT via lyx-users
Yes, I had seen this thread and I had reviewed it.

What I didn’t expect, was that the upgrade would suppress something!

I don’t know how Python was present before the upgrade (builtin?) However, I 
have installed the Python3 pkg from the official Python website before I could 
read your advice.

Let’s see if that persists across the next upgrades!

BR - Daniel

> Le 8 nov. 2023 à 19:16, Dr Eberhard W Lisse  a écrit :
> 
> This has been discussed here a number of times in the not so
> distant past.
> 
> I think you need to install the X-Code command line tools to
> get /usr/bin/python3 again but I use Homebrew's python and
> that survives OS Upgrades.
> 
> greetings, el
> 
> 
> 
> On 07/11/2023 15:12, Daniel CLEMENT via lyx-users wrote:
>> Thanks for your reply Isaac.
>> 
>> The user directory is: ~/Library/Application Support/LyX-2.3/ 
>> 
>> That sounded correct. 
>> 
>> So I investigated a bit more on the Python side.  It was
>> definitely a Python issue.
>> 
>> I still can hardly believe it, but it seems that the upgrade
>> had completely stripped my system of any Python.  I
>> (re)installed it from the official site, and all the LyX
>> shortcuts got working again.  And the reconfigure function,
>> too.
>> 
>> So, problem solved for now. BR, Daniel
> [...]
> 
> -- 
> 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: Shortcuts under MacOs Sonoma

2023-11-07 Thread Daniel CLEMENT via lyx-users
Thanks for your reply Isaac.

The user directory is: ~/Library/Application Support/LyX-2.3/ 

That sounded correct. 

So I investigated a bit more on the Python side.  It was definitely a Python 
issue.

I still can hardly believe it, but it seems that the upgrade had completely 
stripped my system of any Python. I (re)installed it from the official site, 
and all the LyX shortcuts got working again. And the reconfigure function, too.

So, problem solved for now. BR, Daniel

> Le 7 nov. 2023 à 04:01, Isaac Oscar Gariano  a écrit :
> 
> Dear Daniel,
> I personally am not familiar with MacOS, but it sounds like LyX isn't finding 
> your files correctly.
> If you go to Help → About LyX, it will list a folder as "User directory",
> Does that folder contain the bind/user.bind​ file you want to use?
> 
> — Isaac Oscar Gariano​From: lyx-users  on 
> behalf of Daniel CLEMENT via lyx-users 
> Sent: Tuesday, 7 November 2023 6:49 AM
> To: LyX 
> Subject: Shortcuts under MacOs Sonoma
>  Dear list members,
> 
> I have recently upgraded my MacBook to MacOs 14 “Sonoma” last week (right 
> from 12).
> 
> LyX (2.3.7) was one of the main apps that I have tested; it appeared to work 
> well at first glance. But only today I have noticed a couple of issues, 
> mainly shortcuts, but possibly related:
> 
> 1) I’ve lost my shortcuts (sigh!) My shortcut file is still there. I have 
> reloaded it for good measure, but no luck. So, no Cmd-O to open a file, Cmd-D 
> for displayed maths and so on… (-> “unknown function” in the taskbar).
> 
> 2) Then I tried to reconfigure, but I got an error message like: “reconfigure 
> failed - implicit classes will be used but maybe LyX won’t work normally”.
> 
> 3) I happened to try and open a file coming from LyX 2.1, but I got: 
> “ comes from an old LyX version, but the LyX2LyX script could not 
> convert it”.
> 
> Doesn’t all this look like a Python issue? I don’t want to rush into any 
> hazardous workaround… What would you suggest?
> 
> Thanks a lot in advance for any advice - best regards, Daniel
> 
> -- 
> 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


Shortcuts under MacOs Sonoma

2023-11-06 Thread Daniel CLEMENT via lyx-users
Dear list members,

I have recently upgraded my MacBook to MacOs 14 “Sonoma” last week (right from 
12).

LyX (2.3.7) was one of the main apps that I have tested; it appeared to work 
well at first glance. But only today I have noticed a couple of issues, mainly 
shortcuts, but possibly related:

1) I’ve lost my shortcuts (sigh!) My shortcut file is still there. I have 
reloaded it for good measure, but no luck. So, no Cmd-O to open a file, Cmd-D 
for displayed maths and so on… (-> “unknown function” in the taskbar).

2) Then I tried to reconfigure, but I got an error message like: “reconfigure 
failed - implicit classes will be used but maybe LyX won’t work normally”.

3) I happened to try and open a file coming from LyX 2.1, but I got: 
“ comes from an old LyX version, but the LyX2LyX script could not 
convert it”.

Doesn’t all this look like a Python issue? I don’t want to rush into any 
hazardous workaround… What would you suggest?

Thanks a lot in advance for any advice - best regards, Daniel

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


A window size question

2023-03-08 Thread Daniel CLEMENT via lyx-users
Hello,

Here is a small annoyance I have about the main window size. I now have an 
external display, its resolution is much higher that of the MacBook screen 
(whereas in my [revious setup the resolutions were the same).

Every time I switch from one display to another, the LyX window reverts to its 
default size, the one you get when you start LyX for the 1st time. That’s quite 
small: no more that the quarter of the small built-in display.

I’d like LyX to retain, at least, the window size of the small display, like 
several other apps do.

Is there a setting which can do that? (The “remember window geometry” option 
doesn’t help.)

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


Re: Some filenames ending with tilde

2023-03-06 Thread Daniel CLEMENT via lyx-users

> Le 6 mars 2023 à 15:28, Maria Gouskova  a écrit :
> 
> If these .lyx~ files bother you, you could add the following to your .bashrc 
> file:
> 
> alias dellyx='find . -name "*.lyx~" -delete'
> 
> Then, with a Terminal window open, type "dellyx" at the $ prompt, and all the 
> .lyx~ files in that directory and all its subdirectories will be deleted. 
> (Obviously, only do this when you're sure that you won't need any of the 
> backups.)
> 
> Maria

Hmm... Makes sense. 

I used to do that by putting all the .lyx~ in my dedicated /backup directory, 
and emptying it periodically. But then, regular files from various directories 
happen to have the same name, so the corresponding .lyx~ files would get 
overwritten.

So, your advice is probably smarter. I’ll follow it!

> 
> On Mon, Mar 6, 2023 at 4:26 AM Jürgen Spitzmüller  wrote:
> Am Montag, dem 06.03.2023 um 10:20 +0100 schrieb Daniel CLEMENT via
> lyx-users:
> > My bad
> 
> Not at all. It is not very obvious which backup strategies LyX has and
> what all the diverse backup and emergency files are for.
> 
> We have thus added a bit of explanation in the User Guide for LyX 2.4.
> 
> Best,
> -- 
> Jürgen
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

--
Daniel CLEMENT

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


Re: Some filenames ending with tilde

2023-03-06 Thread Daniel CLEMENT via lyx-users

> Le 6 mars 2023 à 09:47, Jürgen Spitzmüller  a écrit :
> 
> Am Montag, dem 06.03.2023 um 09:26 +0100 schrieb Daniel CLEMENT via
> lyx-users:
>> I've just recently noticed that some .lyx~ files remain alongside my
>> regular LyX documents.
>> 
>> They are not hidden, but the Mac file browser adds a subtitle to
>> them: 
>> "non admissible" (in French...)
> 
> These are backup files. They are done and updated (by default) each
> time you safe the current document.

My bad, I was mistaking them for temporary files.
> 
>> Shouldn't they be erased automatically? 
> 
> No, they are meant as a permanent backup, should your original file get
> corrupted or lost.
> 
> In order to open them with LyX, you probably need to remove the
> trailing tilde.

Good to know. I guess I had only “used” them when LyX offered me to recover 
after a crash. 
> 
> (The trailing tilde is an established marker of backup files, coming
> from the Emacs text editor)
> 
>> Is there a setting that I'm missing?
> 
> In Tools > Preferences > Look & Feel > Document Handling, you can
> disable "Backup original documents when saving" if you really do not
> want these backups.
> 
> In Tools > Preferences > Paths, you can setup a "Backup directory"
> where all these backups are stored rather than alongside the original
> document.

That’s it, I had forgotten to adjust this setting when I did my new install (I 
do have a dedicated /backup directory). It’s done now.
> 
> HTH,
> -- 
> Jürgen

Thanks a lot Jürgen

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


Some filenames ending with tilde

2023-03-06 Thread Daniel CLEMENT via lyx-users
Hello,

I'm still rather new to using LyX on a Mac, and I have a couple more
questions, here is the 1st:

I've just recently noticed that some .lyx~ files remain alongside my
regular LyX documents.

They are not hidden, but the Mac file browser adds a subtitle to them: 
"non admissible" (in French...)

Shouldn't they be erased automatically? Is there a setting that I'm
missing?

Thanks in advance - BR, Daniel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: About upgrading to MacOS 13

2022-12-07 Thread Daniel CLEMENT via lyx-users
Le 7 déc. 2022 à 17:21, Stephan Witt  a écrit :
> 
> Am 07.12.2022 um 16:21 schrieb Daniel CLEMENT via lyx-users 
> :
>> 
>> Dear list members,
>> 
>> I have monitored last month’s threads about LyX woes under macOS 13. There 
>> wasn’t a definite conclusion it seems.
>> 
>> Would you say it’s safe to upgrade to MacOS13 now (with LyX 2.3.6.2)?
>> 
>> When I installed it, it complained about Python missing, but I somehow 
>> managed to get Python installed too. 
>> 
>> I’m rather new to Mac, and in no hurry at all to do the upgrade. Perhaps it 
>> would be best to wait for LyX 2.4?
>> 
>> I’ll take your advice - best regards,
> 
> Hi Daniel,
> 
> I’m on Mojave for production as primary macOS (because I’m using Aperture 
> from Apple - a 32bit application w/o 64bit upgrade option!).
> 
> I have access to a M1 system with Big Sur for development builds of LyX. I 
> don’t want to upgrade because I’ll loose the option to test LyX on Big Sur.
> 
> I’ve tested LyX 2.3.6.2 on different VMs with macOS 12.x and didn’t have time 
> and resources to try macOS 13 yet.
> 
> My experience is: starting with Monterey 12.3 Apple dropped the support for 
> Python 2.x and the upgrade from earlier versions removes it. There is a 
> replacement Python 3 installed as a stub and if this gets called it asks the 
> user to download and install the real thing from Apple.
> 
> There is one report of having a problem after upgrade from Monterey to 
> Ventura (macOS 13) with Python again. I couldn’t get the information how this 
> happened. Probably the upgrade to Ventura breaks the installed Python 3 from 
> Apple. One has to reinstall it manually.
> 
> All this is a consequence of Apples decision to pass the responsibility for a 
> working Python software to app developers and/or end users. So they cannot be 
> blamed for security problems with it, IMO. It makes no sense to include a 
> Python package with LyX and therefore it is ok to install either Apples or 
> the „official“ open-source Python for Apple on the system. It’s an open task 
> to detect the current situation on the users system and give more prominent 
> and useful advice how to proceed.
> 
> There is another issue I’m aware of. On some systems the gatekeeper keeps 
> nagging and says the LyX binary is a suspicious one. Probably it’s because of 
> the bundle permissions, the certificate used for signing or the security 
> settings of users system.
> 
> My advice would be to try the upgrade if you’re able to go back with time 
> machine w/o hassle. I’ll be there to answer questions and help to solve 
> problems. If you don’t want to risk anything I can understand it and you may 
> wait for the results of my experiments in a virtual machine. Another option 
> is to create a virtual machine yourself and try it there and contact me if 
> something is broken.
> 
> Hope that helps and regards,
> Stephan

Thank you all for your input.

I conclude that there is a risk, however little, that something _can_ go wrong.

Since I cannot afford to break anything for the next months, I think I’ll play 
it safe and delay the upgrade. 

I need to learn MacOS better first. (Marcus: I didn’t even know that the 
downgrade relied on Time Machine…)

In the meantime, there’s a couple of very minor annoyances that I cannot solve 
alone; I’ll ask about them in another thread.

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


About upgrading to MacOS 13

2022-12-07 Thread Daniel CLEMENT via lyx-users
Dear list members,

I have monitored last month’s threads about LyX woes under macOS 13. There 
wasn’t a definite conclusion it seems.

Would you say it’s safe to upgrade to MacOS13 now (with LyX 2.3.6.2)?

When I installed it, it complained about Python missing, but I somehow managed 
to get Python installed too. 

I’m rather new to Mac, and in no hurry at all to do the upgrade. Perhaps it 
would be best to wait for LyX 2.4?

I’ll take your advice - best regards,
--
Daniel CLEMENT



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


Re: Individual counters for Problems, Examples, etc.?

2022-10-03 Thread Daniel CLEMENT via lyx-users
Le lundi 03 octobre 2022 à 11:49 +, Bernt Lie via lyx-users a
écrit :
> In LyX 2.3.6.1 under Windows 11, I have a document of Document Class
> “Article (Standard Class with Extra Fontsizes)”.
>  
> Currently, all “theorem-like” elements use the same counter, e.g.,
> Examples, Problems, etc., use the same counter.

AFAIK this is indeed the default behavior.
>  
> I want to use separate counters for the various elements.
>  
> How do I do that in LyX? [In LaTeX, I put a “newtheorem” command in
> the Preamble I think.  But in LyX, these elements already exist… so I
> assume that I mess things up if I create a new “Problem”, etc.
>  
> Thanks for help.
>  
> -B

I think it's just a matter of choosing the right "theorems..." module:

document > parameters > modules

Scroll down to the end to see the various "theorems..." options. They
are well explained, and I guess you should find one that does what you
want.

HTH,
-- 
Daniel CLEMENT
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: TikZ

2022-09-28 Thread Daniel CLEMENT via lyx-users
Le mardi 27 septembre 2022 à 17:42 +0200, Tobias Hilbricht a écrit :
> Am Dienstag, dem 27.09.2022 um 17:06 +0200 schrieb Daniel CLEMENT via
> lyx-users:
> > Le mardi 27 septembre 2022 à 09:29 +0100, José Matos a écrit :
> > > On Fri, 2022-09-23 at 06:40 +, M.B. Schiekel wrote:
> > > > Hallo Dan,
> > > > 
> > > > LaTeX-Preamble:
> > > >\usepackage{tikz}
> > > >\usepackage{braids}
> > > > 
> > > > this works perfect - or what support do you wish?
> > > > bernhard
> > > 
> > > If you insert the tikz code inside a preview box the figure will be
> > > shown immediately, if you click over it you will see the code.
> > > 
> > > The preview box can be inserted in the same way as the tex code:
> > > 
> > > Insert -> TeX Code
> > > Insert -> Preview
> > 
> > Hmm... PFMJI, but I'd like to give this a try. Exactly how should it
> > be
> > done? 
> > 
> > If I put the tikz code inside the Preview, I just get the code in the
> > output. If I put it inside TeX Code, I get an error ("control
> > sequence
> > never def'd" about tkzTabInit)
> > 
> > I know my tikz code is OK because I was able to preview its result
> > and
> > export to eps from the Qtikz utility. But it would be sooo much
> > simpler
> > to get that directly under LyX!
> > > You are still responsible for adding the correct tikz code...
> > > 
> > > -- 
> > > José Abílio
> > 
> > -- 
> > Daniel CLEMENT
> 
> See the attached sample file. 
> Tobias
> 
> 
Thanks Tobias and Paul, problem solved. It was indeed twofold. For
reference, here is what I've done:

1) in order to get variation tables (is that correct?) to compile
correctly, I had to load the tkz-tab package instead of just tikz. (I
guess it's a superset of tikz with commands such as \TkzTabLine and so
on.)

2) My instant preview was indeed turned off, which I prefer for maths,
but there is the "no maths" option, which previews just the drawings. 

Very convenient!
-- 
Daniel CLEMENT
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: TikZ

2022-09-27 Thread Daniel CLEMENT via lyx-users
Le mardi 27 septembre 2022 à 09:29 +0100, José Matos a écrit :
> On Fri, 2022-09-23 at 06:40 +, M.B. Schiekel wrote:
> > Hallo Dan,
> > 
> > LaTeX-Preamble:
> >    \usepackage{tikz}
> >    \usepackage{braids}
> > 
> > this works perfect - or what support do you wish?
> > bernhard
> 
> If you insert the tikz code inside a preview box the figure will be
> shown immediately, if you click over it you will see the code.
> 
> The preview box can be inserted in the same way as the tex code:
> 
> Insert -> TeX Code
> Insert -> Preview

Hmm... PFMJI, but I'd like to give this a try. Exactly how should it be
done? 

If I put the tikz code inside the Preview, I just get the code in the
output. If I put it inside TeX Code, I get an error ("control sequence
never def'd" about tkzTabInit)

I know my tikz code is OK because I was able to preview its result and
export to eps from the Qtikz utility. But it would be sooo much simpler
to get that directly under LyX!
> 
> You are still responsible for adding the correct tikz code...
> 
> -- 
> José Abílio
-- 
Daniel CLEMENT
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: no accents with dead keys

2020-07-15 Thread Daniel CLEMENT
Le mercredi 15 juillet 2020 à 10:38 -0300, jorge hernando a écrit :
> I can also confirm that the qt5 5.11 works well. My old setup, fedora
> 29 and lyx 2.3.3, where all the accents worked had qt5 5.11.

Maybe you can still start this old setup as a workaround?

> By the way, if I write in another application (not qt based) like
> nedit and made copy and paste with the mouse I obtain the accents but
> not the newlines, 

Never noticed that. Perhaps it's worth starting a new thread? 

Here, in this case I get the accents and the _double_ newlines, which
become a single newline in LyX...

> if I insert the file (Insert -> file -> plain text) I obtain the new
> lines but not the accents (same behaviour if I import the text). 

... whereas in that case I still get the accents, and the newlines, but
the double newlines become single. Strange.

> Does it exist a setting in lyx in order to have the best of both
> procedures?  
> Jorge
> 
> On Wed, Jul 15, 2020 at 4:03 AM Daniel CLEMENT 
> wrote:
> > Le lundi 13 juillet 2020 à 11:14 -0300, jorge hernando a écrit :
> > > Thanks to all of you. I believe I can confirm that this is a qt
> > bug.
> > > Following Daniel's suggestion I installed featherpad (a qt
> > > application) and it has the same lyx behaviour: the dead keys are
> > > really dead. [...]
> > 
> > Just FWIW, I tried something: I'm planning to update my oldstable
> > Debian (9) to stable (10) these months and I wanted to check whether
> > everything was OK.
> > 
> > So I ran the newer distro from a live USB session and installed
> > Featherpad (not LyX, because it would pull a whole TeX system).
> > 
> > The dead keys were working well! (except the cedilla of course) All the
> > libqt5... thingies had version 5.11.3. The regression in QT (if any)
> > must have come later.
> > 
> > I hope you can get back a working setup soon. BR, Daniel
> > >  
> > > 
> > > Thanks to all of you
> > > 
> > > Jorge
> > > 
> > > On Mon, Jul 13, 2020 at 3:50 AM Daniel CLEMENT  > > > wrote:
> > > > Hi Jorge, I have struggled a long time with dead keys, but only for
> > > > the
> > > > cedilla character. I posted several times about that; I can but
> > > > offer
> > > > to compare our setups
> > > > 
> > > > Le dimanche 12 juillet 2020 à 17:02 -0300, jorge hernando a écrit :
> > > > > Hallo
> > > > >   I have one PC with english keyboard (US international with dead
> > > > > keys) 
> > > > 
> > > > same here (LyX 2.3.2 - Debian Stretch [yeah I know...])
> > > > 
> > > > > [...] the accents work perfectly (e.g. á is " 'a ") when in a
> > > > > terminal, opening nedit, ooffice, etc. 
> > > > 
> > > > But these are not "QT applications". Could you compare with another
> > > > such app. (Filezilla? Scribus? Master PDF?...)
> > > > 
> > > > > but in lyx not only it doesn't work, the dead key is really dead:
> > > > if
> > > > > I type ' in lyx it doesn't type anything [...]
> > > > 
> > > > Can't you even get the apostrophe with ' + spacebar?
> > > > >    
> > > > >   [...] I looked at some .kmap files in
> > > > > /usr/share/lyx/kbd, [...]
> > > > 
> > > > I understand that these files are now deprecated, and overridden by
> > > > the
> > > > QT settings (can someone confirm that?)
> > > > 
> > > > > [...] I looked at /usr/share/lyx/bind 
> > > > 
> > > > This is for shortcuts, but of course you want to type accented
> > > > characters the same way in LyX as in other apps, don't you? 
> > > > 
> > > > So here, working PC with US Intl + dead keys:
> > > > - my ~.lyx/kbd folder is empty;
> > > > - in LyX under Tools -> Editing -> Keyboard/Mouse I have no
> > > > "keyboard
> > > > remap" specified.
> > > > 
> > > > This generally allows me to get the accented characters (except the
> > > > cedilla). What about first trying with a completely blank LyX setup
> > > > (e.g. renaming your .lyx folder)?
> > > > 
> > > > > [...] In the mailing list it is mentioned (in 2019) that there is
> > > > a
> > > > > workaround related with Qt: to include in .xsessionrc the line
> > > &g

Re: no accents with dead keys

2020-07-13 Thread Daniel CLEMENT
Hi Jorge, I have struggled a long time with dead keys, but only for the
cedilla character. I posted several times about that; I can but offer
to compare our setups

Le dimanche 12 juillet 2020 à 17:02 -0300, jorge hernando a écrit :
> Hallo
>   I have one PC with english keyboard (US international with dead
> keys) 

same here (LyX 2.3.2 - Debian Stretch [yeah I know...])

> [...] the accents work perfectly (e.g. á is " 'a ") when in a
> terminal, opening nedit, ooffice, etc. 

But these are not "QT applications". Could you compare with another
such app. (Filezilla? Scribus? Master PDF?...)

> but in lyx not only it doesn't work, the dead key is really dead: if
> I type ' in lyx it doesn't type anything [...]

Can't you even get the apostrophe with ' + spacebar?
>    
>   [...] I looked at some .kmap files in
> /usr/share/lyx/kbd, [...]

I understand that these files are now deprecated, and overridden by the
QT settings (can someone confirm that?)

> [...] I looked at /usr/share/lyx/bind 

This is for shortcuts, but of course you want to type accented
characters the same way in LyX as in other apps, don't you? 

So here, working PC with US Intl + dead keys:
- my ~.lyx/kbd folder is empty;
- in LyX under Tools -> Editing -> Keyboard/Mouse I have no "keyboard
remap" specified.

This generally allows me to get the accented characters (except the
cedilla). What about first trying with a completely blank LyX setup
(e.g. renaming your .lyx folder)?

> [...] In the mailing list it is mentioned (in 2019) that there is a
> workaround related with Qt: to include in .xsessionrc the line
>   export QT_IM_MODULE=xim
>   I created the file with that line but didn't work

In case you came across a post of mine, I was referring to
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056
(especially post #39) But it's about getting the cedilla, not _all_ of
the accented characters, but you might want to review this thread.

However, the "export QT_IM_MODULE=xim" thing is not a solution by
itself, but comes after tweaking some QT config files (mentioned in the
thread above). Maybe something got broken there with a QT update? It
always happens to me.

But let's hope you won't have to dive into this for each and every
accented character!

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


FYI - Qt5 utility to customize the LyX look and feel

2019-02-01 Thread Daniel CLEMENT
Hello,

Having recently upgraded to Debian Stetch (and LyX 2.3) I missed the
"QT4 - QTconfig" utility which is now deprecated.

I have found a replacement called "qt5ct": 

https://sourceforge.net/projects/qt5ct/

With this utility, you can have LyX (and other Qt apps.) blend nicely
with the look of other apps.

Unfortunately, there was no package for Debian Stretch so I had to
build one myself. If anyone is interested, or would like more details
(instructions, screenshots, feel free to ask.

Best regards,
-- 
Daniel CLEMENT


What is this strange arrow?

2019-01-23 Thread Daniel CLEMENT
Hello,

I'm still new to LyX 2.3 (from 2.1) so I'm not ashamed of asking a
trivial question:

As I open my old documents, in various places I'm can see this (non-
printing) symbol which I had never met before:


What does it mean? I can't see any difference in preview if I erase it.

TIA - Daniel

Re: Dead keys no longer work

2019-01-12 Thread Daniel CLEMENT
Le samedi 12 janvier 2019 à 11:40 +0100, Pavel Sanda a écrit :
> On Sat, Jan 12, 2019 at 11:08:16AM +0100, Daniel CLEMENT wrote:
> > > So, not specifcally LyX issue... You could try to post bug in
> > > debian
> > > or even with qt...
> > 
> > After some searching, it looks like the bug is already known.
> > 
> > I came across this thread:
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=477552
> > 
> > which (following comment #7) lead me to this workaround: I added
> > 
> > export QT_IM_MODULE=xim
> > 
> > to my .xsessionrc file
> 
> Interesting, that shouldn't matter in Qt5. Is it that you still use
> Qt4 in your config?

No, in Debian 9 it's basically Qt5 everywhere (though I do have some
Qt4-related packages installed, e.g. python.qt4)

> My problem is with Qt5.
> 
> > It "works", but frankly, I'd rather not have to do that...
> 
> Agreed, this is just wrong list to ask for the fix, the problem is
> either
> in the config of X/DM or Qt code and it might be difficult to spot
> who is
> actually responsible for the problem...
> Pavel

I do understand that. Yet, I can't help thinking there's something
"special" with the LyX main edit window.

I mean, I have several other Qt apps (Filezilla, Scribus,
Clementine...)--though I don't use them half as much as LyX. None of
them has this problem. Even in LyX, the dead keys do work well within
the dialogs (e.g. file-save as). It's only the main window that shows
the problem.

Moreover, I could check that the dead keys did work properly within LyX
just freshly installed in a live-USB session.

I'm puzzled. As long as my workaround works, all is well... but if it
fails eventually, I'll be in trouble.
-- 
Daniel CLEMENT


Dead keys no longer work

2019-01-07 Thread Daniel CLEMENT
Dear list members,

I'm in a bit of trouble while testing LyX 2.3.1 (fortunately on a
secondary PC), under Linux Debian 9 (Stretch).

I'm using an US-international keyboard layout, with dead keys: to type
an accented letter, I type the accent, then the letter (and accent +
space if I want just the accent).

Just today I noticed that no dead key was working anymore in LyX! I
can't get any accented letter or standalone accent. In other apps I
don't have this problem.

Yet I'm rather sure it worked "before"--I have just tested it again on a
live USB session.

So... How did I manage to break my LyX install, and how could I get it
back?

Any help greatly appreciated! Best regards, Daniel



Re: Luatex not previewing A4-landscape

2018-12-27 Thread Daniel CLEMENT
Le mercredi 26 décembre 2018 à 16:28 +, Baris Erkus a écrit :
> On 12/26/2018 5:30 PM, Daniel CLEMENT wrote:
> 
> > Le mercredi 26 décembre 2018 à 12:53 +, Baris Erkus a écrit :
> > > On 26-Dec-18 3:33 PM, Daniel CLEMENT wrote:
> > > 
> > > > Le mercredi 26 décembre 2018 à 13:21 +0200, Dr Eberhard Lisse a écrit :
> > > > > Would you perhaps have a Minimal Working Example so others can test
> > > > > this?
> > > > > 
> > > > > Ie remove EVERYTHING not related/producing the error and post the
> > > > > resulting files.
> > > > > 
> > > > > el
> > > > > 
> > > > > On 2018-12-24 12:42 , Daniel CLEMENT wrote:
> > > > > > Dear list members,
> > > > > > 
> > > > > > While updating a PC under Debian, Lyx went from version 2.1.2 to 
> > > > > > 2.2.2
> > > > > > (and even 2.3.1 from Backports).
> > > > > > 
> > > > > > I'm having an issue with some documents which need to be compiled
> > > > > > under Luatex.
> > > > > > 
> > > > > > They use landscape, A4, 2-column page setup and the issue is: 
> > > > > > whenever
> > > > > > I try to specify custom margins, my preview reverts to portrait, US
> > > > > > letter format.  I checked that in the previewer, under document
> > > > > > properties.  This happens regardless of the document contents.
> > > > > > 
> > > > > > TIA for any insight about that - best regards,
> > > > > > 
> > > > I'd rather not clutter the list with unnecessary files: my "minimal
> > > > example" would be an empty file! 
> > > > 
> > > > Here are the steps to reproduce:
> > > > [LyX 2.2.2 or 2.3.1 - TeXlive 2016]
> > > > - (new) empty document
> > > > - document > parameters: A4 - landscape
> > > > - margins: just uncheck "implicit margin" (no need to fill the rest)
> > > > - preview other formats - LuaTeX
> > > > 
> > > > The PDF output comes out with US letter - portrait format.
> > > > 
> > > > BR - Daniel
> > > > 
> > > Did it for LyX 2.3.2 + MikTeX + Win10.
> > > 
> > > Attached are
> > > 
> > >   * a MWE 
> > >   * PDF generated by LuaTeX with A4 setting 
> > >   * PDF generated by LuaTeX with Letter setting 
> > > 
> > > Seems like it LyX 2.3.2 setting is working fine in Windows and MikTeX
> > > for both A4 and letter.  
> > > 
> > > p.s. I used "showframe" package to show the boundaries.
> > > 
> > Now here is something funny: your example did work here indeed.
> > 
> > After some hair scratching, I decided that the only difference with mine
> > was the showframe package. 
> > 
> > So I suppressed it, and I was instantly back to US letter, portrait
> > format! Have you tested your example without the showframe package?
> > 
> 
> I suppressed the showframe package. Set the page size to A4. Export to
> PDF through LuaTeX. Paper size of the resulting PDF is still A4.
> 
> See also attached image of MikTeX setting  for default page size.

Thank you for the screenshot.

>  There may be a similar setting of your TeX system 

Well there is a similar utility for TeXlive, it's tlmgr and I hardly
know it so I'm reluctant to use it.

> or as you have mentioned, there may be Lua-specific setting that
> should be passed from LyX to to the Lua compiler. Only after you
> identify such setting, it may be specified in the "File Handling"
> section of LyX preferences.. Again, this is only a "guess". 

Now I made an opposite test on my old system (w/ LyX 2.1.2 and TL 2014):
in a document which uses LuaTeX, I chose portrait orientation in LyX and
the output was correctly oriented.

So, some change in LyX and/or LuaTeX (under Linux) now prevents the
choices made within LyX from being passed correctly to LuaTeX, whereas
it worked before. Fortunately I found a workaround.
-- 
Daniel CLEMENT



Re: Luatex not previewing A4-landscape

2018-12-26 Thread Daniel CLEMENT
Le mercredi 26 décembre 2018 à 12:53 +, Baris Erkus a écrit :
> On 26-Dec-18 3:33 PM, Daniel CLEMENT wrote:
> 
> > Le mercredi 26 décembre 2018 à 13:21 +0200, Dr Eberhard Lisse a écrit :
> > > Would you perhaps have a Minimal Working Example so others can test
> > > this?
> > > 
> > > Ie remove EVERYTHING not related/producing the error and post the
> > > resulting files.
> > > 
> > > el
> > > 
> > > On 2018-12-24 12:42 , Daniel CLEMENT wrote:
> > > > Dear list members,
> > > > 
> > > > While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2
> > > > (and even 2.3.1 from Backports).
> > > > 
> > > > I'm having an issue with some documents which need to be compiled
> > > > under Luatex.
> > > > 
> > > > They use landscape, A4, 2-column page setup and the issue is: whenever
> > > > I try to specify custom margins, my preview reverts to portrait, US
> > > > letter format.  I checked that in the previewer, under document
> > > > properties.  This happens regardless of the document contents.
> > > > 
> > > > TIA for any insight about that - best regards,
> > > > 
> > I'd rather not clutter the list with unnecessary files: my "minimal
> > example" would be an empty file! 
> > 
> > Here are the steps to reproduce:
> > [LyX 2.2.2 or 2.3.1 - TeXlive 2016]
> > - (new) empty document
> > - document > parameters: A4 - landscape
> > - margins: just uncheck "implicit margin" (no need to fill the rest)
> > - preview other formats - LuaTeX
> > 
> > The PDF output comes out with US letter - portrait format.
> > 
> > BR - Daniel
> > 
> 
> Did it for LyX 2.3.2 + MikTeX + Win10.
> 
> Attached are
> 
>   * a MWE 
>   * PDF generated by LuaTeX with A4 setting 
>   * PDF generated by LuaTeX with Letter setting 
> 
> Seems like it LyX 2.3.2 setting is working fine in Windows and MikTeX
> for both A4 and letter.  
> 
> p.s. I used "showframe" package to show the boundaries.
> 
Now here is something funny: your example did work here indeed.

After some hair scratching, I decided that the only difference with mine
was the showframe package. 

So I suppressed it, and I was instantly back to US letter, portrait
format! Have you tested your example without the showframe package?

-- 
Daniel CLEMENT



Re: Luatex not previewing A4-landscape

2018-12-26 Thread Daniel CLEMENT
Le mercredi 26 décembre 2018 à 13:21 +0200, Dr Eberhard Lisse a écrit :
> Would you perhaps have a Minimal Working Example so others can test
> this?
> 
> Ie remove EVERYTHING not related/producing the error and post the
> resulting files.
> 
> el
> 
> On 2018-12-24 12:42 , Daniel CLEMENT wrote:
> > Dear list members,
> > 
> > While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2
> > (and even 2.3.1 from Backports).
> > 
> > I'm having an issue with some documents which need to be compiled
> > under Luatex.
> > 
> > They use landscape, A4, 2-column page setup and the issue is: whenever
> > I try to specify custom margins, my preview reverts to portrait, US
> > letter format.  I checked that in the previewer, under document
> > properties.  This happens regardless of the document contents.
> > 
> > TIA for any insight about that - best regards,
> > 
> 
I'd rather not clutter the list with unnecessary files: my "minimal
example" would be an empty file! 

Here are the steps to reproduce:
[LyX 2.2.2 or 2.3.1 - TeXlive 2016]
- (new) empty document
- document > parameters: A4 - landscape
- margins: just uncheck "implicit margin" (no need to fill the rest)
- preview other formats - LuaTeX

The PDF output comes out with US letter - portrait format.

BR - Daniel



Re: [workaround] Luatex not previewing A4-landscape

2018-12-26 Thread Daniel CLEMENT
Le mardi 25 décembre 2018 à 15:16 +0100, Daniel CLEMENT a écrit :
> Le lundi 24 décembre 2018 à 11:41 +, Baris Erkus a écrit :
> > On 24-Dec-18 1:42 PM, Daniel CLEMENT wrote:
> > > Dear list members,
> > >
> > > While updating a PC under Debian, Lyx went from version 2.1.2 to
> > 2.2.2
> > > (and even 2.3.1 from Backports).
> > >
> > > I'm having an issue with some documents which need to be compiled
> > under
> > > Luatex.
> > >
> > > They use landscape, A4, 2-column page setup and the issue is:
> > whenever I
> > > try to specify custom margins, my preview reverts to portrait, US
> > letter
> > > format. I checked that in the previewer, under document properties.
> > This
> > > happens regardless of the document contents.
> > >
> > > TIA for any insight about that - best regards,
> > 
> > Which TeX system are you using? 
> 
> It's TeXlive: was 2014 on the old system (along with lyx 2.1.2), now
> 2016 with LyX 2.3.1 on the new install.
> 
> > Is there a ways to set the paper size 
> > from the TeX system for LuaTeX?
> 
> I don't know how to do that outside LyX... At present I'm also searching
> help about LuaTex
> > 
> > I remember the times that the TeX system dictates the paper sizes.
> > Your 
> > problem might be related to that? But not sure...
> 
> Well it's certainly related to LuaTex (a test document without LuaTex
> previews just fine in A4, landscape). Or perhaps LyX fails to transmit
> its paper size/orientation options to LuaTex?
> 
> Thx for your reply anyway - BR, DC
> > 
> > BE
> > 
> > -- 
> > ↓↓
> > Please bottom-post. Start your reply here:
> > 
> 
Well at least I have come up with a workaround.

Long story short, from Luatex reference...

http://www.luatex.org/svn/trunk/manual/luatex.pdf

(p. 29 - modifications) " The primitives \pdfpagewidth and
\pdfpageheight have been removed because \pagewidth and \pageheight have
that purpose. "

(I was trying the former). 

With \pagewidth 297mm and \pageheight 210mm in my document preamble I
got back my A4-landscape output.

Now, I trust LyX can take care of this. Maybe LyX is trying to pass the
outdated \pdfpagewidth and \pdfpageheight options?

BR - Daniel



Re: Luatex not previewing A4-landscape

2018-12-25 Thread Daniel CLEMENT
Le lundi 24 décembre 2018 à 11:41 +, Baris Erkus a écrit :
> On 24-Dec-18 1:42 PM, Daniel CLEMENT wrote:
> > Dear list members,
> >
> > While updating a PC under Debian, Lyx went from version 2.1.2 to
> 2.2.2
> > (and even 2.3.1 from Backports).
> >
> > I'm having an issue with some documents which need to be compiled
> under
> > Luatex.
> >
> > They use landscape, A4, 2-column page setup and the issue is:
> whenever I
> > try to specify custom margins, my preview reverts to portrait, US
> letter
> > format. I checked that in the previewer, under document properties.
> This
> > happens regardless of the document contents.
> >
> > TIA for any insight about that - best regards,
> 
> Which TeX system are you using? 

It's TeXlive: was 2014 on the old system (along with lyx 2.1.2), now
2016 with LyX 2.3.1 on the new install.

> Is there a ways to set the paper size 
> from the TeX system for LuaTeX?

I don't know how to do that outside LyX... At present I'm also searching
help about LuaTex
> 
> I remember the times that the TeX system dictates the paper sizes.
> Your 
> problem might be related to that? But not sure...

Well it's certainly related to LuaTex (a test document without LuaTex
previews just fine in A4, landscape). Or perhaps LyX fails to transmit
its paper size/orientation options to LuaTex?

Thx for your reply anyway - BR, DC
> 
> BE
> 
> -- 
> ↓↓
> Please bottom-post. Start your reply here:
> 

-- 
Daniel CLEMENT



Luatex not previewing A4-landscape

2018-12-24 Thread Daniel CLEMENT
Dear list members,

While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2
(and even 2.3.1 from Backports).

I'm having an issue with some documents which need to be compiled under
Luatex.

They use landscape, A4, 2-column page setup and the issue is: whenever I
try to specify custom margins, my preview reverts to portrait, US letter
format. I checked that in the previewer, under document properties. This
happens regardless of the document contents.

TIA for any insight about that - best regards,
-- 
Daniel CLEMENT



Re: Does anyone else use \middle | when writing math?

2018-10-02 Thread Daniel CLEMENT
Le lundi 01 octobre 2018 à 12:09 -0400, Scott Kostyshak a écrit :
> On Mon, Oct 01, 2018 at 03:45:45PM +0200, Daniel CLEMENT wrote:
> 
> > \Bigl( [some math] \Bigm| [more math] \Bigl)
> 
> Ah thanks! I did not know about \Bigm|. I think that's what I'm looking
> for.
> 
> > I'd gladly test \middle but it gives me an error.
> 
> Attached is the example file with 2.1.x format.

Thank you, I can see your example now, and how \middle works. I was able
to test it.

I think I'll adopt it, except for some special cases where I want to
prevent the delimiters from growing too much. 

I'd bet it will end up being supported in the LyX interface (without
ERT).
> 
> Best,
> 
> Scott
Best regards,
-- 
Daniel



Re: Does anyone else use \middle | when writing math?

2018-10-01 Thread Daniel CLEMENT
Le dimanche 30 septembre 2018 à 13:42 -0400, Scott Kostyshak a écrit :
> Do you use the LaTeX "\middle" command? If not, how do you write
> expressions in LyX like the attached one? Do you just use \mid? 

Scott, I can't see your attached example (because my LyX is too old for
it). But I use \mid for inline math, when it doesn't need to "grow".

> \mid
> achieves the same semantics but just looks a little worse to me
> aesthetically, because it is shorter.

\mid (I didn't know \middle) is strange, because it grows more slowly
than the surrounding brackets.

If I want to match sizes, I do it manually, with e.g.

\Bigl( [some math] \Bigm| [more math] \Bigl)
> 
> If curious about the "\middle" command, see: 
> https://tex.stackexchange.com/a/45717/12212

I gather that \middle does just that, automatically.
> 
> I'm guessing that there is a better way to do what I want, since LyX
> does not have "support" for "\middle" (i.e., the LaTeX is displayed).

I'd gladly test \middle but it gives me an error.
> 
> Scott

-- 
Daniel



Re: Weird directory, different order of templates...

2018-05-22 Thread Daniel CLEMENT
Le mardi 22 mai 2018 à 16:23 +1000, Charlie a écrit :
> On Tue, 22 May 2018 07:40:00 +0200
> Daniel CLEMENT  wrote:
> 
> > Le mardi 22 mai 2018 à 11:43 +1000, Charlie a écrit :
> > >   Hello Everyone,
> > > 
> > >   In my templates directory when opened with a file manager,
> > > my directories have always been and still are on top, and below
> > >   them the various individual files in that directory. That
> > > has always been in LyX as well.
> > > 
> > > Suddenly, the opposite is true in LyX, my directories are at the
> > > bottom of the directory I open, and the individual files are at the
> > > top, so I have to scroll down to get to the directories.
> > > 
> > > I imagine I have probably used a some obscure keyboard shortcut to
> > > have this happen, but I have trolled through these and am unable to
> > > find the one that does this. If that is actually the cause.
> > > 
> > > Would appreciate any advice.
> > > 
> > > TIA
> > > Charlie
> > >   
> > I see you are using Linux. Under my distro, LyX does not use the
> > standard dialogs. There are 2 views.
> > 
> > Could it be that you had enable the "detailed" view, and by chance
> > clicked on a column title, like, "sort by type"?
> 
> 
> Thanks Daniel,
> 
> Can't find "sort by type".

I realize I was not very precise. I'm attaching a screenshot of my LyX
dialog; not sure it will work so let me describe as well.

The last 2 icons (before "Documents" and "Examples" are "list view" and
"detailed view" (I do my best to translate from French).

I suggest that you select the latter. Then you end up with an
explorer-like windows, where the columns have titles "name", "size",
"type" and so on. These are clickable. A small arrow (up or down) next
to one column shows how the files and folders are sorted.

Try clicking on the "name" or "type", once or twice. If I do that, I get
precisely what you describe, but then a 2nd click restores the
"directory first" sort order.

HTH - Daniel
> 
> Using LyX Version 2.2.2 Qt Version (run-time): 5.7.1 Qt Version
> (compile-time): 5.7.1
> 
> on
> 
> Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07)
> x86_64 GNU/Linux
> 
> Using fvwm.
> 
> The file manager does not have this problem with the directories
> 
> There is another thing not working with LyX as well and has been so for
> many months. That being the scroll bar is not seen till F7 is pressed
> for spell checking, then the scroll bar appears and remains.
> 
> Will probably just have to live with these things.
> 
> Thank you for your reply,
> Charlie
> 

-- 
Daniel CLEMENT


Re: Weird directory, different order of templates...

2018-05-21 Thread Daniel CLEMENT
Le mardi 22 mai 2018 à 11:43 +1000, Charlie a écrit :
>   Hello Everyone,
> 
>   In my templates directory when opened with a file manager, my
>   directories have always been and still are on top, and below
>   them the various individual files in that directory. That has
>   always been in LyX as well.
> 
> Suddenly, the opposite is true in LyX, my directories are at the bottom
> of the directory I open, and the individual files are at the top, so I
> have to scroll down to get to the directories.
> 
> I imagine I have probably used a some obscure keyboard shortcut to have
> this happen, but I have trolled through these and am unable to find the
> one that does this. If that is actually the cause.
> 
> Would appreciate any advice.
> 
> TIA
> Charlie
> 
I see you are using Linux. Under my distro, LyX does not use the
standard dialogs. There are 2 views.

Could it be that you had enable the "detailed" view, and by chance
clicked on a column title, like, "sort by type"?
-- 
Daniel CLEMENT



Cedilla problem: there and back (solved) again

2017-12-27 Thread Daniel CLEMENT
Hello, 

Last week I had noticed that the long-standing cedilla problem, solved 2
years ago, had come back.

The problem is (was) that the '+c sequence in US-intl keyboard resulted
in accented c instead of cedilla c in QT apps like LyX.

I don't know how to link to a very old thread, I don't want to revive it
either, so I repost for reference the link that allowed me to solve the
problem once again:

https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056

It's the same link as 2 years ago, except that this time only the
solution described in post #39 worked.

Hope it works for at least three years this time!
-- 
Daniel CLEMENT



Re: Math Blackboard (or Blackboard Bold) 1 Insertion?

2017-03-28 Thread Daniel CLEMENT
Le mardi 28 mars 2017 à 11:41 -0400, Paul A. Rubin a écrit :
> On 03/28/2017 09:13 AM, Joel Kulesza wrote:
> 
> > Colleagues, 
> > 
> > 
> > Is there a recommended method to insert a glyph for a blackboard (or
> > blackboard-bold) 1?
> > 
> > 
> > I've tried \mathbb in math-mode, but then when I insert "1", I
> > instead get a \mathbb{1}.
> > 
> > 
> > I'd like to follow convention and use this to denote the "indicator
> > function."
> > 
> > 
> > For example, see the attached results where either are acceptable to
> > me.
> > 
> > 
> > Thank you,
> > 
> > Joel
> I don't know about "recommended", but this works for me:
> 
> 1. Install the bbm package.
> 2. In the preamble, add \usepackage{bbm}.
> 3. In the math inset, type \mathbbm, then \{ to get an inset for the
> argument, and type 1 for the argument. LyX does not recognize \mathbbm
> as a math command, so it won't appear on the toolbars and LyX won't
> autocomplete the command for you while typing.
> 
> Paul
> 
I knew another possibility: put in the preamble

\DeclareSymbolFont{bbold}{U}{bbold}{m}{n}
\DeclareSymbolFontAlphabet{\mathbbold}{bbold}

(where did I find that ?!)

Then, a blackboard bold 1 can be obtained with \mathbbold{1}.

It appears nicely in the LyX editor.

I'll compare that with Paul's suggestion ASAP.

Daniel
-- 
Daniel CLEMENT



Re: alpha dot

2017-01-03 Thread Daniel CLEMENT
Le lundi 02 janvier 2017 à 11:25 +0100, Wolfgang Engelmann a écrit :
> How could I get a dot on an alpha by using the math function of lyx?

Hmm... The dot is available in the math "decorations" panel (5th
position on my setup), or the math shortcut Ctrl+,

Anyway, it's supported in the LyX interface--no need for ERT.

>  Or do I have to use a tex insert: 
> 
> $\dot \alpha$
> 
> Wolfgang
> 
> 
HTH,
-- 
Daniel CLEMENT



Re: Problem with viewing a pdf but NOT a DVI

2016-12-31 Thread Daniel CLEMENT
Le samedi 31 décembre 2016 à 13:59 +, Guenter Milde a écrit :
> On 2016-12-31, Justin Whitty wrote:
> 
> > Today I have installed LyX from source on Linux Mint Delian Edition
> ...
> 
> > Auto-view file /tmp/lyx_tmpdir.LRmHmuU17448/lyx_tmpbuf0/newfile1.pdf failed
> 
> We had a report on lyx-devel, that Mint uses a new PDF viewer that is
> currently not in the list that LyX searches when (re)configuring.

PMFJI, but I'm also using Linux Mint Debian Edition (LMDE). Here is what
I can tell you about readers:

Linux Mint did introduce some new "X-apps" which aim to be usable under
any desktop they support (that is, only Mate and Cinnamon under LMDE).
Among them is a PDF reader simply called "xreader". It has the same look
and feel as the previous readers: Atril (Mate) and Evince (Cinnamon).

But, AFAIK, it's not pushed by default under the current LMDE (though
they are in the repo.); you have to install it explicitly. (It will
probably be the default under LMDE3, late 2017[?]).

However, I did install these x-apps just out of curiosity, and I can
tell that xreader works fine with LyX (v. 2.1.3 from the repo.). One
nice feature it has, is to retain the window preview size (unlike
previous readers). I had nothing to do in LyX, only to declare xreader
as the system default viewer.

Here is some more info about these x-apps:
http://segfault.linuxmint.com/2016/02/the-first-two-x-apps-are-ready/

HTH - happy 2017, Daniel

> 
> May be the document is exported fine but cannot be shown because LyX did not
> find a viewer.
> 
> Check with File>Export and opening the resulting file
> If this works, set a custom PDF viewer in Settings>Preferences.
> 
> Günter
> 
> 
> 

-- 
Daniel CLEMENT



Re: Menu fonts

2016-09-26 Thread Daniel CLEMENT
Le dimanche 25 septembre 2016 à 09:31 -0400, David L. Johnson a écrit :
> >> I recommend compiling LyX 2.2.0 with Qt 5.6. The latter knows about
> >> high-dpi monitors, and it uses the system settings to select the
> >> appropriate magnification.
> And what "system settings" allow me to change the fontsize globally?  I 
> use xfce4, and have also been looking for that.
> > [...]
With QT4 (no QT5 yet here) I can manage menu font sizes for QT apps with
the qtconfig-qt4 utility. It works well in XFCE.

However, AFAIK there's no QT5 counterpart (am I wrong?)

HTH,
-- 
Daniel CLEMENT



Test - please ignore

2016-07-16 Thread Daniel CLEMENT
Sorry - just a test to check that I'm still subscribed.
-- 
Daniel CLEMENT



Re: No graphics preview within LyX

2016-05-31 Thread Daniel CLEMENT
Le lundi 30 mai 2016 à 13:51 +0200, Kornel Benko a écrit :
> Am Montag, 30. Mai 2016 um 13:40:16, schrieb Daniel CLEMENT 
> 
> > Le lundi 30 mai 2016 à 13:24 +0200, Kornel Benko a écrit :
> > > Am Montag, 30. Mai 2016 um 13:10:40, schrieb Daniel CLEMENT 
> > > 
> > > > Dear list members,
> > > > 
> > > > I have this issue with a PC at work: graphics are not displayed in sh:
> > > > 1: convert: not found
> > > > /usr/share/lyx/scripts/convertDefault.py ERROR
> > > > Execution of "convert" failed.the LyX window. I got this error:
> > > > 
> > > > "Error converting to readable format"
> > > > 
> > > > (I do my best to translate from French.)
> > > > 
> > > > However, the graphic file is here, and previewing the whole file (e.g.
> > > > in PDF) is fine.
> > > > 
> > > > The system is Linux Debian Stable (w/ LyX 2.1.3), it's supposed to be
> > > > the very same
> > > > setup as on my home PC (except that it's 32-bit instead of 64). My own
> > > > PC does not have this problem.
> > > > 
> > > > If I launch LyX from the command line, I get this error message in the
> > > > terminal:
> > > > 
> > > > sh: 1: convert: not found
> > > > /usr/share/lyx/scripts/convertDefault.py ERROR
> > > > Execution of "convert" failed.
> > > > 
> > > > I suppose some package is missing , but I don't know which one.
> > > > 
> > > > TIA for any advice - regards,
> > > 
> > > probably package 'imagemagick'.
> > > 
> > >   Kornel
> > Well that was my 1st thought also, but I checked, and it is there. (I
> > did not try to reinstall it though.)
> Here it is:
> # which covert
>   /usr/bin/convert
> #ls -l /usr/bin/convert
>   /usr/bin/convert -> /etc/alternatives/convert
> #ls -l  /etc/alternatives/convert
>   /etc/alternatives/convert -> /usr/bin/convert.im6
> #dpkg -S /usr/bin/convert.im6
>   imagemagick
> 
> But apparently our platforms differ.
> 
>   Kornel
I could re-check the PC at work this morning, and indeed imagemagick was
missing. (imagemagick-commom was there, but the column in synaptic was
too narrow and I did not notice the difference...)

So, of course, installing imagemagick solved the problem. I wrongly
assumed that it was a LyX dependency, but I guess it got installed
otherwise on my home PC.

Sorry about my mistake, and thanks for the help.
-- 
Daniel CLEMENT



Re: No graphics preview within LyX

2016-05-30 Thread Daniel CLEMENT
Le lundi 30 mai 2016 à 13:51 +0200, Kornel Benko a écrit :
> Am Montag, 30. Mai 2016 um 13:40:16, schrieb Daniel CLEMENT 
> 
> > Le lundi 30 mai 2016 à 13:24 +0200, Kornel Benko a écrit :
> > > Am Montag, 30. Mai 2016 um 13:10:40, schrieb Daniel CLEMENT 
> > > 
> > > > Dear list members,
> > > > 
> > > > I have this issue with a PC at work: graphics are not displayed in sh:
> > > > 1: convert: not found
> > > > /usr/share/lyx/scripts/convertDefault.py ERROR
> > > > Execution of "convert" failed.the LyX window. I got this error:
> > > > 
> > > > "Error converting to readable format"
> > > > 
> > > > (I do my best to translate from French.)
> > > > 
> > > > However, the graphic file is here, and previewing the whole file (e.g.
> > > > in PDF) is fine.
> > > > 
> > > > The system is Linux Debian Stable (w/ LyX 2.1.3), it's supposed to be
> > > > the very same
> > > > setup as on my home PC (except that it's 32-bit instead of 64). My own
> > > > PC does not have this problem.
> > > > 
> > > > If I launch LyX from the command line, I get this error message in the
> > > > terminal:
> > > > 
> > > > sh: 1: convert: not found
> > > > /usr/share/lyx/scripts/convertDefault.py ERROR
> > > > Execution of "convert" failed.
> > > > 
> > > > I suppose some package is missing , but I don't know which one.
> > > > 
> > > > TIA for any advice - regards,
> > > 
> > > probably package 'imagemagick'.
> > > 
> > >   Kornel
> > Well that was my 1st thought also, but I checked, and it is there. (I
> > did not try to reinstall it though.)
> Here it is:
> # which covert
>   /usr/bin/convert
> #ls -l /usr/bin/convert
>   /usr/bin/convert -> /etc/alternatives/convert
> #ls -l  /etc/alternatives/convert
>   /etc/alternatives/convert -> /usr/bin/convert.im6
> #dpkg -S /usr/bin/convert.im6
>   imagemagick
> 
> But apparently our platforms differ.
> 
>   Kornel
Right now I can only test on my home PC. I get the same results (except
"convert-im6" instead of "convert.im6"). I'll check these commands on my
work PC ASAP.
-- 
Daniel CLEMENT



Re: No graphics preview within LyX

2016-05-30 Thread Daniel CLEMENT
Le lundi 30 mai 2016 à 13:24 +0200, Kornel Benko a écrit :
> Am Montag, 30. Mai 2016 um 13:10:40, schrieb Daniel CLEMENT 
> 
> > Dear list members,
> > 
> > I have this issue with a PC at work: graphics are not displayed in sh:
> > 1: convert: not found
> > /usr/share/lyx/scripts/convertDefault.py ERROR
> > Execution of "convert" failed.the LyX window. I got this error:
> > 
> > "Error converting to readable format"
> > 
> > (I do my best to translate from French.)
> > 
> > However, the graphic file is here, and previewing the whole file (e.g.
> > in PDF) is fine.
> > 
> > The system is Linux Debian Stable (w/ LyX 2.1.3), it's supposed to be
> > the very same
> > setup as on my home PC (except that it's 32-bit instead of 64). My own
> > PC does not have this problem.
> > 
> > If I launch LyX from the command line, I get this error message in the
> > terminal:
> > 
> > sh: 1: convert: not found
> > /usr/share/lyx/scripts/convertDefault.py ERROR
> > Execution of "convert" failed.
> > 
> > I suppose some package is missing , but I don't know which one.
> > 
> > TIA for any advice - regards,
> 
> probably package 'imagemagick'.
> 
>   Kornel
Well that was my 1st thought also, but I checked, and it is there. (I
did not try to reinstall it though.)
-- 
Daniel CLEMENT



No graphics preview within LyX

2016-05-30 Thread Daniel CLEMENT
Dear list members,

I have this issue with a PC at work: graphics are not displayed in sh:
1: convert: not found
/usr/share/lyx/scripts/convertDefault.py ERROR
Execution of "convert" failed.the LyX window. I got this error:

"Error converting to readable format"

(I do my best to translate from French.)

However, the graphic file is here, and previewing the whole file (e.g.
in PDF) is fine.

The system is Linux Debian Stable (w/ LyX 2.1.3), it's supposed to be
the very same
setup as on my home PC (except that it's 32-bit instead of 64). My own
PC does not have this problem.

If I launch LyX from the command line, I get this error message in the
terminal:

sh: 1: convert: not found
/usr/share/lyx/scripts/convertDefault.py ERROR
Execution of "convert" failed.

I suppose some package is missing , but I don't know which one.

TIA for any advice - regards,
-- 
Daniel CLEMENT



Re: Updating TexLive from Ubuntu/Mint

2016-03-21 Thread Daniel CLEMENT
Le lundi 21 mars 2016 à 11:20 -0400, UD a écrit :
> This is not a new topic, and this is probably not the right place to
> ask, but 
> how do I update TexLive in Ubuntu (15.10) or Mint (17.3)?  When
> TexLive is installed via Ubuntu, there is no package manager, and
> Ubuntu discourages package management that is done outside of its own
> package management. 

Yes, and with Ubuntu's "fixed base" you don't get major version updates.

Perhaps this PPA can help?

https://launchpad.net/~jonathonf/+archive/ubuntu/texlive

(Note that I'm not using it, I've been an Ubuntu user but I switched to
Debian.)

> Thanks
> E.Kaplan 
> --
HTH,
-- 
Daniel CLEMENT



Re: Render inkscape text with latex

2015-12-02 Thread Daniel CLEMENT
Le mardi 01 décembre 2015 à 13:27 -0600, Rajil Saraswat a écrit :
> Hello,
> 
> I want the text used in svg images to be rendered using latex.
> Inkscape provides instructions at
> http://wiki.inkscape.org/wiki/index.php/LaTeX on how to do this with
> Lyx. However this uses ERT and one loses the capability of seeing
> previews within Lyx.
> 
> Is it possible to modify the SVG convertor with lyx to automatically
> carry out the steps given on the inkscape wiki mentioned above?
> 
> Thanks
Hi,

The solution described in the wiki is very elaborate, but have you
noticed the tiny link to the "textext" extension for Inkscape?

I find it very helpful for writing TeX formulas into Inkscape. In
particular, you can use whatever preamble file you want within textext,
e.g. to specify a given font. Real easy to use. You might want to give
it a try.

HTH, Daniel 
-- 
Daniel CLEMENT



Re: DNS issues resolved (users should receive the list messages now)

2015-09-18 Thread Daniel CLEMENT
Le mercredi 16 septembre 2015 à 16:03 -0400, Scott Kostyshak a écrit :
> I just heard from our admin that:
> 
> the DNS problems are resolved, [...]
> 
> Scott
Just out of curiosity, is (was) it the reason for the "warnings" that I
got occasionally (maybe every 1-2 months) from the list manager? (Like
messages to me having bounced, probe being sent and so on.)

Despite this, I never seemed to have missed a single message from the
list!
-- 
Daniel CLEMENT



Re: How to change Contents to Inhaltsverzeichnis in German edition of Komascript book

2015-09-14 Thread Daniel CLEMENT
Hi,

Le lundi 14 septembre 2015 à 16:22 +0200, Wolfgang Engelmann a écrit :
> I got in the German version of a (KomaScript) book Contents instead of 
> Inhaltsverzeichnis,

You can always add to the LaTeX preamble

\renewcommand\contentname{Inhaltsverzeichnis}

> List of figures instead of Abbildungsverzeichnis

\renewcommand\listfigurename ...

> Bibliography instead of Literaturverzeichnis

\renewcommand\bibname ...

> 
> 
> I therefore copied the preample stuff from another German book (Koma), 
> which renders correctly, but do still get the English names
> 
> What am I missing?
> 
> Wolfgang

But you would expect either LyX, or the language package, to take care
of this.
-- 
Daniel CLEMENT



Re: :yx scanning disks on opening

2015-07-09 Thread Daniel CLEMENT
Le jeudi 09 juillet 2015 à 10:53 -0700, Bob Alvarez a écrit :
> >
> > 1. I usually turn my computer off at night. I see the disk scanning when
> > I first start Lyx after the computer has been off. After the first
> > opening, I do not see the scanning if I close Lyx and then re-open it
> >
> 
> This is not correct. Lyx seems to scan the flash drive every time I open it.
> 
> Bob
> 
Forgive a trivial suggestion, but could it be that a file was opened
directly from the flash drive, and would still be in the recent files
list?
-- 
Daniel CLEMENT



Re: LyX dialogs not using theme icons any more?

2015-06-19 Thread Daniel CLEMENT
Le jeudi 18 juin 2015 à 15:44 +0200, Jean-Marc Lasgouttes a écrit :
> Le 18/06/2015 07:51, Daniel CLEMENT a écrit :
> > Hello,
> >
> > I only just noticed after upgrading to LyX 2.1.3 that the dialog boxes
> > such as File-Open, File-Save etc. no longer used the system theme for
> > icons (but instead a faded blue).
> >
> > Maybe I was just lucky enough that in 2.1.2, LyX's own theme was just
> > very close to my system theme? Has something changed? Perhaps a new
> > setting that I have overlooked?
> 
> Did you check other Qt applications?
> 
> JMarc
> 
As an update, I just installed a Debian PC with LyX 2.1.2 and it has the
same blue icons as my own LyX 2.1.3.

So it looks like it's not a LyX problem, but perhaps with some Qt
update.
-- 
Daniel CLEMENT



Re: LyX dialogs not using theme icons any more?

2015-06-18 Thread Daniel CLEMENT
Le jeudi 18 juin 2015 à 15:44 +0200, Jean-Marc Lasgouttes a écrit :
> Le 18/06/2015 07:51, Daniel CLEMENT a écrit :
> > Hello,
> >
> > I only just noticed after upgrading to LyX 2.1.3 that the dialog boxes
> > such as File-Open, File-Save etc. no longer used the system theme for
> > icons (but instead a faded blue).
> >
> > Maybe I was just lucky enough that in 2.1.2, LyX's own theme was just
> > very close to my system theme? Has something changed? Perhaps a new
> > setting that I have overlooked?
> 
> Did you check other Qt applications?
> 
> JMarc
> 
Hmm... Texmaker for example? I hardly ever use it, but it does use the
standard dialogs (and also the icons from the system theme).
-- 
Daniel CLEMENT



LyX dialogs not using theme icons any more?

2015-06-17 Thread Daniel CLEMENT
Hello,

I only just noticed after upgrading to LyX 2.1.3 that the dialog boxes
such as File-Open, File-Save etc. no longer used the system theme for
icons (but instead a faded blue).

Maybe I was just lucky enough that in 2.1.2, LyX's own theme was just
very close to my system theme? Has something changed? Perhaps a new
setting that I have overlooked?

Best regards,
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 12:16 +0200, Daniel CLEMENT a écrit :
> Le mercredi 17 juin 2015 à 12:03 +0200, Jean-Marc Lasgouttes a écrit :
> > Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :
> > > I can reproduce your problem with my oldish Ubuntu 12.04. However, the
> > > same happens in all Qt applications. Therefore the bug is not ours and
> > > the solution, if any, needs to be searched in qt-relqted forums IMO.
> 
> Jean-Marc, you're absolutely right! I have very few qt-apps but I
> managed to try Ipython-qtconsole (which I never use) and I indeed get an
> accented c there too. I should not have blamed LyX!
> 
> I'll search the qt-forums, but perhaps in the meantime LyX will come up
> with some form of automatic correction that will turn all my " ć "into "
> ç " ...
> > 
> > You could try this (old-ish) solution, for example:
> > http://ubuntuforums.org/showthread.php?t=1474091
> 
> I doubt I can use that workaround because my DE is XFCE, and I have no
> trace of im-switch or other KDE advanced tweaks :-(
> > 
> > JMarc
> Thanks for explaining where the bug comes from. Best regards,

SOLVED anyhow, according to this (highly controversial) bug report:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056
(post #28, quoted below for reference)
--
For QT applications you need to edit this file:

/usr/share/X11/locale/en_US.UTF-8/Compose

and change every accented Cs by their corresponding Ç and ç (two times),
in these lines:

  : "Ç" U0106 # LATIN CAPITAL LETTER C WITH ACUTE
  : "ç" U0107 # LATIN SMALL LETTER C WITH ACUTE
--
BR,
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 12:03 +0200, Jean-Marc Lasgouttes a écrit :
> Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :
> > I can reproduce your problem with my oldish Ubuntu 12.04. However, the
> > same happens in all Qt applications. Therefore the bug is not ours and
> > the solution, if any, needs to be searched in qt-relqted forums IMO.

Jean-Marc, you're absolutely right! I have very few qt-apps but I
managed to try Ipython-qtconsole (which I never use) and I indeed get an
accented c there too. I should not have blamed LyX!

I'll search the qt-forums, but perhaps in the meantime LyX will come up
with some form of automatic correction that will turn all my " ć "into "
ç " ...
> 
> You could try this (old-ish) solution, for example:
> http://ubuntuforums.org/showthread.php?t=1474091

I doubt I can use that workaround because my DE is XFCE, and I have no
trace of im-switch or other KDE advanced tweaks :-(
> 
> JMarc
Thanks for explaining where the bug comes from. Best regards,
-- 
Daniel CLEMENT


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 11:01 +0200, Jean-Marc Lasgouttes a écrit :
> Le 17/06/2015 10:55, Daniel CLEMENT a écrit :
> > After reconfiguring, my perso.kmap file does something indeed, but not
> > what I would expect. Here is what I put in it:
> > --
> > \kmod ' acute aeiouAEIOU
> > \kmod ` grave aeiouAEIOU
> > \kxmod acute c ç
> > \kxmod acute C Ç
> > --
> > but still "'c" gives me an accented "c". Moreover, I can no longer type
> > the apostrophe with acute accent+space: acute accent+2 spaces gives me
> > an "empty" acute accent...
> 
> What is your OS? 

It's Linux Mint Debian (essentially the same as Debian Testing).

> How do you obtain ç in other applications?

" 'c " produces ç in every other application. (That's consistent with
the system-wide keyboard setting: US Intl. with dead keys.)

> 
> JMarc

-- 
Daniel CLEMENT


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:23 +, Guenter Milde a écrit :
> On 2015-06-17, Daniel CLEMENT wrote:
> 
> > Oops--I thought Tools > Reconfigure was only for LaTeX packages... I
> > only restarted LyX. Now "european.kmap" seems to work as it should. 
> 
> > That's not quite the way I want my keyboard to work, but I'll try and
> > use this file as a template for my own "perso.kmap", not forgetting to
> > reconfigure each time :-)
> 
> > Now I'll try and play with the settings, and hopefully get this working.
> 
> You know, that there is a GUI for key configuration under Tools>Settings?
> This should work without reconfiguration.
> 
> Günter
> 
Do you mean Tools>Settings>Shortcuts? Well I have made a shortcut, as a
workaround, for typing the cedilla "c" (Ctrl+Shift+c). But I don't know
how to make a shortcut involving a dead key, namely, the acute accent.
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:13 +0200, Liviu Andronic a écrit :
> 
> 
> On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT
>  wrote:
> Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
> >
> > [...]
> > >
> > > Should I use \kmod or \kxmod? acute or ' ? cC or c and C
> on separate
> > > lines? In fact I get the impression that my .kmap file has
> no effect,
> > > regardless of what I put into it.
> > >
> > > TIA for any input. Best regards,
> > I find ",c" (comma c, rather than apostrophe c) gives a
> cedilla "c"
> > using "european" as the primary keyboard map under
> > Tools>Preferences>Editing>Keyboard/Mouse.
> >
> > Andrew
> I tried it, though it's not designed for keyboard with dead
> keys, but
> nothing changed (",c" --> comma and "c"; "'c" --> accented
> "c"). LyX
> seems to disregard any kmap file I choose in the
> preferences...
> 
> 
> Do you do Tools > Reconfigure after changing kmap files? 
> 
> 
> Liviu 
> 
After reconfiguring, my perso.kmap file does something indeed, but not
what I would expect. Here is what I put in it:
--
\kmod ' acute aeiouAEIOU
\kmod ` grave aeiouAEIOU
\kxmod acute c ç
\kxmod acute C Ç
--
but still "'c" gives me an accented "c". Moreover, I can no longer type
the apostrophe with acute accent+space: acute accent+2 spaces gives me
an "empty" acute accent...
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-16 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:13 +0200, Liviu Andronic a écrit :
> 
> 
> On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT
>  wrote:
> Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
> >
> > [...]
> > >
> > > Should I use \kmod or \kxmod? acute or ' ? cC or c and C
> on separate
> > > lines? In fact I get the impression that my .kmap file has
> no effect,
> > > regardless of what I put into it.
> > >
> > > TIA for any input. Best regards,
> > I find ",c" (comma c, rather than apostrophe c) gives a
> cedilla "c"
> > using "european" as the primary keyboard map under
> > Tools>Preferences>Editing>Keyboard/Mouse.
> >
> > Andrew
> I tried it, though it's not designed for keyboard with dead
> keys, but
> nothing changed (",c" --> comma and "c"; "'c" --> accented
> "c"). LyX
> seems to disregard any kmap file I choose in the
> preferences...
> 
> 
> Do you do Tools > Reconfigure after changing kmap files? 
> 
> 
> Liviu 
> 
Oops--I thought Tools > Reconfigure was only for LaTeX packages... I
only restarted LyX. Now "european.kmap" seems to work as it should. 

That's not quite the way I want my keyboard to work, but I'll try and
use this file as a template for my own "perso.kmap", not forgetting to
reconfigure each time :-)

Now I'll try and play with the settings, and hopefully get this working.
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-16 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
> 
> [...]
> >
> > Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
> > lines? In fact I get the impression that my .kmap file has no effect,
> > regardless of what I put into it.
> >
> > TIA for any input. Best regards,
> I find ",c" (comma c, rather than apostrophe c) gives a cedilla "c" 
> using "european" as the primary keyboard map under 
> Tools>Preferences>Editing>Keyboard/Mouse.
> 
> Andrew
I tried it, though it's not designed for keyboard with dead keys, but
nothing changed (",c" --> comma and "c"; "'c" --> accented "c"). LyX
seems to disregard any kmap file I choose in the preferences...
-- 
Daniel CLEMENT



My ongoing cedilla problem

2015-06-16 Thread Daniel CLEMENT
Dear list members,

There's one small issue I've never been able to get fixed (since v. 1.4
I believe).

Though I write in French, I prefer to use a US-intl keyboard (for easy
access to various brackets), typing accents with dead keys.

Trouble is, LyX keeps translating " 'c " into an accented "c", unlike
any other app (which gives a cedilla "c", the expected behavior).

I carefully reviewed section 4.2 of the Customization manual, but though
I understand it's about tweaking the .kmap file, I'm a little
overwhelmed by the number of possibilities.

Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
lines? In fact I get the impression that my .kmap file has no effect,
regardless of what I put into it.

TIA for any input. Best regards,
-- 
Daniel CLEMENT



Re: ulem.sty

2015-05-23 Thread Daniel CLEMENT
Le samedi 23 mai 2015 à 11:37 +, Guenter Milde a écrit :
> On 2015-05-22, Gordon Cooper wrote:
> >   Thanks for the suggestion Michael. MX-Linux is Debian based
> > so the RPM search did not work.
> 
> 
> For debian based Linux distributions (*.deb packages), the search tool is
> apt-file. After installing and initializing (`apt-file update` as root), you
> can search with `apt-file find ulem.sty`.

Good to know: Synaptic's search tool fails to find ulem.sty, whereas
apt-file find succeeds perfectly. Thanks for the good advice.

> 
> Günter
> 

-- 
Daniel CLEMENT



Re: copy and paste of latex insert

2014-10-04 Thread Daniel CLEMENT
Le vendredi 03 octobre 2014 à 19:26 -0400, Scott Kostyshak a écrit :
> On Fri, Oct 3, 2014 at 4:05 PM, Scott Kostyshak  wrote:
> > On Fri, Oct 3, 2014 at 2:40 PM, emile lunardon  
> > wrote:
> >> LyX 2.1.2 has forgotten how to copy and paste a LaTeX insert properly. Only
> >> the text information is pasted ans the surrounding insert is missing.
> >
> > Thanks for the report.
> >
> > Can you please be more specific. 2.1.2 compared to what? 2.1.1? 2.0.8.1?
> > What is a LaTeX insert? Do you mean an ERT box? Can you give specific
> > instructions for how to reproduce? e.g. 1. Go to Insert > TeX Code. 2.
> > Write "$\alpha"$ in the ERT. 3. Select the box and copy it. 4... paste
> > it (somewhere specific?)
> >
> 
> Sent to me from the user:
> 
> The phénomena is observed with the recent LyX 2.1.2 compared to LyX
> 2.0.8.1 on Windows .
> 
> The Latex insert is obtained by the command Ctrl+L and filled with some text.
> 
> The copy and paste of the Latex insert is made in the usual way with a
> mouse selection followed by Ctrl+V.
> 
> Thanks, Emile.
> 
> Scott
FWIW, I tried that on Linux Debian and I couldn't observe what Emile
describes. The ERT box is copied and pasted in the same condition (open
or closed) as it was originally. Windows issue?
-- 
Daniel CLEMENT


Re: File no longer compiles with Luatex 2014

2014-10-03 Thread Daniel CLEMENT
Le mardi 16 septembre 2014 à 11:55 +0200, Daniel CLEMENT a écrit :
> Dear list members,
> 
> One of my PCs (running Linux Debian) has received a Texlive update (2013
> to 2014) as part of a more general update. LyX is still 2.0.6; I
> reconfigured it after the upgrade.
> 
> Most documents compile fine but I'm getting an error with one that has
> to use Luatex. Below is a copy of the 1st error. (Oddly the error window
> is labeled "xetex error".)
> 
> However, the very same file still compiles well on my main PC (TL 2013).
> So I must be missing something within my Luatex setup? 
> 
> TIA for any input - best regards,

Well, answering to myself: the package lmodern was missing on the latter
PC. Don't even know how it could work before... Perhaps a subtle
difference between TeXlive 20113 and 2014..
-- 
Daniel CLEMENT



Re: Matching math font with TG Pagella

2014-10-03 Thread Daniel CLEMENT
Le vendredi 03 octobre 2014 à 08:58 +, Guenter Milde a écrit :
> On 2014-09-27, Daniel CLEMENT wrote:
> > Hello,
> 
> > I like to use the TexGyre Pagella font in many documents, better that
> > Palatino which lacks ligatures.
> 
> > However, Palatino triggers a nice matching font for maths, and I was
> > never able to get it with TG Pagella, at least under LyX 2.0.6.
> 
> > Now that I've installed LyX 2.1.1, I wondered if perhaps it was easier
> > to achieve, but I can't find how to do it in the new fonts settings
> > dialog box.
> 
> > Do I have to add a package or something in the preamble?
> 
> You may try the newpx package.
> http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/newpx.html
> 
Thanks a lot, that works beautifully. The newpxmath font is very nice.

Just out of curiosity, and to check that I'm doing things properly:
- I select TexGyge Pagella in LyX's fonts dialog;
- but I can't choose newpxmath from there so I have to add
\usepackage{newpxmath}
to my document preamble.

Is that correct?

> Alternatively,
> 

-- 
Daniel CLEMENT



Matching math font with TG Pagella

2014-09-27 Thread Daniel CLEMENT
Hello,

I like to use the TexGyre Pagella font in many documents, better that
Palatino which lacks ligatures.

However, Palatino triggers a nice matching font for maths, and I was
never able to get it with TG Pagella, at least under LyX 2.0.6.

Now that I've installed LyX 2.1.1, I wondered if perhaps it was easier
to achieve, but I can't find how to do it in the new fonts settings
dialog box.

Do I have to add a package or something in the preamble?

TIA - best regards, 
-- 
Daniel CLEMENT


File no longer compiles with Luatex 2014

2014-09-16 Thread Daniel CLEMENT
Dear list members,

One of my PCs (running Linux Debian) has received a Texlive update (2013
to 2014) as part of a more general update. LyX is still 2.0.6; I
reconfigured it after the upgrade.

Most documents compile fine but I'm getting an error with one that has
to use Luatex. Below is a copy of the 1st error. (Oddly the error window
is labeled "xetex error".)

However, the very same file still compiles well on my main PC (TL 2013).
So I must be missing something within my Luatex setup? 

TIA for any input - best regards,
-- 
Daniel CLEMENT
--
(error:)
! Font \EU2/lmr/m/sl/10=file:lmromanslant10-regular:script=latn;+trep;
+tlig; at 10pt not loadable: metric data not found or bad.
 




Re: Still having troubles with lyx 2.1

2014-07-10 Thread Daniel CLEMENT
Le jeudi 10 juillet 2014 à 09:14 +0200, Liviu Andronic a écrit :
> On Thu, Jul 10, 2014 at 7:50 AM, Jürgen Spitzmüller  wrote:
> > Am Mittwoch 09 Juli 2014, 11:43:06 schrieb Samuel Gamtessa:
> >> Hi
> >> I got a bug and my file crushed, I can see the emergency file but my file 
> >> is
> >> still not opening.
> >>
> >> Is there anyway to recover my file?
> >
> > * Check if you have set up a backup directory in Tools > Preferences > Paths
> >   - If yes, look, there should be a rather recent version of the file there.
> >   - If no, set up the directory for future issues.
> >
> Can't we by default set up a path to a (temporary) folder? Not all
> users think of doing this..
> 
> Liviu

Well I'm an example of a user who hadn't thought of doing this. Since I
had enabled "automatic backups" under "documents management", I thought
I was 100% safe until I discovered the path setting in this thread and
another recent one. 

Now I've set a backup path, but before I that, where did the automatic
backups go? I don't quite understand how these 2 settings are related.

-- 
Daniel CLEMENT



test-please ignore

2014-06-22 Thread Daniel CLEMENT
Am I still subscribed?
-- 
Daniel CLEMENT



Re: Shaded Tables?

2014-06-20 Thread Daniel CLEMENT
Le vendredi 20 juin 2014 à 11:22 -0400, Benedict Holland a écrit :
> Before you do this... read this article.
> http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001IV

On this page, I noticed the following comment:

[/quote]
 I'm a fan of putting a thin dotted or light-colored line below every
third row in the table (as at left, in the above image) for two reasons:

When scanning across rows, the reader can keep his place by using
the position of the line as a point of reference. Each row either has a
line directly above it, below it, or has no line adjacent to it.
[/unquote]

I couldn't state it better. This reminded me of a rather old book I was
reading when I was young (Dungeons and Dragons manual...) with numerous
tables. The background was alternately white and grey, but changed only
every 3rd lines. So the zebra effect, if any, was not intrusive.

I've always found it a example of good readability, for the reason
explained above. However, the table has to be long enough, and it may
look bad in photocopy.
> 
> Zebra tables are almost always a bad idea. The correct way to solve
> the problem is through typesetting and either avoiding or using
> horizontal lines. You also should look at booktabs for some excellent
> visual explanations. Basically, try your best to not do this. It is
> quite hard for people to read and can be completely unavoidable. If
> you think you need this solution, the problem is that your columns are
> too wide for the data and there isn't enough spacing between your
> rows. 
> 
> 
> ~Ben
> 
> 
> On Fri, Jun 20, 2014 at 9:08 AM, Evan Langlois 
> wrote:
> Thanks guys.
> 
> 
> Tom's suggestion worked great (except its ...
> 
> \usepackage[table]{xcolor} 
> 
> not {color}).  Don't know how you found that!  PERFECT!
> 
> 
> 
> Scott - Table 2.16 doesn't look like its shaded that way, and
> trying to pull it up in PDF tells me that package babel has
> unknown option ngerman and craps out on me.   Something
> broken?  Bug or my config?
> 
> 
> 
> -- Evan
> 
> 
> 

-- 
Daniel CLEMENT



Re: pick out all graphics from a lyx file?

2014-06-10 Thread Daniel CLEMENT
Le mardi 10 juin 2014 à 23:34 +0200, Liviu Andronic a écrit :
> On Tue, Jun 10, 2014 at 7:35 PM, Neal Becker  wrote:
> > Helpful, but does not pick out a page from a multi-page pdf
> >
> Oh, then (on Linux) I would recommend:
> PDF Mod: https://wiki.gnome.org/Apps/PdfMod

PMFJI, but I take opportunity of this thread to mention a strange
"feature": on my setup (LyX 2.0.6/Debian), PDFmod can't open the
LyX-produced PDFs ("an error occurred while opening..."). Can someone
confirm?

I can't tell whether that's a PDFMod, LyX or even LaTeX issue, but
PDFMod doesn't rely on the pdftk command-line utility (which works
fine).

PDF-Shuffler is fine.

Still, it's a little issue: imagine a (non-LyX) user who has received a
PDF coming from LyX, and wants to extract some pages or pictures: he
could wonder why PDFMod doesn't handle this document.

> PDF Chain: http://pdfchain.sourceforge.net/
> PDF-Shuffler: http://sourceforge.net/projects/pdfshuffler/
> 
> Either of these would allow to extract individual pages from a PDF.
> 
> Liviu
> 
> 

-- 
Daniel CLEMENT


Re: 1st paragraph indented

2014-05-21 Thread Daniel CLEMENT
Le mercredi 21 mai 2014 à 08:02 -0400, Scott Kostyshak a écrit :
> [...]
> >> Also, which version of LyX are you using?
> >
> > It's LyX 2.0.6, right from the Debian repository (but I think I had
> > noticed that already some time ago). Wonder if it's still the case in
> > 2.1.
> 
> It is still the case. It turns out it has to do with the babel
> definition for French. Take a look at
> ftp://ftp.fu-berlin.de/unix/tex/CTAN/language/babel/contrib/frenchb/frenchb.pdf
> See section 2.11:
> In French the first paragraph of each section should be indented, this
> is another difference with US-English.

Understood. Long ago I used to achieve this with the indenfirst package,
but it looks like frenchb wants to take care of this now.

Now, the frenchb definitions appear to override the settings in LyX.
With the help of your link, I was able to cancel the frenchb default
behavior with

\AtBeginDocument{\frenchbsetup{IndentFirst=false}}

but this way, the 1st paragraph _never_ gets indented, regardless of the
"indent paragraph" box being checked or not.

> 
> I'm not sure how LyX could know this. We could make a list of how
> things currently are in babel and hope the indentations don't change
> often. Parsing the language definition files is probably overkill.
> 
> Scott

I agree that it looks unreasonably complicated. frenchb is very heavy
and intrusive. I often wish it would _just_ look after indentation.
-- 
Daniel CLEMENT


Re: 1st paragraph indented

2014-05-21 Thread Daniel CLEMENT
Le mercredi 21 mai 2014 à 06:20 -0400, Scott Kostyshak a écrit :
> On Wed, May 21, 2014 at 6:15 AM, Daniel CLEMENT  wrote:
> > I understand that it is good practice not to indent the first paragraph
> > after a section. LyX indeed shows it as not indented. But in this case,
> > the UI "guesses wrong", and under paragraph properties, the "indent
> > paragraph" check box is ticked. Then, on preview, the 1st paragraph _is_
> > indented.
> >
> > This can be corrected by unchecking the relevant box, but why doesn't
> > the GUI reflect properly this setting? I wonder if perhaps it is a side
> > effect of the language settings (my documents are in French).
> >
> > Thank you for any input - regards,
> 
> Hi Daniel,
> 
> Can you send a small example?

Sure. I had not done it because it is trivial: just one section title
and one paragraph. I'm attaching it.

> Also, which version of LyX are you using?

It's LyX 2.0.6, right from the Debian repository (but I think I had
noticed that already some time ago). Wonder if it's still the case in
2.1.

> 
> Thanks,
> 
> Scott
Thx,
-- 
Daniel CLEMENT


test.lyx
Description: application/lyx


1st paragraph indented

2014-05-21 Thread Daniel CLEMENT
I understand that it is good practice not to indent the first paragraph
after a section. LyX indeed shows it as not indented. But in this case,
the UI "guesses wrong", and under paragraph properties, the "indent
paragraph" check box is ticked. Then, on preview, the 1st paragraph _is_
indented.

This can be corrected by unchecking the relevant box, but why doesn't
the GUI reflect properly this setting? I wonder if perhaps it is a side
effect of the language settings (my documents are in French).

Thank you for any input - regards,
-- 
Daniel CLEMENT


Re: How to have numbered Sections formatted [1] instead of standard 1?

2014-04-26 Thread Daniel CLEMENT
Hello,

Le samedi 26 avril 2014 à 03:56 +1000, Gordon Watson a écrit :
> Dear Daniel,
> Wonderful! Thank you very much.

Glad it worked. As you probably have guessed, for any LaTeX counter e.g.
section, but also custom-made ones e.g. mycounter:
* mycounter is the current count of the said counter;
* \mycounter calls a new mycounter-numbered item (and increments)
* \themycounter is the typeset form that it will display. You have the
options of using \arabic{mycounter}, \alph{mycounter}, \Alph{mycounter},
\roman{mycounter}, \Roman{mycounter} depending on how you want the
numbers output. You can then freely mix it with custom text, like the
brackets in your case.

> Now, please: How do I have that feature follow on into the Appendix,
> please?

Yes, I don't use Appendix much myself, so I only discovered that.
Beginning an appendix seems to reset the numbering pattern...

> For I have used 'Document->Start Appendix Here' just before the
> beginning of the Appendix text.
> In other words: Your advice fixes all the prior numbered Sections.
> What must I now do to run the box-feature [.] on into the Appendices?

... so, just after the beginning of your appendix, insert a TeX field
with

\renewcommand{\thesection}{[\Roman{section}]}

assuming you want the customary appendix sections numbering: [A],
[B], ... (or \arabic{section} if you prefer numeric numbering).

However, I've not tested much, but I suspect some language packages
could conflict with that.
> 
> Merci beaucoup,
> un trés joli* Gordon
> 'Down-under' en Australie
> * PS: Not to sure about my French here?

J'ai compris :-)

(cc-ing the list for reference)
-- 
Daniel CLEMENT


Re: How to have numbered Sections formatted [1] instead of standard 1?

2014-04-25 Thread Daniel CLEMENT
Le vendredi 25 avril 2014 à 09:36 +1000, Gordon Watson a écrit :
> How to have numbered Sections formatted [1], [2], etc., instead of
> standard 1, 2, etc.?

You can just add

\renewcommand{\thesection}{[\arabic{section}]}

to your document preamble.

> 
> Reason: In text, I cross-reference Equations thus --  (1), (2) --
> because that's the way equations are numbered..
> 
> So, in text, I'd like to cross-reference Sections thus --   [1], [2],
> etc.
> 
> Thanks; Gordon

HTH,
-- 
Daniel CLEMENT


Re: Some French help files want German language

2014-03-31 Thread Daniel CLEMENT
Thanks Wolfgang, it does help. 

I've already arranged with Uwe that I would contact the French
translators. 

But 1st I'd like to find the German (?) excerpt(s) in the (French) User
Guide. There has to be one somewhere which also prevents this document
from compiling first time. I'd like to come up with something complete.
I'm working on it.

Regards, Daniel

Le lundi 31 mars 2014 à 11:08 +0200, Wolfgang Engelmann a écrit :
> Am 29.03.2014 10:19, schrieb Daniel CLEMENT:
> > Le samedi 29 mars 2014 à 05:41 +0100, Uwe Stöhr a écrit :
> >> Am 28.03.2014 18:01, schrieb Daniel CLEMENT:
> >>
> >>> I was trying to learn LyX better, and I noticed an unexpected error
> >>> message when compiling the Math guide. It's a Babel error message
> >>> complaining that the "ngerman" option was not defined.
> >>>
> >>> This also happened with the User Guide, while other docs compiled fine
> >>> (Introduction, Learning Guide, Embedded objects...)
> >>>
> >>> With texlive-lang-german installed, everything works!
> >> I also have TeXLive (on Windows) and don't need to install an extra
> >> language pack for German. Do you
> >> use a special Linux distribution that has its own TeXLive-packages?
> > Just Debian (Linux Mint Debian). As Jürgen has already explained,
> > TeXLive as of 2013 has split Babel language support files, and I had to
> > install the packages texlive-lang-french (of course) and
> > texlive-lang-german (more unexpectedly).
> >
> > That's why I hadn't noticed it before, with the older TeXLive.
> >
> >>> Now, German is a
> >>> beautiful language, but isn't that weird?
> >> In the documentation files we sometimes use another language to show
> >> e.g. the multi-language
> >> features. Sometimes we translators are simply to lazy to translate.
> >> For example for the explanation
> >> of multicolumns the text in the columns is English because it is just
> >> a dummy text to fill the
> >> columns. There are some similar cases.
> > Yes, precisely at the same place, pp. 69-70 of the French maths manual,
> > we have a nice 2-column quotation in Goethe's language beginning with
> > "Das Spektrum wird fouriertransformiert."
> >
> > I'm perfectly fine with that, the texlive-lang-german uses a negligible
> > size on a modern HD. I was just thinking of a new user who could wonder
> > why the user guide does not compile first time.
> >
> > FWIW, I could easily provide a French translation of this German
> > excerpt, even more so if you provide me with the English version :-)
> > --just ask.
> >
> >> regards Uwe
> > Regards,
> Here an attempted translation of the Spectrum part from German into 
> English, which might help you for your translation into French (see 
> atachement).
> Wolfgang

-- 
Daniel CLEMENT


Re: Some French help files want German language

2014-03-29 Thread Daniel CLEMENT
Le samedi 29 mars 2014 à 05:41 +0100, Uwe Stöhr a écrit :
> Am 28.03.2014 18:01, schrieb Daniel CLEMENT:
> 
> > I was trying to learn LyX better, and I noticed an unexpected error
> > message when compiling the Math guide. It's a Babel error message
> > complaining that the "ngerman" option was not defined.
> >
> > This also happened with the User Guide, while other docs compiled fine
> > (Introduction, Learning Guide, Embedded objects...)
> >
> > With texlive-lang-german installed, everything works!
> 
> I also have TeXLive (on Windows) and don't need to install an extra
> language pack for German. Do you 
> use a special Linux distribution that has its own TeXLive-packages?

Just Debian (Linux Mint Debian). As Jürgen has already explained,
TeXLive as of 2013 has split Babel language support files, and I had to
install the packages texlive-lang-french (of course) and
texlive-lang-german (more unexpectedly).

That's why I hadn't noticed it before, with the older TeXLive.

> 
> > Now, German is a
> > beautiful language, but isn't that weird?
> 
> In the documentation files we sometimes use another language to show
> e.g. the multi-language 
> features. Sometimes we translators are simply to lazy to translate.
> For example for the explanation 
> of multicolumns the text in the columns is English because it is just
> a dummy text to fill the 
> columns. There are some similar cases.

Yes, precisely at the same place, pp. 69-70 of the French maths manual,
we have a nice 2-column quotation in Goethe's language beginning with
"Das Spektrum wird fouriertransformiert."

I'm perfectly fine with that, the texlive-lang-german uses a negligible
size on a modern HD. I was just thinking of a new user who could wonder
why the user guide does not compile first time.

FWIW, I could easily provide a French translation of this German
excerpt, even more so if you provide me with the English version :-)
--just ask.

> 
> regards Uwe

Regards,
-- 
Daniel CLEMENT


Some French help files want German language

2014-03-28 Thread Daniel CLEMENT
Dear list members,

I was trying to learn LyX better, and I noticed an unexpected error
message when compiling the Math guide. It's a Babel error message
complaining that the "ngerman" option was not defined.

This also happened with the User Guide, while other docs compiled fine
(Introduction, Learning Guide, Embedded objects...)

With texlive-lang-german installed, everything works! Now, German is a
beautiful language, but isn't that weird?

Best regards,
-- 
Daniel CLEMENT


Re: Lyx installation in Mint16

2014-03-27 Thread Daniel CLEMENT
Le jeudi 27 mars 2014 à 08:48 +0100, Liviu Andronic a écrit :
> On Thu, Mar 27, 2014 at 8:28 AM, Daniel CLEMENT  wrote:
> > Le mercredi 26 mars 2014 à 15:00 -0700, James A.R. Koehler a écrit :
> >> I have installed Lyx (several times!) on two Mint16 machines; one a
> >> 32-bit version and the other 64-bit.  Mint is based on Ubuntu 13. In
> >> both cases, when installing either from a download from the Lyx site or
> >> via the .deb repository, it installs without any classes or layouts;
> >> i.e., it is not very useful.
> >
> > I have a brand new live USB (persistent) install of LM16, where LyX is
> > installed from Synaptic. I was able to observe but partly what you
> > describe.
> >
> > 1. There are indeed some classes missing, but on top of the list under
> > Document > Parameters there's a good 20+ choice of basic document
> > classes. Aren't the ones you miss in texlive-formats-extra or
> > texlive-publishers?
> >
> OK, this sounds more like LaTeX classes are missing (and NOT LyX
> layout files). 

Certainly.

> Which means that re-installing LyX is of no
> consequence. You should perform a full installation of TeX Live. You
> may as well start by installing 'texlive-full', but beware that this
> is likely to be a monstrous download.

Ouch! texlive-full... I wouldn't try that on a live-USB _persistent_
setup: if the persistence file ever becomes full, it locks the whole
system and one can only restart from scratch (all settings lost...)

OTTH, on a regular install, why not? Yet, it would be better if LyX
marked as dependencies just the LaTeX packages needed for previewing the
manuals.

Yet, the "missing converter" issue below is odd: is that related to a
LaTeX package?

> 
> Liviu
> 
> 
> 
> >> If I try to read the User Manual, it comes
> >> up with an error saying it cannot find the appropriate class to display
> >> the data.  Catch 22.
> >
> > 2. I had different errors. First it complained about enumitem.sty not
> > found. This could be solved by installing texlive-latex-extra (not here
> > by default). Still, there's another error: "No information to convert
> > files from eps format to pdf format. Define a converter under
> > preferences".
> >
> >> In previous installations on earlier distributions of Linux in other
> >> years, the installation was seamless and problem free.  Help!
> >
> > Granted, I never had to do that under any other LyX install.
> >
> > FWIW, under Linux Mint Debian, there's no such problems.
> >
> >>
> >> Jim
> >>
> >
> > --
> > Daniel CLEMENT
> 
> 
> 

-- 
Daniel CLEMENT


Re: Lyx installation in Mint16

2014-03-27 Thread Daniel CLEMENT
Le mercredi 26 mars 2014 à 15:00 -0700, James A.R. Koehler a écrit :
> I have installed Lyx (several times!) on two Mint16 machines; one a 
> 32-bit version and the other 64-bit.  Mint is based on Ubuntu 13. In 
> both cases, when installing either from a download from the Lyx site or 
> via the .deb repository, it installs without any classes or layouts; 
> i.e., it is not very useful.  

I have a brand new live USB (persistent) install of LM16, where LyX is
installed from Synaptic. I was able to observe but partly what you
describe. 

1. There are indeed some classes missing, but on top of the list under
Document > Parameters there's a good 20+ choice of basic document
classes. Aren't the ones you miss in texlive-formats-extra or
texlive-publishers?

> If I try to read the User Manual, it comes 
> up with an error saying it cannot find the appropriate class to display 
> the data.  Catch 22.

2. I had different errors. First it complained about enumitem.sty not
found. This could be solved by installing texlive-latex-extra (not here
by default). Still, there's another error: "No information to convert
files from eps format to pdf format. Define a converter under
preferences". 

> In previous installations on earlier distributions of Linux in other 
> years, the installation was seamless and problem free.  Help!

Granted, I never had to do that under any other LyX install.

FWIW, under Linux Mint Debian, there's no such problems.

> 
> Jim
> 

-- 
Daniel CLEMENT


Re: Accent on Lyx 2.0.2 (Ubuntu 12.04 & Spanish keyboard setting)

2014-03-20 Thread Daniel CLEMENT
Or perhaps, José, you could play with LyX's keyboard remap feature:

tools > preferences > input > keyboard/mouse

There under "keyboard remap" you have the choice of several "kmap"
files. You can have a look at them to see how they work and create your
own. I've done that.

(However, there's one thing I was never able to get working, that's
"acute accent + c" give me a "ç" --like in any other apps-- instead of
an accented c)

Daniel

Le mercredi 19 mars 2014 à 22:16 -0400, Scott Kostyshak a écrit :
> If I use Spanish - es keyboard layout it works just fine in LyX 2.1
> RC1 and 2.0.7. I'm guessing this bug will go away when you install
> Ubuntu 14.04 and have access to a later LyX version.
> 
> Scott
> 
> On Wed, Mar 19, 2014 at 7:44 PM, José Alejandro Lugo García
>  wrote:
> > Hi:
> >
> > Thanks for all help so far.
> >
> > In order to be more specific. Initially I was installed Ubuntu 12.04 using 
> > Spanish languaje (so my OS is current Ubuntu with spanish enviroment). 
> > During the installation process I put English to my keyboard preferences 
> > when I was asked for it from the CD. Once installed I added Spanish to my 
> > keyboard preferences. So now I have two "variant" input languaje for my 
> > keyboard preferences: "Spanish - es" and "English - en" which I use fine 
> > and I can switch between languajes with ALT + Left Shift (my preferred 
> > taste).
> >
> > The variant "Spanish - es" works just fine in all applications (gedit, 
> > geany, other label of the OS for input commands, etc.), it means: I type 
> > the key accent first, then the wanted letter (vocal in my case 'cause my 
> > native languaje), producing for example: á, é, í, ó, ú. But this is not 
> > what happen at Lyx so yes, is a LyX 2.0.2-specific problem for Ubuntu that 
> > I have :(
> >
> > I already tried (in order to test Lyx) with other "variant" input languaje 
> > for my keyboard preferences (e.g. "Spanish - Sun dead keys" or "Spanish - 
> > including tilde dead key") but still nothing, it means: I type the key 
> > accent first, then I type the desired letter, and a letter with no accent 
> > is obtained (only inside Lyx enviroment).
> >
> > Best regards.
> >
> > - Mensaje original -
> > De: "Daniel CLEMENT" 
> > Para: lyx-users@lists.lyx.org
> > Enviados: Miércoles, 19 de Marzo 2014 11:48:17
> > Asunto: Re: Accent on Lyx 2.0.2 (Ubuntu 12.04 & Spanish keyboard setting)
> >
> > Hi all, PMFJI but perhaps I can help.
> >
> > It seems to me that José wants a global "dead-key" behavior for his
> > keyboard, that is: type in the accent first, then the accented letter,
> > for _every_ accent. José, am I correct?
> >
> > If so: is this problem LyX-specific? Does your keyboard behave
> > differently in, say, Gedit or LibreOffice?
> >
> > If not: perhaps you have accidentally selected a Spanish layout
> > _without_ dead keys. Can you check your keyboard preferences? You have
> > to go beyond the "layout" category and look for a "variant" which has
> > the dead keys, e.g. "Spanish - Sun dead keys" or "Spanish - including
> > tilde dead key".
> >
> > HTH, Daniel
> >
> > Le mercredi 19 mars 2014 à 08:25 -0700, John Kane a écrit :
> >> Hi José,
> >> I had not realised that you are on Ubuntu.  If you are willing to
> >> switch keyboard layouts to Spanish as needed it is fairly easy to set
> >> up keyboards in the command area (or whatever it is called correctly)
> >> where things like battery status volume control etc is and just do a
> >> quick switch as needed.
> >>
> >>  That in fact is how I got the  é for your name above; I just switched
> >> from a US English layout to a Canadian French layout.  Mind you I have
> >> a Canadian keyboard layout with English and French lettering so it is
> >> really easy to do this. I don't know how different the Spanish layouts
> >> are from English.
> > 
> > I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 
> > de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu

-- 
Daniel CLEMENT


Re: Accent on Lyx 2.0.2 (Ubuntu 12.04 & Spanish keyboard setting)

2014-03-19 Thread Daniel CLEMENT
Hi all, PMFJI but perhaps I can help.

It seems to me that José wants a global "dead-key" behavior for his
keyboard, that is: type in the accent first, then the accented letter,
for _every_ accent. José, am I correct?

If so: is this problem LyX-specific? Does your keyboard behave
differently in, say, Gedit or LibreOffice?

If not: perhaps you have accidentally selected a Spanish layout
_without_ dead keys. Can you check your keyboard preferences? You have
to go beyond the "layout" category and look for a "variant" which has
the dead keys, e.g. "Spanish - Sun dead keys" or "Spanish - including
tilde dead key".

HTH, Daniel

Le mercredi 19 mars 2014 à 08:25 -0700, John Kane a écrit :
> Hi José,
> I had not realised that you are on Ubuntu.  If you are willing to
> switch keyboard layouts to Spanish as needed it is fairly easy to set
> up keyboards in the command area (or whatever it is called correctly)
> where things like battery status volume control etc is and just do a
> quick switch as needed. 
> 
>  That in fact is how I got the  é for your name above; I just switched
> from a US English layout to a Canadian French layout.  Mind you I have
> a Canadian keyboard layout with English and French lettering so it is
> really easy to do this. I don't know how different the Spanish layouts
> are from English.
> 
> 
> 
> 
> 
> 
> 
> On Tuesday, March 18, 2014 4:17:44 PM, José Alejandro Lugo García
>  wrote:
> 
> Hi Scot:
> Thanks for quick reply. For example: when I press accent + e, a normal
> e without accent shows up. My keyboard map settings are set to "Es" at
> the top right corner on the Ubuntu 12.04 Unity taskbar. About PPA,
> regrettably I have no access from here. Only repositories for Ubuntu
> LTS from my work. Meantime I'm thinking about to use the Windows
> version of Lyx. Hopefully when Ubuntu 14.04 finally released I will
> have access to the latest versión of Lyx from its repositories right?
> Thanks!
> José.
> 
> 
> 
> 
> 
> __________
> I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24
> al 26 de abril de 2014, La Habana, Cuba. Ver uciencia.uci.cu 
> 
> 
> 
> 
> 
> 

-- 
Daniel CLEMENT

-- 
Daniel CLEMENT


Re: Babel error since update

2014-02-28 Thread Daniel CLEMENT
Le vendredi 28 février 2014 à 07:49 -0800, Jürgen Spitzmüller a écrit :
> Am Freitag 28 Februar 2014, 16:26:35 schrieb Daniel CLEMENT:
> > Hello,
> > 
> > I had LyX slightly updated today as part of the Linux Mint Debian update
> > process. The version no. is 2.0.6 (as before I believe) but the package
> > no. is now 2.0.6-1+b1. But, at the same time, the whole TeXLive was
> > updated to 2013.
> > 
> > Now I ran into Babel errors when trying to compile documents that ran
> > fine before. The only workaround I've found is to set, under document
> > properties, "linguistic package" to "none".
> > 
> > Obviously, this is not satisfactory and there has to be a better way.
> > 
> > Below is a copy of the error I get. TIA for any help. Best regards,
> 
> As of TeXLive 2013, babel core and babel language files have been split, and 
> for some odd reason, many linux distros do not install the latter by default. 
> So look for packages named "texlive-babel-french" or "texlive-lang-french" or 
> similar and install them (and also the other languages).
> 
> Jürgen

Thanks a lot Jürgen, that was it. For reference, it was
"texlive-lang-french" which was missing. After reconfiguring LyX,
everything is back to normal.

Best regards,
-- 
Daniel CLEMENT



Babel error since update

2014-02-28 Thread Daniel CLEMENT
Hello,

I had LyX slightly updated today as part of the Linux Mint Debian update
process. The version no. is 2.0.6 (as before I believe) but the package
no. is now 2.0.6-1+b1. But, at the same time, the whole TeXLive was
updated to 2013.

Now I ran into Babel errors when trying to compile documents that ran
fine before. The only workaround I've found is to set, under document
properties, "linguistic package" to "none".

Obviously, this is not satisfactory and there has to be a better way.

Below is a copy of the error I get. TIA for any help. Best regards,

-- 
Daniel CLEMENT

error message:
--8<--
! Package babel Error: Unknown option `french'. Either you misspelled it
(babel)or the language definition file french.ldf was
not found
.

See the babel package documentation for explanation.
Type  H   for immediate help.
 ...  
  
l.296 \ProcessOptions*
  
Valid options are: shorthands=, KeepShorthandsActive,
activeacute, activegrave, noconfigs, safe=, main=, math=
headfoot=, strings=, config=, hyphenmap=, or a language name.


Re: Change tab hotkey

2013-11-21 Thread Daniel CLEMENT
Thanks a lot! It works perfectly.

Le jeudi 21 novembre 2013 à 02:14 -0500, Scott Kostyshak a écrit :
> On Thu, Nov 21, 2013 at 1:59 AM, Liviu Andronic  
> wrote:
> > [...]
> >>> >
> >>> ctrl+tab? ctrl+pgup/pgdown?
> >>
> >> ... any of these two would be fine, but how could we define (bind) them
> >> in lyx? I'm unable to locate the lyx command for "change tab"...
> >>
> > I think this is standard Qt functionality, and LyX doesn't support
> > customizing this.
> 
> If I understand correctly, you're talking about 'buffer-next' and
> 'buffer-previous'. 

Yes, that's what I was looking for, but I expected 'window (or
tab)-something'...

> I good way to figure out what the underlying
> command is, is to go to View > Messages and in the Messages box click
> on the "Settings" pane; for "Debug messages" choose "Selected" and
> toggle "User commands" to "yes". Then change back to the "Output
> pane", do the action that you want (in this case changing the tab with
> ctrl + up).

... so this is very useful, next time I'll know how to do.

> 
> Another way (which only works because we trigger the desired action
> with a shortcut) is to go to Tools > Preferences > Editing > Shortcuts
> > and under "Show key-bindings containing" and enter "ctrl+pg".
> 
> Scott

-- 
Daniel CLEMENT


Re: Change tab hotkey

2013-11-20 Thread Daniel CLEMENT
Forgive me for replyint so late to this thread, but I too would like to
set up such a shortcut...

Le vendredi 08 novembre 2013 à 15:18 +0100, Liviu Andronic a écrit :
> On Thu, Nov 7, 2013 at 4:05 PM, Gabriel Rojas  wrote:
> >
> > Hi:
> >
> > I would like to know if there is any way for quickly change between document
> > tabs in lyx using a hotkey, or if you can give me a link with instructions
> > to do this.
> >
> ctrl+tab? ctrl+pgup/pgdown?

... any of these two would be fine, but how could we define (bind) them
in lyx? I'm unable to locate the lyx command for "change tab"...

> 
> Liviu
TIA,
-- 
Daniel CLEMENT


Re: Lyx 2.0.6: Document settings can't be changed (OK greyed out)

2013-10-14 Thread Daniel CLEMENT
Hi, FWIW, with LyX 2.0.6 under Debian, I can't reproduce the bug, though
I've done my best...

Le lundi 14 octobre 2013 à 15:07 +, Guenter Milde a écrit :
> On 2013-10-11, Gerold Hintz wrote:
> > On Fri, Oct 11, 2013 at 9:01 AM, Guenter Milde  wrote:
> >> On 2013-10-10, Gerold Hintz wrote:
> 
> >> > I am running LyX 2.0.6 on Windows 7 SP1. I'm having an issue with
> >> > changing any document settings of any file, the buttons *OK *and
> >> > *Apply *just remain greyed out.
> 
> >> For me, this happens with all write-protected files (e.g. Help>...
> >> documents). Can you do other edits and save them back?
> >> Can you try with a new-created file?
> 
> > On Fri, Oct 11, 2013 at 9:02 AM, Guenter Milde  wrote:
> 
> >> What happens after you save the file to a different name (File>Save_As)?
> 
> 
> > The issue remains the same if I save the file with "Save As" and it also
> > remains for any newly created file. The file is not write-protected on the
> > filesystem.
> > Also, I can save any changes within the document without any problems, just
> > the "Document Settings" dialog forces me to click "Cancel".
> 
> Then you really found a bug, either in LyX, or (if noone else experiences
> it) in your installation/setup. Unfortunately, I can only refer you to
> the bug tracker: http://www.lyx.org/trac/wiki/BugTrackerHome
> 
> I hope others can step in.
> 
> Günter
> 

-- 
Daniel CLEMENT


Re: latin modern math, palatino text

2013-07-01 Thread Daniel CLEMENT
Le dimanche 30 juin 2013 à 15:48 +, Guenter Milde a écrit :
> On 2013-06-29, Daniel CLEMENT wrote:
> > [...]
> > Hmm... fmtutil-sys is present on my system, but not udmap!? (I have
> > TeXlive 2012 from the Debian repositories, which got installed along
> > with LyX.)
> 
> #> apt-file find updmap-sys
> 
> texlive-base: /usr/share/texlive/texmf/scripts/tetex/updmap-sys.sh
> texlive-binaries: /usr/bin/updmap-sys
> texlive-binaries: /usr/share/man/man1/updmap-sys.1.gz

Yes, I had made a typo which I had corrected since then. I do see updmap
now. (Not tlmgr, but I suppose I can do without.)
> 
> 
> [...] Is there a way to do this update
> > job from within LyX, or do I have to go down to the TeX utilities?
> 
> No chance from within LyX - LyX is not a package manager. 

I was thinking of tools-reconfigure, but I understand it's the internal
configuration of LyX.

> You may go a long
> way using Debian's apt - even mixing Debian/testing or /unstable is less
> work than switching to a local TeXLive install.

My only use of TeX is through LyX, except for some ERT and macros at
times.

> Debian/testing has "newtx" - the main requirement for "newpx" - in
> texlive-fonts-extra. 

Yes, I have it -- the 2012 version.

> Adding to this a local install of "newpx" might be
> achievable.

I believe so. The problem with the texlive-fonts-extra package is that
it is so large, it has a lot of dependancies which could pull the better
part of TL2013, which I'd rather avoid. But I guess, if I put only the
newpx files in the right places, then run updmap and fmtutil as you
told, it could work. I'll give this a try when I have time. 

> 
> Günter
> 
Thanks to everyone for help and explanations,
-- 
Daniel CLEMENT


Re: latin modern math, palatino text

2013-06-29 Thread Daniel CLEMENT
Hi, thanks for helping,

Le jeudi 27 juin 2013 à 10:27 +0200, Hugo Hinterberger a écrit :
> On Thu, 27 Jun 2013 08:03:48 +0200, Daniel CLEMENT   
> wrote:
> 
> > Hence my question: isn't there a 'lighter" way to test newpxmath,
> > without fully moving to TL2013?
> 
> Hi,
> 
> You can go to the TeX catalogue e. g. [1] and download the newpx package  
> (contains newpxmath.sty). The catalogue entry states that "For proper  
> operation, the packages require that the packages newtxmath and pxfonts be  
> installed and their map files enabled."
> The packages should consist of a zipped TeX Directory Structure (TDS) that  
> you can extract to your local TDS (texmf-var) or your personal TDS  
> (~/texmf).

I think I could manage that :-)
> 
> After installing a package in the a TDS you have to run texhash so that  
> TeX and its variants can find the newly installed package. Since we are  
> talking about a font package I would run the other maintenance utilities  
> too: 'updmap-sys', 'fmtutil-sys --all'.

Hmm... fmtutil-sys is present on my system, but not udmap!? (I have
TeXlive 2012 from the Debian repositories, which got installed along
with LyX.)
> 
> You can run the maintenance utilities from the TeX Live Manager menu  
> 'Actions':
> 1. Update filename database
> 2. Update font map database
> 3. Rebuild all formats

Even stranger, I have no tlmgr either. I can't locate udmap or tlmgr in
my Debian package manager (Synaptic). Is there a way to do this update
job from within LyX, or do I have to go down to the TeX utilities?

> 
> My Tex Live Manager 2012 shows the newpx package, but this could be  
> because I have installed TeX Live 2013 in parallel. It could be possible  
> to install the newpx package via TeX Live Manager 2012.

I'd be reluctant to try this on my Debian system. I could
"cherry-pick" (as they say) the TL2013 packages from the, say, unstable
or experimental repos., but that would mean _updating_ the whole TeXLive
system. I have read somewhere that it was not recommended, because the
directory structure has changed. I don't want to compromise a working
install!
> 
> Kind regards,
> Hugo
> 
> 
> [1] http://mirror.unl.edu/ctan/help/Catalogue/entries/newpx.html
> 
Regards, Daniel



Re: latin modern math, palatino text

2013-06-26 Thread Daniel CLEMENT
PMFJI, but I was interested in Günter's suggestion, testing the
newpxmath package; it looks nice, many customization options.

But it doesn't seem to be part of my setup (LyX 2.0.6, Linux Mint
Debian, TeXlive 2013). When I try to add it, I get the LaTeX error:
"file `newpxmathsty` not found". 

So I searched the Debian archive and noticed it was part of the
texlive-fonts-extra package, but only the one from TeXlive 2013.

Now this is a very large package (140+ Mb), and it appears to depends on
other TL2013 packages. 

Hence my question: isn't there a 'lighter" way to test newpxmath,
without fully moving to TL2013?

TIA - Daniel

Le mardi 25 juin 2013 à 08:33 +, Guenter Milde a écrit :
> On 2013-06-24, Ben Zipperer wrote:
> > Hi, 
> 
> > In my article, I like the way the general text looks when I select Palatino 
> > from Document --> Settings --> Fonts, but I don't like the Palatino math 
> > fonts. I like the way the math looks when I select Latin Modern. 
> 
> Latin Modern is a Computer Modern lookalike and hence uses the original CM
> Math fonts for maths -- with 8-bit TeX engines.
> 
> If you use "non-TeX fonts", Xe- or LuaTeX and unicode-math, you may also use
> the LM-Math OTF font.
> 
> > How do I use Palatino for general text but Latin Modern for the math?
> 
> The simplest way (with 8-bit TeX and TeX fonts) would be 
> 
> * GUI font setting to [default]
> * in the LaTeX preamble: \usepackage[palatino]
> 
> However, all font experts will tell you that this mixture is not good.
> 
> You may try the package "newpxmath", that provides
> comprehensive and well-adapted mathematical fonts to match palatino.
> 
> Günter
> 

-- 
Daniel CLEMENT


Re: preference window cannot be seen in small screen (netbook)

2012-11-18 Thread Daniel CLEMENT
Hello,

When notebooks appeared with very small screens this has been a common
issue for many programs.

Have you tried, as a workaround, dragging the window while holding Alt?
This should allow the invisible buttons to appear.

HTH, Daniel

Le dimanche 18 novembre 2012 à 07:44 +0800, Waluyo Adi Siswanto a
écrit :
> I have a problem until today,
> When I open LyX preference in small screen netbook (Ubuntu OS) (Tools
> > Preferences), I cannot see the Restore, Save, Apply, and OK buttons.
> The window cannot be resized (to make it smaller).
> 
> For the Document > Settings, the size is ok, it just fit the small
> netbook screen.
> 
> I am suggesting the window size in Preference is the same size with
> the Settings.
> 
> regards
> waluyo

-- 
Daniel CLEMENT


System dialog boxes appearance

2012-05-18 Thread Daniel CLEMENT
Hello,

I am using LyX 2.0.3.

I have just migrated to Linux Mint Debian (XFCE) from Ubuntu (Gnome 2).
I have noticed that the File-Open dialog boxes no longer integrated
nicely with the system settings (as they used to do). The folder and
file icons in both panes don't match the system-wide setting (theme) any
more.

I was wondering if perhaps a tricky LyX setting could help, or adding
some judicious package?

You see how finicky I have to be so as to find something to criticize in
LyX!
-- 
Daniel CLEMENT



Re: algorithmic environment

2012-03-28 Thread Daniel CLEMENT
Richard Heck wrote:
> On 03/27/2012 12:32 PM, Daniel CLEMENT wrote:
> >[...]
> > 1. I don't see the algorithmic toolbar (si I must do everything with
> > cut/paste). I've downloaded algorithmics.module and algo-toolbar.inc to
> > ~/.lyx/layouts, added a line
> The toolbar file has to go into the ui/ directory.
> 
> Richard
It's there also! (I didn't quite well know where to put it...) So I have
one under ~/.lyx/ui/algo-toolbar.inc. I tried to remove the one
under /layouts, reconfigure, but it didn't help.

Is there something else I should add in the default.ui file, other than
the Include line?
-- 
Daniel CLEMENT


algorithmic environment

2012-03-27 Thread Daniel CLEMENT
Hello,

I'm trying to setup the algorithmic environment (LyX 2.0.3 from the LyX
repo.) I did my best to follow the Wiki page, but there are two things
I'm unable to do:

1. I don't see the algorithmic toolbar (si I must do everything with
cut/paste). I've downloaded algorithmics.module and algo-toolbar.inc to
~/.lyx/layouts, added a line 

Include "algo-toolbar.inc"

to ~/.lyx/ui/default.ui

but while I see an algorithm toolbar under View -> Toolbars -> Other
toolbars, nothing happens if I check it. What am I doing wrong?

2. I have managed to translate the "Algorithm" caption into French (with
\floatname), but how could I do the same for the pseudocode keywords
(e.g. if, then, else...)?

TIA - best regards,
-- 
Daniel CLEMENT


Re: Edit math after preview

2011-09-21 Thread Daniel CLEMENT
langemann wrote:
> Is it possible to edit a math command after an instant-preview has been
> created?
>  Say I want to change \int to \iint after the integral sign is previewed.
> There *should* be a possibility for that by, say, pressing F2 or something
> similar.

Don't know how to do it with the keyboard, but with LyX 1.6.9 on Linux
it is enough to click somewhere in the preview, and it becomes editable
again.

HTH, Daniel

>  I tried to just turn off instant-preview, but that didn't work either (it
> didn't do anything actually, even when I typed new math commands they got
> previewed...)
>  I use LyX 2.0.1 on windows 
> 
> PS: I DO NOT want instant-preview turned off (it's one of the best things
> with LyX), I just want to edit math after it has been previewed
>  
> thanks for any suggestions 
> 
> --
> View this message in context: 
> http://lyx.475766.n2.nabble.com/Edit-math-after-preview-tp6815974p6815974.html
> Sent from the LyX - Users mailing list archive at Nabble.com.

-- 
Daniel CLEMENT


deb for ubuntu lucid?

2011-08-23 Thread Daniel CLEMENT
Hello,

[sorry if double post--looks like the previous one did not reach the list]

Is there any chance of seeing a .deb file appear for Ubuntu Lucid? So
far I relied on getdeb to get lyx updated, but it looks like getdeb has
somewhat dropped supporting lyx on lucid.

Of course Ubuntu has recent lyx packages but lucid doesn't meet their
dependencies.

OTTH, I'm not so fond at compiling myself, and I see that even on the
lucid-bleed ppa, lyx 2.0.0 "failed to build"... not very encouraging.

I'm in no hurry to upgrade my Ubuntu. Has anyone successfully compiled
lyx 2 under lucid 64?

TIA for any advice or experience report.
-- 
Daniel CLEMENT


Re: Example is counted as a theorem

2011-04-21 Thread Daniel CLEMENT
Hello,

Jinxi Cheng wrote:
> Hi, I am writing an article [ams] using Lyx. I started a few hours ago
> and I inserted an example. Lyx autoatically named it "Example 1". that
> is good. next I inserted a theorem. But it is named "Theorem 2" and
> not "Theorem 1".  It seems Lyx counted the example as a theorem also.
> How can I fix this in Lyx?

In order to get independent numbering, you need to load the proper
theorems module:

document > parameters > modules

and choose (e.g.) theorems (AMS, numbered by type)

> 
> Thank you in advance.
> 
HTH,
-- 
Daniel CLEMENT




Re: vertical bar for evaluating indefinate integrals?

2011-04-19 Thread Daniel CLEMENT
Hello,

Paul Elliott wrote:
> In lyx, how does one make the vertical bar or line that indicates evaluation 
> of an indefinite integral at 2 endpoints to calculate a definite integral?
> 
> I would think it should be a big op since integration is, but I could not 
> find 
> it on that menu.
> 
What about enclosing this integral between delimiters (not matched), the
left one being blank, and the right one a vertical bar?

HTH,
-- 
Daniel CLEMENT




Re: Translations issues in French

2011-04-15 Thread Daniel CLEMENT
Hello,

Liviu Andronic wrote:
> Hello
> 
> 
> [...]
> From my understanding, 'acknowledgement' and 'remerciement' are not
> perfect equivalents. [...]

Actually, given the variety of meanings "acknowledgment" has, I doubt
any single French word can be a perfect translation in all cases.

But I agree with David L. Johnson's idea, that in the context of book
writing, the "remerciement(s)" meaning is almost certain to be the
proper one.

> As for the French term, I have a hard time finding a use case in
> singular form. Even if only one person contributed, she would still
> get 'des remerciements'. 'Recevoir un remerciement' just doesn't sound
> French (to my non-French ear). 'Remerciements', on the other hand,
> seems natural. 

I couldn't have said it better. However, out of curiosity, I tried and
opened some (English) books from m y bookshelves. I noticed two things:

1) You couldn't believe how rare acknowledgments have become;
2) However, every one I found was in plural form also in English.

> In any case, try searching for this term on TLF [1]; it
> includes several examples of both singular and plural forms.
> 
> [1] http://atilf.atilf.fr/tlf.htm
> 

I note that the most relevant meaning on this page (item A3) mentions
"generally plural".

> 
> Regards
> Liviu
> 
Regards,
-- 
Daniel CLEMENT




Re: No ligatures in Palatino?

2011-04-07 Thread Daniel CLEMENT
Thanks, that did the trick.

I had to install the tex-gyre package. Then...

Liviu Andronic wrote:
> On Thu, Apr 7, 2011 at 1:22 PM, Daniel CLEMENT  wrote:
> > Hum... On the attached .PDF, I do see the ligature between the two
> > "ff" (which I usually miss) and the dashes (which I have).
> >
> > However, I don't see any ligature between "f" and "i", either in "fi" or
> > "ffi".
> >
> > (I am under 1.6.9 so I was unable to open the attached .LYX file.)
> >
> Open in a text file and see the lines in the preamble.

... the \usepackage{tgpagella} allowed me to get nicely linked "ff".

Definitely an improvement. Maybe LyX could load _this_ package for
Palatino fonts, if it just supersedes mathpazo?

> 
> 
> > Could something be wrong/missing with my setup (1.6.9 / Ubuntu Lucid /
> > Evince)?
> >
> On the same set-up I tried with acroread, and there too there's no
> ligature for 'fi'. 

This probably makes sense, since the hook of the "f" is very short in
Palatino...

> Regards
> Liviu
> 
[...]
> 
Regards,
-- 
Daniel CLEMENT




Re: No ligatures in Palatino?

2011-04-07 Thread Daniel CLEMENT
First, thanks for your reply.

Liviu Andronic wrote:
[...]
> > I have been using the palatino font for a while. But I only recently
> > noticed that, in documents using this font, no ligatures appeared (e.g.
> > in ff, fi, ...).
> >
> Not an expert, but they seem to appear when using TeX Gyre Pagella, a
> Palatino clone. See attached (docs created in RC2).

Hum... On the attached .PDF, I do see the ligature between the two
"ff" (which I usually miss) and the dashes (which I have).

However, I don't see any ligature between "f" and "i", either in "fi" or
"ffi".

(I am under 1.6.9 so I was unable to open the attached .LYX file.)

Could something be wrong/missing with my setup (1.6.9 / Ubuntu Lucid /
Evince)?

> 
> Regards
> Liviu
> 
> 
> [...]
> 
Regards,
-- 
Daniel CLEMENT




No ligatures in Palatino?

2011-04-06 Thread Daniel CLEMENT
Dear list members,

I have been using the palatino font for a while. But I only recently
noticed that, in documents using this font, no ligatures appeared (e.g.
in ff, fi, ...).

However, the various dashes (--, ---) do get linked properly. Aren't
these "ligatures"?

What do you think of this? I searched the WiKi and the list archive, and
I came across this message:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg45849.html

...but it's pretty old, and perhaps no longer relevant.

I hope it's not a FAQ. Once again, thanks for your help.
-- 
Daniel CLEMENT








Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-03-31 Thread Daniel CLEMENT
Dear Pavel and all,

The French translation are mostly OK, but I'm puzzled by these two lines
(especially the first):

"List of Tableaux" "Liste des tableaux (TO)"
"List of Tables" "Liste des tableaux"

Why not simply tableaux -> tableaux / tables -> tables, since both are
French names as well?

Also:

"Acknowledgement" "Remerciement"

In French, "Remerciements" is almost always plural, I think.

Just my 2 cents...

Regards - Daniel Clément

Pavel Sanda wrote:
> Dear translators,
> 
> one of the new features in the upcoming LyX 2.0 is automatic translation
> of math environments strings (and some floats) to the localized form.
> For example "Exercise" becomes "Aufgabe" in the output of the documents
> with language set to german.
> 
> In the attached file you find a list of translations which will appear in
> exported documents, not only in the GUI. These translations will be fixed for
> the 2.0.x release cycle, since the contents of documents must not change
> between minor releases. It is still possible to add or change these
> translations in .po files as usual, but these updates will only be used for 
> the
> GUI and not appear in the file lib/layouttranslations, which is used for the
> exported translations.
> 
> Please go through all entries in the attached file for your language and 
> ensure that they are correctly translated. Make any needed update in the .po 
> files as usual. The lib/layouttranslations file will be regenerated 
> automatically from the .po files before the final 2.0.0 release.
> 
> Similarly, if you are not translator (yet) but interested user, which
> would like to have this feature working in your language, let me know
> the fixes or new translations. Its about 30 items, so nothing which
> expects tons of your time.
> 
> Pavel

-- 
Daniel CLEMENT




Re: Poll for the default icon theme in LyX 2.0

2011-03-30 Thread Daniel CLEMENT
Wolfgang Engelmann wrote:

> libreoffice

+1

BTW, does "default" mean that users will be able to change? If so, is it
new in 2.0?

In 1.6.9, I have not found any way to change them (am I wrong?)

Regards,
-- 
Daniel CLEMENT




  1   2   >