From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CKFPAkp2BmS7IAEASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 00:24:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id Kx0RAUp2BmTpuAAAG6o9tA (envelope-from ) for ; Tue, 07 Mar 2023 00:24:58 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5F5CD1CE5D for ; Tue, 7 Mar 2023 00:24:57 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=xmission.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678145097; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=C8y2GzUfXJLEqf9+jRXOrGTj0VleF1nacazNo8+74cE=; b=IseO+EJhphxf0bxNsNfCohkxa74WzwgaTTbgR3/Rzta7x4mWOuwb2Fx1VQO7TVHxlbTGsz ixxjMINHfkgSDwSh3K7V7P2usT9n0R2YG43vR5qdR7CRIugJd9+Lw80tmw243QKB1yYpL6 x4lYy8NySRIJoBeY5f9hcI9F1020x0YUZU5qhWHirvQZ7jQQTJ1gxFtDMc90eyVUIhOQ/u 0K9RLlfuaC/YY+XtPx9/Q9P6tQqhj8k+jAXarKPgOU6Igpg7x2nOxPJ4wgNl8KW61pL03D uhFRvvgg0m1tbf3FaQY4JhEZ97rU70lnpAR4HyyDjjT2fFBpAmOlj4jn7NZBhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678145097; a=rsa-sha256; cv=none; b=AVVFAOVNdi6j+w4/gz1hnm+XuYT935xrUJM5tu1mx8zMn1w61aCzWoOaJWc8I3uaDy1wJj 6d0TKmClCAz0K8a0D3fGL5wOy6C8tgsc/Vuj3K5UIWcfRpt4TYdJaKs9c0bys8s4qAhuvA zDOZRZ41nxgf14t8jPHwTsfPwQeH/l+yJUxS6wEG7LpXh96+BxHgswBE/8xZhjHcufDg5i YZOcJpsWcTAs0ZVaSouajDCxLX2WPL3GntDqzWDfloVtfEbgUwFo7Ux/jqluMD/nZ2IUG7 BuxSmuwxdf4UyuPtl+R4CjKwQiY3Qp253uGtDwYTIF/7G+SgWU7VnBvGDX9IRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=xmission.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZKBq-0006sF-Uf; Mon, 06 Mar 2023 18:24:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZKBp-0006s7-7X for emacs-orgmode@gnu.org; Mon, 06 Mar 2023 18:24:21 -0500 Received: from out03.mta.xmission.com ([166.70.13.233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZKBn-0004sK-5y for emacs-orgmode@gnu.org; Mon, 06 Mar 2023 18:24:20 -0500 Received: from in02.mta.xmission.com ([166.70.13.52]:40362) by out03.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1pZKBi-00Gp8w-Dk; Mon, 06 Mar 2023 16:24:14 -0700 Received: from [155.98.131.3] (port=20828 helo=[10.128.57.19]) by in02.mta.xmission.com with esmtpa (Exim 4.93) (envelope-from ) id 1pZKBh-00D4Hl-Fg; Mon, 06 Mar 2023 16:24:14 -0700 Message-ID: <6c8cf6b6-408c-8238-a943-33feb3e1ebc1@xmission.com> Date: Mon, 6 Mar 2023 16:24:10 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-CA To: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org References: <87cz5l93ta.fsf@tsdye.online> <87sfeh79od.fsf@tsdye.online> From: Rob Sargent In-Reply-To: <87sfeh79od.fsf@tsdye.online> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-XM-SPF: eid=1pZKBh-00D4Hl-Fg; ; ; mid=<6c8cf6b6-408c-8238-a943-33feb3e1ebc1@xmission.com>; ; ; hst=in02.mta.xmission.com; ; ; ip=155.98.131.3; ; ; frm=rsargent@xmission.com; ; ; spf=pass X-XM-AID: U2FsdGVkX188Fnew+xOjiAUhM+I6trxafO8yfMXZDik= X-SA-Exim-Connect-IP: 155.98.131.3 X-SA-Exim-Mail-From: rsargent@xmission.com Subject: Re: how to add special glyphs X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Received-SPF: pass client-ip=166.70.13.233; envelope-from=rsargent@xmission.com; helo=out03.mta.xmission.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 5F5CD1CE5D X-Spam-Score: 2.19 X-Migadu-Spam-Score: 2.19 List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: d9CWj3QqfRkI On 3/6/23 16:06, Thomas S. Dye wrote: > > Rob Sargent writes: > >> On 3/6/23 10:42, Rob Sargent wrote: > >> I settled for \ding{54}, but of course that doesn't work in the HTML >> export.  I >> keep bumping in to this works-here-not-there in export. Quite >> disappointing. > > LaTeX is great, but not for the faint of heart. > I know two ways that might fix things for you. > > One is org-entities-user, which makes a dictionary to cover html and > LaTeX export, e.g., >    (add-to-list 'org-entities-user '("eng" "\\ng" nil "ŋ" "g"    > "g" "ŋ")) > > Another is to use UTF-8 in LaTeX.  Here's one of my setups: > > #+name: koma-article-liberation > #+header: :results silent > #+begin_src emacs-lisp >  (require 'ox-latex) >  (add-to-list >   'org-latex-classes >   '("koma-article-liberation" >     "\\documentclass{scrartcl} >  [NO-DEFAULT-PACKAGES] >  [PACKAGES] >  [EXTRA] >     \\usepackage{microtype} >     \\usepackage{amstext} >     \\usepackage{fontspec} >     \\usepackage{unicode-math} >     \\defaultfontfeatures{Ligatures=TeX} >     \\setmainfont{Liberation Serif} >     \\setsansfont{Liberation Sans}[Scale=MatchLowercase] >     \\setmonofont{Liberation Mono}[Scale=MatchLowercase] >     \\usepackage{paralist} >     \\let\\itemize\\compactitem >     \\let\\description\\compactdesc > \\renewenvironment{enumerate}{\\begin{inparaenum}[(i)]}{\\end{inparaenum}} >     \\usepackage{fewerfloatpages} >     \\usepackage{graphicx} >     \\usepackage{textcomp} >     \\usepackage{array} >     \\usepackage[x11names]{xcolor} >     \\usepackage[colorlinks=true,allcolors=Blue4]{hyperref} >     \\usepackage[color=blue]{attachfile2} >     \\usepackage[cache=false]{minted} >     \\usemintedstyle{tango} >     \\usepackage{rotating} >     \\usepackage[authordate, giveninits=true, noibid, sortcites=true, > backend=biber, bibencoding=utf8]{biblatex-chicago} >     \\addbibresource{tsd.bib} >     \\newcommand{\\rc}{$^{14}$C}" >     ("\\section{%s}" . "\\section*{%s}") >     ("\\subsection{%s}" . "\\subsection*{%s}") >     ("\\subsubsection{%s}" . "\\subsubsection*{%s}") >     ("\\paragraph{%s}" . "\\paragraph*{%s}") >     ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) > #+end_src > > The key here is the fontspec package. > > If you go the UTF-8 route, then you'll need to compile with either > XeLaTeX or LuaLaTeX, something like this: > > #+name: xelatex-biber > #+header: :results silent > #+begin_src emacs-lisp >  (setq org-latex-pdf-process >        '("xelatex -interaction nonstopmode -shell-escape > -output-directory %o %f" >          "biber %b" >          "xelatex -interaction nonstopmode -shell-escape > -output-directory %o %f" >          "xelatex -interaction nonstopmode -shell-escape > -output-directory %o %f")) > #+end_src > > hth, > Tom > Thanks again. I think I have to decide on one format and stick with it.  I get bitten by ODT/DOC transformations, not sure I like the default look of LaTeX/pdf, HTML is pretty reliable but not best for handing out. Maybe I'll go back to "text" and call it good. Cheers, rjs