0
Under review

How do you display non-ascii characters, such as the degree mark?

carolg 4 year бұрын updated by Christian Fritz 4 year бұрын 7
Under review

You can use Unicode characters in your publication entries (in BibTex or another source) directly, no special action required.

Thank you, I will try that. It looked like that wasn't working earlier.

Let me know if you have it live somewhere on a web page where I can look at it. Sometimes it's necessary to add

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

to the head of your page's html, see https://bibbase.userecho.com/en/helpdesks/2/tickets/92-accents-in-title-dont-render-correctly#comment-328.

I just tested this and it didn't work. I didn't escape it, just typed it like this: angle of 5.3U+00B0...

That is the unicode for a degree mark. Is that what you meant?

This also does not work {\texttoopenbullet}

The open circle and bullet don't work. 

Sample listing with unicode: https://bibbase.org/network/publication/mula-tinney-classicalandsnapshotformsofthepodtechniqueappliedtoahelicalvortexfilament-2014

Copying here the comment I posted on the other ticket you opened:

Carol, didn't I already answer that question here: https://bibbase.userecho.com/en/communities/1/topics/396-how-do-you-display-non-ascii-characters-such-as-the-degree-mark ? Or do you mean how do you use a text editor to add unicode characters into a bibtex file? That depends on your editor and operating system, but presumably the easiest would be to copy and paste that character from the web somewhere, e.g., here: https://en.wikipedia.org/wiki/Degree_symbol. Here is the symbol itself for your convenience: °

You can just literally copy&paste the degree symbol from the text above. You don't need to use any special character codes.

So, you are just copying and pasting the mark, not the code, into the document? I am not asking about the type of editor to use.
I am updating an old file that many people have worked on. It was coded in different ways, but most do not work. I just saw one degree mark, that was just written as ° that did, but other degree marks and symbols display as question marks.

Methods used:

  • ${^\circ$
    solid or outlined bullets ° or • (these usually read as a question mark or a question mark surrounded by black)
    {\textopenbullet}
    U+00B0 (tried this, didn't work-- for a degree symbol)

There are other items such as accent acute, quotes, etc, that are coded in this manner: {\textopenbullet}. None read correctly. File is utf-8.

Also, some of the old listings use @inbook. That doesn't appear to work. Is there another option? These are articles that were put into a book from a conference. @conference works on some, but not all of these. 

Thank you!

Carol, I'm no longer sure what you are asking.

 accent acute, quotes, etc, that are coded in this manner: {\textopenbullet}. None read correctly.

Accent acute and quotes in latex are not created using `\textopenbullet` -- I don't even know that command, so of course that won't produce quotes or accent acute in bibbase either. But most special characters do work if that's your question.

@conference works on some, but not all of these.

That tag is not valid bibtex and is not supported by BibBase, I don't think. But inbook is. 


Perhaps I could help better if you pointed me at your web site. Then maybe I can see what the issue is.