Skip to content

Commit

Permalink
Edit for typos (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlonaSilverwood authored Apr 20, 2023
1 parent 31918c6 commit 0e76592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pagebreak.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ local function newpage(format, pagebreak)
end
end

--- Checkes whether a the given string contains a LaTeX pagebreak or
--- Checks whether the given string contains a LaTeX pagebreak or
--- newpage command.
local function is_newpage_command(command)
return command:match '^\\newpage%{?%}?$'
Expand All @@ -81,7 +81,7 @@ end

-- Returns a filter function for RawBlock elements, checking for LaTeX
-- pagebreak/newpage commands; returns `nil` when the target format is
-- latex.
-- LaTeX.
local function latex_pagebreak (pagebreak)
-- Don't do anything if the output is TeX
if FORMAT:match 'tex$' then
Expand Down

0 comments on commit 0e76592

Please sign in to comment.