Giter Site home page Giter Site logo

Expat missing about ichimiginikarasu HOT 5 CLOSED

makemeunsee avatar makemeunsee commented on June 7, 2024
Expat missing

from ichimiginikarasu.

Comments (5)

makemeunsee avatar makemeunsee commented on June 7, 2024

Hi, thanks for the interest.

What system are you running? And what libraries have you installed?
I didnt encounter this error, but from the message I'd expect installing expat-devel or equivalent would solve it.

cheers

from ichimiginikarasu.

Roobyx avatar Roobyx commented on June 7, 2024

Hi,
I've tried installing it on 2 windows machines (win 10 and 11) and on a Nobara Linux (just a Fedora distro).
On all of them, I've gotten the Haskell stack from: https://docs.haskellstack.org/en/stable/
Then after that, I'm cloning the repo and ran stack build

That's when I get that error. So far it has happened on all of the machines in the same way.

I did try -dev as the error says, but have not tried -devel, will try now.

P.S. expat-devel worked for the Fedora distro (installed with yum)

from ichimiginikarasu.

makemeunsee avatar makemeunsee commented on June 7, 2024

Great; if you're using WSL or cygwin on Windows (note I havent tried either), it should just be a matter of finding the equivalent to expat-devel and installing it through the package manager.

from ichimiginikarasu.

Roobyx avatar Roobyx commented on June 7, 2024

Hey,

So while the expat-devel worked, I am now stuck on the second step with xelatex. I am trying to generate the pdf, but the resulted doesn't pass. Im getting:

I am generating the cards (seemingly fine). Not sure if the warnings are problematic.

[usr@fedora ichimiginikarasu]$ stack exec ichimiginikarasu-exe -- -f resources/jpn_words_girardi_kelly -j res/JMdict_e -k res/kanjidic2.xml -n mydeck -i ./input_test > test2.tex
"reordered"
"read code points"
"filtered relevant kanjis"
"loaded kanjis"
"read kanjis"
"prepared similarity func"
"prepared radical func"
Warning: Option --without-gui= is deprecated
Warning: Option --file= is deprecated
Warning: Option --export-pdf= is deprecated
"generated tex content"
"prepared voc map"
"prepared freq map"
"prepared compounds map"
[usr@fedora ichimiginikarasu]$ xelatex test2.tex 

Then I trying to generate the pdfs with xelatex ./test2.tex, but I get:
! LaTeX Error: File flashcards.cls' not found.`

re-entering the name progresses things further but then I get the following:

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
 
Enter file name: test2.tex
(./test2.tex
 
! LaTeX Error: Two \documentclass or \documentstyle commands.
 
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
 
l.3 \documentclass[papera4_portrait,grid]{
                                          flashcards}
? 

Full cmd log:

[usr@fedora ichimiginikarasu]$ xelatex ./test2.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./test2.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-05-07>
 
! LaTeX Error: File `flashcards.cls' not found.
 
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
 
Enter file name: test2.tex
(./test2.tex
 
! LaTeX Error: Two \documentclass or \documentstyle commands.
 
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
 
l.3 \documentclass[papera4_portrait,grid]{
                                          flashcards}
? 

from ichimiginikarasu.

makemeunsee avatar makemeunsee commented on June 7, 2024

Hi,

flashcards.cls can be installed manually but should come from a latex package, provided by your system's package manager.
You should be able to look up which package provides this file and install it.
Cheers

from ichimiginikarasu.

Related Issues (12)

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.