Re: Aw: Fwd: snapshot mit Druck-Taste tut nicht

2016-09-05 Thread Wolfgang Engelmann
Schande über mich! Habe gerade gemerkt, dass man das Print Screen 
bekommt, wenn man die Taste drückt. Ich hatte geglaubt, man müsse die 
Hochtaste und die Print Taste gleichzeitig drücken, da unter Print 
Screen noch SysRq steht. Geht jetzt auf beiden Rechnern (kscreenshot).


Wolfgang


On 05.09.2016 14:59, Wolfgang Engelmann wrote:


Hatte es gerade an meinen Debian-PC versucht statt auf dem Kubuntu 
Notebook -ohne Erfolg, siehe meine vorige Mail.


Aber auf dem Kubuntu hab ich es auch noch nicht geschnallt.

Also:

KickoffApplicationCenter>Applications>Settings>KeyboardInputMethodes 
?? Da komme ich auf Ibus Preferences und finde nicht das Vorgeschlagene


Was mache ich da falsch?

Gibte es auch auf der Kommandozeile eine Möglichkeit zum Einstallen?

Wolfgang



On 05.09.2016 14:31, Wolfgang Engelmann wrote:


Danke, Christiane.

Mir fehlt dabei noch zwischen Tastatur > Tastaturkürzel die 
Zwischenschritte


Einstellung der Tastatur hat den Reiter

Hardware Belegungen Erweitert

Hardware und Erweitert sind es nicht

Belegungen hat Belegungsanzeige Umschaltregelung 
Kurzbefehle_zum_Belegungswechsel


Bei letzterem ist Belegungsanzeige_aktivieren mit v markiert und 
Beschriftung anzeigen mit Punkt, Umschaltregelung Global mit Punkt


Da war ich schon vor meiner Frage gescheitert. Was übersehe ich?

Wolfgang

On 05.09.2016 12:19, Christiane Neudeck wrote:

Bei meinem Ubuntu:
Einstellungen > Tastatur > Tastaturkürzel > Ein Bildschirmfoto 
aufnehmen - Drucken
funktioniert einwandfrei, ist meist das erste, was ich bei einem 
Neuaufsetzen des Systems vornehme.
Für KDE bin ich auf den Menüpunkt "Kurzbefehle und Gestensteuerung" 
gestoßen.

Viel Glück :-)
*Gesendet:* Montag, 05. September 2016 um 09:53 Uhr
*Von:* "Wolfgang Engelmann via LUG-Tuebingen" 


*An:* lug-tuebin...@listserv.uni-tuebingen.de
*Betreff:* Fwd: snapshot mit Druck-Taste tut nicht



 Forwarded Message 
Subject:snapshot mit Druck-Taste tut nicht
Date:   Mon, 5 Sep 2016 09:50:55 +0200
From:   Wolfgang Engelmann 
To: lug-tuebin...@jura.uni-tuebingen.de

Wie kann ich es wohl auf meinem Acer Aspire One netbook mit Kubuntu
einrichten, dass ksnapshot oder shutter durch die Drucktaste aktiviert wird?

Wolfgang









Re: problem with creating layout file for some class

2016-09-05 Thread Richard Heck

Attached are a working layout and test file. The problem with the file
you sent was that some of the unknown commands were being imported as
ERT in Standard environments, which breaks the entire title block.

Richard



