Re: Shortcuts for symbols in text

2018-07-21 Thread Kornel Benko
Am Samstag, 21. Juli 2018 12:38:42 CEST schrieb Richard Kimberly Heck 
:
> On 07/21/2018 12:25 PM, Jean-Marc Lasgouttes wrote:
> > Le 21/07/2018 à 17:47, Richard Kimberly Heck a écrit :
> >> On 07/21/2018 09:56 AM, Tank Panzer wrote:
> >>> In LyX one can cunfigure the shortcuts and even add new ones under
> >>> preferences.
> >>> Like I was able to add a new shortcut by typing "math-insert \bullet"
> >>> and passing a shortcut to it
> >>>
> >>> I would like to know if it is possible to add shortcuts to normal
> >>> symbols in text, like "\textbullet" which i am able to add through the
> >>> UI with mouse.
> >>> I tryed to type "insert \textbullet" and few others, but it said
> >>> "wrong LyX function".
> >>> Do you know what i need to type?
> >>
> >> Try self-insert. But you will have to do something special with the
> >> backslash, I think?
> >
> > Why a backslash? The best would be "self-insert ⦁"
> 
> I had the general case in mind, but of course one can just directly
> insert such symbols.
> 
> Note, for other readers (JMarc knows this), that you can also use
> unicode-insert and give the unicode value.
> 
> Riki
> 

This looks like latex, so I would try
command-sequence ert-insert; self-insert \textbullet;char-forward

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Shortcuts for symbols in text

2018-07-21 Thread Richard Kimberly Heck
On 07/21/2018 12:25 PM, Jean-Marc Lasgouttes wrote:
> Le 21/07/2018 à 17:47, Richard Kimberly Heck a écrit :
>> On 07/21/2018 09:56 AM, Tank Panzer wrote:
>>> In LyX one can cunfigure the shortcuts and even add new ones under
>>> preferences.
>>> Like I was able to add a new shortcut by typing "math-insert \bullet"
>>> and passing a shortcut to it
>>>
>>> I would like to know if it is possible to add shortcuts to normal
>>> symbols in text, like "\textbullet" which i am able to add through the
>>> UI with mouse.
>>> I tryed to type "insert \textbullet" and few others, but it said
>>> "wrong LyX function".
>>> Do you know what i need to type?
>>
>> Try self-insert. But you will have to do something special with the
>> backslash, I think?
>
> Why a backslash? The best would be "self-insert ⦁"

I had the general case in mind, but of course one can just directly
insert such symbols.

Note, for other readers (JMarc knows this), that you can also use
unicode-insert and give the unicode value.

Riki



Re: Shortcuts for symbols in text

2018-07-21 Thread Jean-Marc Lasgouttes

Le 21/07/2018 à 17:47, Richard Kimberly Heck a écrit :

On 07/21/2018 09:56 AM, Tank Panzer wrote:

In LyX one can cunfigure the shortcuts and even add new ones under
preferences.
Like I was able to add a new shortcut by typing "math-insert \bullet"
and passing a shortcut to it

I would like to know if it is possible to add shortcuts to normal
symbols in text, like "\textbullet" which i am able to add through the
UI with mouse.
I tryed to type "insert \textbullet" and few others, but it said
"wrong LyX function".
Do you know what i need to type?


Try self-insert. But you will have to do something special with the
backslash, I think?


Why a backslash? The best would be "self-insert ⦁"

JMarc


RE: Shortcuts for symbols in text

2018-07-21 Thread Christopher Menzel
See, I was wrong. :-)

-chris

From: Richard Kimberly Heck
Sent: Saturday, July 21, 2018 5:47 PM
To: Tank Panzer; lyx-users@lists.lyx.org
Subject: Re: Shortcuts for symbols in text

On 07/21/2018 09:56 AM, Tank Panzer wrote:
> In LyX one can cunfigure the shortcuts and even add new ones under
> preferences.
> Like I was able to add a new shortcut by typing "math-insert \bullet"
> and passing a shortcut to it
>
> I would like to know if it is possible to add shortcuts to normal
> symbols in text, like "\textbullet" which i am able to add through the
> UI with mouse.
> I tryed to type "insert \textbullet" and few others, but it said
> "wrong LyX function".
> Do you know what i need to type?

Try self-insert. But you will have to do something special with the
backslash, I think?

See Help> LyX Functions for a list of all the options.

Riki





Re: Shortcuts for symbols in text

2018-07-21 Thread Chris Menzel
On Sat, Jul 21, 2018 at 3:58 PM Tank Panzer  wrote:

> In LyX one can configure the shortcuts and even add new ones under
> preferences.
> Like I was able to add a new shortcut by typing "math-insert \bullet" and
> passing a shortcut to it
>
> I would like to know if it is possible to add shortcuts to normal symbols
> in text, like "\textbullet" which i am able to add through the UI with
> mouse.
> I tryed to type "insert \textbullet" and few others, but it said "wrong
> LyX function".
> Do you know what i need to type?
>

