Skip to content

vacura/Betacode2utf8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Betacode2utf8

Converter from betacode to UTF8 for LaTeX. (If you dont understand it, then you dont need it :)

Usage

betacode2utf8 infile outfile [command]

Command is optional, it is useless now, but may be usefull in future.

Note: If infile already uses some special characters - like diacritical marks (žluťoučký kůň) - it has to be in UTF8 format, not ANSI etc.

What it does? Goes thru infile, finds all instances of \betacode{something} or \bcode{something} and converts them to UTF8 equivalent. Then it saves result to outfile.

Example

betacode2utf8.exe myinfile.tex myoutfile.tex

Content of myinfile.tex

It is important to know all \bcode{ge/nh tou= o(/ntos}. Or maybe \bcode{ge/nh tw=n kategorion}? Or as Plato called them sometimes \bcode{me/gista ge/nh}. You should therefore read "\bcode{Peri\ tw=n genw=n tou= o)/ntos}"!!

Content of myoutfile.tex

It is important to know all γένη τοῦ ὅντοσ. Or maybe γένη τῶν κατεγοριον? Or as Plato called them sometimes μέγιστα γένη. You should therefore read "περὶ τῶν γενῶν τοῦ ὄντοσ"!!

Platform

Code uses .NET Core 2.1. Resulting binaries can be used on Windows 10, Linux and Mac.

Binaries

Windows 10:

Linux and Mac:

Credits

I used this old PHP project as a starting point: https://sourceforge.net/projects/betacodeconvert/

About

Converter from Betacode to UTF8 for LaTeX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages