Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread James Knott
Are you referring to the International English keyboard I referred to ?

If so, you have to go into the input devices to select the layout.  On
openSUSE 15.1 & KDE, it's Configure Desktop > Input Devices.  In
Keyboard, Layouts tab, near the bottom, you'll find the area for
configuring layouts.  Enable Configure Layouts and make your choice.  I
selected English (intl., with AtlGr dead keys).  You'll then have a
layout for U.S. International English. You can see the layout here:
https://en.wikipedia.org/wiki/British_and_American_keyboards

You then use the right Alt (Alt Gr) and shift keys to select which
character a key represents.  For example, Alt Gr & ; = ¶, Shift Alt Gr &
; = °, Alt Gr & 5 = €, etc.

Most of the characters shown on the layout work.


On 2019-08-09 11:31 AM, gcatl...@yahoo.co.uk wrote:
> How do you access the extra characters from the keyboard? (I used to
> use ubuntu onboard onscreen keyboard which was very useful, especially
> for clasical greek, but since upgrading ubuntu to 18.04 i havent been
> able to get it to work for extended characters)
> On Friday, 9 August 2019, 12:04:36 BST, James Knott
>  wrote:
>


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread gcatlast
 
How do you access the extra characters from the keyboard? (I used to use ubuntu 
onboard onscreen keyboard which was very useful, especially for clasical greek, 
but since upgrading ubuntu to 18.04 i havent been able to get it to work for 
extended characters) On Friday, 9 August 2019, 12:04:36 BST, James Knott 
 wrote:  
 
 On 2019-08-09 03:16 AM, Kurt Jaeger wrote:
> Hi!
>
>> I'm wondering if its possible to set up certain keys in LO so that pressing, 
>> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
>> capital)?
> I use xmodmap for that, e.g.:
>
> /usr/local/bin/xmodmap -e 'keycode 33 = p P 0x00a7 0x00a7'
>
> provides the paragraph character.
>
> /usr/local/bin/xmodmap -e 'keycode 26 = e E 0x20ac 0x20ac'
>
> yields the EURO currency symbol.
>

I use the International U.S. English layout, which provides a lot of
extra characters.


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
  
-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread James Knott
On 2019-08-09 03:16 AM, Kurt Jaeger wrote:
> Hi!
>
>> I'm wondering if its possible to set up certain keys in LO so that pressing, 
>> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
>> capital)?
> I use xmodmap for that, e.g.:
>
> /usr/local/bin/xmodmap -e 'keycode 33 = p P 0x00a7 0x00a7'
>
> provides the paragraph character.
>
> /usr/local/bin/xmodmap -e 'keycode 26 = e E 0x20ac 0x20ac'
>
> yields the EURO currency symbol.
>

I use the International U.S. English layout, which provides a lot of
extra characters.


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread gcatlast
 I've been using this since my last post and while not ideal it is a 
significant improvement over the characters dialoge, so thanks a lot for the 
help.
I may ask later on that other forum but i fear i may find it difficult to 
access on my phone (which for most of the time is my only internet access).
Best
/Gary
 On Friday, 9 August 2019, 11:11:49 BST, Heiko Tietze 
 wrote:  
 
 Nope, unfortunately not. The space is needed. But feel free to ask again on 
ask.libreoffice.org where users with more expertise may find a solution for you.