I don't believe there is any way to insert symbols with a shortcut outside
of math mode (though I could be wrong). If you're running LyX under
Windows, you can use the scripting utility AutoHotKey to get this
functionality. Just create a file called, e.g., macros.ahk and, to get your
desired functionality, add the line

:*:\textbullet::⦁

where ⦁ is the unicode bullet; you can of course add as many such lines as
you please to insert all the symbols you want. (Be sure to save the file
with UTF-8 encoding.) To activate the script, right click on it and select *Run
Script*. (I think if you drop it into your Documents directory it will run
by default at startup.) I reckon you could use Applescript on a Mac to do
something similar. Dunno about Linux.

-chris


Re: Shortcuts for symbols in text

2018-07-21 Thread Richard Kimberly Heck
On 07/21/2018 09:56 AM, Tank Panzer wrote:
> In LyX one can cunfigure the shortcuts and even add new ones under
> preferences.
> Like I was able to add a new shortcut by typing "math-insert \bullet"
> and passing a shortcut to it
>
> I would like to know if it is possible to add shortcuts to normal
> symbols in text, like "\textbullet" which i am able to add through the
> UI with mouse.
> I tryed to type "insert \textbullet" and few others, but it said
> "wrong LyX function".
> Do you know what i need to type?

Try self-insert. But you will have to do something special with the
backslash, I think?

See Help> LyX Functions for a list of all the options.

Riki




How to populate ~/.texlive2018/texmf-var/fonts

2018-07-21 Thread Steve Litt
My new computer has $HOME/.texlive2018/texmf-var but not
$HOME/.texlive2018/texmf-var/fonts . What do I do to install and
populate $HOME/.texlive2018/texmf-var/fonts? I'm using TeXLive 2018 on
64 bit Void Linux.

Thanks,

SteveT


Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/key
Twitter: http://www.twitter.com/stevelitt



Shortcuts for symbols in text

2018-07-21 Thread Tank Panzer
In LyX one can cunfigure the shortcuts and even add new ones under
preferences.
Like I was able to add a new shortcut by typing "math-insert \bullet" and
passing a shortcut to it

I would like to know if it is possible to add shortcuts to normal symbols
in text, like "\textbullet" which i am able to add through the UI with
mouse.
I tryed to type "insert \textbullet" and few others, but it said "wrong LyX
function".
Do you know what i need to type?


Re: Umlaute again

2018-07-21 Thread Jürgen Spitzmüller
Am Freitag, den 20.07.2018, 16:24 +0200 schrieb Wolfgang Engelmann:
> 
> 
> Am 20.07.2018 um 15:12 schrieb Chris Menzel:
> > On Fri, Jul 20, 2018 at 2:33 PM Wolfgang Engelmann  > uebingen.de> wrote:
> > > > On Fri, Jul 20, 2018 at 9:21 AM Wolfgang Engelmann  > > > ni-tuebingen.de> wrote:
> > > > > Am 20.07.2018 um 07:54 schrieb Wolfgang Engelmann:
> > > > > 
> > > > > > Am 19.07.2018 um 19:44 schrieb Wolfgang Engelmann:
> > > > > >>
> > > > > >> I thought I would have solved the issue with Umlaute in
> > > > > references by 
> > > > > >> using UTF8 in lyx as well as in Jabref. But I got again
> > > > > problems and 
> > > > > >> don't know what to do. I am including a tar file which
> > > > > contains a 
> > > > > >> short lyx file with two references, the style file spbasic
> > > > > (Springer 
> > > > > >> publisher) and a bib file containing the two references. I
> > > > > produced 
> > > > > >> the bib file with JabRef 4.3.1. I use debian stretch.
> > > > > >>
> > > > > >> If I pdf-output it, I get errors such as shown below.
> > > > > >>
> > > > > >> If I force the output (show it anyway...) one citation
> > > > > comes alright, 
> > > > > >> the other one misses the Umlaut ü
> > > > > >>
> > > > > >> Could somebody confirm this error and perhaps give me a
> > > > > hint what is 
> > > > > >> going wrong?
> > > > > >>
> > > > > >> Thankful for your help:
> > > > > 
> > > > > 
> > > 
> > > I moved your text here
> > > 
> > > Am 20.07.2018 um 11:50 schrieb Chris Menzel:
> > > Hi Wolfgang,
> > > 
> > > My situation is not exactly yours but after a recent upgrade of
> > > Zotero I started getting a number of errors with my bibliography,
> > > the final one (after solving a couple of others) had to do with
> > > unicode characters, including in particular those with Umlauts. I
> > > finally solved this by adding "bibencoding=utf8" to the Citation
> > > Style options under Document → Settings → Bibliography. (I'm
> > > using biblatex.) I had tried including "utf8" among the Class
> > > options for the "article" document style (following a suggestion
> > > I found while trying to diagnose the problem), but to no avail. I
> > > have found that option to be unnecessary after adding the above
> > > to the Citation Style options. I hope this might help.
> > > 
> > > Chris Menzel
> > > 
> > > Thanks, Chris,
> > > I followed your proposal, but get this
> > > dist/tex/latex/natbib/natbib.sty
> > > Package: natbib 2010/09/13 8.31b (PWD, AO)
> > > ! LaTeX Error: Unknown option `bibencoding=utf8' for package
> > > `natbib'.
> > > Perhaps you could tell me, what you used in the citation style
> > > frame in
> > > style format
> > > variant format
> > > default bibtex style
> > > processor?
> > > 
> > > I have only 5 style formats to choose from, 2 of them for
> > > biblatex, 1 basic(Bibtex) which is numeric -can't use it, jurabib
> > > gives only ?? for the citations, and natbib see the error above. 
> > > Could this be due to the situation I describe in another mail
> > > (lyxpipe sent today at at 13:49) > empty folders?
> > > I am quite desparate, since I can't get it working
> > > 
> > > Wolfgang
> > > 
> > 
> > I'm just selecting plain "Biblatex" not "Biblatex (natbib mode)"
> > in  Document → Settings → Bibliography. What happens if you try
> > that?
> > 
> > -chris
> > 
>  Thats what I did. See the error above

