Re: Adding accented character in JabRef [RESOLVED]

2024-01-02 Thread Rich Shepard

On Mon, 1 Jan 2024, Rich Shepard wrote:


An authors' name is Antao with the second 'a' accented with a tilde. I'm
not finding the proper syntax to produce that in the BibTeX source.


Found the solution that works here with Slackware and Xfce4. In ~/.Xmodmap I
added the line
keycode 133 = Multi_key

Opened JabRef and selected the paper with the first author's name Antão. By
pressing/releasing the windoze flag key off the left side of the space bar,
then pressing ~ and a there's now an ã in the JabRef entry, as well as in
this urxvt terminal running alpine. :-)

Thanks, everyone!

Regards,

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


Re: Adding accented character in JabRef

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, Richard Kimberly Heck wrote:

I'm seeing odd results with this as well. If I use the attached bib file, 
then \~A shows up just fine, but \~a does not. In the bbl file, it appears 
as:


\begin{thebibliography}{1}

\bibitem{Ant:Test}
Ant\ {a}o \~Antonia.
\newblock Whatever.
\newblock {\em Good One}, 2023.

\end{thebibliography}

Note the deleted tilde in the first name. The tilde has been moved to a 
non-breaking space.


Riki,

I, too, saw the blank replacing the tilde.

I just set a keyboard key to Compose. When I resolve the issue of no
bibliography in the pdflatex PDF I'll play with the accent issue.

Thanks,

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


Re: Adding accented character in JabRef

2024-01-02 Thread Richard Kimberly Heck

On 1/2/24 11:51, Rich Shepard wrote:

On Tue, 2 Jan 2024, Richard Kimberly Heck wrote:

Is JabRef saving them that way? I've had problems with it saving such 
things as Unicode.


Riki,

Nope. It tells me there's an unexpected '(' in the string.


I'm seeing odd results with this as well. If I use the attached bib 
file, then \~A shows up just fine, but \~a does not. In the bbl file, it 
appears as:


\begin{thebibliography}{1}

\bibitem{Ant:Test}
Ant\ {a}o \~Antonia.
\newblock Whatever.
\newblock {\em Good One}, 2023.

\end{thebibliography}

Note the deleted tilde in the first name. The tilde has been moved to a 
non-breaking space.


Riki

@Article{Ant:Test,
  author  = {Ant\~{a}o \~Antonia},
  journal = {Good One},
  title   = {Whatever},
  year= {2023},
}

@Comment{jabref-meta: databaseType:bibtex;}
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding accented character in JabRef

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, Richard Kimberly Heck wrote:

Is JabRef saving them that way? I've had problems with it saving such things 
as Unicode.


Riki,

Nope. It tells me there's an unexpected '(' in the string.

I'll ask on the slackware mail list how to set a compose key using the
right-side alt key.

Sigh,

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


Re: Adding accented character in JabRef

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, Paul Rubin wrote:


I forget which Linux distro you use, but you might want to check whether
there is a keyboard layout option for the compose key. There is on Mint. I
set it to the right alt key, so I can just type right-alt, " and a letter
(three separate key strokes, not a chord) to get an umlaut or right-alt,
~, n to get ñ, etc.


Paul,

I use Slackware. In ~/.keymap I have:
# Exchange the left Control key and the Caps Lock key on the keyboard
keymaps 0-2,4-6,8-9,12
keycode 58 = Control
keycode 29 = Caps_Lock

I'll ask on the slackware mail list how to create a compose key.

Thanks,

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


Re: Adding accented character in JabRef

2024-01-02 Thread Paul Rubin



On 1/2/24 09:16, Rich Shepard wrote:

On Tue, 2 Jan 2024, Herbert Voss wrote:


\~a   or \~{a}
However, you should be able to insert directly ã


Herbert,

It didn't like the first two. I need to learn how to enter it directly in
using /usr/share/X11/locale/en_US.UTF-8/Compose.

Thanks,

Rich

Rich,

I forget which Linux distro you use, but you might want to check whether 
there is a keyboard layout option for the compose key. There is on Mint. 
I set it to the right alt key, so I can just type right-alt, " and a 
letter (three separate key strokes, not a chord) to get an umlaut or 
right-alt, ~, n to get ñ, etc.


Paul

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


Re: Adding accented character in JabRef

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, José Matos wrote:


https://en.wikipedia.org/wiki/AltGr_key


José,

That explains it: there's not an alt-graph key on US keyboards.

Thanks,

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


Re: Adding accented character in JabRef

2024-01-02 Thread José Matos
On Tue, 2024-01-02 at 06:17 -0800, Rich Shepard wrote:
> Herbert,
> 
> What's the AltGr chord?

https://en.wikipedia.org/wiki/AltGr_key

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding accented character in JabRef

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, Herbert Voss wrote:


sure ... but also
Linux: AltGr+a


Herbert,

What's the AltGr chord?

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


Re: Adding accented character in JabRef

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, Herbert Voss wrote:


\~a   or \~{a}
However, you should be able to insert directly ã


Herbert,

It didn't like the first two. I need to learn how to enter it directly in
using /usr/share/X11/locale/en_US.UTF-8/Compose.

Thanks,

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


Re: Adding accented character in JabRef

2024-01-02 Thread Neal Becker
On Tue, Jan 2, 2024 at 5:29 AM Herbert Voss 
wrote:

>
>
> Am 02.01.24 um 11:20 schrieb Kees Zeelenberg:
> > Herbert Voss wrote:
> >> However, you should be able to insert directly ã
> > Isn't this only possible with either a keyboard that has the symbol
> directly or a keyboard with dead keys?
>
> sure ... but also
>
> Win: Alt+0227
> macOS: Alt+n a
> Linux: AltGr+a
>
>
> Or use your favorite unicode character app to insert, I use kcharselect
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding accented character in JabRef

2024-01-02 Thread Herbert Voss



Am 02.01.24 um 11:20 schrieb Kees Zeelenberg:

Herbert Voss wrote:

However, you should be able to insert directly ã

Isn't this only possible with either a keyboard that has the symbol directly or 
a keyboard with dead keys?


sure ... but also

Win: Alt+0227
macOS: Alt+n a
Linux: AltGr+a


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


RE: Adding accented character in JabRef

2024-01-02 Thread Kees Zeelenberg
Herbert Voss wrote:
> However, you should be able to insert directly ã

Isn't this only possible with either a keyboard that has the symbol directly or 
a keyboard with dead keys?

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


Re: Adding accented character in JabRef

2024-01-01 Thread Herbert Voss



Am 01.01.24 um 23:52 schrieb Rich Shepard:
An authors' name is Antao with the second 'a' accented with a tilde. 
I'm not

finding the proper syntax to produce that in the BibTeX source.

I tried {~}a and \{~}a and some other variants without success.


\~a   or \~{a}

However, you should be able to insert directly ã


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


Re: Adding accented character in JabRef

2024-01-01 Thread Richard Kimberly Heck

On 1/1/24 17:52, Rich Shepard wrote:
An authors' name is Antao with the second 'a' accented with a tilde. 
I'm not

finding the proper syntax to produce that in the BibTeX source.

I tried {~}a and \{~}a and some other variants without success.


Is JabRef saving them that way? I've had problems with it saving such 
things as Unicode.


Riki


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


Adding accented character in JabRef

2024-01-01 Thread Rich Shepard

An authors' name is Antao with the second 'a' accented with a tilde. I'm not
finding the proper syntax to produce that in the BibTeX source.

I tried {~}a and \{~}a and some other variants without success.

A cluestick is needed.

TIA,

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