Skip to content

Commit

Permalink
Update to version 2024Mar14
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Mar 17, 2024
1 parent 6f673b3 commit fda8208
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
31 changes: 25 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![A bibref version based on jquery.terminal](jt-demo.png)
![A bibref version based on the Qt graphical framework](qt/bibref-qt.png)

# bibref

Expand Down Expand Up @@ -53,28 +53,45 @@ This project is a work in progress.

## Using the software tool

You need a Linux system (preferred) or a web browser (fallback) to use this tool.
### Qt version

Since March 2024 *bibref* comes with a graphical user interface that is based on [Qt](https://qt.io).
You can find information on how to install the program on your machine
on the [Releases](https://github.com/kovzol/bibref/releases) page.

### Terminal based versions

![A bibref version based on jquery.terminal](jt-demo.png)

At the moment the project was tested on
You need a Linux system (preferred) or a web browser (fallback) to use the terminal
based interface.

At the moment this interface was tested on
Ubuntu Linux 18.04, 19.10, 20.04 and 22.04 but it should work
on many other systems.

### Snap store installation (preferred)
#### Snap store installation (preferred)

[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/bibref)

After installation you need to use the command `bibref` via command line.
In the snap version only the LXX, SBLGNT, StatResGNT and [KJV](http://www.crosswire.org/sword/modules/ModInfo.jsp?modName=KJV) modules are present.
If you want to use additional modules, please try installing the tool from source code (see below).

### Web version (fallback)
#### Web version (fallback)

Currently there is an online web version of *bibref* available: [a simple version](https://matek.hu/zoltan/bibref/)
that is based on [jquery.terminal](https://terminal.jcubic.pl/). It is somewhat slower than the installable version, but works immediately
in a web browser (you may need to wait a couple of seconds before the start). In the web versions the modules LXX, SBLGNT, StatResGNT and KJV are available.

### Installation from source code (for developers)

#### Qt version

We provide some [hints](qt/README.md) to help you build the graphical user interface.

#### Terminal based versions

![build](https://github.com/kovzol/bibref/workflows/build/badge.svg)

The following commands
Expand All @@ -101,6 +118,8 @@ the corresponding [GitHub action](https://github.com/kovzol/bibref/blob/master/.

### Example use case

We follow the syntax of the terminal based version, but the similar steps can be used
on the graphical interface as well.
The following session finds the corresponding citation of the LXX text of Psalm 2:1 in the SBLGNT:
```commandline
This is bibref 2022Feb24, nice to meet you.
Expand Down Expand Up @@ -177,6 +196,6 @@ Also, a work-in-progress database can be found in [docs/common](/docs/common) wh

You may be interested in some [blog entries](https://matek.hu/zoltan/blog-topics.php?t=b) that extensively use the web version of *bibref*.

### Command line options
### Command line options in the terminal based version on Linux

Issue `bibref -h` to learn about the available command line options.
7 changes: 3 additions & 4 deletions qt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ folder may be a workaround.

See also the steps in the GitHub Actions for more details.

## Minor issues
### Packaging

Currently, the path to translation files (*.qm) and the bibref logo are hardcoded
in main.cpp and mainwindow.cpp. Therefore, these files should be present
for the localization and to show the application icon properly.
See the scripts `create-windows-folder`, `create-windows-zip` and `bibref.iss`
(this is an [Inno Setup](https://jrsoftware.org/isinfo.php) script) in the current folder.
Binary file modified qt/bibref-qt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fda8208

Please sign in to comment.