No, you didn't. You apparently use Natbib with BibTeX rather than
Biblatex. So Chris' hint will not work for you.

Jürgen

> Wolfgang

signature.asc
Description: This is a digitally signed message part


Re: Umlaute again

2018-07-21 Thread Jürgen Spitzmüller
Am Donnerstag, den 19.07.2018, 19:44 +0200 schrieb Wolfgang Engelmann:
> I thought I would have solved the issue with Umlaute in references by
> using UTF8 in lyx as well as in Jabref. But I got again problems and
> don't know what to do. I am including a tar file which contains a
> short lyx file with two references, the style file spbasic (Springer
> publisher) and a bib file containing the two references. I produced
> the bib file with JabRef 4.3.1. I use debian stretch.
> If I pdf-output it, I get errors such as shown below. 
> If I force the output (show it anyway...) one citation comes alright,
> the other one misses the Umlaut ü
> Could somebody confirm this error and perhaps give me a hint what is
> going wrong?

The bib file is encoded in latin1 (ISO-8859-1), not utf8. That's the
problem.

Jürgen

> Thankful for your help:
> Wolfgang
> >> 
> ! Use of \@undeclaredcolor doesn't match its definition.
> \DeclareInputText #1#2->\def \reserved@a ##
> 1 ${}\def \reserved@b {#2}\ifcat ...
> l.74 \citet{Buenning1932}, \citet{Buenning1958}
> \bibliographystyle{5_mnt_sdb_...
> If you say, e.g., `\def\a1{...}', then you must always
> put `1' after `\a', since control sequence names are
> made up of letters only. The macro here has not been
> followed by the required stuff, so I'm ignoring it.
> 
> ! Use of \@undeclaredcolor doesn't match its definition.
>  m
> acro:->\@declaredcolor
> l.74 \citet{Buenning1932}, \citet{Buenning1958}
> \bibliographystyle{5_mnt_sdb_...
> If you say, e.g., `\def\a1{...}', then you must always
> put `1' after `\a', since control sequence names are
> made up of letters only. The macro here has not been
> followed by the required stuff, so I'm ignoring it.
> 
> ! Package inputenc Error: Keyboard character used is undefined
> (inputenc) in inputencoding `utf8'.
> 
> See the inputenc package documentation for explanation.
> Type H  for immediate help.
> ...

signature.asc
Description: This is a digitally signed message part


Re: lyxpipe

2018-07-21 Thread Jürgen Spitzmüller
Am Freitag, den 20.07.2018, 13:49 +0200 schrieb Wolfgang Engelmann:
> I have compiled lyx again:
> LyX Version 2.3.0
> (Samstag, 24. Februar 2018)
> Systemverzeichnis: /usr/local/share/lyx/
> Benutzerverzeichnis: ~/.lyx/
> Qt-Version (Laufzeit): 4.8.7
> Qt-Version (bei Erstellung): 4.8.7
> 
> In the user directory ~/.lyx/ all directories except the first 2
> (bind, cache) are empty. I guess, this shouldn't be so.

No, that's correct. The other directories are user directories reserved
for your own stuff.

Jürgen


>  I used .configure, make, and sudo make install. What might have been
> gone wrong?
> 
> Wolfgang

signature.asc
Description: This is a digitally signed message part