* l geminada
@ 2022-09-12 21:30 Eloi Torrents
[not found] ` <5a818fe7-360b-4845-ac47-480747a2d616n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Eloi Torrents @ 2022-09-12 21:30 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 656 bytes --]
Hello, how can I type an "l geminada" ( l·l ) in markdown with pandoc?
I attach my attempt and the output which contains unwanted spaces between
the dot.
In latex there is the command \lgem, how can I use it in pandoc?
Thank you
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5a818fe7-360b-4845-ac47-480747a2d616n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 990 bytes --]
[-- Attachment #2: lgem.pdf --]
[-- Type: application/pdf, Size: 38511 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: l geminada
[not found] ` <5a818fe7-360b-4845-ac47-480747a2d616n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-09-12 21:34 ` Eloi Torrents
[not found] ` <13c610f0-1542-47e2-9783-d94c7c4cc52bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-09-13 14:13 ` Pablo Rodríguez
1 sibling, 1 reply; 7+ messages in thread
From: Eloi Torrents @ 2022-09-12 21:34 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 843 bytes --]
I couldn't attach the source... I'm sorry for the 2 messages.
https://pastebin.com/vp487K3v
On Monday, September 12, 2022 at 11:30:54 PM UTC+2 Eloi Torrents wrote:
> Hello, how can I type an "l geminada" ( l·l ) in markdown with pandoc?
>
> I attach my attempt and the output which contains unwanted spaces between
> the dot.
> In latex there is the command \lgem, how can I use it in pandoc?
>
> Thank you
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/13c610f0-1542-47e2-9783-d94c7c4cc52bn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1383 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: l geminada
[not found] ` <13c610f0-1542-47e2-9783-d94c7c4cc52bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-09-13 12:37 ` BPJ
0 siblings, 0 replies; 7+ messages in thread
From: BPJ @ 2022-09-13 12:37 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]
What do you get if you convert your source markdown to LaTeX? `pandoc -o
output.ltx source.md`? (Copy and paste it into the reply message.)
Also try with --pdf-engine=xelatex option. I can't try ATM but I have
typeset the middle dot (in Old Occitan, e.g. _que·l_, contraction of _que
lo_) with XeLaTeX before and never had a problem. It would surprise me if
LaTeX acts up just because the character on either side is _l_ — I would
rather expect the opposite!
Den mån 12 sep. 2022 23:35Eloi Torrents <eloi.torrentsj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
> I couldn't attach the source... I'm sorry for the 2 messages.
> https://pastebin.com/vp487K3v
>
> On Monday, September 12, 2022 at 11:30:54 PM UTC+2 Eloi Torrents wrote:
>
>> Hello, how can I type an "l geminada" ( l·l ) in markdown with pandoc?
>>
>> I attach my attempt and the output which contains unwanted spaces between
>> the dot.
>> In latex there is the command \lgem, how can I use it in pandoc?
>>
>> Thank you
>>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/13c610f0-1542-47e2-9783-d94c7c4cc52bn%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/13c610f0-1542-47e2-9783-d94c7c4cc52bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDvfpJ7yV0tg0vB_86PLTOUHLn13KdMkMTNFdrooSu9Ug%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 3183 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: l geminada
[not found] ` <5a818fe7-360b-4845-ac47-480747a2d616n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-09-12 21:34 ` Eloi Torrents
@ 2022-09-13 14:13 ` Pablo Rodríguez
[not found] ` <e01c6e9c-2ad2-e426-c78c-128499f05d16-S0/GAf8tV78@public.gmane.org>
1 sibling, 1 reply; 7+ messages in thread
From: Pablo Rodríguez @ 2022-09-13 14:13 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
On 9/12/22 23:30, Eloi Torrents wrote:
> Hello, how can I type an "l geminada" ( l·l ) in markdown with pandoc?
Hi Eloi,
Unicode seems to have a character for that (in fact,
https://en.wikipedia.org/wiki/Ŀ redirects to
https://en.wikipedia.org/wiki/Interpunct#Catalan).
> I attach my attempt and the output which contains unwanted spaces
> between the dot.
> In latex there is the command \lgem, how can I use it in pandoc?
I attach the output for the following ConTeXt source, comparing both
with and without the Unicode fix:
\starttext
\startTEXpage[offset=1em, align=middle]
cel·la\\
ceŀla
\stopTEXpage
\stoptext
I think that "ceŀla" may be what you intend.
Just in case it might help,
Pablo
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e01c6e9c-2ad2-e426-c78c-128499f05d16%40web.de.
[-- Attachment #2: ceŀla.pdf --]
[-- Type: application/pdf, Size: 5187 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: l geminada
[not found] ` <e01c6e9c-2ad2-e426-c78c-128499f05d16-S0/GAf8tV78@public.gmane.org>
@ 2022-09-13 15:28 ` Eloi Torrents
[not found] ` <d9a07072-02c7-489d-9b80-f4095ed39548n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Eloi Torrents @ 2022-09-13 15:28 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 2733 bytes --]
If I run `pandoc lgem.md -o lgem.ltx` I get:
\hypertarget{pelluxedcules}{%
\section{Pel·lícules}\label{pelluxedcules}}
I think it is a problem of the font, I tried adding
---
fontfamily : dejavu
---
on the header of the markdown document. Now I got the error:
$ pandoc lgem.md -o lgem.pdf
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600
DejaVuSerif-tlf-t1--base
mktexpk: don't know how to create bitmap font for DejaVuSerif-tlf-t1--base.
mktexpk: perhaps DejaVuSerif-tlf-t1--base is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600
DejaVuSerif-tlf-t1--base
mktexpk: don't know how to create bitmap font for DejaVuSerif-tlf-t1--base.
mktexpk: perhaps DejaVuSerif-tlf-t1--base is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
Error producing PDF.
!pdfTeX error: pdflatex (file DejaVuSerif-tlf-t1--base): Font
DejaVuSerif-tlf-t
1--base at 600 not found
==> Fatal error occurred, no output PDF file produced!
I'm on void linux, I have dejavu-fonts-ttf and texlive-fontsextra installd.
How can I check if I'm missing some important package?
Using xelatex I don't get the error, but the output is still spaced.
Thank you for the proposal of using "ŀ", I'll use it for now, but I would
like to not have any problem with "l·l".
Eloi
On Tuesday, September 13, 2022 at 4:13:24 PM UTC+2 ousia wrote:
> On 9/12/22 23:30, Eloi Torrents wrote:
> > Hello, how can I type an "l geminada" ( l·l ) in markdown with pandoc?
>
> Hi Eloi,
>
> Unicode seems to have a character for that (in fact,
> https://en.wikipedia.org/wiki/Ŀ redirects to
> https://en.wikipedia.org/wiki/Interpunct#Catalan).
>
> > I attach my attempt and the output which contains unwanted spaces
> > between the dot.
> > In latex there is the command \lgem, how can I use it in pandoc?
>
> I attach the output for the following ConTeXt source, comparing both
> with and without the Unicode fix:
>
> \starttext
> \startTEXpage[offset=1em, align=middle]
> cel·la\\
> ceŀla
> \stopTEXpage
> \stoptext
>
> I think that "ceŀla" may be what you intend.
>
> Just in case it might help,
>
> Pablo
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d9a07072-02c7-489d-9b80-f4095ed39548n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3828 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: l geminada
[not found] ` <d9a07072-02c7-489d-9b80-f4095ed39548n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-09-13 17:46 ` Pablo Rodríguez
[not found] ` <35bbc615-41f4-841a-697d-e689aed0a763-S0/GAf8tV78@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodríguez @ 2022-09-13 17:46 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2241 bytes --]
On 9/13/22 17:28, Eloi Torrents wrote:
> If I run `pandoc lgem.md -o lgem.ltx` I get:
>
> \hypertarget{pelluxedcules}{%
> \section{Pel·lícules}\label{pelluxedcules}}
>
> I think it is a problem of the font, I tried adding
>
> I'm on void linux, I have dejavu-fonts-ttf and texlive-fontsextra
> installd. How can I check if I'm missing some important package?
Sorry, but last time I used pdflatex it was (almost) two decades ago.
Its updated version is called lualatex.
> Using xelatex I don't get the error, but the output is still spaced.
>
> Thank you for the proposal of using "ŀ", I'll use it for now, but I
> would like to not have any problem with "l·l".
In that case, you could use the following (sorry, ConTeXt source, since
I don’t use LaTeX [but read below]):
\startluacode
fonts.handlers.otf.addfeature {
name = "liga",
type = "ligature",
data = {
['ŀ'] = { "l", "·" },
['Ŀ'] = { "L", "·" },
}
}
\stopluacode
\setupbodyfont[termes, 48pt]
\starttext
\startTEXpage[offset=1em, align=middle]
cel·la
ceŀla\\
CEL·LA
CEĿLA\\
\feature[+][smallcaps]
cel·la
ceŀla
\stopTEXpage
\stoptext
It works only for LuaTeX. https://tex.stackexchange.com/q/312154
explains how to use this in LuaLaTeX.
Copy right after "\usepackage{fontspec}" in your LaTeX source (I have no
idea on how to add this automatically when converting Markdown sources):
\directlua {
fonts.handlers.otf.addfeature {
name = "liga",
type = "ligature",
data = {
['ŀ'] = { "l", "·" },
['Ŀ'] = { "L", "·" },
}
}
}
BTW, as showed in the PDF document, this won’t work with small caps
(either OT feature, or special font).
Just in case it might help,
Pablo
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/35bbc615-41f4-841a-697d-e689aed0a763%40web.de.
[-- Attachment #2: ceŀla.pdf --]
[-- Type: application/pdf, Size: 6128 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* AW: l geminada
[not found] ` <35bbc615-41f4-841a-697d-e689aed0a763-S0/GAf8tV78@public.gmane.org>
@ 2022-09-13 19:28 ` denis.maier-NSENcxR/0n0
0 siblings, 0 replies; 7+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2022-09-13 19:28 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
> -----Ursprüngliche Nachricht-----
> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-
> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Pablo Rodríguez
> Gesendet: Dienstag, 13. September 2022 19:47
> An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: Re: l geminada
> >
> Copy right after "\usepackage{fontspec}" in your LaTeX source (I have no
> idea on how to add this automatically when converting Markdown sources):
>
> \directlua {
> fonts.handlers.otf.addfeature {
> name = "liga",
> type = "ligature",
> data = {
> ['ŀ'] = { "l", "·" },
> ['Ŀ'] = { "L", "·" },
> }
> }
> }
>
You'll need a custom template for this. Or maybe use the `header-includes` feature.
Best,
Denis
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9078e935b3d3475983146edbce0baee8%40unibe.ch.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-09-13 19:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-12 21:30 l geminada Eloi Torrents
[not found] ` <5a818fe7-360b-4845-ac47-480747a2d616n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-09-12 21:34 ` Eloi Torrents
[not found] ` <13c610f0-1542-47e2-9783-d94c7c4cc52bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-09-13 12:37 ` BPJ
2022-09-13 14:13 ` Pablo Rodríguez
[not found] ` <e01c6e9c-2ad2-e426-c78c-128499f05d16-S0/GAf8tV78@public.gmane.org>
2022-09-13 15:28 ` Eloi Torrents
[not found] ` <d9a07072-02c7-489d-9b80-f4095ed39548n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-09-13 17:46 ` Pablo Rodríguez
[not found] ` <35bbc615-41f4-841a-697d-e689aed0a763-S0/GAf8tV78@public.gmane.org>
2022-09-13 19:28 ` AW: " denis.maier-NSENcxR/0n0
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).