Search results

Jump to navigation Jump to search

Page title matches

  • a large extent implemented in ''Lua'', as opposed to the legacy MkII As of now, documentation on the Lua guts of Context is somewhat
    5 KB (658 words) - 19:23, 8 June 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
  • <h1 class="command">\Lua</h1> The command <tt>\Lua</tt> typesets Lua.
    718 bytes (108 words) - 18:58, 19 September 2020
  • 1 KB (174 words) - 16:59, 8 June 2020
  • ...es:letter|Wolfgang’s letter module]] for my invoices and came up with this Lua code:
    4 KB (539 words) - 16:56, 8 June 2020
  • =Normal Lua preloading= [[Lua]] libraries in addition to the format itself.
    21 KB (2,731 words) - 19:22, 8 June 2020
  • The module <tt>[[source:l-io.lua|l-io.lua]]</tt> provides a few functions that extend the plain Lua io library with respect to file handling in general,
    6 KB (965 words) - 16:57, 8 June 2020

Page text matches

  • <h1 class="command">\Lua</h1> The command <tt>\Lua</tt> typesets Lua.
    718 bytes (108 words) - 18:58, 19 September 2020
  • ...an extended version of [[PdfTeX - Old Content]] using [http://www.lua.org Lua], as an embedded scripting language. The LuaTeX project's main objective is * other [[:Category:Lua|Lua topics]]
    1 KB (161 words) - 18:38, 8 June 2020
  • == Integration with LUA == ...opment of pdfluaTeX going on behind the scenes. Integration of pdfTeX with lua should give more flexibility when writing TeX macros. See:
    1 KB (183 words) - 19:24, 8 June 2020
  • ...ondefinition ... \stopctxfunctiondefinition</tt> defines a macro that is a lua function without arguments. ...s defines a TeX macro without arguments that when expanded runs a block of lua code instead of executing TeX commands.
    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
  • <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
  • == Common Lua Errors ==
    737 bytes (97 words) - 14:01, 8 June 2020
  • The environment <tt>\startctxfunction ... \stopctxfunction</tt> defines a lua function from within TeX code. This defines a lua function without arguments that can be called from TeX using the {{cmd|ctxf
    1 KB (173 words) - 14:57, 27 August 2020
  • ...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
  • <td>''a valid way to end `context.` in Lua''</td> % Draw a black rule via Lua, passing the [...=...] as a Lua table
    1 KB (146 words) - 17:26, 12 November 2019
  • === Example 2: Using Lua === We can also write tests using Lua. (Example by WS, 3/2011.)
    2 KB (227 words) - 23:52, 8 September 2023
  • Run/compile a ConTexT Lua document. Defined as follows: * [[CLD|ConTeXt Lua document]]
    983 bytes (106 words) - 17:26, 12 November 2019
  • a large extent implemented in ''Lua'', as opposed to the legacy MkII As of now, documentation on the Lua guts of Context is somewhat
    5 KB (658 words) - 19:23, 8 June 2020
  • ...tro and how to test simple lua scripts (e.g. using `mtxrun --script mytest.lua`)
    1 KB (188 words) - 13:28, 24 September 2021
  • ...ishing the Lua block. To let TeX do something from within Lua there is a [[Lua Steps]] mechanism described in [http://distribution.contextgarden.net/curre All these commands can be used on Lua side with the usual syntax <tt>context.<command>(<params>)</tt>
    4 KB (516 words) - 13:33, 23 September 2021
  • We draw Pascal's triangle using MetaFun and Lua. It can be done by the help of Hans. First, we define a function to calculate the combination with Lua.
    2 KB (367 words) - 08:34, 21 September 2020
  • * using a Lua file as database ....cld main.cld], the main CLD file, that gets processed by ConTeXt, all the Lua code
    1,015 bytes (167 words) - 17:00, 15 July 2014
  • ==Lua==
    1 KB (185 words) - 11:35, 9 February 2021
  • ...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
  • ...roved dramatically with the advent of MkIV. A new infrastructure, based on Lua, makes typesetting, manipulating, filtering, and reusing XML much much easi ==Processing XML with lua==
    3 KB (445 words) - 07:51, 1 July 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
  • ...them inside <tt>["..."]</tt>, which is more robust form of putting key in Lua table, see example bellow. <h3>Processing on Lua end</h3>
    3 KB (314 words) - 10:05, 13 October 2020
  • ...s of ConTeXt have been redesigned from scratch making extensive use of the Lua programming language. And that is besides the heavy use of LuaTeX-only feat === Lua core ===
    3 KB (513 words) - 13:24, 9 August 2020
  • ...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
  • * [[Category:Command/Lua]]
    817 bytes (115 words) - 10:07, 16 November 2022
  • ...lexers for syntax highlighting and a search index that is built up using a Lua script. ''Note:'' for some of the really large files (for example <code>char-def.lua</code>), syntax highlighting is disabled.
    5 KB (884 words) - 10:38, 1 July 2020
  • * [[Category:Command/Lua]]
    1 KB (139 words) - 16:42, 27 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
  • * [[Category:Command/Lua]]
    798 bytes (107 words) - 14:49, 27 August 2020
  • <td>[[Command/value:mp|mp]] [[Command/value:lua|lua]] [[Command/value:xml|xml]] [[Command/value:parsed-xml|parsed-xml]] [[Comma
    3 KB (461 words) - 16:02, 21 March 2023
  • * [[Category:Command/Lua]]
    940 bytes (125 words) - 15:00, 27 August 2020
  • ...unless they are direct clones. In that case, the new name is never told to Lua. That means that this does not work: % fails, ColorA not known to Lua
    5 KB (722 words) - 13:46, 8 June 2020
  • ...tasks, you need to calculate with image sizes. Often it makes sense to use Lua functions. = Measures in Lua =
    4 KB (566 words) - 17:10, 28 October 2021
  • ...on engine (that Pragma ADE was a big part of) and its addition of both the Lua programming language and MetaPost graphics, it became possible to redo quit * The command-line tools were rewritten in Lua, using the compilation engine also as the scripting engine
    4 KB (614 words) - 07:37, 30 September 2023
  • This is all from Lua; from the ConTeXt end, one can write to the log file with {{cmd|writestatus
    756 bytes (115 words) - 15:01, 8 June 2020
  • account when encapsulating Lua code. which normally result in a space are ignored and the spaces collapsed, so Lua
    4 KB (447 words) - 09:24, 7 August 2020
  • * Processing a buffer from XML content in Lua
    1 KB (157 words) - 15:57, 8 June 2020
  • (As of this writing, an external parser exists for Lua, but not for MetaPost or TiKz.) * Lua
    3 KB (367 words) - 00:56, 23 April 2022
  • .../context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/myuser/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781 mkiv lua stats > used engine: luametatex version: 2.11.02, functionality level: 202
    8 KB (1,057 words) - 19:23, 14 April 2024
  • == 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
  • ...n a dimension register with {{cmd|newdimen}} can be accessed directly from Lua, which is not true for values stored in a macro with {{tex|def}} or {{cmd|d == Defining and accesing dimensions in Lua ==
    8 KB (978 words) - 15:05, 6 February 2021
  • course there is plenty usage at the lua end. The language info .... I initial values (not that it matters much, lua uses more).
    3 KB (524 words) - 14:03, 6 February 2021
  • ...textfileactions</code> processor ({{src|data-tex.lua}}, cf. {{src|luat-fio.lua}}) * [[Miscellaneous Lua Topics]]
    2 KB (234 words) - 17:01, 8 June 2020
  • ...L to wiki format as an `mtxrun` script. The script is called `mtx-wikipage.lua`, and it converts our special XML format into wiki code. ...tional output file (useful for debugging). Besides that, it is almost pure lua. It uses an integrated tiny expat-style XML parser and a few handwritten xm
    11 KB (1,837 words) - 19:11, 5 September 2020
  • % Results in the following Lua table in the .tuc file == Storing and Accessing Datasets from Lua ==
    8 KB (1,032 words) - 02:01, 3 September 2023
  • = 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
  • ...veloper/en/opentype/glyphlist.txt here]]). This means that our first <code>lua</code> table for the "simple" lookups (one character is replaced with one
    8 KB (1,161 words) - 17:11, 8 June 2020
  • -- or just (lua is fast enough anyway) This is an adoption from Wolfgang using Lua:
    7 KB (918 words) - 23:28, 5 October 2023
  • ...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
    2 KB (349 words) - 09:14, 19 June 2020
  • ...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 ...ly due to the faster virtual machine. The exact speedup depends on the tex/lua ratio and we measured speedups between 10% and 40%. You force this engine w
    7 KB (1,169 words) - 08:26, 2 July 2022

View (previous 50 | next 50) (20 | 50 | 100 | 250 | 500)