On 7/23/2018 10:17 PM, Stanislav Sokolenko wrote:
Thanks Hans, that's really helpful!
This is not for the fainthearted so here we go
\startluacode
function document.MyBoldPub(set,tag)
-- local a = publications.getfield(set,tag,"author")
-- inspect(a)
-- local c =
Thanks Hans, that's really helpful!
This is not for the fainthearted so here we go
\startluacode
function document.MyBoldPub(set,tag)
-- local a = publications.getfield(set,tag,"author")
-- inspect(a)
-- local c = publications.getcasted(set,tag,"author")
-- inspect(c)
On 7/23/2018 6:42 PM, Stanislav Sokolenko wrote:
Dear list,
I'm struggling to output bibliography entries into lua for string
modification (like making a particular author name bold). In effect, I
just need something like the following:
\starttexdefinition btx:customauthor
Thanks Hans, there are many symbols.
On 07/23/2018 11:20 AM, Hans Hagen wrote:
> On 7/23/2018 5:52 PM, Lizardo M. Reyna Bowen wrote:
>> Hi,
>>
>> I want to use the some symbols for phone and email (envelope) in my
>> curriculum vitae to get it look more modern.
>>
>> How is the way to do it in
Thanks to all, the fontawesome solution was the simplest. It look nice now.
--
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección] Lodana, Santa Ana, Manabí, Ecuador
[Móvil] +593 982924637
PGP Key: 0xa35a15b90ee64e8d
On 07/23/2018 06:23 PM, Hans Hagen wrote:
> On 7/23/2018 6:04 PM, Pablo Rodriguez wrote:
>> [...]
>> Would it be possible to use the function to hash external binary files?
>>
>> Many thanks for your help,
>
> utilities.sha2.hash512(io.loaddata("foo.bin"))
>
> on the average it's fast enough
Dear list,
I'm struggling to output bibliography entries into lua for string
modification (like making a particular author name bold). In effect, I
just need something like the following:
\starttexdefinition btx:customauthor
\startluacode
local text = context.btxflush('author')
\definesymbol[e-mail][\getglyphdirect{FontAwesome}{\number"F003}]
\definesymbol[phone][\getglyphdirect{FontAwesome}{\number"F095}]
\starttext
\symbol[e-mail] someone@somewhere
\symbol[phone] your number
\stoptext
Fonts Awesome: https://fontawesome.com/
On 7/23/2018 6:04 PM, Pablo Rodriguez wrote:
On 07/23/2018 05:42 PM, Hans Hagen wrote:
On 7/23/2018 4:51 PM, Pablo Rodriguez wrote:
On 07/22/2018 10:56 PM, Hans Hagen wrote:
why not use
utilities.sha2.hash512(str)
Many thanks for your reply, Hans.
\starttext
On 7/23/2018 5:52 PM, Lizardo M. Reyna Bowen wrote:
Hi,
I want to use the some symbols for phone and email (envelope) in my
curriculum vitae to get it look more modern.
How is the way to do it in ConTexT?
\usesymbols[mvs]
% \setupsymbolset[martinvogel 2]
\starttext
% \symbol[Telephone]
On Mon, 23 Jul 2018, Lizardo M. Reyna Bowen wrote:
Hi,
I want to use the some symbols for phone and email (envelope) in my
curriculum vitae to get it look more modern.
How is the way to do it in ConTexT?
Use a font that provides these symbols. One option is fontawesome.
On 07/23/2018 05:42 PM, Hans Hagen wrote:
> On 7/23/2018 4:51 PM, Pablo Rodriguez wrote:
>> On 07/22/2018 10:56 PM, Hans Hagen wrote:
>>> why not use
>>>
>>> utilities.sha2.hash512(str)
>>
>> Many thanks for your reply, Hans.
>>
>> \starttext
>>
Hi,
I want to use the some symbols for phone and email (envelope) in my
curriculum vitae to get it look more modern.
How is the way to do it in ConTexT?
Thanks
--
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección] Lodana, Santa
On 7/23/2018 4:51 PM, Pablo Rodriguez wrote:
On 07/22/2018 10:56 PM, Hans Hagen wrote:
why not use
utilities.sha2.hash512(str)
Many thanks for your reply, Hans.
\starttext
\def\hashfive#1{\ctxlua{context(utilities.sha2.hash512("#1"))}}
\hashfive{a}
\stoptext
ConTeXt
On 07/23/2018 05:11 PM, Fabrice Couvreur wrote:
> Hello,
> I would like the numbering of the properties to be like this :
> [...]
> I thought it was enough to use the key way = bychapter
Hi Fabrice,
"way=bychapter" resets numbering in each chapter.
You need this:
\setupenumerations[
Hello,
I would like the numbering of the properties to be like this :
First chapter
Property 1.1
Property 1.2
Second chapter
Property 2.1
Property 2.2
I thought it was enough to use the key way = bychapter
Thanks
Fabrice
\define[1]\ProprieteHeadcommand
{\textrule[top]{#1}}
On 07/23/2018 03:59 PM, Huseyin Özoguz wrote:
> Dear list,
>
> how can I align the text of the header in the double-page layout to the
> middle?
>
> I want something like that:
>
> \setupheadertexts
> [{\startalignment[middle] \definedfont[name:Gentium_Basic at
> 9pt]\getmarking[chapter]
On Mon, 23 Jul 2018, Huseyin Özoguz wrote:
Dear list,
how can I align the text of the header in the double-page layout to the
middle?
I want something like that:
\setupheadertexts
[{\startalignment[middle] \definedfont[name:Gentium_Basic at
9pt]\getmarking[chapter] \stopalignment}][]
On 07/22/2018 10:56 PM, Hans Hagen wrote:
> why not use
>
> utilities.sha2.hash512(str)
Many thanks for your reply, Hans.
\starttext
\def\hashfive#1{\ctxlua{context(utilities.sha2.hash512("#1"))}}
\hashfive{a}
\stoptext
ConTeXt complains:
[ctxlua]:1: attempt to index field
Dear list,
how can I align the text of the header in the double-page layout to the
middle?
I want something like that:
\setupheadertexts
[{\startalignment[middle] \definedfont[name:Gentium_Basic at
9pt]\getmarking[chapter] \stopalignment}][]
[][]
Of course, that does not work. By default,
Hello again,
in the MWE below I’d like to limit the run width of the item text so that the
(page) number is standing out, e.g.
• This is a long and winding text
that leads to a number .. 99
The text can become one or several lines long.
I tried to put the text in boxes, e.g.
Hi Wolgang,
I followed your explanations, and it works perfectly. Thank you very much !
Fabrice
2018-07-23 12:39 GMT+02:00 Wolfgang Schuster :
> Hi Fabrice,
>
> you can download the fonts from the GUST [1] website (the flat package is
> enough because you need only the opentype files) and put
Dear wizards,
in a list command (i.e. \setuplist[command=\MyCmd]) I use
\currentlistentrypagenumber to show the page number.
Now I’d like to make this a link, like in a normal ToC. I didn’t find a
suitable command. Is there one?
Greetlings, Hraban
---
https://www.fiee.net
Hi Fabrice,
you can download the fonts from the GUST [1] website (the flat package
is enough because you need only the opentype files) and put them in your
local tex directory in your home folder, e.g.
~/texmf/fonts/data/texgyre/
or you put them in your tex installation, e.g.
Hello,
I only use the standalone version of ConteXt with Emacs. I can not use the
pagella font anymore because the text is in bold type. Wolfgang told me a
discussion about this problem that still does not seem to be resolved. By
cons, no problem with ConteXt of Texlive 2018.
Thank you
Fabrice
That was useful! But now I would like to go another step further: in the
following, slightly altered example, I use a footnote and endnotes. I know that
with "\setupfootnotes [conversion=characters]" the footnote markers are changed
to letters instead of numbers. Is there any way of doing this
26 matches
Mail list logo