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
  • File:lua-mkiv.jpg
    (300 × 425 (12 KB)) - 09:39, 18 May 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 (162 words) - 20:16, 17 May 2024
  • == 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
  • File:MetaPost in Context.png
    How the MetaPost / Lua / TeX core all work together
    (689 × 970 (321 KB)) - 00:30, 26 September 2021
  • ...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
  • I think it would be better to use 'context' (instead if texexec --lua), is there any particular reason for keeping texexec? [[User:Taco|Taco]] 08
    168 bytes (26 words) - 14:46, 20 November 2012
  • 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 (514 words) - 20:16, 17 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
  • * [[Category:Command/Lua]]
    817 bytes (115 words) - 10:07, 16 November 2022
  • {{todo|obviously switch (i) to a lua script, (ii) to xml format, like the already existing xml file that describ
    380 bytes (57 words) - 13:58, 3 December 2023
  • ...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
  • ...this is how you'd do it in *TeX' examples: once we are free to talk about Lua/LuaTeX only, the explanation becomes briefer, more focused, and easier to s
    361 bytes (66 words) - 13:21, 20 January 2012
  • * [[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
  • <h3>With lua, you can obtain all you want</h3> ...re unlikely to define bitmap images by hand, you'll probably prefer to use lua :-)
    3 KB (409 words) - 17:27, 8 May 2024
  • <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
  • ...rlinks for the keywords in the /Command/XXXX pages. I assume you have some Lua code to generate the table? --[[User:Taco|Taco]] ([[User talk:Taco|talk]])
    530 bytes (93 words) - 13:38, 29 May 2020
  • <h3>with lua</h3>
    1 KB (191 words) - 13:00, 8 May 2024
  • ...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
  • == inclusions for lua (as for metafun) == == support more engines (--lua) and other preferences ==
    5 KB (693 words) - 18:35, 3 July 2012
  • * Processing a buffer from XML content in Lua
    1 KB (157 words) - 15:57, 8 June 2020
  • <short>force cld (context lua document) stub</short> <short>force lua stub (like texlua)</short>
    6 KB (753 words) - 18:03, 22 March 2013
  • (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
  • ...textgarden.net/index.php?title=Special%3ASearch&search=lua&fulltext=Search Lua] and [http://wiki.contextgarden.net/index.php?title=Special%3ASearch&search
    1 KB (192 words) - 18:21, 17 May 2024
  • .../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
  • It was introduced in 2010 to reduce needed calls with lua.
    2 KB (233 words) - 12:53, 8 May 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
  • #* Lua Font Goodies with examples.
    1 KB (196 words) - 19:14, 3 June 2020
  • ...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
  • It was introduced in 2010 to reduce needed calls with lua.
    2 KB (327 words) - 12:44, 8 May 2024
  • ...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
  • $CONTEXTROOT/tex/texmf-context/scripts/context/lua/ ...ake the script at [[User:Esteis/man/xml2man]] (adapted from {{src|trac-exp.lua}}) and run it on your XML file like so:
    2 KB (280 words) - 17:58, 22 March 2013
  • ...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,170 words) - 20:15, 17 May 2024
  • ..., you may need to calculate with image sizes. Often it makes sense to use Lua functions.
    2 KB (264 words) - 18:55, 7 September 2021
  • 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 ...o keep the interface in TeX and make the modifications in low level TeX or Lua code.
    6 KB (805 words) - 13:06, 7 January 2021
  • \setuptyping[LUA][option=]
    2 KB (250 words) - 17:28, 29 July 2023
  • | strip Lua code (only meant for production where no errors are expected) | force cld (context lua document) stub
    7 KB (897 words) - 15:06, 8 May 2024
  • * add the lua configuration file * rewrite scripts to lua and back up regularly
    5 KB (707 words) - 08:06, 28 July 2011
  • ...gn:left;">[http://www.pragma-ade.nl/general/manuals/templates-mkiv.pdf XML/Lua templates (2016)]</div></li> ...; text-align:left;">[http://www.pragma-ade.nl/general/manuals/lua-mkiv.pdf Lua - the ConTeXt libraries (2016)]</div></li>
    38 KB (5,155 words) - 16:39, 14 April 2024
  • ...lly a merge of the scripts stored in <tt>tex/texmf-context/scripts/context/lua</tt>. ...licitly invoke the function of one of the scripts, e.g. <tt>mtx-''script''.lua</tt>, like so.
    14 KB (1,576 words) - 19:14, 8 June 2020
  • == Lua functions ==
    8 KB (1,030 words) - 16:57, 8 June 2020
  • * [[manual:cld-mkiv.pdf|ConTeXt Lua Documents]]
    3 KB (381 words) - 18:06, 17 May 2024
  • < [[Tables Overview]] | [[source:tabl-xtb.lua|tabl-xtb.lua]] ...hanism isn’t simple, but fast. It works only in ConTeXt MkIV, because it’s Lua-based.
    3 KB (351 words) - 08:28, 2 July 2022
  • ...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
  • ...nts- files], that you can compile and/or use as module for own fonts (with lua font goodies)
    3 KB (399 words) - 13:01, 18 May 2024
  • Mark IV delegates an ever growing amount of the key-value processing to lua, and as a result you should always provide 'expanded' numbers in Mark IV: The underlying reason is that the scanning via lua does not have the special behaviour of TeX itself.
    8 KB (1,280 words) - 13:27, 9 August 2020
  • =Normal Lua preloading= [[Lua]] libraries in addition to the format itself.
    21 KB (2,731 words) - 19:22, 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
  • ...ttp://www.luatex.org/ luatex.org]</td><td>extended version of pdfTeX using Lua</td></tr>
    4 KB (731 words) - 08:01, 1 July 2022
  • ...in the source code: [http://source.contextgarden.net/buff-ini.lua buff-ini.lua] ...moved &mdash; see <code>parsers.settings_to_array</code> in <code>util-prs.lua</code>.
    3 KB (498 words) - 07:35, 17 July 2023
  • * [[source:page-cst.lua| page-cst.lua]] Lua functions that control the four-letter placement codes in page columns
    7 KB (1,268 words) - 20:40, 13 August 2022
  • Once we have lua in place it should not be that difficult to make a mechanism that works as
    2 KB (342 words) - 14:25, 8 June 2020
  • == Checking modes in Lua == The state of any mode is accessible at the Lua end as <code>tex.modes</code> table. Specifically,
    17 KB (2,484 words) - 08:26, 2 July 2022
  • ==Lua tables== Since internally everything anyway are Lua tables, you can use them directly as a database format:
    20 KB (2,627 words) - 03:36, 16 April 2024
  • ...a different approach is necessary. The style can be defined in terms of a Lua handler, such as: * Source code: {{src|typo-fln.mkiv}} (with examples) {{src|typo-fln.lua}}.
    4 KB (543 words) - 18:10, 17 May 2024
  • ...ting to their respective files in the the <code>texmf-dist/scripts/context/lua directory</code>. ...mfcnf.lua</code> (default configuration in <code>texmf-dist/web2c/texmfcnf.lua</code>); beyond this, most settings are undocumented, so ask on [mailto:tex
    3 KB (530 words) - 22:23, 7 April 2023
  • In ConTeXt, the vanilla Lua [http://www.lua.org/manual/5.1/manual.html#5.5 table library] Compare this to Lua’s and LuaTeX’s standard ''table'' implementation.
    30 KB (4,617 words) - 16:58, 8 June 2020
  • ...one XML files into man pages. Run it with {{code|mtxrun --script ./xml2man.lua somefile.xml}} -- mtxrun --script ./xml2man.lua somefile.xml
    4 KB (553 words) - 16:55, 24 March 2013
  • * The tables of key-value pairs are stored as Lua tables in a <code>.tuc</code> file. They look like this: % Results in the following Lua table in the .tuc file
    9 KB (1,215 words) - 17:51, 1 December 2020
  • ...TEX]</code> and use it with the name you chose. Other values are: <code>mp lua xml parsed-xml nested tex context</code>. | Lua || || [[source:pret-lua.lua|LUA]]
    23 KB (3,313 words) - 01:05, 13 August 2023
  • ...te''' Nearly all the labels in the ConTeXt core are actually loaded from a lua table in <code>lang-txt.lua</code>, instead of via this interface.
    6 KB (813 words) - 23:09, 17 March 2022
  • ...e is an easier solution: you can typeset the output of system commands via lua code. Here is an example that will print the revision and date of a mercuri
    4 KB (562 words) - 15:58, 8 June 2020
  • This uses Lua and therefore only works with ConTeXt MkIV and up. It includes all pages of ...o write them into a temp file (using Scheme) and read that in again (using Lua).
    9 KB (1,117 words) - 14:39, 5 February 2023
  • \Question[q:lua]{How are your Lua skills?}
    9 KB (1,199 words) - 08:26, 2 July 2022
  • ...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
  • * support Lua as a scripting language in PDF, like JavaScript
    4 KB (590 words) - 09:37, 23 September 2022
  • In comparison with other scripting languages the bare Lua string library empty Lua file and processed with context.
    20 KB (2,972 words) - 16:58, 8 June 2020
  • ...> command allows us to access the <code>\dimen</code> register from TeX in Lua.''
    6 KB (881 words) - 16:48, 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,081 words) - 18:41, 17 May 2024

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