On 09/03/2016 03:30 AM, Bieniasz Leslaw wrote:
>
>
> The layout file was exactly as you suggested in the message included
> below.
>
> Leslaw
>
>
>  
>
> On 2016-08-13 17:21, Richard Heck wrote:
>
>> On 08/13/2016 07:22 AM, Bieniasz Leslaw wrote:
>>> Hi,
>>>
>>> I am still using LyX 2.0 under Windows Vista, with MikTeX 2.0.
>>>
>>> I am trying to use a LaTeX class provided by one scientific journal for
>>> writing articles. I have installed the class, but I have a problem with
>>> creating a *.layout file for LyX, that would work properly.
>>> At the moment I use the following layout file:
>>>
>>> #% Do not delete the line below; configure depends on this
>>> #  \DeclareLaTeXClass[ijnam]{amsart (ijnam)}
>>>
>>> # Input general definitions
>>> Input stdclass.inc
>>
>> Since the class file was "generated by modifying amsart.cls", your best
>> place to start would be:
>>
>> #% Do not delete the line below; configure depends on this
>> #  \DeclareLaTeXClass[ijnam]{amsart (ijnam)}
>>
>> Format 35
>>
>> Input amsart.layout
>>
>> If this does not help matters, then it would help me to see the TeX file
>> that works.
>>
>> Richard
>>
>> PS Make sure to reply to the list.
>>
>>



ijnam.lyx
Description: application/lyx
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[ijnam]{amsart (ijnam)}

Format 35

Input amsart.layout

Style Author
  Argument 1
LabelString   "Short Author|S"
Tooltip   "Short author which appears in the sidebar/header"
  EndArgument
End

Style URLAddress
CopyStyle Address
LabelString "URL Address:"
End

Style CommunicatedBy
CopyStyle Address
LabelString "Communicated By:"
End

Style Abstract
LatexType Command
End


Re: Remote X11 is slow for typing

2016-09-05 Thread Helge Hafting



Den 03. sep. 2016 16:56, skrev Bruce Momjian:

On Sat, Sep  3, 2016 at 10:48:57AM -0400, Bruce Momjian wrote:

On Sat, Sep  3, 2016 at 10:39:54AM -0400, Scott Kostyshak wrote:

On Sat, Sep 03, 2016 at 10:26:13AM -0400, Bruce Momjian wrote:

Are there any tricks to using LyX with remote X11, beyond using
-graphicssystem native?  That helps, but typing is still very slow, i.e. one
character change a second.

Yes see here:
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg102675.html

Do any of those tricks work for you?

Well, the thread suggests ssh compression and the use of the
graphicssystem option I was already using.  graphicssystem fixes things
like window scrolling and menus, but it doesn't fix typing speed.

Sorry, I should have reported my version running on Debian Jessie:

LyX 2.1.2 (2014-09-16)
Built on Sep 29 2014, 11:07:17
Configuration
  Host type:x86_64-pc-linux-gnu
  Special build flags:  build=release warnings use-enchant
  C++ Compiler: g++ (4.9.1)
  C++ Compiler LyX flags:
  C++ Compiler flags:   -D_FORTIFY_SOURCE=2 -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security
  Linker flags:
  Linker user flags:-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro
  Qt 4 Frontend:
  Qt 4 version: 4.8.6
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:/usr/share/lyx

I think the crux of the problem is described in this email:

https://www.mail-archive.com/lyx-users@lists.lyx.org/msg102676.html

Unfourtunately QT (unline Java or GTK+) by default doesn't use X11's
rendering capabilities anymore - instead it rasterizes everything
itself and sends pre-rasterized image data to the X server.
For Lyx this means that when typing, QT always sends images back
instead of just the drawing commands.

There used to be options to revert back to using X11 drawing commands,
however I am not up to date in this matter.

It feels like -graphicssystem native has no effect on the rendering of
typing, while it does help almost everything else.


I don't see serious slowdowns. I have done two tests:
1. One ssh hop
ssh -CY from work to home. (Using wifi at work. I have a fiber to my 
home, but this should be worse than LAN speed anyway.) This machine runs 
debian, and has LyX 2.1.2 and qt 4.8.6. I can type faster than 
rendering, but only if I type gibberish. If I type actual words, I 
cannot out-type LyX. After a while, I managed to get a whole line ahead 
with gibberish though: lkjsdahf sdlf jkshdalkjf skjladfjh saldf h