On 09.08.19 11:04, gcatl...@yahoo.co.uk wrote:
>  I've tried (3), using \a for macron a,etc., and it sort of works, but, it 
>seems, the character sequence is replaced in the text only when preceded by a 
>space. Since this space is not removed when the replacement is made, and since 
>the vast majority of macron characters are not at the beginning of a word, 
>this space must be manually removed for each character required, and this 
>makes the process almost as slow as inserting from the special characters.
> Is there a way to get LO writer to recognise and replace the sequence even 
> when it comes in the middle of a word or at the end?
> 
> Thanks
> /Gary
>      On Friday, 9 August 2019, 08:46:44 BST, Heiko Tietze 
> wrote:  
>  
>  This was requested long time ago in [1] while meanwhile we have the Recently 
>Used section and I could imagine to provide access per shortcut to those 
>items. However, there is the wish to extend this section [2] and that would 
>break any shortcut approach. What you always can do is to create own entries 
>in the replacement table of the autocorrect function [3].
> 
> [1] https://bugs.documentfoundation.org/show_bug.cgi?id=41981
> [2] https://bugs.documentfoundation.org/show_bug.cgi?id=120753
> [3] https://help.libreoffice.org/6.3/en-US/text/shared/01/06040200.html
> 
> On 09.08.19 08:56, gcatl...@yahoo.co.uk wrote:
>>   Hi,
>> I'm writing some Latin texts with long vowels indicated and so i'm 
>> frequently having to go to the special characters dialog.
>> I'm wondering if its possible to set up certain keys in LO so that pressing, 
>> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
>> capital)?
>>
>> I've looked at tools>configure but can't yet see if there is a way to make a 
>> key combination return a special character rather than execute a function. 
>> I've also quickly looked at autocorrect but that doesn't seem to work on key 
>> combinations.
>>
>> I'm guessing what i need is a keyboard mapping option?
>>
>> I'm using LO 6.0.7.3 on ubuntu 18.04.08
>>
>> Thanks
>> /Gary
>>   
>>
> 

-- 
Dr. Heiko Tietze, UX-Designer and UX-Mentor
Tel: +49 30 5557992-63 | Mail: heiko.tie...@documentfoundation.org
The Document Foundation, Kurfürstendamm 188, 10707 Berlin, DE
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: https://www.documentfoundation.org/imprint


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
  
-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread Regina Henschel

Hi Gary,

if you want to go with macros, the following will work:
The general part once (you might need to correct line breaks):

Sub lcl_InsertCharacter_Writer(byval sChar as string)
Dim oDoc as variant
oDoc = ThisComponent
Dim oCurrentController as variant
oCurrentController = oDoc.getCurrentController()
if 
not(oCurrentController.supportsService("com.sun.star.text.TextDocumentView")) 
then

msgbox("only for text documents")
exit sub
end if
Dim oTextViewCursor as variant
oTextViewCursor = oCurrentController.getViewCursor()
Dim oText as variant
If IsEmpty(oTextViewCursor.Cell) Then
oText=oTextViewCursor.Text
Else
oText=oTextViewCursor.Cell.Text
End If
oText.insertString(oTextViewCursor,sChar,false)
End Sub


And then for each desired character, for example:

sub S_Lower_Hatchek
lcl_InsertCharacter_Writer(chr(clng("&H0161")))
end sub

sub C_Upper_Cedilla
lcl_InsertCharacter_Writer(chr(clng("&Hc7")))
end sub

Of cause you need to adapt the number "&H0161" or "&Hc7" to your 
character. You can assign a short-cut to macros. Macros are at the 
bottom of the Category list in the Keyboard tab of the Customize dialog.


I found it difficult to remember short-cuts. Therefore I had made an own 
toolbar for these characters, where I used the character itself as name 
for the icon. I had added the macros and the toolbar to a document 
template. I had used it many yours ago for my pupils, so that they could 
easily write French texts. But with the new special character dialog, 
such is not really needed nowadays.


Kind regards
Regina


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread Heiko Tietze
Nope, unfortunately not. The space is needed. But feel free to ask again on 
ask.libreoffice.org where users with more expertise may find a solution for you.

