10-08-03:40}
\input tex4ht.sty
\appendtoks
\Preamble{\env{opt-arg},,xhtml}\EndPreamble
\to \everystarttext
\endinput
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
it imply that the "smaller" page (determined by the
second argument) is centered on the real paper (with size defined by
the first arg)?
What do the options "offset" and "scale" for \definepapersize mean?
Are there any other options other than these two and "heig
>
> What I am doing wrong here?
> \starttable[ o1 | C{red} |]
\{C{red}
Salve, Peter
> \VL red \VL\SR
> \stoptable
> red too!
>
> Should'nt \arg{bla} be \type{{bla}}?
> \stoptext
>
>
> Wolfgang
>
&
thing here. What?
\def\Macro{\dosingleargument\doMacro}
\def\doMacro[#1]#2{#1X#2}
The code below shows that it should be possible.
\startsection[title=\Macro{arg} no braces needed]\stopsection
\startsection[title={\Macro[arg1]{arg2} enclosed in braces}]\stopsection
\stoptext
dr. Hans van der
Dear list,
I need to get the number of pages from an external PDF file that I also
define with an \env.
I think I could get something like this.:
\def\Myfilename{\env{filename}}
doc = epdf.open(arg[\MyFilename])
total_pages_ = doc:getNumPages()
\def\Mypages{total_pages}
But
be performed (numeric=string).
MWE is below, as always.
Cheers, Henri
---
\directlua{
local mpkpse = kpse.new(arg[0], "mpost")
local function finder(name, mode, ftype)
if mode == "w" then
return name
else
return mpkpse:find_file(name,ftype)
end
On 21-10-2010 2:38, Philipp Gesang wrote:
Hi,
the following code calls ‘trace_context()’ which is created only
later on line 254. This is triggered if the first arg of
‘context()’ is of type ‘table’.
··
function test (str
gt;>
>
> Hm, the setup is inherited, but it has its own counter, its own label,
> etc. isn't it?
>
sorry, wrong command
\definefloat[myfigure][myfigures][figure]
the second arg is the plural, the third the parent
Hans
-
> While luatex was compiling fonts, I noticed some warnings. I suspect
> they are harmless, but I'd better report them.
>
> [...]
>
> report >> load otf: warning: Bad call to gww_iconv_open, neither arg is UCS4
> (Sjis->UTF-8)
Mostly harmless. It's
Dear syndicate,
We have \definehighlight[tagged][style=] so that
\tagged{arg}
tags the argument. Analogously: Is there a general facility to tag
startstops? I played around with \dostarttagged etc but could not get it
to work (too low-level for me I guess). What would be nice is to be able
> Am 28.03.2015 um 19:18 schrieb Idris Samawi Hamid ادريس سماوي حامد
> :
>
> Dear syndicate,
>
> We have \definehighlight[tagged][style=] so that
>
> \tagged{arg}
>
> tags the argument. Analogously: Is there a general facility to tag
> startstops? I played a
14 Feb 2018 12:49:35
+0100.” Suppose I want to make this more general. What would be the easiest way
to either say “the xml file that is being processed” (something like arg[1]) or
“the xml file whose name is in the Lua variable ‘foo
command line arguments from Lua?
the 'environment' table has information about this stuff.
In particular, environment.rawarguments matches the table
that lua calls 'arg'.
\directlua{print (table.serialize(environment.rawarguments))}
Best wishes,
Taco
I think the tables do
On 22-7-2010 11:51, Philipp Gesang wrote:
Hi all,
what would be an elegant way to make out the current interpreter from inside
lua?
For now I'm branching things at the top of the script like this:
···8<······
i
third arg can be used for a message or
so, \ReadFile takes only one argument)
The readfile command also backtracks to . and .. as one can have a
project structure
Hans
-
Hans Hagen
lines[before=,after=]
\def\startcommand{\dosingleargument\dostartcommand}
\def\dostartcommand[#1]%
{\bgroup\defineshortcut[style=bold]#1\startlines\startsidebar}
\def\stopcommand{\stopsidebar\stoplines\egroup}
\starttext
\startcommand
\input knuth
%
\stopcommand
some text
\startcommand[arg]
\
\doifenvelse{sectionnumber}
{\setupheadnumber[section][\numexpr\env{sectionnumber}-1\relax]}
{}
\starttext
\section{test}
\stoptext
=== end of d ===
texexec --arg=sectionnumber=4 d
if needed you can do in an environment file
\startsetups check-section
\doifenvelse{sectionnumber}
::content.xml}{}
\stoptext
\processXMLfilegrouped did not work in combination with xmlregistersetup
> Why do I get nothing but a tuo file when processing like so:
> texmfstart \
> texexec --lua --purge --arg="odt=Versuch.odt" --result=Versuch.odt.pdf \
> COOnTeXML.tex
ysis) for some reason.
>
> Anyone knows why ?
>
> \enableregime[il1]
> \starttext
> \startluacode
> userdata = userdata or {}
> math.randomseed( os.time() )
> function userdata.random(...)
> context(arg[math.random(1, #arg)])
> e
On 2/25/2015 6:41 PM, Pablo Rodriguez wrote:
Dear list,
I need to get the number of pages from an external PDF file that I also
define with an \env.
I think I could get something like this.:
\def\Myfilename{\env{filename}}
doc = epdf.open(arg[\MyFilename])
total_pages_
al http = require("socket.http")
local content, responsecode, extra = http.request(arg[1])
io.write (content)
but in real life, you have to deal with partial content,
errors codes, url escaping, etc. etc.
Best wishes,
Taco
t;> context.exe Source.mkiv --result=Result.pdf --mode=Mode
>>
>> is it possible to access the command line arguments from Lua?
>
> the 'environment' table has information about this stuff.
>
> In particular, environment.rawarguments matches the table
> that lua
pointed out.
Ah, u caught that ;-) OTOH it was only in my list post, once I added the
plural arg here all works.
Hans is adding criterium=component to the next beta :-) so in a way it's
all moot, but it's been a very good exercise nonetheless.
Best wishes
Idris
--
Professor Idris Sa
onversions starting with the one for 'part' and the
second arg is the default so
[numbers,characters,greek][numbers]
will number parts 1..n, chapters a..z and sections alpha..omega and all
Pau wrote:
Hello,
thanks for the hint. The legend worked very well.
Nevertheless, I still have not understood what the equivalent in
ConTeXt of LaTeX \ref{} <---> \label{} is
label is always an optional arg
refs go like: \in{figure}[label] or \at{page}
some new playground
(unfinished of course) ... (the true arg is just for pretty printing
and can be omitted)
Nice feature to shorten code when some data comes from a lua table but
it did not work
when used in the lua environment, the code for the table appears only
on the terminal.
\starttext
some
rlist?
> That would be problematic because I am using your getparameters-thing
> extensively.
> Or do you mean something else that will stop the parameter gathering
> at the & ?
>
no, it's just that your definition defines *x and that you use * ; it'
shard to s
? If I
use both, does it imply that the "smaller" page (determined by the
second argument) is centered on the real paper (with size defined by
the first arg)?
no, \setuppapersize[A3] will map in onto width=max(width(A4),width(A3)) etc
What do the options "offset" and "sc
ooks nice.
Small bug: It's called lomihi, but the arguments are placed middle/high/low.
For documentation/clarification, is the following correct?
distance = extra kerning, distance between lomihi and preceding character.
up = how much the {hi} arg is raised
down = how much the {low} arg is lo
\par
\color[red]{--- arg (entry): #1}\par
\color[red]{--- mark: \MyMark}
}}
{\framed[frame=off, align=normal]{%
--- other entry \par
\color[blue]{--- arg (entry): #1}\par
\color[blue]{--- mark: \MyMark}
}}
\blank[medium]
}
% Show the margin
etup{#1}{*}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:hvdm}
\startxmlsetups xml:document
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:macro
\xmlatt{#1}{name}\\
\xmlatt{#1}{arg}\\
\xmldoifelseatt{#1}
{name}{yes}{no}\\
\xmldoifelseatt{#1}
{names}{yes}{no}\\
Am 2018-02-06 um 17:09 schrieb Procházka Lukáš Ing. :
> I'm usually implementing complicated solutions via Lua, with functions with
> obligatory arg(s) first followed by one optional argument of table type:
Thank you for your effort!
I actually already wrote parts of my invoicing
Thanks by the answer, but I had already thought in this. I would like
something more definitive.
By the way, at http://wiki.contextgarden.net/Reference/en/setupcaptions I
can see a command argument. I was wondering if a custom command can do the
trick, but I don't know how I should use thi
Peter Rolf wrote:
Hans Hagen schrieb:
i'll make a new alpha later today
i'll take my chance and hijack this thread then... :)
there is a c&p error in lpdf-grp.lua.
since you're looking into lua code ... there is some new playground
(unfinished of course) ... (the t
text
\startcommand[arg]
\input knuth
\stopcommand
\stoptext
\ignorespaces
... \removeunwantedspaces
Hans
--
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
Am 2006-12-30 um 10:28 schrieb Douglas Philips:
> Arg. My bane. Fonts. The one thing that pulls me ever so slightly to
> using Pages...
> Not because I want a garish mix of goofball junk fonts, but because I
> love Palatino for newletters
> and Papyrus for cards and short notes...
ga]
> >
> > \placefigure [figa] {The caption} {\externalfigure [02.jpg]}
> > \stoptext
> > %%%
> >
> > It only works correctly if both bracketed arguments to \placefigure
> > are supplied (I tested versions 2004.11.06 and 2004.12.06, but
ssion ... \relax doesn't work
kind of old (hacky experiment) that one ... i probably need to adapt it
to lmtx anyway
\luaexpr and \mathexpr are probably better for this kind of stuff (no
need for the % t
On 12-7-2011 5:30, Jaroslav Hajtmar wrote:
But someone advised me that I use the better syntax:
context('\\def\\Mymacro\{arg of mymacro\}')
or context("\\def\\test#1{#1}") etc...
whatever you like best
context.setvalue{"Mymacro",somevalue)
context([[\def\MyMacr
should be \placelistoftablecws
Then everything works as Wolfgang pointed out.
Ah, u caught that ;-) OTOH it was only in my list post, once I added the
plural arg here all works.
Hans is adding criterium=component to the next beta :-) so in a way it's
all moot, but it's been a very goo
e ... there is some new playground
(unfinished of course) ... (the true arg is just for pretty printing
and can be omitted)
Nice feature to shorten code when some data comes from a lua table but
it did not work
when used in the lua environment, the code for the table appears only on
the term
second arg is url, third file, fourth text
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma
o use them)? Well, I will see at the night. :-)
in that case, just download the minimal context distribution for linux, you can
rsync that one of needed (some 25 meg zip initially)
in there, there is "setuptex", run that one (with the tex root as arg) and make
the formats
texexec
On Wed, 25 Feb 2015, Pablo Rodriguez wrote:
Dear list,
I need to get the number of pages from an external PDF file that I also
define with an \env.
I think I could get something like this.:
\def\Myfilename{\env{filename}}
doc = epdf.open(arg[\MyFilename])
total_pages_
something like "git revision b085c92a of Wed, 14 Feb 2018 12:49:35
+0100.” Suppose I want to make this more general. What would be the easiest way to
either say “the xml file that is being processed” (something like arg[1]) or “the
xml file whose name is in the Lua variable ‘foo?’”
maybe you
r:
>
> >> LUATEXFUNCTIONALITY
> >> "mp.print(LUATEXFUNCTIONALITY)"
> ! Equation cannot be performed (numeric=string).
>
> MWE is below, as always.
>
> Cheers, Henri
>
> ---
>
> \directlua{
> local mpkpse = kpse.new(arg[0], "m
Hans Hagen schrieb:
>
> sorry, wrong command
>
> \definefloat[myfigure][myfigures][figure]
>
> the second arg is the plural, the third the parent
>
> Hans
>
>
Hello,
i added the cloning to my figure definitions. The caption is inherited
from f
> Thanks for the hint, but
>>
>> \startxmlsetups xml:mysetups
>> \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
>> \stopxmlsetups
>>
>> \xmlregistersetup{xml:mysetups}
>>
>> \startxmlsetups xml:paragraph
>> \xmlflush{#1}\endgraf
>> \sto
match its definition.
Obviously I am missing something here. What?
\def\Macro{\dosingleargument\doMacro}
\def\doMacro[#1]#2{#1X#2}
The code below shows that it should be possible.
\startsection[title=\Macro{arg} no braces needed]\stopsection
\startsection[title={\Macro[arg1]{arg2} enclosed in b
something like "git revision b085c92a of Wed, 14 Feb 2018 12:49:35
+0100.” Suppose I want to make this more general. What would be the easiest way to
either say “the xml file that is being processed” (something like arg[1]) or “the
xml file whose name is in the Lua variable ‘foo?’”
I'm
\??ef#1}
{\useexternalfigure[\s!dummy][#1][#2][#3]%
\getvalue{\??ef\??ef\s!dummy}[]} % [] is dummy arg 5
{\doifassignmentelse{#2}
{\getvalue{\??ef\??ef#1}[#2]}%
{\getvalue{\??ef\??ef#1}[#3]}}}%
\globallet\currentresourcecomment\empty
\egr
onterminal(app, btex @ $:: \alpha$ etex);
def_terminal(fun, btex \texttt{exp}$_1$ $:: \beta$ etex);
def_terminal(exp, btex \texttt{exp}$_2$ $:: \gamma$ etex);
def_terminal(two, btex \texttt{2} etex);
def_terminal(times, btex \texttt{(*)} etex);
def_terminal(varx, btex \texttt{arg} $:: \beta$ etex);
beginfi
mething like
>> TeXExec | option 'filename' is set to 'someotherfile.tex', so how to
>> access this during processing using lua?
>
> texmfstart texexec --lua myfile.tex --arg="name=someotherfile.zip"
>
> mak emyfile.tex your main tex file (use
{#1}\endgraf
\stopxmlsetups
\starttext
\processXMLfilegrouped{zip::\env{odt}::content.xml}
\stoptext
Why do I get nothing but a tuo file when processing like so:
texmfstart \
texexec --lua --purge --arg="odt=Versuch.odt" --result=Versuch.odt.pdf \
COOnTeXML.tex
where the code a
and I can't quite figure out how to use
>> them.
>
> it's just a list of conversions starting with the one for 'part' and the
> second arg is the default so
>
> [numbers,characters,greek][numbers]
>
> will number parts 1..n, chapters a..z and sections a
def\dostartcommand[#1]%
>> {\bgroup\defineshortcut[style=bold]#1\startlines\startsidebar}
>>
>> \def\stopcommand{\stopsidebar\stoplines\egroup}
>>
>> \starttext
>>
>> \startcommand
>>
>> \input knuth
>> %
>> \stopcommand
>>
. better use
\startMPpage
\stopMPpage
with context and then include the pdf
Hans
MWE is below, as always.
Cheers, Henri
---
\directlua{
local mpkpse = kpse.new(arg[0], "mpost")
local function finder(name, mode, ftype)
if mode == "w" then
return name
e
mtxrun --script plain test.tex
This is the error:
>> LUATEXFUNCTIONALITY
>> "mp.print(LUATEXFUNCTIONALITY)"
! Equation cannot be performed (numeric=string).
MWE is below, as always.
Cheers, Henri
---
\directlua{
local m
Is that possible? "texmfstart texexec --verbose" produces something like
>>> TeXExec | option 'filename' is set to 'someotherfile.tex', so how to
>>> access this during processing using lua?
>> texmfstart texexec --lua myfile.tex --arg="name=s
irectlua {for k, v in pairs(_G) do print(k.v) end}
This will show you what is in the global namespace, maybe 'arg'?
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 |
mono8-regular.otf} at 6pt
\parindent 0pt
\def \samplestring {Sphinx of black quartz, judge my vow. 1234567890
äÄöÖüÜ ß !"§\$\%\&()=?}
\directlua{
dofile("fontsampler.lua")
fontsampler(arg[2])
}
\bye
=
e cyrillic text also):
\starttypescript[mygyre]
% change font last arg according to definitions in type-otf.tex
% pagella, termes, bonum, schola
\definetypeface [mygyre] [rm] [serif] [pagella]
% heros, adventor
\definetypeface [mygyre] [ss] [sans] [adventor]
\definetypeface [mygyre]
repare
(with a different syntax) which is perhaps the source of the error
I'm getting now:
J:/MiKTeX2.9/tex/luatex/luaotfload/otfl-luat-ovr.lua:19: bad arg
ument #2 to 'format' (string expected, got nil).
--
Ulrike Fischer
_
"2229} =
\utfchar{"2229}\utfchar{"FE00} =
\vsone{\utfchar{"2229}}
}
- Defining commands at the lua end now also handles arg only cases and
has better tracing.
- Some other other things, like \startlayout[page] ... \stoplayout and
}
which accepts
\xrightarrow{x}{y}
\xrightarrow{x}
\xrightarrow{}{y}
\xrightarrow[x]{y}
etc, actyally, we should then also accept
\xrightarrow[x][y]
but more interesting is to use the optional arg for tuning purposes
\if0#1\else\mkern#1mu\fi
test, does a \mkern0mu hurt?
>
> Will make copy pas
next up on my Sunday
afternoon reading!
> See http://wiki.contextgarden.net/My_Way
Thanks!
> Most other MyWay's deal with fonts.
Arg. My bane. Fonts. The one thing that pulls me ever so slightly to
using Pages...
Not because I want a garish mix of goofball junk fonts, but because I
l
-- iterate oiver
for k,v in ipairs(results) do
io.write(v..'\n')
end
-- closes the open file
io.close(output_file)
end
-- Run
main(arg[1], arg[2])
Ok, a little lua lesson, if you don't mind.
xxx.tex
\enabletrackers[hyphenation.applied]
\starttex
defined there (as it worked for you in the past).
It does not contain it; it a copy in the same directory that has never changed.
> Maybe 'arguments' lives in some namespace?
>
> \directlua {for k, v in pairs(_G) do print(k.v) end}
>
> This will show you what is in the glo
gt; Here is the test file which I've used (some cyrillic text also):
> ----
> \starttypescript[mygyre]
> % change font last arg according to definitions in type-otf.tex
> % pagella, termes, bonum, schola
> \definetypeface [mygyre] [rm] [serif] [pagella]
> % heros, adventor
> \def
at's nifty, but unexpected.
Thank you.
Michael
Example -
\usemodule[annotation]
\defineannotation[Arg][alternative=command,number=yes,command=\ArgCommand,text=Argument]
\define[2]\ArgCommand{
\startitemize[n]
\placeannotationco
Arg, it's getting uglier...
I've been playing around with the replacement patterns.
```
\replaceword[replace][auff][au{ff}]
\replaceword[replace][Aufl][Au{fl}]
\replaceword[replace][aufl][au{fl}]
\setreplacements[replace]
\starttext
auffasste
auffasse
Auflage
aufliegen
of scarce and I can't quite figure out how to use
them.
it's just a list of conversions starting with the one for 'part' and the
second arg is the default so
[numbers,characters,greek][numbers]
will number parts 1..n, chapters a..z and sections alpha..omega and all
below tha
l have not understood what the equivalent in
>> ConTeXt of LaTeX \ref{} <---> \label{} is
>
> label is always an optional arg
>
> refs go like: \in{figure}[label] or \at{page}[label]
>
>
>>
>>
e.tex" to extract the filename to be texed
> (someotherfile.zip) and rewrite it on the fly to a zip-archive content
> along the lines of
> \input zip::someotherfile.zip::somezipcontent.tex
>
> Is that possible? "texmfst
n the
following case we have one arg too much (some time ago i cleaned up part of the
list macros and it seems that this indirect call was not done).
(core-int.tex:)
\def\dodomenulistelement#1#2#3#4#5#6#7%
{\setbox0=\hbox
{\let\gotolocation\gobbleoneargument % hack to catch
RIGHT-POINTING ANGLE BRACKET ORNAMENT
stop missing characters
\stopbuffer
\typebuffer[example]
\startlines
\getbuffer[example]
{\ss\getbuffer[example]}
\stoplines
\tex{abra}\arg{...}
\type{kadabra} \type{~~~}
\stoptext
""
would really appreciate if you
could apply Luigi's fix, so we can continue do enjoy MetaFun, even
outside ConTeXt.
Cheers, Henri
>
> \startMPpage
> \stopMPpage
>
> with context and then include the pdf
>
> Hans
>
>> MWE is below, as always.
>>
>> C
but when I add:
>
> \placetable[here][tab:five]{Descriptive Statistics for Salaried Men \&
> Women}
> {
>
>
> in order to get reference, caption I lose the split and so the tables just
> runs OFF the end of the page
Placetable takes an optional arg “split”:
···8<
fchar{"2229} =
\utfchar{"2229}\utfchar{"FE00} =
\vsone{\utfchar{"2229}}
}
- Defining commands at the lua end now also handles arg only cases and
has better tracing.
- Some other other things, like \startlayout[page] ... \stoplayout and
whatever I forgot.
Hans
Hi Hans,
my xm
?}
\stopitemize
\stoptext
in your case, in order to make the graphic unique, you need to pass the second
arg in order to make them unique (uniqueness is determined by dimensions and a
few more things; another option would be to use the backgroundcolor of inframed
which is accessible by \OverlayColor and also
Salut Jean-Pierre,
ich werde nicht versuchen, dir ebenso polyglott zu antworten. (Mein
Latein ist arg eingestaubt, wegen Altgriechisch wäre ich damals beinahe
sitzen geblieben, mein Russisch, Italienisch und Französisch reicht zum
Einkaufen, von Schwedisch ist nicht mehr viel übrig, an
My 2 cents:
local xmlflush = lxml.flush
local function text_or_xml(...)
for i,v in ipairs(arg) do
if "table" == type(v) then
xmlflush(v)
else
context(v)
end
end
end
function xml.functions.heading(t)
text_or_xml( "\\section{" , t , "}"
script definitions are not complete?
Here is the test file which I've used (some cyrillic text also):
\starttypescript[mygyre]
% change font last arg according to definitions in type-otf.tex
% pagella, termes, bonum, schola
\definetypeface [mygyre] [rm] [ser
won’t work before \starttext
newnode.lang = tex.language
--- second arg to node.hpack is width
local hbox= node.hpack(newnode, 2*newnode.width)
node.write(hbox)
\stopluacode
bar
\stoptext
···8<···
The first argument is
e]
\startlines
\getbuffer[example]
{\ss\getbuffer[example]}
\stoplines
\tex{abra}\arg{...}
\type{kadabra} \type{~~~}
\stoptext
"""
What’s wrong?
Hraban
___
If your question is of interest to others as wel
#2}{#1}% if 2 arguments then do #1 macro for first
#2 lines
}%
{\doifsomethingelse{#1}{% 1 arg.
\doloopfromto{-1}{-1}{#1}%
}{% if without arguments then do \lineaction macro for all lines
\doloopfromto{-1}{-1}{\lineaction}%
}%
}%
}%
}%
Dne 13.7.2011
t; it a copy in the same directory that has never changed.
hm, but i have no clue what this "mtx:..." does
Maybe 'arguments' lives in some namespace?
\directlua {for k, v in pairs(_G) do print(k,v) end}
This will show you what is in the global namespace, maybe 'arg
t luaotfload.sty
> \overfullrule 0pt
> \font\mono = {file:lmmono8-regular.otf} at 6pt
> \parindent 0pt
>
> \def \samplestring {Sphinx of black quartz, judge my vow. 1234567890
> äÄöÖüÜ ß !"§\$\%\&()=?}
>
> \directlua{
> dofile("fontsampler.l
e (even the source ...)
but in mkiv \defineregister is an ordinary command handler so no
fancy plurals anymore. Now the second arg expects an assignment:
\defineregister[Erf][style=slanted,pagestyle=bold]
Regards
Philipp
> \starttext
> \chapter{F53667}
> Hello world!
> \Erf{Bla} Foo
## ADD THIS, otherwise a loop
continue
fi
# By saving the argument in a file, we can later get it back while
# supporting spaces in the name. This still doesn't support
# newlines in the directory names, but nobody ever complains about
# that, and it seems much
t;>> content along the lines of
> >>> \input zip::someotherfile.zip::somezipcontent.tex
> >>>
> >>> Is that possible? "texmfstart texexec --verbose" produces something like
> >>> TeXExec | option 'filename' is set to 'someoth
e-template "XML-tag" '("<" r ">")))
(turn-on-filladapt-mode)
(ispell-minor-mode 1)
(abbrev-mode 1))
(add-hook 'text-mode-hook 'my-text-mode-hook)
;
;; Klaus Berndl
;; we want to complete and expand as much as poss
; Mingranina
>>
>>
>> fontsampler.tex
>>
>> =
>> \input luaotfload.sty
>&g
]
\defineregister[Erf]
It doesn’t appear to be documented anywhere (even the source ...)
but in mkiv \defineregister is an ordinary command handler so no
fancy plurals anymore. Now the second arg expects an assignment:
\defineregister[Erf][style=slanted,pagestyle=bold]
Regards
Philipp
erent roundtrip treatment
> now and hopefully Thomas S as well as Hans vd M files still work ok.
>
> - Unicode math variants (supported by xits) are supported:
>
> \mathematics {
> \utfchar{"2229} =
> \utfchar{"2229}\utfchar{"FE00} =
> \vsone{
local base = assert(arg[1], "Keine Datei angegeben")
local pdf = base .. ".pdf"
local tuc = base .. ".tuc"
-- import .tuc-file /extension lua
local utilitydata = dofile(tuc)
local breakpoints = {}
local last_page = utilitydata.structures.counters.collecte
➊ DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE
> 9 U+0FFFD � REPLACEMENT CHARACTER
> stop missing characters
> start missing characters: cambriai.ttf
> 266 U+0276C ❬ MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT
> 266 U+0276D ❭ MEDIUM RIGHT-POINTING ANGLE BRACKET ORN
... 12pt default)
#2 family (rm ss tt mm hw cg)
#3 font definitions (tf = ..., etc.)
> 4. What are the relations between \definefontsynonym, \definefont and
> \definebodyfont?
things defined with \definefontsynonym can be used in the right hand
side of assignments in arg #3 of \definebodyfo
back here. (Just make it non-empty.)
% #2: the gloss key
\unexpanded\def\usegloss{\dosingleempty\dousegloss}
% This is meant to create the glossary after the text:
% The gloss key is typeset in bold face and will reference the point in the
% main text where \usegloss was called with a nonempty first
ens a file in write mode
output_file = io.open("check_hyphens.log", "w")
-- sets the default output file as output_file
io.output(output_file)
-- iterate oiver
for k,v in ipairs(results) do
io.write(v..'\n')
end
-- closes the open f
101 - 200 of 217 matches
Mail list logo