2. Two ssh hops
From that machine, I shh -CY again into another machine at home. This 
one has LyX 2.2.1 and qt5.7
Now I  have two ssh hops with encryption+decryption+re-encryption and 
the added speed drop of going over wifi at the other end too. Still, 
this feels faster. Not as fast as local LyX, but it is snappy. If I type 
gibberish as fast as I can, I can maybe get a word or two ahead of LyX, 
nothing more. With real words, I hardly feel that the connection is 
remote. So perhaps qt 5.7 is a bit better than 4.8.6?


In both tests, I copied a few pages from the user guide, and typed into 
the middle of a large paragraph. I used no special parameters to LyX.The 
window size was perhaps 40% of my screen width.


If I maximize the LyX window, things gets worse for lyx 2.1.2+qt4.8.6. 
Painfully slow - so don't maximize, but use a small window. LyX 2.2.1 
with qt 5.7 is still snappy though, I fail to type "too fast"


Helge Hafting

Helge Hafting


Re: imported gnumeric table with lyx caption results in +2 table counter (expected +1)

2016-09-05 Thread Helge Hafting



Den 31. aug. 2016 18:58, skrev Jannick:


Understand. Maybe a question with an easy answer: Assuming that ssconvert
creates a long table or any other kind of table, is there a way to add a
table label (caption) other than using a floating object? This is why I was
using the nested structure which as you say is not necessary.


I think I understand - you want your spreadsheet table to have an 
automatic table number?


I don't know any good way to do that. The ssconvert utility exports a 
longtable, which is a thing not supposed to go inside a float. Also, 
ssconvert does not add the necessary LaTeX code to get a numbered longtable.


The ideal solution is to extend ssconvert, so it (optionally) produces a 
numbered longtable or a normal table that can be put into a float. You 
will have to contact the gnumeric developers for that though.


Another solution is to export manually, instead of using the "external 
material" inset. That is, run ssconvert yourself, and import the 
exported latex file into LyX. It is then possible to change it - either 
turn the longtable into a normal table, or change it to a numbered 
longtable.  The downside is that you have to re-do all of this if you 
ever change the spreadsheet - while the "external inset" tracks the 
spreadsheet file and any future changes you make to it.


Helge Hafting


Re: Aw: Fwd: snapshot mit Druck-Taste tut nicht

2016-09-05 Thread Wolfgang Engelmann
Hatte es gerade an meinen Debian-PC versucht statt auf dem Kubuntu 
Notebook -ohne Erfolg, siehe meine vorige Mail.


Aber auf dem Kubuntu hab ich es auch noch nicht geschnallt.

Also:

KickoffApplicationCenter>Applications>Settings>KeyboardInputMethodes ?? 
Da komme ich auf Ibus Preferences und finde nicht das Vorgeschlagene


Was mache ich da falsch?

Gibte es auch auf der Kommandozeile eine Möglichkeit zum Einstallen?

Wolfgang



On 05.09.2016 14:31, Wolfgang Engelmann wrote:


Danke, Christiane.

Mir fehlt dabei noch zwischen Tastatur > Tastaturkürzel die 
Zwischenschritte


Einstellung der Tastatur hat den Reiter

Hardware Belegungen Erweitert

Hardware und Erweitert sind es nicht

Belegungen hat Belegungsanzeige Umschaltregelung 
Kurzbefehle_zum_Belegungswechsel


Bei letzterem ist Belegungsanzeige_aktivieren mit v markiert und 
Beschriftung anzeigen mit Punkt, Umschaltregelung Global mit Punkt


Da war ich schon vor meiner Frage gescheitert. Was übersehe ich?

Wolfgang

On 05.09.2016 12:19, Christiane Neudeck wrote:

Bei meinem Ubuntu:
Einstellungen > Tastatur > Tastaturkürzel > Ein Bildschirmfoto 
aufnehmen - Drucken
funktioniert einwandfrei, ist meist das erste, was ich bei einem 
Neuaufsetzen des Systems vornehme.
Für KDE bin ich auf den Menüpunkt "Kurzbefehle und Gestensteuerung" 
gestoßen.

Viel Glück :-)
*Gesendet:* Montag, 05. September 2016 um 09:53 Uhr
*Von:* "Wolfgang Engelmann via LUG-Tuebingen" 