On 09.08.19 11:04, gcatl...@yahoo.co.uk wrote:
>  I've tried (3), using \a for macron a,etc., and it sort of works, but, it 
> seems, the character sequence is replaced in the text only when preceded by a 
> space. Since this space is not removed when the replacement is made, and 
> since the vast majority of macron characters are not at the beginning of a 
> word, this space must be manually removed for each character required, and 
> this makes the process almost as slow as inserting from the special 
> characters.
> Is there a way to get LO writer to recognise and replace the sequence even 
> when it comes in the middle of a word or at the end?
> 
> Thanks
> /Gary
>  On Friday, 9 August 2019, 08:46:44 BST, Heiko Tietze 
>  wrote:  
>  
>  This was requested long time ago in [1] while meanwhile we have the Recently 
> Used section and I could imagine to provide access per shortcut to those 
> items. However, there is the wish to extend this section [2] and that would 
> break any shortcut approach. What you always can do is to create own entries 
> in the replacement table of the autocorrect function [3].
> 
> [1] https://bugs.documentfoundation.org/show_bug.cgi?id=41981
> [2] https://bugs.documentfoundation.org/show_bug.cgi?id=120753
> [3] https://help.libreoffice.org/6.3/en-US/text/shared/01/06040200.html
> 
> On 09.08.19 08:56, gcatl...@yahoo.co.uk wrote:
>>   Hi,
>> I'm writing some Latin texts with long vowels indicated and so i'm 
>> frequently having to go to the special characters dialog.
>> I'm wondering if its possible to set up certain keys in LO so that pressing, 
>> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
>> capital)?
>>
>> I've looked at tools>configure but can't yet see if there is a way to make a 
>> key combination return a special character rather than execute a function. 
>> I've also quickly looked at autocorrect but that doesn't seem to work on key 
>> combinations.
>>
>> I'm guessing what i need is a keyboard mapping option?
>>
>> I'm using LO 6.0.7.3 on ubuntu 18.04.08
>>
>> Thanks
>> /Gary
>>   
>>
> 

-- 
Dr. Heiko Tietze, UX-Designer and UX-Mentor
Tel: +49 30 5557992-63 | Mail: heiko.tie...@documentfoundation.org
The Document Foundation, Kurfürstendamm 188, 10707 Berlin, DE
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: https://www.documentfoundation.org/imprint


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread gcatlast
 I've tried (3), using \a for macron a,etc., and it sort of works, but, it 
seems, the character sequence is replaced in the text only when preceded by a 
space. Since this space is not removed when the replacement is made, and since 
the vast majority of macron characters are not at the beginning of a word, this 
space must be manually removed for each character required, and this makes the 
process almost as slow as inserting from the special characters.
Is there a way to get LO writer to recognise and replace the sequence even when 
it comes in the middle of a word or at the end?

Thanks
/Gary
 On Friday, 9 August 2019, 08:46:44 BST, Heiko Tietze 
 wrote:  
 
 This was requested long time ago in [1] while meanwhile we have the Recently 
Used section and I could imagine to provide access per shortcut to those items. 
However, there is the wish to extend this section [2] and that would break any 
shortcut approach. What you always can do is to create own entries in the 
replacement table of the autocorrect function [3].

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=41981
[2] https://bugs.documentfoundation.org/show_bug.cgi?id=120753
[3] https://help.libreoffice.org/6.3/en-US/text/shared/01/06040200.html

On 09.08.19 08:56, gcatl...@yahoo.co.uk wrote:
>  Hi,
> I'm writing some Latin texts with long vowels indicated and so i'm frequently 
> having to go to the special characters dialog.
> I'm wondering if its possible to set up certain keys in LO so that pressing, 
> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
> capital)?
> 
> I've looked at tools>configure but can't yet see if there is a way to make a 
> key combination return a special character rather than execute a function. 
> I've also quickly looked at autocorrect but that doesn't seem to work on key 
> combinations.
> 
> I'm guessing what i need is a keyboard mapping option?
> 
> I'm using LO 6.0.7.3 on ubuntu 18.04.08
> 
> Thanks
> /Gary
>  
> 

-- 
Dr. Heiko Tietze, UX-Designer and UX-Mentor
Tel: +49 30 5557992-63 | Mail: heiko.tie...@documentfoundation.org
The Document Foundation, Kurfürstendamm 188, 10707 Berlin, DE
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: https://www.documentfoundation.org/imprint


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
  
-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread gcatlast
 
Thanks a lot for these references, i hope i might be able to get something 
usable from them.
/Gary On Friday, 9 August 2019, 08:46:44 BST, Heiko Tietze 
 wrote:  
 
 This was requested long time ago in [1] while meanwhile we have the Recently 
Used section and I could imagine to provide access per shortcut to those items. 
However, there is the wish to extend this section [2] and that would break any 
shortcut approach. What you always can do is to create own entries in the 
replacement table of the autocorrect function [3].

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=41981
[2] https://bugs.documentfoundation.org/show_bug.cgi?id=120753
[3] https://help.libreoffice.org/6.3/en-US/text/shared/01/06040200.html

