Skip to content

Releases: Abhi-1U/texor

version 1.5.6 (CRAN)

Choose a tag to compare

@Abhi-1U Abhi-1U released this 03 Apr 15:15
e669ec3

Bug Fixes

  1. Table/Figure/Algorithm Numbering Issues which were broken by updates in pandoc and texor are fixed.
  2. Fixed table references being shown as ?? instead of number or reference name.
  3. Added soft fuse for the fig_code_chunk to skip converting further images, on encountering a non standard Image.
  4. Updated workflows and badges.

version 1.5.3 (CRAN)

Choose a tag to compare

@Abhi-1U Abhi-1U released this 14 Dec 00:53
da10d7d

Bug Fixes

  1. Fixed the path to search for DESCRIPTION file in a package directory.
  2. Moved clean up function to on.exit(), instead of sequential execution.
  3. Fixed issue #99 where a Lua filter would not work with newer Pandoc version.

version 1.5.0 (CRAN)

Choose a tag to compare

@Abhi-1U Abhi-1U released this 15 Oct 10:28
caeae57

Feature Updates

  • Included CodeCov code coverage workflow closing issue #70.
  • Included custom JavaScript for auto-numbering equations independent of number_sections: option, fixing issue #83 and issue #86.
  • Optional automatic equation numbering with a custom pandoc Lua filter, fixing issue #68.
  • New option to convert figures into R markdown code chunks instead of regular markdown syntax, somewhat fixing issue #80.
  • New option to convert most table structures into a csv data file, which is included into the article using kable() in a code block.
  • New option to suppress package start up messages in the generated document, fixing issue #81.
  • New options for vignette output styles including bookdown,litedown and biocstyle, closing issue #76.
  • Use of pseudocodejs for rendering Algorithm environment in the R markdown files, closing issue #69.
  • texor::rnw_to_rmd() now also modifies the DESCRIPTION file (if available) with Dependency Suggests and VignetteBuilder if missing (#94)

Bug Fixes

  • Fixed Issue #78 where references are not hyperlinked.
  • Fixed Issue #67 where unlabeled tables were not numbered.
  • Updated example Sweave file.
  • Added support for some jss style LaTeX macros under issue #77.
  • Partially fixed Issue #84 renaming bibliography file more appropriately.
  • Fixed Issue #79 where \vspace*{},\hspace*{} are ignored.
  • Removed web_only parameter from yaml front matter, adapting to changes in rjtools package.
  • Using updated table_code_chunk pandoc Lua filter, which preserves the table data more effectively, see supported types for more information.
  • texor::rnw_to_rmd(): front_matter_type parameter is now called output_format with no defaults (#91).
  • To support offline math in bookdown format, math_method option is now set to katex (better for accessibility) by default, in case of equation numbering it is set to mathjax (#92,#90).
  • Fixed Relative Paths Issue in texor::rnw_to_rmd() (#93).
  • VignetteEngine in bookdown format is now knitr::rmarkdown (#94).
  • Removed excess print() statements from Lua Filters.
  • If the figure/table referenced to a sweave code chunk is labelled with the prefix (fig:,tab:,table:) then the references will be transformed to bookdown style label.

Contributors

  • @fzyxh made their contribution in #75 and more.
  • @Abhi-1U made their contribution to the texor package.

Full Changelog: v1.4.0...v1.5.0

version 1.4.0

Choose a tag to compare

@Abhi-1U Abhi-1U released this 30 Jul 11:13
5d6b800

What's Changed

  • Feature: support for converting Sweave to R Markdown by @fzyxh in #75
  • A new Hex-sticker for the package by @Abhi-1U .
  • Simplification of Readme file.

Bug Fixes

  • Fixed Rd files with LaTeX like syntax to conform with recent R changes.
  • Removed redundant comments regarding pandoc version checks from examples.
  • Updates warning messages and notes in Rd section.

New Contributors

  • @fzyxh made their first contribution in #75

Full Changelog: v1.3.0...v1.4.0

version 1.3.0 (CRAN)

Choose a tag to compare

@Abhi-1U Abhi-1U released this 28 Sep 05:53

Feature Updates

  1. Equations are better handled and equation references are edited to match bookdown format.
  2. Knitting of Rmarkdown is now done outside the temp folder to avoid PDF compilation errors.
  3. Added workaround macros for \nameref{} and \autoref{}.
  4. Added workaround macros for \scalebox{}, \fbox{}, \adjustbox{}, \framebox{}.
  5. Option to set DPI when invoking convert_to_png function.

Bug Fixes

  1. CodeBlocks and WideTables are now back to the original form.
  2. Algorithm get separate numbering in references.
  3. Removed unnecessary warnings.
  4. Better mechanism to remove leftover text after processing.
  5. Reduced DPI of raster images to reduce file sizes.
  6. Algorithmic environment not treated as figures.
  7. Fixes in lua filters for equation which now adds basic support for tabular and removes nested inline math.
  8. Fixed logic in table reference numbering.

Accessibility Feature Updates

  1. All images processed are set with a default alt-text : 'graphic without alt text'.

version 1.2.0

Choose a tag to compare

@Abhi-1U Abhi-1U released this 16 Aug 11:31

Feature Updates

  1. CodeBlock and WideTable get their own numbering (but they share references with figures), Enhancement #51.
  2. added support for \command{..} macro.
  3. Included dummy slug and citation_url, Issue #50.
  4. Included a constructor for sample article, Enhancement #52.
  5. Added support for \file{},\var{},\env{},\option{},\dfn{}, \cpkg{} and \samp{} macro.
  6. Asking user for Inputs in interactive_mode, Enhancement #53.

Bug Fixes

  1. Modified the workflow to avoid missing Images.
  2. Modified Lua filters to suppress numbering widetables in captions.
  3. Fixed Issue #49 where some text of algorithms were left behind.
  4. Updated pdf conversion functions with poppler version check and note in man pages.
  5. Fixed copying markdown files back in temp_mode.
  6. Set unlink() as on.exit() function in temp_mode
  7. Removed table Numbering for images gridded in a table environment within a Figure environment.

version 1.1.0

Choose a tag to compare

@Abhi-1U Abhi-1U released this 25 Jul 14:57

Feature Updates

  1. New mechanism to convert articles without wrapper files.
  2. Support for non-standard named RJwrapper files.
  3. Support for files with inclusive articles, however only articles included in the main article are included.
  4. Support for smallexample code environment
  5. Enhancement #47 : temporary mode for conversions to keep the original LaTeX article untouched.
  6. Bumped up pandoc version requirement from 2.17 to 3.1 (minimum), latest (recommended)

Bug Fixes

  1. Figure Environment wont be numbered if there is no Image in it.
  2. Now tikz images can be hot reloaded, no need to remove \includegraphics{} line manually.
  3. Fixed #46 where tikz style blocks would persist.
  4. Fixed #45 with Enhancement #47.
  5. Closed #41 momentarily.
  6. Default issue and year is now based on current date.
  7. Fixed #48 - in Lua filter added check for DisplayMath for equation numbering.
  8. Closed #40 as most of the issues have been fixed.

version 1.0.5

Choose a tag to compare

@Abhi-1U Abhi-1U released this 06 Jul 08:06

Feature Updates

  1. A new Lua Filter to check for possible issues in LaTeX file during conversion
  2. New function to check multiple labels used in an environment

Bug Fixes

  1. Updated Image caption Lua filter which was broken by pandoc v3 (Figure update)
  2. Updated pkgdown website theme
  3. Fixed a Lua Filter to add extensions to some LaTeX Figure elements

version 1.0.3 (CRAN)

Choose a tag to compare

@Abhi-1U Abhi-1U released this 13 Jun 15:30

Bug Fixes

  1. Fixed a test case where it was attempting to write in user-library.

version 1.0.2 (CRAN)

Choose a tag to compare

@Abhi-1U Abhi-1U released this 12 Jun 08:29

Bug Fixes

  1. Added a pre-check before reading a file in texor::check_markdown_file().
  2. Fixed a bug where empty lines could not be filtered out.
  3. Usage of file.exists() before actual readLines().