*An:* lug-tuebin...@listserv.uni-tuebingen.de
*Betreff:* Fwd: snapshot mit Druck-Taste tut nicht



 Forwarded Message 
Subject:snapshot mit Druck-Taste tut nicht
Date:   Mon, 5 Sep 2016 09:50:55 +0200
From:   Wolfgang Engelmann 
To: lug-tuebin...@jura.uni-tuebingen.de

Wie kann ich es wohl auf meinem Acer Aspire One netbook mit Kubuntu
einrichten, dass ksnapshot oder shutter durch die Drucktaste aktiviert wird?

Wolfgang







Re: Aw: Fwd: snapshot mit Druck-Taste tut nicht

2016-09-05 Thread Wolfgang Engelmann

Danke, Christiane.

Mir fehlt dabei noch zwischen Tastatur > Tastaturkürzel die Zwischenschritte

Einstellung der Tastatur hat den Reiter

Hardware Belegungen Erweitert

Hardware und Erweitert sind es nicht

Belegungen hat Belegungsanzeige Umschaltregelung 
Kurzbefehle_zum_Belegungswechsel


Bei letzterem ist Belegungsanzeige_aktivieren mit v markiert und 
Beschriftung anzeigen mit Punkt, Umschaltregelung Global mit Punkt


Da war ich schon vor meiner Frage gescheitert. Was übersehe ich?

Wolfgang

On 05.09.2016 12:19, Christiane Neudeck wrote:

Bei meinem Ubuntu:
Einstellungen > Tastatur > Tastaturkürzel > Ein Bildschirmfoto 
aufnehmen - Drucken
funktioniert einwandfrei, ist meist das erste, was ich bei einem 
Neuaufsetzen des Systems vornehme.
Für KDE bin ich auf den Menüpunkt "Kurzbefehle und Gestensteuerung" 
gestoßen.

Viel Glück :-)
*Gesendet:* Montag, 05. September 2016 um 09:53 Uhr
*Von:* "Wolfgang Engelmann via LUG-Tuebingen" 


*An:* lug-tuebin...@listserv.uni-tuebingen.de
*Betreff:* Fwd: snapshot mit Druck-Taste tut nicht



 Forwarded Message 
Subject:snapshot mit Druck-Taste tut nicht
Date:   Mon, 5 Sep 2016 09:50:55 +0200
From:   Wolfgang Engelmann 
To: lug-tuebin...@jura.uni-tuebingen.de

Wie kann ich es wohl auf meinem Acer Aspire One netbook mit Kubuntu
einrichten, dass ksnapshot oder shutter durch die Drucktaste aktiviert wird?

Wolfgang





Re: imported gnumeric table with lyx caption results in +2 table counter (expected +1)

2016-09-05 Thread Guenter Milde
On 2016-09-04, Jannick wrote:
> From: Of Guillaume Munch
> Sent: Sunday, September 4, 2016 6:12 PM

> Le 31/08/2016 à 17:58, Jannick a écrit :

>> Understand. Maybe a question with an easy answer: Assuming that ssconvert
>> creates a long table or any other kind of table, is there a way to add a
>> table label (caption) other than using a floating object? This is why I
> was
>> using the nested structure which as you say is not necessary.

> Yes, you can as follows: add a row at the top, select it, go to the
> table properties > multi-page table > row settings > Caption and check
> the box.
> 

> Merci. I am not sure if I am following: I think your approach is fine for
> tables entered in lyx, but I am dealing with imported tables, i.e. the table
> data are imported from .tex files created upon compilation (by data
> extraction from another file). How does your approach work for imported
> tables - or am I missing something pretty obvious?

It is not very obvious, but the effect of (almost) every keypress can be 
achieved by "lyx functions" (lfuns).

This can be tested from the "minibuffer" accessible with ESC-x.

A script can send lfuns to lyx via the lyxpipe.
(For Python scripts, there is a package to access the lyxpipe in the lyx
wiki.)

Hope this helps a bit.

Günter