Search results

Jump to navigation Jump to search

Page title matches

  • <h1 class="command">\Lua</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    718 bytes (108 words) - 18:58, 19 September 2020

Page text matches

  • <h1 class="command">\Lua</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    718 bytes (108 words) - 18:58, 19 September 2020
  • <h1 class="command">\startctxfunctiondefinition ... \stopctxfunctiondefinition</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    1 KB (167 words) - 16:42, 27 August 2020
  • <td>''valid argument(s) for Lua's `context()` function''</td> Pass an argument to Lua's {{code|context(...)}} command. The text is
    1 KB (138 words) - 17:26, 12 November 2019
  • <h1 class="command">\startctxfunction ... \stopctxfunction</h1> <!-- a short command summary goes here -->
    1 KB (173 words) - 14:57, 27 August 2020
  • <td>''lua code''</td> ...it. Advantage: you can pass the contents of macro parameters like `#1` to Lua. Disadvantage: everything after a percent sign is ignored, and once the com
    1 KB (150 words) - 19:43, 8 June 2020
  • <td>''a valid way to end `context.` in Lua''</td> Execute a ConTeXt command via lookup in the {{code|context}} table in LuaTeX. Defined as follows:
    1 KB (146 words) - 17:26, 12 November 2019
  • Run/compile a ConTexT Lua document. Defined as follows: * [[CLD|ConTeXt Lua document]]
    983 bytes (106 words) - 17:26, 12 November 2019
  • ...Document) is the environment which lets you interact with TeX from inside Lua code. For more informations on this see the manual cld-mkiv.pdf, which is i Now if one needs to pass arguments from Lua to a macro command defined in ConTeXt, one has several possibilities.
    3 KB (482 words) - 15:31, 14 December 2020
  • %\setvariable{NAME}{KEY}{VALUE} => \getvariable{NAME}{KEY} === Example 2: Using Lua ===
    2 KB (227 words) - 23:52, 8 September 2023
  • <h1 class="command">\ctxfunction</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    1 KB (139 words) - 16:42, 27 August 2020
  • <h1 class="command">\ctxluabuffer</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    817 bytes (115 words) - 10:07, 16 November 2022
  • <td>''lua command from in the'' command ''table''</td> To quickly access Lua commands in the {{code|command}} table.
    1 KB (162 words) - 17:26, 12 November 2019
  • <td>[[Command/value:IDENTIFIER|IDENTIFIER]] </td> <td class="cmd">[[Command/keyword:option|option]]</td>
    3 KB (461 words) - 16:02, 21 March 2023
  • <h1 class="command">\setregisterentry</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    3 KB (314 words) - 10:05, 13 October 2020
  • <h1 class="command">\<i>ctxfunction</i></h1> <!-- a short command summary goes here -->
    940 bytes (125 words) - 15:00, 27 August 2020
  • <h1 class="command">\<i>ctxfunctiondefinition</i></h1> <!-- a short command summary goes here -->
    798 bytes (107 words) - 14:49, 27 August 2020
  • ...language at your fingertips. All <code>\xml...</code> commands have their Lua counterparts. Unfortunately, this is not yet fully documented, so this wiki ...e> commands allow you to work with the content of your xml elements within Lua; <code>lxml...</code> commands pass the content to ConTeXt and typeset it.
    7 KB (1,105 words) - 08:27, 2 July 2022
  • <td class="cmd">[[Command/keyword:r|r]]</td> <td>[[Command/value:number|number]] red channel (RGB)</td>
    5 KB (722 words) - 13:46, 8 June 2020
  • <h1 class="command">\startMPdrawing ... \stopMPdrawing</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    1 KB (191 words) - 13:00, 8 May 2024
  • <h1 class="command">\bitmapimage</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    3 KB (409 words) - 17:27, 8 May 2024
  • ...used. But one can also think of the components that make up ConTeXt code: Lua, MetaPost, TeX, and XML. But once it is clear to a user what (s)he is deali * There is no PDF backend code, all PDF generation is handled by ConTeXt’s Lua code.
    4 KB (606 words) - 09:43, 1 July 2022
  • ..."second"> ... </span><span class="third"> ... </span><span class="fourth" >command</span><span class="fifth" > ... </span></td> beginning of the document. The command features several modifier sequences,
    4 KB (447 words) - 09:24, 7 August 2020
  • '''ConTeXt Lua Documents''' (CLD) are way to access TeX from inside Lua scripts; they provide means to typeset documents using little to no TeX cod Internally, the Lua commands are mapped onto their ConTeXt and TeX counterparts.
    4 KB (495 words) - 18:47, 25 August 2022
  • <h1 class="command">\MPdrawing</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    2 KB (233 words) - 12:53, 8 May 2024
  • * Simple setups using key-value pairs * A command-line tool set to simplify the compilation process
    4 KB (614 words) - 07:37, 30 September 2023
  • * zero or more scopes (curly braces after the command) * "Command" groups (starting with "\start" and ending with "\stop")
    3 KB (367 words) - 00:56, 23 April 2022
  • <h1 class="command">\MPcode</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    2 KB (327 words) - 12:44, 8 May 2024
  • ...en generate the cache with the command <code>mtxrun --generate</code> in a command prompt. Make sure that ConTeXt is installed on your system. To check that, go to the command prompt and type
    8 KB (1,057 words) - 19:23, 14 April 2024
  • = Command Line Options = ...without human intervention, but can help on desktop, too. For the list of command line options use
    3 KB (524 words) - 14:03, 6 February 2021
  • == Using Lua == ...below; the functions are documented on the [[String_manipulation#util-prs.lua|string manipulation]] page.
    5 KB (737 words) - 17:44, 18 December 2021
  • ...used to be written in Perl (phased out), then switched to Ruby and now to Lua. To run [[Mark_II|MkII]], you need to have at least Ruby installed installe ...line (''Start'' -> ''Run'' ... -> type '''<code>cmd</code>''' or '''<code>command</code>''') and check if
    2 KB (349 words) - 09:14, 19 June 2020
  • == An extension for editing `/Command` subpages == ...o edit the ConTeXt command reference pages (the ones that live under the `/Command/` URL.
    11 KB (1,837 words) - 19:11, 5 September 2020
  • <td class="cmd">[[Command/keyword:delay|delay]]</td> <td>[[Command/value:yes|yes]] [[Command/value:no|no]] </td>
    8 KB (1,032 words) - 02:01, 3 September 2023
  • To parser input files for the use with TeX you could either write Lua macros to convert pass the input to TeX or use LPeg to parse the files in a local function command(name,x)
    6 KB (805 words) - 13:06, 7 January 2021
  • = Calling Lua from TeX = ...: first you tell TeX that you're starting some Lua code; then, once inside Lua, you need to use the appropriate functions to put things into the TeX strea
    23 KB (3,423 words) - 07:15, 13 July 2023
  • ...ons for displaying verbatim text. When called with a single argument, this command changes the options for all typing environments: {{cmd|starttyping}}, {{cmd \setuptyping[LUA][option=]
    2 KB (250 words) - 17:28, 29 July 2023
  • <h1 class="command">\placefloat</h1> <div class="cd:shortdesc"><!-- a short command summary goes here -->
    7 KB (1,268 words) - 20:40, 13 August 2022
  • It is one of ConTeXt's four command-line scripts, together with `[[Mtxrun]]` for running general ('meta-TeX') h ...eference a "list" parameter to the command-line option. In such cases, the value may be a comma-separated list enclosed in straight single- or double-quotes
    7 KB (897 words) - 15:06, 8 May 2024
  • <h1 class="command">\setup<i>label</i>text</h1> set with the command {{cmd|setuplabeltext}}, and retrieved with the
    6 KB (813 words) - 23:09, 17 March 2022
  • <td class="cmd">[[Command/keyword:n|n]]</td> <td class="cmd">[[Command/keyword:style|style]]</td>
    4 KB (541 words) - 17:23, 28 May 2020
  • ...x, Mac OSX and Windows. It is fully extensible using [https://www.lua.org/ Lua]. ...efault user settings for Textadept have to be saved in the file <code>init.lua</code>. There are two of them, of which you should edit only one:
    9 KB (1,425 words) - 17:37, 23 February 2023
  • ...ans that if you are on windows you will at least have to set up a texmfcnf.lua as explained below, and you likely will even have to reinstall texlive, bec ...[[luatex]] executable you will have to regenerate the formats. The manual command for that is:
    7 KB (1,169 words) - 08:26, 2 July 2022
  • * make the command <code>mtxrun --script update --update</code> work * add the lua configuration file
    5 KB (707 words) - 08:06, 28 July 2011
  • = Command line = ...obably be implemented at some point in the future), but it also parses the command line differently. You must remember to always give the full name of the opt
    8 KB (1,280 words) - 13:27, 9 August 2020
  • ...">[http://www.pragma-ade.nl/general/manuals/tiptrick.pdf Tip Trick (mtxrun command) (2018)]</div></li> ...gn:left;">[http://www.pragma-ade.nl/general/manuals/templates-mkiv.pdf XML/Lua templates (2016)]</div></li>
    38 KB (5,155 words) - 16:39, 14 April 2024
  • \doassign[label][variable=value] \undoassign[label][variable=value]
    9 KB (1,215 words) - 17:51, 1 December 2020
  • modes can be checked easily. Moreover, modes can be set from a command line Modes can also be activated by a command line switch <code>--modes</code> to
    17 KB (2,484 words) - 08:26, 2 July 2022
  • Once we have lua in place it should not be that difficult to make a mechanism that works as * tex executes the command send by the socket
    2 KB (342 words) - 14:25, 8 June 2020
  • ...For the simplest texts, the bibliographic references after the \stopbuffer command can, for example, be defined (with our example) as follows: ...e references from this file as and when they are called up using the \cite command, instead of having to copy each reference into the buffer.
    20 KB (2,627 words) - 03:36, 16 April 2024
  • To typeset code inside the paragraph, you have the command <code>\type</code>. It can be configured with <code>\setuptype[type][...]</ ...TEX]</code> and use it with the name you chose. Other values are: <code>mp lua xml parsed-xml nested tex context</code>.
    23 KB (3,313 words) - 01:05, 13 August 2023
  • the only important thing for <code>\dimexpr</code> is to write the dimen value as first value after the <code>\dimexpr</code> command and then the numeric values.
    6 KB (881 words) - 16:48, 8 June 2020
  • ...dimensions of almost all layout elements are depending on the value of my lua variable "paperSize". Thanks to defining the paper size first in lua, I can apply calculations of numeric values.
    25 KB (1,585 words) - 07:19, 14 March 2024
  • Inside this hierarchy of interface elements are a set of `cd:command` elements. I'm going to refer to these elements as '''stanzas'''. * a command
    34 KB (5,071 words) - 08:29, 2 July 2022
  • ...arguments|Commands with Key=Value arguments]]: (Topic: things like <code>\command[thiskey=thatvalue]</code>.) list of keyword=value pairs, BUT NOT A MIXTURE OF BOTH. Generally, a
    8 KB (1,140 words) - 10:11, 16 December 2021
  • The <code>\externalfigure</code> command is used to include an external figure/movie inside ConTeXt. Includes both l This command places the PDF image <code>cow.pdf</code> in a
    12 KB (1,743 words) - 20:50, 5 March 2024
  • | C: || ConTeXt syntax highlighting (and perhaps command completion) ..."[https://codeberg.org/fiee/language-context language-context]", "language-lua" and "pdf-view" for C and P.
    8 KB (1,087 words) - 23:50, 2 May 2024
  • ...tex/context/base/verb-*.lua from the ConTeXt distribution and he verb-cpp.lua files posted by Shen Chen in [http://archive.contextgarden.net/message/2008 The verb-py.lua file distinguishes between the following five states:
    34 KB (3,594 words) - 17:12, 8 June 2020
  • This page details the creation of a pretty printer in Lua, which is <tt>pret-foo.lua</tt>, where <tt>foo</tt> is the name of the
    7 KB (1,208 words) - 14:08, 8 June 2020
  • * {{code|x-cals}} ({{src|x-cals.mkiv}} {{src|x-cals.lua}}): XML cals table renderer * {{code|m-chart}} ({{src|m-chart.lua}} {{src|m-chart.mkvi}}): [[Flow Charts]]
    30 KB (4,082 words) - 10:40, 21 April 2024
  • Another way of typesetting URLs is the {{cmd|goto}}: \goto{#1}[#2] command. This expects the description text as first argument and the actual URL as \goto{In Lua, array indices start from one.}[url(http://www.xkcd.com/163/)]
    11 KB (1,559 words) - 19:33, 5 October 2023
  • The command ....cnf</tt> setup, <tt>luatools</tt> and <tt>mtxrun</tt> failed to find <tt>.lua</tt> files in the normal texmf tree.
    7 KB (1,037 words) - 15:43, 20 November 2012
  • :* a set of high-level macros written in Lua and the (somewhat arcane) TeX language, and these macros simplify the task ...es, bibliographies, indices, typesetting for [[Chemistry|chemistry]] and [[Command/unit|physics]], [[Modes|conditional compilation]], processing [[XML]] data,
    20 KB (3,041 words) - 18:34, 23 April 2024
  • * From the same source file, Muse can output with only one command all the styles you ask (when within a "project"). Have a look at the muse When your muse file is prepared and saved, you can publish it with the command:
    11 KB (1,762 words) - 10:58, 2 July 2020
  • ...have a look at [[Textadept]], a SciTE descendant that already includes the Lua Lexers and is also available for OSX. A Textadept module for ConTeXt is bei then edit the lines beginning "command.2" as follows:
    8 KB (1,216 words) - 08:29, 2 July 2022
  • If mtxrun has problem finding the mtx-fonts.lua file, it may be necessary to regenerate ConTeXt's file database: The command
    24 KB (3,172 words) - 17:57, 22 January 2023
  • ...mposition is accessed in ConTeXt using {{cmd|setuparranging}}, or from the command line as follows: ...inal is A5, it is kind of handy to put them side-by-side for proofing. The command {{cmd|filterpages}} allows you to define exactly what pages are needed. Be
    15 KB (2,101 words) - 18:28, 19 March 2024
  • === (MacOS X) Using the Command line: Terminal.app === If you do not what a command tool is, do not worry. It is simply a program in which commands are entered
    22 KB (3,335 words) - 05:15, 11 April 2023
  • ...ommended way to typeset a ConTeXt document is to use the <tt>:ConTeXt</tt> command. Just type: The <tt>:ConTeXt</tt> command accepts an optional path, in case you want to typeset a document different
    24 KB (3,766 words) - 06:57, 31 July 2023
  • That won’t become better before this calculations are newly written in Lua. (Said Hans on 2010-09-24.) And it became better for LMTX, in 2021/2022. There is only one value for all four borders. However, MetaPost can be used as a workaround until t
    42 KB (6,424 words) - 07:35, 17 July 2023
  • ...a here is to be able to tell how setting signatures change from command to command. | ['simple', 'command', 'userdata']
    387 KB (8,617 words) - 16:09, 8 June 2020
  • | This command configures the '''note insert''', i.e. the textual content that will usuall In the most common form of key-value type arguments, ConTeXt will
    19 KB (2,664 words) - 07:30, 1 December 2022