lua-widow-control

(Lua)TeX package to automatically remove widows and orphans from any document

https://github.com/gucci-on-fleek/lua-widow-control

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary

Keywords

context latex luatex tex typography
Last synced: 6 months ago · JSON representation ·

Repository

(Lua)TeX package to automatically remove widows and orphans from any document

Basic Info
  • Host: GitHub
  • Owner: gucci-on-fleek
  • Language: TeX
  • Default Branch: master
  • Homepage:
  • Size: 857 KB
Statistics
  • Stars: 16
  • Watchers: 2
  • Forks: 2
  • Open Issues: 2
  • Releases: 163
Topics
context latex luatex tex typography
Created over 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing Citation

README.md

lua-widow-control

Lua-widow-control is a Plain TeX/LaTeX/ConTeXt/OpTeX package that removes widows and orphans without any user intervention. Using the power of LuaTeX, it does so without stretching any glue or shortening any pages or columns. Instead, lua-widow-control automatically lengthens a paragraph on a page or column where a widow or orphan would otherwise occur.

Please see the package manual <!-- TODO: Fix URL --> for usage details or the TUGboat or Zpravodaj articles for background information and discussion.

Usage

Installation

Lua-widow-control is included in TeX Live and MikTeX. Provided that you have an up-to-date installation, you should not need to explicitly install the package.

If you are using ConTeXt or want to manually install the package, you may download it from one of the below links:

|Latest Release|Other Releases| |--------------|--------------| |GitHub|GitHub| |CTAN|| |ConTeXt Garden||

Usage

To load the package, add the relevant line to your preamble:

|Macro Package|Code | |-------------|--------------------------------| |LaTeX |\usepackage{lua-widow-control}| |ConTeXt |\usemodule[lua-widow-control] | |Plain TeX |\input lua-widow-control | |OpTeX |\load[lua-widow-control] |

Contributing

Please see CONTRIBUTING.md.

Licence

Lua-widow-control is licensed under the Mozilla Public License, version 2.0 or greater. The documentation is additionally licensed under CC-BY-SA, version 4.0 or greater.

Please note that a compiled document is absolutely not considered to be an "Executable Form" as defined by the MPL. The use of lua-widow-control in a document does not place any obligations on the document's author or distributors. The MPL and CC-BY-SA licenses only apply to you if you distribute the lua-widow-control source code or documentation.


v3.0.1 (2024-03-11) <!--%%version %%dashdate-->

Owner

  • Name: Max Chernoff
  • Login: gucci-on-fleek
  • Kind: user
  • Location: Alberta, Canada

Citation (CITATION.cff)

# lua-widow-control
# https://github.com/gucci-on-fleek/lua-widow-control
# SPDX-License-Identifier: MPL-2.0+
# SPDX-FileCopyrightText: 2022 Max Chernoff

cff-version: 1.2.0
title: lua-widow-control
authors:
  - family-names: Chernoff
    given-names: Max
type: software
repository-code: "https://github.com/gucci-on-fleek/lua-widow-control"
license:
 - MPL-2.0
 - CC-BY-SA-4.0

message: There is a TUGboat article available for this package.
preferred-citation:
  type: article
  title: Automatically removing widows and orphans with lua-widow-control
  authors:
    - family-names: Chernoff
      given-names: Max
  doi: 10.47397/tb/43-1/tb133chernoff-widows
  volume: 43
  issue: 1
  year: 2022
  month: 5
  start: 28
  end: 39
  journal: TUGboat

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 1
  • Member event: 1
  • Push event: 1
Last Year
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 1
  • Member event: 1
  • Push event: 1

Dependencies

.github/workflows/build-test-bundle.yml actions
  • actions/cache v3 composite
  • actions/cache/save v3 composite
  • actions/checkout v2 composite
  • actions/upload-artifact v3 composite
  • ncipollo/release-action v1 composite
  • zauguin/install-texlive v1 composite