Recent Releases of texor
texor - version 1.5.6 (CRAN)
Bug Fixes
- Table/Figure/Algorithm Numbering Issues which were broken by updates in pandoc and texor are fixed.
- Fixed table references being shown as
??instead of number or reference name. - Added soft fuse for the
fig_code_chunkto skip converting further images, on encountering a non standard Image. - Updated workflows and badges.
- R
Published by Abhi-1U about 1 year ago
texor - version 1.5.3 (CRAN)
Bug Fixes
- Fixed the path to search for DESCRIPTION file in a package directory.
- Moved clean up function to
on.exit(), instead of sequential execution. - Fixed issue #99 where a Lua filter would not work with newer Pandoc version.
- R
Published by Abhi-1U over 1 year ago
texor - version 1.5.0 (CRAN)
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,litedownandbiocstyle, closing issue #76. - Use of
pseudocodejsfor rendering Algorithm environment in the R markdown files, closing issue #69. texor::rnw_to_rmd()now also modifies the DESCRIPTION file (if available) with DependencySuggestsandVignetteBuilderif 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_onlyparameter from yaml front matter, adapting to changes inrjtoolspackage. - Using updated
table_code_chunkpandoc Lua filter, which preserves the table data more effectively, see supported types for more information. -
texor::rnw_to_rmd():front_matter_typeparameter is now calledoutput_formatwith no defaults (#91). - To support offline math in bookdown format,
math_methodoption is now set tokatex(better for accessibility) by default, in case of equation numbering it is set tomathjax(#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 https://github.com/Abhi-1U/texor/pull/75 and more.
- @Abhi-1U made their contribution to the texor package.
Full Changelog: https://github.com/Abhi-1U/texor/compare/v1.4.0...v1.5.0
- R
Published by Abhi-1U over 1 year ago
texor - version 1.4.0
What's Changed
- Feature: support for converting Sweave to R Markdown by @fzyxh in https://github.com/Abhi-1U/texor/pull/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 https://github.com/Abhi-1U/texor/pull/75
Full Changelog: https://github.com/Abhi-1U/texor/compare/v1.3.0...v1.4.0
- R
Published by Abhi-1U almost 2 years ago
texor - version 1.3.0 (CRAN)
Feature Updates
- Equations are better handled and equation references are edited to match bookdown format.
- Knitting of Rmarkdown is now done outside the
tempfolder to avoid PDF compilation errors. - Added workaround macros for
\nameref{}and\autoref{}. - Added workaround macros for
\scalebox{},\fbox{},\adjustbox{},\framebox{}. - Option to set DPI when invoking
convert_to_pngfunction.
Bug Fixes
CodeBlocksandWideTablesare now back to the original form.Algorithmget separate numbering in references.- Removed unnecessary warnings.
- Better mechanism to remove leftover text after processing.
- Reduced DPI of raster images to reduce file sizes.
Algorithmicenvironment not treated as figures.- Fixes in lua filters for equation which now adds basic support for tabular and removes nested inline math.
- Fixed logic in table reference numbering.
Accessibility Feature Updates
- All images processed are set with a default alt-text : 'graphic without alt text'.
- R
Published by Abhi-1U almost 3 years ago
texor - version 1.2.0
Feature Updates
CodeBlockandWideTableget their own numbering (but they share references with figures), Enhancement #51.- added support for
\command{..}macro. - Included dummy
slugandcitation_url, Issue #50. - Included a constructor for sample article, Enhancement #52.
- Added support for
\file{},\var{},\env{},\option{},\dfn{},\cpkg{}and\samp{}macro. - Asking user for Inputs in
interactive_mode, Enhancement #53.
Bug Fixes
- Modified the workflow to avoid missing Images.
- Modified Lua filters to suppress numbering widetables in captions.
- Fixed Issue #49 where some text of algorithms were left behind.
- Updated pdf conversion functions with poppler version check and note in man pages.
- Fixed copying markdown files back in temp_mode.
- Set
unlink()ason.exit()function in temp_mode - Removed table Numbering for images gridded in a table environment within a Figure environment.
- R
Published by Abhi-1U almost 3 years ago
texor - version 1.1.0
Feature Updates
- New mechanism to convert articles without wrapper files.
- Support for non-standard named RJwrapper files.
- Support for files with inclusive articles, however only articles included in the main article are included.
- Support for
smallexamplecode environment - Enhancement #47 : temporary mode for conversions to keep the original LaTeX article untouched.
- Bumped up pandoc version requirement from 2.17 to 3.1 (minimum), latest (recommended)
Bug Fixes
- Figure Environment wont be numbered if there is no Image in it.
- Now tikz images can be hot reloaded, no need to remove
\includegraphics{}line manually. - Fixed #46 where tikz style blocks would persist.
- Fixed #45 with Enhancement #47.
- Closed #41 momentarily.
- Default issue and year is now based on current date.
- Fixed #48 - in Lua filter added check for
DisplayMathfor equation numbering. - Closed #40 as most of the issues have been fixed.
- R
Published by Abhi-1U almost 3 years ago
texor - version 1.0.5
Feature Updates
- A new Lua Filter to check for possible issues in LaTeX file during conversion
- New function to check multiple labels used in an environment
Bug Fixes
- Updated Image caption Lua filter which was broken by pandoc v3 (Figure update)
- Updated pkgdown website theme
- Fixed a Lua Filter to add extensions to some LaTeX Figure elements
- R
Published by Abhi-1U almost 3 years ago
texor - version 1.0.3 (CRAN)
Bug Fixes
- Fixed a test case where it was attempting to write in user-library.
- R
Published by Abhi-1U about 3 years ago
texor - version 1.0.2 (CRAN)
Bug Fixes
- Added a pre-check before reading a file in
texor::check_markdown_file(). - Fixed a bug where empty lines could not be filtered out.
- Usage of
file.exists()before actualreadLines().
- R
Published by Abhi-1U about 3 years ago
texor - version 1.0.1 (CRAN)
Feature Updates
- Algorithm figures are now numbered.
- Added
boxedverbatimsupport for code environments. - Included
web_onlyparameter for embedding PDF or using Rmarkdown to produce HTML. - Updated to MathJax Version3 and added
-tex_math_single_backslashextension to pandoc for better math handling. - Support for sample articles without the directory structure as required for RJ articles.
- Updated Instructions and examples (hence closing GitHub Issue #23).
- Updated contributor information.
- More examples and test cases.
- Pandoc Version checker for better compatibility and experience.
- Markdown checker for better compatibility and experience.
- CRAN release.
Bug Fixes
- Using
xfun::normalize_path()instead ofnormalizePath()for relative/absolute path handling - Stream editor also works on algorithm environments.
- Fixed image sizing paramaters.
- New algorithm to find, convert and copy images appropriately.
- Fixed a bug where, if the
metadata$addressis missing thenmetadata$authorwill be used as author name. - Removes
RJournal.styfile as it conflicts with inner workings of pandoc. - Fixed file extension editing using
xfun::with_ext()instead ofgsub(). - More precise
titleanddescription. - Added rebib as a dependency given it is now available on cran(hence closing #38)
- Fixed bugs related to copying files and images (Github Issue #36 and #34)
- R
Published by Abhi-1U about 3 years ago
texor - v 0.6.9
Feature Updates
- Added algorithm2e graphics support (beta) (GitHub Issue #32)
- Added tikz graphics support (GitHub Issue #7)
- Added automation workflow with a separate logger for logging success and failure of conversion.
Bug Fixes
- Fixing equation labelling issue with
,.,_in equations and also addingeq:before equation starts if not present. - Added support for relative paths
- Fixed bugs in the figure parser with new regex.
- Fixed tikz lib extraction method
Deprecated Features
- Removing old bibliographic parser/converter from texor in favour of new implementation in rebib which supports many more features.
- R
Published by Abhi-1U almost 4 years ago
texor - v 0.6.7
Feature Updates
- Equation labelling and numbering
- Code/table/equation/figure pre-processors
- fixed many meta-data related issues
- We now use Mathjax V3
- New testthat test cases
- pkgdown website
texor::latex_to_web()for a single article- new stat tools for some metrics and conversion coverage check
- environment/word count for pandoc convert
Bug Fixes
- Support for absolute paths
- Fixed a lot of logic errors
- Fixed incompatibilities
- removed unnecessary code and features
- R-CMD-check passing
- Github workflows should work now
- Improved stat filter which exports pre and post-conversion stats YAML file
- namespaces in logger
- URL fix for non HTTP:// web Links
- Figure max-width : 100% extra option added to figures.
- fixed pre-processing of tikz
- fixed problems in the journal volume
- comment filter mechanism for latex
- improved Lua filter for numbering and centering figures
- fixed slug issue
- R
Published by Abhi-1U almost 4 years ago