Create TeXPortal Android app project in Eclipse
Experiment with Android UI design.
Add basic UI for main activity.
Handle TeX packages installation: fetch, extract, change executable permission
Processing TeX document by executing the command
Currently not working since
- we have not add path to TeX to PATH
- mktexlsr is not implemented
Pack most frequently used TeX binaries (kpathsea, tex, pdftex, bibtex, mf)
Run underlying binaries
Problem: Android SDK's process builder can only run a single native program! Somehow, commands like 'echo', 'export', ... cannot be executed. Need to make native wrapper codes for other utilities.
Implement mktexlsr, mktexfmt and process tex files
Merge all TeX-related classes into class TeX
Reproduce the archive texmf.tar.xz to contain pdftex's configurations and inputs
Rename directory "texlive-bin-packages" to "archives"
Remove prepack archive texportal.tar.xz
Revise TeX.java documentation
More refactoring for TeX interface.
Add local database managers.
Need to replace all static methods.
Importing the .jar library files instead of adding the source codes for dependent libraries [jtar (2.0.1) and java-xz]
Revise class naming with more descriptive and standardized names
Fix imported libraries (jtar, xz-java) by recompiling using JDK 1.6 [Android does not supported 1.7!]
Add code to call [Manage TeX distro] and [Configure TeX] activities
Problem detected: have to download the file in a separate thread
Add package download from Internet and necessary permissions to manifest
TODO: customize the download manager
Learning to use threading to download, update UI and process downloaded files upon completion
Make the main functions (install, typeset, ...) non-static and restructure project source
System redesign (see DOCUMENTATION.md for details)
Convert all line delimiters to UNIX style
System redesign in progress
System redesign: partially complete (many features unimplemented) + untested
Adding a general file downloader to download files on separate thread
TODO develop it into a good download manager
Finetune the downloader, add/modify class header documentation
Make ls-R more failsafe by creating the directory in case of non-existent texmf-* directory
TODO: fix the *.fmt generation & make download task non-blocking of the UI thread
Fix ls-R and format files *.fmt generation
More failsafe ls-R which simply skips non-existing texmf-*
Move format files to $TEXMFVAR(SYS)/web2c/<engine>/<format>.fmt as specified by Kpathsea so that engines can find them later
Add the ProgressDialog during typesetting and installation
Fix UI blocking problem of installation
TODO Add a user-friendly file chooser dialog & displaying typeset result