GithubHelp home page GithubHelp logo

fetacore / infinitex Goto Github PK

View Code? Open in Web Editor NEW
158.0 13.0 10.0 13.25 MB

A LaTeX and WYSIWYG editor with academic search functionality and other helpful tools

License: GNU General Public License v3.0

JavaScript 95.31% HTML 0.19% CSS 4.50%
electron react material-ui uglify-js ace-editor quilljs katex electron-builder

infinitex's People

Contributors

fetacore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infinitex's Issues

Compile PDF does not work

me@host:~$ Downloads/InfiniTex-0.7.0-x86_64.AppImage 
6129
/bin/sh: 1: pdflatex: not found

pdflatex and everything it needs to run should be bundled inside the AppImage. Along the lines of

wget -c http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar xf install-tl-unx.tar.gz

# Install texlive relative to usr/
# [X] basic scheme (plain and latex)
# 2 collections out of 48, disk space required: 165 MB
# Its bin/ just needs to be put on $PATH, then existing TeXstudio AppImage works with it
mkdir -p usr/
cd usr/
echo "I" | TEXLIVE_INSTALL_PREFIX=../texlive ../install-tl-20160405/install-tl -portable -scheme basic
cd ..

Cannot build on macOS Mojave

Cannot build source codes for macOS Mojave. Running: sudo yarn && yarn preminify I get:

yarn install v1.12.3
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] πŸ”  Resolving packages...
[2/4] 🚚  Fetching packages...
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] πŸ”—  Linking dependencies...
warning " > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
[4/4] πŸ“ƒ  Building fresh packages...
success Saved lockfile.
✨  Done in 445.83s.
yarn run v1.12.3
error Command "preminify" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Katex support?

Is it possible to use a JavaScript LaTeX library (like Khan Academy’s katex.js) instead of MacTex/MikTex?

I dont know much about LaTeX yet, but I noticed the MacTex download was somewhat huge. Just curious if a lighter alternative might be available.

Here’s a link to Katex:
https://katex.org/

Tested on macOS High Sierra

Hello
My OS version is High Sierra 10.13.4

I clone your project and install packages and after run with npm start I get these issues
I tried to fix the error said : Electron could not be found. No hard resets for you! but no luck yet.

I will working on this project because of I like it

Some suggestions :

  1. Need better UI (More understandable and clean)
  2. Better UX in packaged app (Buttons - Colors - Sides ...)

For now I remember these

Overall app runs and seems working but need alot of major fixes, improvements specially for mac design need some clean UI and smooth UX

Note : I didn't bundled the app yet just npm start, not run in dist folder

Errors and Bugs :

  1. Mac Menu Bar going crazy and I don't know what's cause that freaking issue
  2. (electron) The 'lstatSyncNoException' function has been deprecated and marked for removal.
  3. Electron could not be found. No hard resets for you!
  4. [55984:1102/212802.295773:ERROR:CONSOLE(506)] "Uncaught TypeError: Cannot read property 'nodeType' of null", source: chrome-devtools://devtools/bundled/elements/elements_module.js (506)
  5. 2018-11-02 21:28:05.888 Electron Helper[57283:5162458] Couldn't set selectedTextBackgroundColor from default ()

For now of course
I'm still playing with it βš™οΈ

Fixes I tried :

For Electron could not be found. No hard resets for you! i tried the full path but no success

Index.js

if (isDevMode) {
  // require('electron-reload')(__dirname)} //Not Working : Electron not found, no hard reset
  require('electron-reload')(__dirname, { electron: path.join(__dirname, 'node_modules', '.bin', 'electron') })}

Shots :

These of shots from testing

Devmode app light


IMG-1

Dev Mode app dark


IMG-4

Dev Mode app expanded


IMG-3

Error within Inspector


IMG-2

macOS Menu Issue (White Logo, I think πŸ€”)


IMG-5

Terminal running log


IMG-6

Thanks for reading
I'll be in touch if you have any question
I love the Idea of InfinitTex

Flatpak package

Flatpak packages are nice for users as they are more transparent than appimages in the sense that are integrated in package managers (easy to install/uninstall and regular check for updates), and typically flatpak packages are more system aware (look and feel, global menu, colortheme, etc.).

Feature Requests

Nice, a sexy Latex editor!
Thank you, the world does indeed desperately need one :)

A few ideas, I'd like to run by you:

  • Latex Intellisense (Would be really cool)
  • The option write $\latex$ in the simple editor (without pressing the button)
  • Being able to quickly export any LaTeX as a transparent picture to the clipboard

Great program, regardless! :)

Failing running yarn

Running this command yarn && yarn preminify I get following errors:

yarn install v1.12.3
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] πŸ”  Resolving packages...
[2/4] 🚚  Fetching packages...
info [email protected]: The platform "darwin" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] πŸ”—  Linking dependencies...
warning " > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0".
[4/4] πŸ“ƒ  Building fresh packages...
[1/2] β’€ electron
error /Users/sahelanthropus/Downloads/Infinitex-master/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments: 
Directory: /Users/sahelanthropus/Downloads/Infinitex-master/node_modules/electron
Output:
Downloading tmp-5350-0-electron-v3.0.6-darwin-x64.zip
Error: EACCES: permission denied, open '/Users/sahelanthropus/Library/Caches/electron/tmp-5350-0-electron-v3.0.6-darwin-x64.zip'
/Users/sahelanthropus/Downloads/Infinitex-master/node_modules/electron/install.js:49
  throw err
  ^

Error: EACCES: permission denied, open '/Users/sahelanthropus/Library/Caches/electron/tmp-5350-0-electron-v3.0.6-darwin-x64.zip'
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this

Using yarn v 1.12.3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.