On 09.08.19 08:56, gcatl...@yahoo.co.uk wrote:
>  Hi,
> I'm writing some Latin texts with long vowels indicated and so i'm frequently 
> having to go to the special characters dialog.
> I'm wondering if its possible to set up certain keys in LO so that pressing, 
> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
> capital)?
> 
> I've looked at tools>configure but can't yet see if there is a way to make a 
> key combination return a special character rather than execute a function. 
> I've also quickly looked at autocorrect but that doesn't seem to work on key 
> combinations.
> 
> I'm guessing what i need is a keyboard mapping option?
> 
> I'm using LO 6.0.7.3 on ubuntu 18.04.08
> 
> Thanks
> /Gary
>  
> 

-- 
Dr. Heiko Tietze, UX-Designer and UX-Mentor
Tel: +49 30 5557992-63 | Mail: heiko.tie...@documentfoundation.org
The Document Foundation, Kurfürstendamm 188, 10707 Berlin, DE
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: https://www.documentfoundation.org/imprint


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
  
-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread gcatlast
 
Thanks,that's an interesting idea to explore. But would i then lose the normal 
behaviour/functionality in other programs, e.g. blender?
I really need something that is restricted to documents 
/Gary On Friday, 9 August 2019, 08:56:42 BST, Kurt Jaeger 
 wrote:  
 
 Hi!

> I'm wondering if its possible to set up certain keys in LO so that pressing, 
> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
> capital)?

I use xmodmap for that, e.g.:

/usr/local/bin/xmodmap -e 'keycode 33 = p P 0x00a7 0x00a7'

provides the paragraph character.

/usr/local/bin/xmodmap -e 'keycode 26 = e E 0x20ac 0x20ac'

yields the EURO currency symbol.

-- 
p...@opsec.eu            +49 171 3101372                    One year to go !

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

  
-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread Kurt Jaeger
Hi!

> I'm wondering if its possible to set up certain keys in LO so that pressing, 
> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
> capital)?

I use xmodmap for that, e.g.:

/usr/local/bin/xmodmap -e 'keycode 33 = p P 0x00a7 0x00a7'

provides the paragraph character.

/usr/local/bin/xmodmap -e 'keycode 26 = e E 0x20ac 0x20ac'

yields the EURO currency symbol.

-- 
p...@opsec.eu+49 171 3101372One year to go !

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy



Re: [libreoffice-users] special characters from keyboard?

2019-08-09 Thread Heiko Tietze
This was requested long time ago in [1] while meanwhile we have the Recently 
Used section and I could imagine to provide access per shortcut to those items. 
However, there is the wish to extend this section [2] and that would break any 
shortcut approach. What you always can do is to create own entries in the 
replacement table of the autocorrect function [3].

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=41981
[2] https://bugs.documentfoundation.org/show_bug.cgi?id=120753
[3] https://help.libreoffice.org/6.3/en-US/text/shared/01/06040200.html

On 09.08.19 08:56, gcatl...@yahoo.co.uk wrote:
>  Hi,
> I'm writing some Latin texts with long vowels indicated and so i'm frequently 
> having to go to the special characters dialog.
> I'm wondering if its possible to set up certain keys in LO so that pressing, 
> e.g. ALT +A would enter a with macron character (and SHIFT +ALT +A for the 
> capital)?
> 
> I've looked at tools>configure but can't yet see if there is a way to make a 
> key combination return a special character rather than execute a function. 
> I've also quickly looked at autocorrect but that doesn't seem to work on key 
> combinations.
> 
> I'm guessing what i need is a keyboard mapping option?
> 
> I'm using LO 6.0.7.3 on ubuntu 18.04.08
> 
> Thanks
> /Gary
>   
> 

-- 
Dr. Heiko Tietze, UX-Designer and UX-Mentor
Tel: +49 30 5557992-63 | Mail: heiko.tie...@documentfoundation.org
The Document Foundation, Kurfürstendamm 188, 10707 Berlin, DE
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: https://www.documentfoundation.org/imprint


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy