HTML font choice

Hey guys! I'm pretty new to html and coding in general, so I have a question for you:
Is it possible or would it be possible to make a tag that overwrites the font choice of the document? Just like you can get italics, bold or smallcaps, I would like to have text shown in another font.
Thanks in advance!
  • Unless I'm misunderstanding the question (in which case please clarify how this relates to Zotero), this isn't the right place for general programing or webdesign questions. There are lots of general-purpose sites for questions like these (Stackoverflow being the largest one). For relatively simple HTML question, google gets you quite far, too:
    https://www.google.com/search?client=ubuntu&channel=fs&q=Choose+font+HTML&ie=utf-8&oe=utf-8
  • First of all, thanks for your general hostility. My question is most definitely relevant for zotero: The first word of a cited work is in Myceneaen Greek syllabary, for which I would need a specific font. But the same would be the case for all other (ancient) writing systems not (yet) in unicode fonts. I was wondering if it would be possible not to transcribe them.
  • Sorry, but there was just no way to gather that from your initial post.
    The answer is no, though. Since Zotero doesn't format just in HTML but also in RTF (that's how the Word and LibreOffice add-ons work) and exports into a bunch of other formats, I don't see any way it could support non-unicode characters, sorry.
  • edited January 15, 2017
    Are there html entities for non-unicode characters and can those entities be used within Zotero item titles?
  • Thanks a lot. Please let me just (with the help from your link) try to specify, even though it's probably still impossible.
    The font in question works as normal text, it just shows up as rather exotic signs. If I could just use the -tag in zotero, I could still type "rjkh" or what not and it would show up as the correct symbols in my document.
    But, if I understand you correctly, it is not and will not be possible to use the font-tag in Zotero?
  • that's correct -- you won't be able to use the font-tag in Zotero fields. Zotero supports just five html tags in titles (italics, bold, sub- and superscript, and small caps) and all of those have to be individually translated to non-html formats (which is what Zotero uses for a lot of what it displays, including references printed in Word). That's doable (though not trivial) for very simple formatting such as the above, but it's not going to happen for more complex html such as fonts
  • Are there html entities for non-unicode characters and can those entities be used within Zotero item titles?
    FWIW, the answer to this is "I don't think so" for the first part* and if I'm wrong about that "definitely not" for the second part of the question.

    *not counting special non-HTML web formatting such as MathJax

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.