Compare commits
39 Commits
Author | SHA1 | Date |
---|---|---|
Manuel Genovés | 9bc8dcc19d | |
Manuel Genovés | dc028353fe | |
Manuel Genovés | 7a11f189c0 | |
Manuel Genovés | 1843bc9533 | |
Manuel Genovés | 8042e7d8b0 | |
Manuel Genovés | 57ac571160 | |
Manuel Genovés | 833e75b0ab | |
Manuel Genovés | 4ad1ec67d5 | |
Manuel Genovés | c1a134496f | |
Manuel Genovés | 8feca99cc2 | |
Manuel Genovés | bd741f2f64 | |
Manuel Genovés | 5877682ee8 | |
Manuel Genovés | 557faf66f2 | |
somas95 | dd2bc4a7dc | |
somas95 | db2d266f90 | |
somas95 | 74891c9192 | |
somas95 | 6f182dfaa0 | |
somas95 | 33eac1c16a | |
somas95 | 274c59f884 | |
somas95 | 490601728b | |
somas95 | 3f7c01c659 | |
somas95 | 9f020841c3 | |
somas95 | 564b609ee9 | |
somas95 | 4a62a1e03e | |
somas95 | f6d924769c | |
somas95 | cd51a53b2e | |
somas95 | 2a5e08b3e2 | |
somas95 | 7d0fe8d596 | |
somas95 | fb64e442dc | |
somas95 | 8c9c27919c | |
somas95 | ac0ebcebf2 | |
Manuel Genovés | 0123fc8630 | |
Manuel Genovés | 9bf34e5151 | |
somas95 | 775c0006e1 | |
Manuel Genovés | e70b6d52bc | |
Manuel Genovés | 29d2af97fa | |
Manuel Genovés | af2975d48a | |
Manuel Genovés | 30af9b2b20 | |
somas95 | e38520c35d |
|
@ -6,5 +6,6 @@ build/
|
|||
.vscode/
|
||||
.idea/
|
||||
builddir/*
|
||||
build-aux/*
|
||||
build-aux/flatpak/_build/*
|
||||
build-aux/flatpak/.flatpak-builder/*
|
||||
flatpak/*
|
||||
|
|
|
@ -1,12 +1,3 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: "[BUG]"
|
||||
labels: bug, triage
|
||||
assignees: somas95
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
|
@ -31,3 +22,6 @@ If applicable, add screenshots to help explain your problem.
|
|||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
|
||||
/label ~bug ~triage
|
||||
/assign @somas
|
|
@ -1,12 +1,3 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: "[Feature Request]"
|
||||
labels: feature request
|
||||
assignees: somas95
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
|
@ -18,3 +9,6 @@ A clear and concise description of any alternative solutions or features you've
|
|||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
||||
/label ~"feature request"
|
||||
/assign @somas
|
7
AUTHORS
|
@ -1,2 +1,5 @@
|
|||
Copyright (C) 2019, Wolf Vollprecht <w.vollprecht@gmail.com>
|
||||
Copyright (C) 2019, Vova Kolobok <vovkkk@ya.ru>
|
||||
Wolf Vollprecht <w.vollprecht@gmail.com>
|
||||
Vova Kolobok <vovkkk@ya.ru>
|
||||
Manuel Genovés <manuel.genoves@gmail.com>
|
||||
Gonçalo Silva <goncalossilva@gmail.com>
|
||||
Thomas Lavend <lavendthomas@outlook.be>
|
8
PKGBUILD
|
@ -1,17 +1,17 @@
|
|||
pkgname=uberwriter
|
||||
_pkgname=uberwriter
|
||||
pkgname=apostrophe
|
||||
_pkgname=apostrophe
|
||||
pkgver=2.1.3
|
||||
pkgrel=1
|
||||
pkgdesc='A distraction free Markdown editor for GNU/Linux made with GTK+'
|
||||
arch=('any')
|
||||
url='http://uberwriter.github.io/uberwriter/'
|
||||
url='http://apostrophe.github.io/apostrophe/'
|
||||
license=('GPL3')
|
||||
depends=('gtk3' 'pandoc' 'gspell')
|
||||
makedepends=('python-setuptools')
|
||||
optdepends=('texlive-core' 'otf-fira-mono: Recommended font')
|
||||
provides=("$_pkgname")
|
||||
conflicts=("$_pkgname")
|
||||
source=('git+https://github.com/UberWriter/uberwriter.git#branch=refactoring')
|
||||
source=('git+https://github.com/Apostrophe/apostrophe.git#branch=refactoring')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
|
|
14
README.md
|
@ -1,16 +1,16 @@
|
|||
[![Please do not theme this app](https://stopthemingmy.app/badge.svg)](https://stopthemingmy.app)
|
||||
|
||||
# Uberwriter
|
||||
# Apostrophe
|
||||
|
||||
![](screenshots/main.png)
|
||||
|
||||
## About
|
||||
|
||||
Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.
|
||||
Apostrophe is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.
|
||||
|
||||
## Install
|
||||
|
||||
You can get UberWriter on Flathub!
|
||||
You can get Apostrophe on Flathub!
|
||||
[Get it now](https://flathub.org/apps/details/de.wolfvollprecht.UberWriter)
|
||||
|
||||
## Contributions and localization
|
||||
|
@ -21,13 +21,13 @@ Any help is appreciated!
|
|||
## Building from Git
|
||||
|
||||
```bash
|
||||
$ git clone https://github.com/UberWriter/uberwriter.git
|
||||
$ cd uberwriter
|
||||
$ git clone https://github.com/Apostrophe/apostrophe.git
|
||||
$ cd apostrophe
|
||||
$ meson builddir --prefix=/usr
|
||||
# sudo ninja -C builddir install
|
||||
```
|
||||
|
||||
To use uberwriter, please make sure you have some dependencies installed:
|
||||
To use apostrophe, please make sure you have some dependencies installed:
|
||||
|
||||
- Pandoc, the program used to convert Markdown to basically anything else (the package name should be pandoc in most distributions)
|
||||
- Of course, gtk3 etc. needs to be installed as well since this is a gtk application
|
||||
|
@ -37,7 +37,7 @@ To use uberwriter, please make sure you have some dependencies installed:
|
|||
|
||||
### Running it without installing it
|
||||
|
||||
You can run UberWriter with `./uberwriter.in` without installing it in the system,
|
||||
You can run Apostrophe with `./apostrophe.in` without installing it in the system,
|
||||
but you'll need to install and compile the schemas before:
|
||||
|
||||
```bash
|
||||
|
|
|
@ -31,33 +31,33 @@ from gi.repository import Gio
|
|||
PROJECT_ROOT_DIRECTORY = os.path.abspath(
|
||||
os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0]))))
|
||||
|
||||
# Set the path if needed. This allows uberwriter to run without installing it :)
|
||||
# Set the path if needed. This allows apostrophe to run without installing it :)
|
||||
python_path = []
|
||||
|
||||
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'uberwriter'))
|
||||
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'apostrophe'))
|
||||
and PROJECT_ROOT_DIRECTORY not in sys.path):
|
||||
python_path.insert(0, PROJECT_ROOT_DIRECTORY)
|
||||
sys.path.insert(0, PROJECT_ROOT_DIRECTORY)
|
||||
if python_path:
|
||||
os.putenv('PYTHONPATH', "%s:%s" % (os.getenv('PYTHONPATH', ''), ':'.join(python_path))) # for subprocesses
|
||||
|
||||
import uberwriter
|
||||
import apostrophe
|
||||
|
||||
|
||||
localedir = '@LOCALE_DIR@'
|
||||
pkgdatadir = '@DATA_DIR@'
|
||||
|
||||
|
||||
#locale_dir = os.path.abspath(os.path.join(os.path.dirname(uberwriter.__file__),'../po/'))
|
||||
#locale_dir = os.path.abspath(os.path.join(os.path.dirname(apostrophe.__file__),'../po/'))
|
||||
|
||||
# L10n
|
||||
locale.textdomain('uberwriter')
|
||||
locale.bindtextdomain('uberwriter', localedir)
|
||||
gettext.textdomain('uberwriter')
|
||||
gettext.bindtextdomain('uberwriter', localedir)
|
||||
locale.textdomain('apostrophe')
|
||||
locale.bindtextdomain('apostrophe', localedir)
|
||||
gettext.textdomain('apostrophe')
|
||||
gettext.bindtextdomain('apostrophe', localedir)
|
||||
|
||||
resource = Gio.resource_load(os.path.join(pkgdatadir, 'uberwriter/uberwriter.gresource'))
|
||||
resource = Gio.resource_load(os.path.join(pkgdatadir, 'apostrophe/apostrophe.gresource'))
|
||||
Gio.Resource._register(resource)
|
||||
|
||||
|
||||
uberwriter.main()
|
||||
apostrophe.main()
|
|
@ -19,10 +19,10 @@ import gi
|
|||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
|
||||
from uberwriter import main_window
|
||||
from uberwriter import application
|
||||
from uberwriter.helpers import set_up_logging
|
||||
from uberwriter.config import get_version
|
||||
from apostrophe import main_window
|
||||
from apostrophe import application
|
||||
from apostrophe.helpers import set_up_logging
|
||||
from apostrophe.config import get_version
|
||||
|
||||
|
||||
def main():
|
|
@ -15,16 +15,16 @@ from gettext import gettext as _
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter.main_window import MainWindow
|
||||
from apostrophe.main_window import MainWindow
|
||||
|
||||
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
|
||||
from gi.repository import GLib, Gio, Gtk, GdkPixbuf
|
||||
|
||||
from uberwriter import main_window
|
||||
from uberwriter.settings import Settings
|
||||
from uberwriter.helpers import set_up_logging
|
||||
from uberwriter.preferences_dialog import PreferencesDialog
|
||||
from uberwriter.helpers import get_media_path
|
||||
from apostrophe import main_window
|
||||
from apostrophe.settings import Settings
|
||||
from apostrophe.helpers import set_up_logging
|
||||
from apostrophe.preferences_dialog import PreferencesDialog
|
||||
from apostrophe.helpers import get_media_path
|
||||
|
||||
|
||||
class Application(Gtk.Application):
|
||||
|
@ -161,7 +161,7 @@ class Application(Gtk.Application):
|
|||
if not self.window:
|
||||
# Windows are associated with the application
|
||||
# when the last one is closed the application shuts down
|
||||
# self.window = Window(application=self, title="UberWriter")
|
||||
# self.window = Window(application=self, title="Apostrophe")
|
||||
self.window = MainWindow(self)
|
||||
if self.args:
|
||||
self.window.load_file(self.args[0])
|
||||
|
@ -173,7 +173,7 @@ class Application(Gtk.Application):
|
|||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
"-v", "--verbose", action="count", dest="verbose",
|
||||
help=_("Show debug messages (-vv debugs uberwriter also)"))
|
||||
help=_("Show debug messages (-vv debugs apostrophe also)"))
|
||||
parser.add_argument(
|
||||
"-e", "--experimental-features", help=_("Use experimental features"),
|
||||
action='store_true')
|
||||
|
@ -263,7 +263,7 @@ class Application(Gtk.Application):
|
|||
builder.get_object("shortcuts").show()
|
||||
|
||||
def on_open_tutorial(self, _action, _value):
|
||||
self.window.open_uberwriter_markdown()
|
||||
self.window.open_apostrophe_markdown()
|
||||
|
||||
def on_about(self, _action, _param):
|
||||
builder = Gtk.Builder()
|
|
@ -1,5 +1,5 @@
|
|||
# UberwriterAutoCorrect
|
||||
# The Uberwriter Auto Correct is a auto correction
|
||||
# ApostropheAutoCorrect
|
||||
# The Apostrophe Auto Correct is a auto correction
|
||||
# mechanism to prevent stupid typos
|
||||
# CURRENTLY DISABLED
|
||||
|
||||
|
@ -13,16 +13,16 @@ from gi.repository import Gtk, Gdk
|
|||
|
||||
import enchant
|
||||
|
||||
from uberwriter import pressagio
|
||||
# import uberwriter.pressagio.predictor
|
||||
# import uberwriter.pressagio.tokenizer
|
||||
# import uberwriter.pressagio.dbconnector
|
||||
# import uberwriter.pressagio.context_tracker
|
||||
# import uberwriter.pressagio.callback
|
||||
from apostrophe import pressagio
|
||||
# import apostrophe.pressagio.predictor
|
||||
# import apostrophe.pressagio.tokenizer
|
||||
# import apostrophe.pressagio.dbconnector
|
||||
# import apostrophe.pressagio.context_tracker
|
||||
# import apostrophe.pressagio.callback
|
||||
|
||||
# from Levenshtein import distance
|
||||
|
||||
from uberwriter.helpers import get_media_path
|
||||
from apostrophe.helpers import get_media_path
|
||||
|
||||
# Define and create PresageCallback object
|
||||
class PressagioCallback(pressagio.callback.Callback):
|
|
@ -28,7 +28,7 @@ import gi
|
|||
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
|
||||
from gi.repository import GObject, Gtk # pylint: disable=E0611
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
# this module is big so uses some conventional prefixes and postfixes
|
||||
# *s list, except self.widgets is a dictionary
|
|
@ -24,7 +24,7 @@ __all__ = [
|
|||
|
||||
# Where your project will look for your data (for instance, images and ui
|
||||
# files). By default, this is ../data, relative your trunk layout
|
||||
__uberwriter_data_directory__ = '../data/'
|
||||
__apostrophe_data_directory__ = '../data/'
|
||||
__license__ = 'GPL-3'
|
||||
__version__ = 'VERSION'
|
||||
|
||||
|
@ -45,25 +45,25 @@ def get_data_file(*path_segments):
|
|||
|
||||
|
||||
def get_data_path():
|
||||
"""Retrieve uberwriter data path
|
||||
"""Retrieve apostrophe data path
|
||||
|
||||
This path is by default <uberwriter_path>/../data/ in trunk
|
||||
and /opt/uberwriter/data in an installed version but this path
|
||||
This path is by default <apostrophe_path>/../data/ in trunk
|
||||
and /opt/apostrophe/data in an installed version but this path
|
||||
is specified at installation time.
|
||||
"""
|
||||
|
||||
# Get pathname absolute or relative.
|
||||
if os.path.isfile("/.flatpak-info"):
|
||||
return '/app/share/uberwriter/'
|
||||
return '/app/share/apostrophe/'
|
||||
|
||||
path = os.path.join(
|
||||
os.path.dirname(__file__), __uberwriter_data_directory__)
|
||||
os.path.dirname(__file__), __apostrophe_data_directory__)
|
||||
|
||||
# We try first if the data exists in the local folder and then
|
||||
# in the system installation path
|
||||
abs_data_path = os.path.abspath(path)
|
||||
if not os.path.exists(abs_data_path):
|
||||
abs_data_path = '/usr/share/uberwriter/'
|
||||
abs_data_path = '/usr/share/apostrophe/'
|
||||
elif not os.path.exists(abs_data_path):
|
||||
raise ProjectPathNotFound
|
||||
|
|
@ -26,10 +26,10 @@ import gi
|
|||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, GLib
|
||||
|
||||
from uberwriter import helpers
|
||||
from uberwriter.theme import Theme
|
||||
from apostrophe import helpers
|
||||
from apostrophe.theme import Theme
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
class Export:
|
||||
|
@ -191,7 +191,7 @@ class Export:
|
|||
if response == Gtk.ResponseType.ACCEPT:
|
||||
try:
|
||||
self.export(export_format, text)
|
||||
except (NotADirectoryError, Exception) as e:
|
||||
except (NotADirectoryError, RuntimeError) as e:
|
||||
dialog = Gtk.MessageDialog(None,
|
||||
Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT,
|
||||
Gtk.MessageType.ERROR,
|
||||
|
@ -201,8 +201,9 @@ class Export:
|
|||
)
|
||||
dialog.run()
|
||||
dialog.destroy()
|
||||
|
||||
|
||||
self.dialog.destroy()
|
||||
|
||||
def regular_export_dialog(self):
|
||||
texlive_installed = helpers.exist_executable("pdftex")
|
||||
|
||||
|
@ -260,6 +261,7 @@ class Export:
|
|||
|
||||
self.adv_export_name = self.builder.get_object("advanced_export_name")
|
||||
self.adv_export_name.set_text(os.path.basename(self.filename)[:-3])
|
||||
self.paper_size = self.builder.get_object("combobox_paper_size")
|
||||
|
||||
return self.builder.get_object("Export")
|
||||
|
||||
|
@ -298,6 +300,7 @@ class Export:
|
|||
args = [
|
||||
"--variable=papersize:a4"
|
||||
]
|
||||
filename = self.dialog.get_filename()
|
||||
if filename.endswith("." + export_type):
|
||||
filename = filename[:-len(export_type)-1]
|
||||
output_dir = os.path.abspath(os.path.join(filename, os.path.pardir))
|
|
@ -4,7 +4,7 @@ gi.require_version('Gtk', '3.0')
|
|||
from gi.repository import Gtk
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger('uberwriter')
|
||||
logger = logging.getLogger('apostrophe')
|
||||
|
||||
class FixTable():
|
||||
|
|
@ -22,8 +22,8 @@ from gettext import gettext as _
|
|||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, GLib
|
||||
from uberwriter.helpers import get_descendant
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.helpers import get_descendant
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
|
||||
class BaseHeaderbar:
|
||||
|
@ -219,6 +219,7 @@ class DummyHeaderbar(BaseHeaderbar):
|
|||
self.hb_revealer.set_transition_type(
|
||||
Gtk.RevealerTransitionType.CROSSFADE)
|
||||
self.hb_revealer.set_reveal_child(False)
|
||||
self.hb_revealer.hide()
|
||||
|
||||
self.menu_button.set_sensitive(True)
|
||||
self.recents_button.set_sensitive(True)
|
|
@ -26,13 +26,13 @@ import gi
|
|||
import pypandoc
|
||||
from gi.overrides.Pango import Pango
|
||||
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk # pylint: disable=E0611
|
||||
|
||||
from uberwriter.config import get_data_file
|
||||
from uberwriter.builder import Builder
|
||||
from apostrophe.config import get_data_file
|
||||
from apostrophe.builder import Builder
|
||||
|
||||
|
||||
|
||||
|
@ -108,12 +108,12 @@ def set_up_logging(opts):
|
|||
formatter = logging.Formatter(
|
||||
"%(levelname)s:%(name)s: %(funcName)s() '%(message)s'")
|
||||
|
||||
logger = logging.getLogger('uberwriter')
|
||||
logger = logging.getLogger('apostrophe')
|
||||
logger_sh = logging.StreamHandler()
|
||||
logger_sh.setFormatter(formatter)
|
||||
logger.addHandler(logger_sh)
|
||||
|
||||
lib_logger = logging.getLogger('uberwriter')
|
||||
lib_logger = logging.getLogger('apostrophe')
|
||||
lib_logger_sh = logging.StreamHandler()
|
||||
lib_logger_sh.setFormatter(formatter)
|
||||
lib_logger.addHandler(lib_logger_sh)
|
||||
|
@ -133,7 +133,7 @@ def get_help_uri(page=None):
|
|||
|
||||
if not os.path.exists(help_uri):
|
||||
# installed so use gnome help tree - user's language
|
||||
help_uri = 'uberwriter'
|
||||
help_uri = 'apostrophe'
|
||||
|
||||
# unspecified page is the index.page
|
||||
if page is not None:
|
|
@ -26,8 +26,8 @@ gi.require_version("Gtk", "3.0")
|
|||
gi.require_version("WebKit2", "4.0")
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib
|
||||
from gi.repository import WebKit2
|
||||
from uberwriter import latex_to_PNG, markup_regex
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe import latex_to_PNG, markup_regex
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
|
||||
class DictAccessor:
|
|
@ -23,22 +23,22 @@ from gettext import gettext as _
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter.export_dialog import Export
|
||||
from uberwriter.preview_handler import PreviewHandler
|
||||
from uberwriter.stats_handler import StatsHandler
|
||||
from uberwriter.styled_window import StyledWindow
|
||||
from uberwriter.text_view import TextView
|
||||
from apostrophe.export_dialog import Export
|
||||
from apostrophe.preview_handler import PreviewHandler
|
||||
from apostrophe.stats_handler import StatsHandler
|
||||
from apostrophe.styled_window import StyledWindow
|
||||
from apostrophe.text_view import TextView
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, Gdk, GObject, GLib, Gio
|
||||
|
||||
import cairo
|
||||
|
||||
from uberwriter import helpers
|
||||
from apostrophe import helpers
|
||||
|
||||
from uberwriter.sidebar import Sidebar
|
||||
from uberwriter.search_and_replace import SearchAndReplace
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.sidebar import Sidebar
|
||||
from apostrophe.search_and_replace import SearchAndReplace
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
from . import headerbars
|
||||
|
||||
|
@ -46,9 +46,9 @@ from . import headerbars
|
|||
# TODO move them somewhere for better
|
||||
# accesibility from other files
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
CONFIG_PATH = os.path.expanduser("~/.config/uberwriter/")
|
||||
CONFIG_PATH = os.path.expanduser("~/.config/apostrophe/")
|
||||
|
||||
|
||||
class MainWindow(StyledWindow):
|
||||
|
@ -65,9 +65,9 @@ class MainWindow(StyledWindow):
|
|||
def __init__(self, app):
|
||||
"""Set up the main window"""
|
||||
|
||||
super().__init__(application=Gio.Application.get_default(), title="Uberwriter")
|
||||
super().__init__(application=Gio.Application.get_default(), title="Apostrophe")
|
||||
|
||||
self.get_style_context().add_class('uberwriter-window')
|
||||
self.get_style_context().add_class('apostrophe-window')
|
||||
|
||||
# Set UI
|
||||
builder = Gtk.Builder()
|
||||
|
@ -109,7 +109,7 @@ class MainWindow(StyledWindow):
|
|||
root.reorder_overlay(self.dm_headerbar.hb_revealer, 0)
|
||||
root.set_overlay_pass_through(self.dm_headerbar.hb_revealer, True)
|
||||
|
||||
self.title_end = " – UberWriter"
|
||||
self.title_end = " – Apostrophe"
|
||||
self.set_headerbar_title("New File" + self.title_end)
|
||||
|
||||
self.accel_group = Gtk.AccelGroup()
|
||||
|
@ -531,13 +531,13 @@ class MainWindow(StyledWindow):
|
|||
else:
|
||||
LOGGER.warning("No File arg")
|
||||
|
||||
def open_uberwriter_markdown(self, _widget=None, _data=None):
|
||||
def open_apostrophe_markdown(self, _widget=None, _data=None):
|
||||
"""open a markdown mini tutorial
|
||||
"""
|
||||
if self.check_change() == Gtk.ResponseType.CANCEL:
|
||||
return
|
||||
|
||||
self.load_file(helpers.get_media_file('uberwriter_markdown.md'))
|
||||
self.load_file(helpers.get_media_file('apostrophe_markdown.md'))
|
||||
|
||||
def open_search(self, replace=False):
|
||||
"""toggle the search box
|
|
@ -6,7 +6,7 @@ from . import fuzzywuzzy
|
|||
from .gi_composites import GtkTemplate
|
||||
|
||||
|
||||
@GtkTemplate(ui='/home/wolfv/Programs/uberwriter/uberwriter/plugins/bibtex/bibtex_item.glade')
|
||||
@GtkTemplate(ui='/home/wolfv/Programs/apostrophe/apostrophe/plugins/bibtex/bibtex_item.glade')
|
||||
class BibTexItem(Gtk.Box):
|
||||
|
||||
__gtype_name__ = 'BibTexItem'
|
||||
|
@ -68,7 +68,7 @@ class BibTex(object):
|
|||
self.bib_db = bibtexparser.load(f)
|
||||
|
||||
builder = Gtk.Builder()
|
||||
builder.add_from_file('/home/wolfv/Programs/uberwriter/uberwriter/plugins/bibtex/bibtex.glade')
|
||||
builder.add_from_file('/home/wolfv/Programs/apostrophe/apostrophe/plugins/bibtex/bibtex.glade')
|
||||
self.window = builder.get_object('bibtex_window')
|
||||
self.window.set_transient_for(self.app)
|
||||
self.window.set_modal(True)
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
|
@ -25,7 +25,7 @@ import gi
|
|||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, Pango, GLib # pylint: disable=E0611
|
||||
import logging
|
||||
logger = logging.getLogger('uberwriter')
|
||||
logger = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
|
|
@ -4,8 +4,8 @@ import os
|
|||
|
||||
from gi.repository import GLib
|
||||
|
||||
from uberwriter import helpers
|
||||
from uberwriter.theme import Theme
|
||||
from apostrophe import helpers
|
||||
from apostrophe.theme import Theme
|
||||
|
||||
|
||||
class PreviewConverter:
|
|
@ -4,14 +4,14 @@ from enum import auto, IntEnum
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter.preview_renderer import PreviewRenderer
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.preview_renderer import PreviewRenderer
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
gi.require_version('WebKit2', '4.0')
|
||||
from gi.repository import WebKit2, GLib, Gtk
|
||||
|
||||
from uberwriter.preview_converter import PreviewConverter
|
||||
from uberwriter.preview_web_view import PreviewWebView
|
||||
from apostrophe.preview_converter import PreviewConverter
|
||||
from apostrophe.preview_web_view import PreviewWebView
|
||||
|
||||
|
||||
class Step(IntEnum):
|
|
@ -2,9 +2,9 @@ from gettext import gettext as _
|
|||
|
||||
from gi.repository import Gtk, Gio, GLib
|
||||
|
||||
from uberwriter import headerbars
|
||||
from uberwriter.settings import Settings
|
||||
from uberwriter.styled_window import StyledWindow
|
||||
from apostrophe import headerbars
|
||||
from apostrophe.settings import Settings
|
||||
from apostrophe.styled_window import StyledWindow
|
||||
|
||||
|
||||
class PreviewRenderer:
|
|
@ -19,20 +19,20 @@ import re
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter.helpers import user_action
|
||||
from apostrophe.helpers import user_action
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gdk
|
||||
|
||||
# from plugins import plugins
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
class SearchAndReplace:
|
||||
"""
|
||||
Adds (regex) search and replace functionality to
|
||||
uberwriter
|
||||
apostrophe
|
||||
"""
|
||||
|
||||
def __init__(self, parentwindow, textview, builder):
|
||||
|
@ -152,8 +152,15 @@ class SearchAndReplace:
|
|||
self.active = index % len(self.matches)
|
||||
|
||||
match = self.matches[self.active]
|
||||
|
||||
start_iter = self.textbuffer.get_iter_at_offset(match[0])
|
||||
end_iter = self.textbuffer.get_iter_at_offset(match[1])
|
||||
|
||||
# create a mark at the start of the coincidence to scroll to it
|
||||
mark = self.textbuffer.create_mark(None, start_iter, False)
|
||||
self.textview.scroller.scroll_to_mark(mark, center=True)
|
||||
|
||||
# select coincidence
|
||||
self.textbuffer.select_range(start_iter, end_iter)
|
||||
|
||||
def hide(self):
|
|
@ -18,7 +18,7 @@ from gi.repository import Gio
|
|||
class Settings(Gio.Settings):
|
||||
|
||||
"""
|
||||
UberWriter Settings
|
||||
Apostrophe Settings
|
||||
"""
|
||||
|
||||
def __init__(self):
|
|
@ -23,7 +23,7 @@ from gi.repository import Gtk, Gdk
|
|||
# from plugins import plugins
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger('uberwriter')
|
||||
logger = logging.getLogger('apostrophe')
|
||||
|
||||
class Shelve():
|
||||
"""
|
|
@ -3,7 +3,7 @@ from multiprocessing import Process, Pipe
|
|||
|
||||
from gi.repository import GLib
|
||||
|
||||
from uberwriter.markup_regex import ITALIC_ASTERISK, ITALIC_UNDERSCORE, BOLD_ITALIC, BOLD, STRIKETHROUGH, IMAGE, LINK, LINK_ALT,\
|
||||
from apostrophe.markup_regex import ITALIC_ASTERISK, ITALIC_UNDERSCORE, BOLD_ITALIC, BOLD, STRIKETHROUGH, IMAGE, LINK, LINK_ALT,\
|
||||
HORIZONTAL_RULE, LIST, MATH, TABLE, CODE_BLOCK, HEADER_UNDER, HEADER, BLOCK_QUOTE, ORDERED_LIST, \
|
||||
FOOTNOTE_ID, FOOTNOTE
|
||||
|
|
@ -2,8 +2,8 @@ from gettext import gettext as _
|
|||
|
||||
from gi.repository import GLib, Gio, Gtk
|
||||
|
||||
from uberwriter.settings import Settings
|
||||
from uberwriter.stats_counter import StatsCounter
|
||||
from apostrophe.settings import Settings
|
||||
from apostrophe.stats_counter import StatsCounter
|
||||
|
||||
|
||||
class StatsHandler:
|
|
@ -1,6 +1,6 @@
|
|||
import gi
|
||||
|
||||
from uberwriter import helpers
|
||||
from apostrophe import helpers
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, GLib, Gio
|
|
@ -1,12 +1,12 @@
|
|||
import gi
|
||||
|
||||
from uberwriter.helpers import user_action
|
||||
from uberwriter.inline_preview import InlinePreview
|
||||
from uberwriter.text_view_drag_drop_handler import DragDropHandler, TARGET_URI, TARGET_TEXT
|
||||
from uberwriter.text_view_format_inserter import FormatInserter
|
||||
from uberwriter.text_view_markup_handler import MarkupHandler
|
||||
from uberwriter.text_view_scroller import TextViewScroller
|
||||
from uberwriter.text_view_undo_redo_handler import UndoRedoHandler
|
||||
from apostrophe.helpers import user_action
|
||||
from apostrophe.inline_preview import InlinePreview
|
||||
from apostrophe.text_view_drag_drop_handler import DragDropHandler, TARGET_URI, TARGET_TEXT
|
||||
from apostrophe.text_view_format_inserter import FormatInserter
|
||||
from apostrophe.text_view_markup_handler import MarkupHandler
|
||||
from apostrophe.text_view_scroller import TextViewScroller
|
||||
from apostrophe.text_view_undo_redo_handler import UndoRedoHandler
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
gi.require_version('Gspell', '1')
|
||||
|
@ -14,11 +14,11 @@ from gi.repository import Gtk, Gdk, GObject, GLib, Gspell
|
|||
|
||||
import logging
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
class TextView(Gtk.TextView):
|
||||
"""UberwriterTextView encapsulates all the features around the editor.
|
||||
"""ApostropheTextView encapsulates all the features around the editor.
|
||||
|
||||
It combines the following:
|
||||
- Undo / redo (via TextBufferUndoRedoHandler)
|
||||
|
@ -27,7 +27,7 @@ class TextView(Gtk.TextView):
|
|||
- Preview popover (via TextBufferMarkupHandler)
|
||||
- Drag and drop (via TextViewDragDropHandler)
|
||||
- Scrolling (via TextViewScroller)
|
||||
- The various modes supported by UberWriter (eg. Focus Mode, Hemingway Mode)
|
||||
- The various modes supported by Apostrophe (eg. Focus Mode, Hemingway Mode)
|
||||
"""
|
||||
|
||||
__gsignals__ = {
|
||||
|
@ -52,7 +52,7 @@ class TextView(Gtk.TextView):
|
|||
self.set_pixels_above_lines(4)
|
||||
self.set_pixels_below_lines(4)
|
||||
self.set_pixels_inside_wrap(8)
|
||||
self.get_style_context().add_class('uberwriter-editor')
|
||||
self.get_style_context().add_class('apostrophe-editor')
|
||||
|
||||
self.set_margin_left(8)
|
||||
self.set_margin_right(8)
|
|
@ -2,7 +2,7 @@ import mimetypes
|
|||
import urllib
|
||||
from gettext import gettext as _
|
||||
from os.path import basename
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
from gi.repository import Gtk
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
from gettext import gettext as _
|
||||
|
||||
from uberwriter.helpers import user_action
|
||||
from apostrophe.helpers import user_action
|
||||
|
||||
|
||||
class FormatInserter:
|
|
@ -19,8 +19,8 @@ from multiprocessing import Pipe, Process
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter import helpers, markup_regex
|
||||
from uberwriter.markup_regex import STRIKETHROUGH, BOLD_ITALIC, BOLD, ITALIC_ASTERISK, ITALIC_UNDERSCORE, IMAGE, LINK,\
|
||||
from apostrophe import helpers, markup_regex
|
||||
from apostrophe.markup_regex import STRIKETHROUGH, BOLD_ITALIC, BOLD, ITALIC_ASTERISK, ITALIC_UNDERSCORE, IMAGE, LINK,\
|
||||
LINK_ALT, HORIZONTAL_RULE, LIST, ORDERED_LIST, BLOCK_QUOTE, HEADER, HEADER_UNDER, TABLE, MATH, \
|
||||
CODE
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
class UndoableInsert:
|
|
@ -1,7 +1,7 @@
|
|||
from gi.repository import Gtk
|
||||
|
||||
from uberwriter.settings import Settings
|
||||
from uberwriter.helpers import get_css_path
|
||||
from apostrophe.settings import Settings
|
||||
from apostrophe.helpers import get_css_path
|
||||
|
||||
|
||||
class Theme:
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"app-id" : "de.wolfvollprecht.UberWriter",
|
||||
"runtime" : "org.gnome.Platform",
|
||||
"runtime-version" : "3.34",
|
||||
"sdk" : "org.gnome.Sdk",
|
||||
"command" : "uberwriter",
|
||||
"finish-args" : [
|
||||
"app-id": "de.wolfvollprecht.UberWriter",
|
||||
"runtime": "org.gnome.Platform",
|
||||
"runtime-version": "3.36",
|
||||
"sdk": "org.gnome.Sdk",
|
||||
"command": "uberwriter",
|
||||
"finish-args": [
|
||||
"--socket=x11",
|
||||
"--socket=wayland",
|
||||
"--share=ipc",
|
||||
|
@ -13,108 +13,97 @@
|
|||
"--env=PATH=/app/bin:/usr/bin:/app/extensions/TexLive/2019/bin/x86_64-linux/",
|
||||
"--metadata=X-DConf=migrate-path=/de/wolfvollprecht/UberWriter/"
|
||||
],
|
||||
"add-extensions" : {
|
||||
"de.wolfvollprecht.UberWriter.Plugin" : {
|
||||
"directory" : "extensions",
|
||||
"version" : "stable",
|
||||
"subdirectories" : true,
|
||||
"no-autodownload" : true,
|
||||
"autodelete" : true
|
||||
}
|
||||
"add-extensions": {
|
||||
"de.wolfvollprecht.UberWriter.Plugin": {
|
||||
"directory": "extensions",
|
||||
"version": "stable",
|
||||
"subdirectories": true,
|
||||
"no-autodownload": true,
|
||||
"autodelete": true
|
||||
}
|
||||
},
|
||||
"modules" : [
|
||||
{
|
||||
"name" : "gspell",
|
||||
"sources" : [
|
||||
{
|
||||
"type" : "archive",
|
||||
"url" : "https://download.gnome.org/sources/gspell/1.8/gspell-1.8.1.tar.xz",
|
||||
"sha256" : "819a1d23c7603000e73f5e738bdd284342e0cd345fb0c7650999c31ec741bbe5"
|
||||
}
|
||||
]
|
||||
"modules": [{
|
||||
"name":"gspell",
|
||||
"sources":[{
|
||||
"type":"archive",
|
||||
"url":"https://download.gnome.org/sources/gspell/1.8/gspell-1.8.3.tar.xz",
|
||||
"sha256":"5ae514dd0216be069176accf6d0049d6a01cfa6a50df4bc06be85f7080b62de8"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"name": "pandoc",
|
||||
"only-arches": [
|
||||
"x86_64"
|
||||
],
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"cp bin/pandoc /app/bin/pandoc",
|
||||
"cp bin/pandoc-citeproc /app/bin/pandoc-citeproc"
|
||||
],
|
||||
"sources": [{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/jgm/pandoc/releases/download/2.9.2/pandoc-2.9.2-linux-amd64.tar.gz",
|
||||
"sha256": "039f155b6166c1e268479bcb06af2dba99eb7795cbff7b3c13b4875388195d08"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"name": "pipdeps",
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} regex pypandoc"
|
||||
],
|
||||
"sources": [{
|
||||
"type": "file",
|
||||
"url": "https://files.pythonhosted.org/packages/75/28/521c6dc7fef23a68368efefdcd682f5b3d1d58c2b90b06dc1d0b805b51ae/wheel-0.34.2.tar.gz",
|
||||
"sha256": "8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96"
|
||||
},
|
||||
{
|
||||
"name" : "pandoc",
|
||||
"only-arches" : [
|
||||
"x86_64"
|
||||
],
|
||||
"buildsystem" : "simple",
|
||||
"build-commands" : [
|
||||
"cp bin/pandoc /app/bin/pandoc",
|
||||
"cp bin/pandoc-citeproc /app/bin/pandoc-citeproc"
|
||||
],
|
||||
"sources" : [
|
||||
{
|
||||
"type" : "archive",
|
||||
"url" : "https://github.com/jgm/pandoc/releases/download/2.2/pandoc-2.2-linux.tar.gz",
|
||||
"sha256" : "06ecd882e42ef9b7390b1c82e1e71b3ea48679181289b9b810a8797825bed8ed"
|
||||
}
|
||||
]
|
||||
"type": "file",
|
||||
"url": "https://files.pythonhosted.org/packages/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f/pip-20.0.2.tar.gz",
|
||||
"sha256": "7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "https://files.pythonhosted.org/packages/71/81/00184643e5a10a456b4118fc12c96780823adb8ed974eb2289f29703b29b/pypandoc-1.4.tar.gz",
|
||||
"sha256": "e914e6d5f84a76764887e4d909b09d63308725f0cbb5293872c2c92f07c11a5b"
|
||||
},
|
||||
{
|
||||
"name" : "pipdeps",
|
||||
"buildsystem" : "simple",
|
||||
"build-commands" : [
|
||||
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} regex pypandoc"
|
||||
],
|
||||
"sources" : [
|
||||
{
|
||||
"type" : "file",
|
||||
"url" : "https://files.pythonhosted.org/packages/5d/c1/45947333669b31bc6b4933308dd07c2aa2fedcec0a95b14eedae993bd449/wheel-0.31.0.tar.gz",
|
||||
"sha256" : "1ae8153bed701cb062913b72429bcf854ba824f973735427681882a688cb55ce"
|
||||
},
|
||||
{
|
||||
"type" : "file",
|
||||
"url" : "https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz",
|
||||
"sha256" : "f2bd08e0cd1b06e10218feaf6fef299f473ba706582eb3bd9d52203fdbd7ee68"
|
||||
},
|
||||
{
|
||||
"type" : "file",
|
||||
"url" : "https://files.pythonhosted.org/packages/71/81/00184643e5a10a456b4118fc12c96780823adb8ed974eb2289f29703b29b/pypandoc-1.4.tar.gz",
|
||||
"sha256" : "e914e6d5f84a76764887e4d909b09d63308725f0cbb5293872c2c92f07c11a5b"
|
||||
},
|
||||
{
|
||||
"type" : "file",
|
||||
"url" : "https://files.pythonhosted.org/packages/a2/51/c39562cfed3272592c60cfd229e5464d715b78537e332eac2b695422dc49/regex-2018.02.21.tar.gz",
|
||||
"sha256" : "b44624a38d07d3c954c84ad302c29f7930f4bf01443beef5589e9157b14e2a29"
|
||||
},
|
||||
{
|
||||
"type" : "file",
|
||||
"url" : "https://files.pythonhosted.org/packages/9e/54/04d88a59efa33fefb88133ceb638cdf754319030c28aadc5a379d82140ed/pyenchant-2.0.0.tar.gz",
|
||||
"sha256" : "fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0"
|
||||
}
|
||||
]
|
||||
"type": "file",
|
||||
"url": "https://files.pythonhosted.org/packages/e8/76/8ac7f467617b9cfbafcef3c76df6f22b15de654a62bea719792b00a83195/regex-2020.2.20.tar.gz",
|
||||
"sha256": "9e9624440d754733eddbcd4614378c18713d2d9d0dc647cf9c72f64e39671be5"
|
||||
},
|
||||
{
|
||||
"name" : "fonts",
|
||||
"buildsystem" : "simple",
|
||||
"build-commands" : [
|
||||
"mkdir -p /app/share/fonts/",
|
||||
"cp ttf/* /app/share/fonts/"
|
||||
],
|
||||
"sources" : [
|
||||
{
|
||||
"type" : "git",
|
||||
"url" : "https://github.com/mozilla/Fira",
|
||||
"tag" : "4.202"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "uberwriter",
|
||||
"buildsystem" : "meson",
|
||||
"config-opts" : [
|
||||
"-Dprofile=development"
|
||||
],
|
||||
"sources" : [
|
||||
{
|
||||
"type" : "dir",
|
||||
"path" : "../../"
|
||||
}
|
||||
],
|
||||
"post-install" : [
|
||||
"install -d /app/extensions"
|
||||
]
|
||||
}
|
||||
"type": "file",
|
||||
"url": "https://files.pythonhosted.org/packages/14/4b/6f7a3f2bb1e2fa4d3007126578cae0b9910ff46c4957bef5bd4b92733011/pyenchant-3.0.1.tar.gz",
|
||||
"sha256": "1bd26a644abf80196a9de3f2d820ebafb7e7f78385e392ce77cb1552f164d559"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"name": "fonts",
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"mkdir -p /app/share/fonts/",
|
||||
"cp ttf/* /app/share/fonts/"
|
||||
],
|
||||
"sources": [{
|
||||
"type": "git",
|
||||
"url": "https://github.com/mozilla/Fira",
|
||||
"tag": "4.202"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"name": "uberwriter",
|
||||
"buildsystem": "meson",
|
||||
"config-opts" : [
|
||||
"-Dprofile=development"
|
||||
],
|
||||
"sources": [{
|
||||
"type" : "dir",
|
||||
"path" : "../../"
|
||||
}],
|
||||
"post-install": [
|
||||
"install -d /app/extensions"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -32,4 +32,4 @@
|
|||
"sha256": "fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,121 +0,0 @@
|
|||
{
|
||||
"id": "de.wolfvollprecht.UberWriter.Plugin.WebPhoto",
|
||||
"runtime": "de.wolfvollprecht.UberWriter",
|
||||
"branch": "stable",
|
||||
"sdk": "org.gnome.Sdk//3.32",
|
||||
"build-extension": true,
|
||||
"separate-locales": false,
|
||||
"appstream-compose": false,
|
||||
"finish-args": [
|
||||
],
|
||||
"build-options" : {
|
||||
"prefix": "/app/extensions/WebPhoto",
|
||||
"env": {
|
||||
"PATH": "/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/x86_64-linux:/app/bin:/usr/bin"
|
||||
}
|
||||
},
|
||||
"cleanup": [],
|
||||
"modules": [
|
||||
{
|
||||
"name": "Glib2",
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "http://ftp.gnome.org/pub/gnome/sources/glib/2.56/glib-2.56.1.tar.xz",
|
||||
"sha256": "40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "LibIDL",
|
||||
"buildsystem": "autotools",
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/GNOME/libIDL/",
|
||||
"tag": "LIBIDL_0_8_14",
|
||||
"commit": "666fcbf086fb859738b67417c99a9895bb3d8ce5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ORBit2",
|
||||
"rm-configure": true,
|
||||
"config-opts": ["--prefix=/app/extensions/WebPhoto"],
|
||||
"build-options": {
|
||||
"env":{
|
||||
"PKG_CONFIG_PATH": "/app/extensions/WebPhoto/lib/pkgconfig",
|
||||
"GNOME2_DIR": "/app/extensions/WebPhoto",
|
||||
"LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib",
|
||||
"PATH": "/app/extensions/WebPhoto/bin:/usr/bin"
|
||||
}
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "http://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14/ORBit2-2.14.19.tar.bz2",
|
||||
"sha256": "55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550"
|
||||
},
|
||||
{
|
||||
"type": "patch",
|
||||
"path": "ORBit2.patch"
|
||||
},
|
||||
{
|
||||
"type": "script",
|
||||
"dest-filename": "autogen.sh",
|
||||
"commands": [
|
||||
"autoreconf -fi"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gconf",
|
||||
"buildsystem": "autotools",
|
||||
"config-opts": ["--prefix=/app/extensions/WebPhoto"],
|
||||
"build-options": {
|
||||
"env":{
|
||||
"PKG_CONFIG_PATH": "/app/extensions/WebPhoto/lib/pkgconfig",
|
||||
"GNOME2_DIR": "/app/extensions/WebPhoto",
|
||||
"LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib",
|
||||
"PATH": "/app/extensions/WebPhoto/bin:/usr/bin"
|
||||
}
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "http://ftp.gnome.org/pub/GNOME/sources/GConf/3.2/GConf-3.2.6.tar.xz",
|
||||
"sha256": "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "gnome-web-photo",
|
||||
"buildsystem": "autotools",
|
||||
"config-opts": [
|
||||
"--with-gtk=3.0",
|
||||
"--prefix=/app/extensions/WebPhoto"
|
||||
],
|
||||
"build-options": {
|
||||
"env":{
|
||||
"LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib",
|
||||
"PATH": "/app/bin:/app/extensions/WebPhoto/bin:/usr/bin",
|
||||
"ACLOCAL_PATH": "/app/extensions/WebPhoto/share/aclocal"
|
||||
}
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/GNOME/gnome-web-photo/",
|
||||
"tag": "0.10.6",
|
||||
"commit": "827d6b98c120b4dd8d689a1faf52450685ca6d46"
|
||||
},
|
||||
{
|
||||
"type": "patch",
|
||||
"path": "GnomeWebPhoto.patch"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -2,36 +2,56 @@
|
|||
<component type="desktop-application">
|
||||
<id>@app-id@</id>
|
||||
<launchable type="desktop-id">@app-id@.desktop</launchable>
|
||||
<name>UberWriter</name>
|
||||
<summary>An elegant, distraction-free GTK+ markdown editor</summary>
|
||||
<name>Apostrophe</name>
|
||||
<summary>An elegant, distraction-free GTK markdown editor</summary>
|
||||
<description>
|
||||
<p>Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.</p>
|
||||
<p>Apostrophe is a GTK based distraction free Markdown editor, originally created by Wolf Vollprecht and maintained by Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.</p>
|
||||
<p>You can install the recommended TexLive extension with the command:</p>
|
||||
<p>flatpak install flathub de.wolfvollprecht.UberWriter.Plugin.TexLive</p>
|
||||
<p>or from Gnome-Software</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/main.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main-dark.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/main-dark.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/formula.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/formula.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/preview.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/preview.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/focus.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/focus.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
<release date="2019-04-17" version="2.2.0-beta1">
|
||||
<release date="2020-03-19" version="2.2.0">
|
||||
<description>
|
||||
<p>UI/UX/Functionality</p>
|
||||
<ul>
|
||||
<li>...</li>
|
||||
<li>New headerbar design</li>
|
||||
<li>New preview modes, with the option to sync them to the edit view</li>
|
||||
<li>New preview mode selector</li>
|
||||
<li>New theme selector</li>
|
||||
<li>Rework the autohiding mechanism; now the headerbar fades away when typing, only to reappear when the cursor moves to the top portion of the window</li>
|
||||
<li>Now the content of the texview goes visually bellow the headerbar</li>
|
||||
<li>Overall better styling</li>
|
||||
<li>Added Hemingway mode, which disables the backspace key</li>
|
||||
<li>Added Github Flavoured Markdow, MultiMarkdown, Pandoc's Markdown and Commonmark support, being CommonMark the default from now on</li>
|
||||
<li>New stats counter, with the option to show count of characters/words/sentences/paragrafs/reading time</li>
|
||||
<li>Better handling of DnD events</li>
|
||||
<li>Export to A4 by default</li>
|
||||
</ul>
|
||||
<p>Technical improvements</p>
|
||||
<ul>
|
||||
<li>Port of the buildsystem to Meson. Now you can hit the "build" button on Builder and everything works as expected</li>
|
||||
<li>Port to gspell</li>
|
||||
<li>Partial port to gresources</li>
|
||||
<li>Overall refactorization of the codebase</li>
|
||||
<li>General bugfixes and improvements</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
|
@ -39,7 +59,7 @@
|
|||
<description>
|
||||
<ul>
|
||||
<li>Added italian language</li>
|
||||
<li>Initial themes support: now uberwriter adapts his colors to the current GTK theme</li>
|
||||
<li>Initial themes support: now apostrophe adapts his colors to the current GTK theme</li>
|
||||
<li>Disabled scroll gradient, can be enabled in the preferences dialog</li>
|
||||
<li>Allow to disable headerbar autohidding in Dconf</li>
|
||||
<li>Now a single click is enough to open files in the recent files popover</li>
|
||||
|
@ -61,7 +81,7 @@
|
|||
</release>
|
||||
<release date="2018-07-27" version="2.1.2">
|
||||
<description>
|
||||
<p>This release provides a fix to a bug that caused Uberwriter to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.</p>
|
||||
<p>This release provides a fix to a bug that caused Apostrophe to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.</p>
|
||||
</description>
|
||||
</release>
|
||||
<release date="2018-07-26" version="2.1.1">
|
||||
|
@ -115,12 +135,12 @@
|
|||
</releases>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0+</project_license>
|
||||
<url type="homepage">http://uberwriter.github.io/uberwriter</url>
|
||||
<url type="homepage">http://apostrophe.github.io/apostrophe</url>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<developer_name>Wolf V., Manuel G.</developer_name>
|
||||
<url type="bugtracker">https://github.com/UberWriter/uberwriter/issues</url>
|
||||
<url type="donation">https://liberapay.com/UberWriter/donate</url>
|
||||
<url type="help">http://uberwriter.github.io/uberwriter</url>
|
||||
<url type="bugtracker">https://github.com/Apostrophe/apostrophe/issues</url>
|
||||
<url type="donation">https://liberapay.com/Apostrophe/donate</url>
|
||||
<url type="help">http://apostrophe.github.io/apostrophe</url>
|
||||
<url type="translate">https://poeditor.com/join/project/gxVzFyXb2x</url>
|
||||
<update_contact>manuel.genoves_at_gmail.com</update_contact>
|
||||
<translation type="gettext">@gettext-package@</translation>
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Name=UberWriter
|
||||
Comment=UberWriter, a simple and distraction free Markdown Editor
|
||||
Name=Apostrophe
|
||||
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
|
||||
Keywords=uberwriter;UberWriter;apostrophe;markdown;editor;
|
||||
Comment=Apostrophe, a simple and distraction free Markdown Editor
|
||||
Categories=GNOME;GTK;Office;
|
||||
Exec=uberwriter %U
|
||||
Exec=apostrophe %U
|
||||
Icon=@icon@
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 137 KiB |
|
@ -1,4 +1,4 @@
|
|||
Markdown Tutorial for UberWriter
|
||||
Markdown Tutorial for Apostrophe
|
||||
================================
|
||||
|
||||
I will try to give a short impressions on how I use markdown/pandocs capabilities to greatly reduce the time spent on formatting anything -- from websites to PDF Documents.
|
|
@ -21,22 +21,22 @@
|
|||
|
||||
/* Main window and text colors */
|
||||
|
||||
.uberwriter-window {
|
||||
.apostrophe-window {
|
||||
background: @theme_base_color;
|
||||
color: @theme_fg_color;
|
||||
caret-color: @theme_fg_color;
|
||||
}
|
||||
|
||||
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen) {
|
||||
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen) {
|
||||
border-top-left-radius: 8px;
|
||||
border-top-right-radius: 8px;
|
||||
}
|
||||
|
||||
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(ltr) scrollbar {
|
||||
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(ltr) scrollbar {
|
||||
border-top-right-radius: 8px;
|
||||
}
|
||||
|
||||
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(rtl) scrollbar {
|
||||
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(rtl) scrollbar {
|
||||
border-top-left-radius: 8px;
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
|||
background: @theme_base_color;
|
||||
}
|
||||
|
||||
.uberwriter-editor {
|
||||
.apostrophe-editor {
|
||||
-gtk-key-bindings: editor-bindings;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
|
@ -62,44 +62,44 @@
|
|||
font-size: 16px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size14 {
|
||||
.apostrophe-editor.size14 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size15 {
|
||||
.apostrophe-editor.size15 {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size16 {
|
||||
.apostrophe-editor.size16 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size17 {
|
||||
.apostrophe-editor.size17 {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size18 {
|
||||
.apostrophe-editor.size18 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.uberwriter-editor text {
|
||||
.apostrophe-editor text {
|
||||
background-color: @theme_base_color;
|
||||
color: @theme_fg_color;
|
||||
caret-color: @theme_fg_color;
|
||||
}
|
||||
|
||||
.uberwriter-editor text selection {
|
||||
.apostrophe-editor text selection {
|
||||
background-color: @theme_selected_bg_color;
|
||||
color: @theme_selected_fg_color;
|
||||
}
|
||||
|
||||
.uberwriter-editor button {
|
||||
.apostrophe-editor button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/*background: #CCC;*/
|
||||
}
|
||||
|
||||
.uberwriter-editor toolbar {
|
||||
.apostrophe-editor toolbar {
|
||||
/*background: transparent;*/
|
||||
border: none;
|
||||
padding: 0;
|
||||
|
@ -131,7 +131,7 @@
|
|||
background-color: mix(@theme_base_color, @theme_bg_color, 0.5);
|
||||
}
|
||||
|
||||
.uberwriter-window treeview {
|
||||
.apostrophe-window treeview {
|
||||
padding: 4px 4px 4px 4px;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
sodipodi:ry="42.445595"
|
||||
d="m 209.95411,89.756706 a 42.445595,42.445595 0 1 1 -84.89119,0 42.445595,42.445595 0 1 1 84.89119,0 z"
|
||||
transform="matrix(0.1557609,0,0,0.15394422,115.30017,191.85093)"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
|
||||
inkscape:export-xdpi="82.699997"
|
||||
inkscape:export-ydpi="82.699997" />
|
||||
<path
|
||||
|
@ -69,7 +69,7 @@
|
|||
d="m 141.39145,199.33354 0,12.97357"
|
||||
id="path3755"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
|
||||
inkscape:export-xdpi="82.699997"
|
||||
inkscape:export-ydpi="82.699997" />
|
||||
<path
|
||||
|
@ -77,7 +77,7 @@
|
|||
d="m 135.02567,205.66846 12.95106,0"
|
||||
id="path3757"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
|
||||
inkscape:export-xdpi="82.699997"
|
||||
inkscape:export-ydpi="82.699997" />
|
||||
<rect
|
||||
|
@ -89,7 +89,7 @@
|
|||
y="202.56609"
|
||||
rx="0.26064596"
|
||||
ry="0.2316401"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
|
||||
inkscape:export-xdpi="82.699997"
|
||||
inkscape:export-ydpi="82.699997" />
|
||||
<path
|
||||
|
@ -102,7 +102,7 @@
|
|||
sodipodi:ry="42.445595"
|
||||
d="m 209.95411,89.756706 a 42.445595,42.445595 0 1 1 -84.89119,0 42.445595,42.445595 0 1 1 84.89119,0 z"
|
||||
transform="matrix(0.15576089,0,0,0.15394424,208.14569,194.21576)"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
|
||||
inkscape:export-xdpi="83.678238"
|
||||
inkscape:export-ydpi="83.678238" />
|
||||
<path
|
||||
|
@ -110,7 +110,7 @@
|
|||
d="m 234.23697,201.69837 0,12.97357"
|
||||
id="path3755-9"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
|
||||
inkscape:export-xdpi="83.678238"
|
||||
inkscape:export-ydpi="83.678238" />
|
||||
<path
|
||||
|
@ -118,7 +118,7 @@
|
|||
d="m 227.87119,208.03329 12.95106,0"
|
||||
id="path3757-2"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
|
||||
inkscape:export-xdpi="83.678238"
|
||||
inkscape:export-ydpi="83.678238" />
|
||||
<rect
|
||||
|
@ -130,7 +130,7 @@
|
|||
y="234.54805"
|
||||
rx="0.17244641"
|
||||
ry="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
|
||||
inkscape:export-xdpi="85.970146"
|
||||
inkscape:export-ydpi="85.970146" />
|
||||
<path
|
||||
|
@ -139,7 +139,7 @@
|
|||
id="path3810"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
|
||||
inkscape:export-xdpi="85.970146"
|
||||
inkscape:export-ydpi="85.970146" />
|
||||
<rect
|
||||
|
@ -172,7 +172,7 @@
|
|||
id="path5190"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
|
||||
inkscape:export-xdpi="85.970146"
|
||||
inkscape:export-ydpi="85.970146" />
|
||||
<path
|
||||
|
@ -181,7 +181,7 @@
|
|||
id="path5190-2"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
|
||||
inkscape:export-xdpi="85.970146"
|
||||
inkscape:export-ydpi="85.970146" />
|
||||
<rect
|
||||
|
@ -193,7 +193,7 @@
|
|||
y="237.6228"
|
||||
rx="0.097152509"
|
||||
ry="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
<path
|
||||
|
@ -207,7 +207,7 @@
|
|||
id="path5190-5"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
<path
|
||||
|
@ -216,7 +216,7 @@
|
|||
id="path5190-2-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
<path
|
||||
|
@ -225,7 +225,7 @@
|
|||
id="path5190-5-7"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
<path
|
||||
|
@ -234,7 +234,7 @@
|
|||
id="path5190-5-7-5"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.9 KiB |
|
@ -62,7 +62,7 @@ install_data(
|
|||
ui_config = configuration_data()
|
||||
ui_config.set('app-id', application_id)
|
||||
ui_config.set('version', meson.project_version() + version_suffix)
|
||||
ui_config.set('package_url', 'http://uberwriter.github.io/uberwriter/')
|
||||
ui_config.set('package_url', 'http://apostrophe.github.io/apostrophe/')
|
||||
ui_preconfigured_files = files(
|
||||
'ui/About.ui.in'
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.22.1 -->
|
||||
<!-- Generated with glade 3.22.2 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.20"/>
|
||||
<object class="GtkAboutDialog" id="AboutDialog">
|
||||
|
@ -7,24 +7,17 @@
|
|||
<property name="modal">True</property>
|
||||
<property name="window_position">center</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<property name="program_name">Uberwriter</property>
|
||||
<property name="program_name">Apostrophe</property>
|
||||
<property name="version">@version@</property>
|
||||
<property name="copyright" translatable="yes">Copyright (C) 2018, Wolf Vollprecht</property>
|
||||
<property name="copyright" translatable="yes">Copyright (C) 2020, Wolf Vollprecht</property>
|
||||
<property name="website">@package_url@</property>
|
||||
<property name="website_label" translatable="yes">Uberwriter website</property>
|
||||
<property name="website_label" translatable="yes">Apostrophe website</property>
|
||||
<property name="authors">Wolf Vollprecht <w.vollprecht@gmail.com>
|
||||
Manuel Genovés <manuel.genoves@gmail.com>
|
||||
Gonçalo Silva <goncalossilva@gmail.com></property>
|
||||
<property name="translator_credits">
|
||||
Andrea Somaini (Italian)
|
||||
Daniel Artfors (Swedish)
|
||||
shorez (German)
|
||||
TomBoss (French)
|
||||
Adolfo Jayme Barrientos (Catalan)
|
||||
Maxence Dubois (French)
|
||||
naxuroqa (German)
|
||||
Wolf
|
||||
Manuel (Spanish, Catalan)</property>
|
||||
Gonçalo Silva <goncalossilva@gmail.com>
|
||||
Thomas Lavend <lavendthomas@outlook.be>
|
||||
Vova Kolobok </property>
|
||||
<property name="translator_credits" translatable="yes" comments="Put your name in here, like this: Manuel Genovés <manuel.genoves@gmail.com>">translator-credits</property>
|
||||
<property name="artists">Tobias Bernard <hi@tobiasbernard.com></property>
|
||||
<property name="logo_icon_name">@app-id@</property>
|
||||
<property name="license_type">gpl-3-0</property>
|
||||
|
@ -78,13 +71,13 @@ Manuel (Spanish, Catalan)</property>
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkLinkButton" id="donations_link">
|
||||
<property name="label" translatable="yes">Liberapay</property>
|
||||
<property name="label" translatable="yes">Paypal</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="relief">none</property>
|
||||
<property name="uri">https://liberapay.com/UberWriter/donate</property>
|
||||
<property name="uri">https://paypal.me/manuelgenoves</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
|
|
@ -597,40 +597,27 @@
|
|||
<object class="GtkDialog" id="Export">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<property name="use-header-bar">1</property>
|
||||
<action-widgets>
|
||||
<action-widget response="cancel">cancel_btn</action-widget>
|
||||
<action-widget response="accept" default="true">export_btn</action-widget>
|
||||
</action-widgets>
|
||||
<child type="titlebar">
|
||||
<object class="GtkHeaderBar" id="Export_hb">
|
||||
<child type="action">
|
||||
<object class="GtkButton" id="cancel_btn">
|
||||
<property name="label">gtk-cancel</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="has_subtitle">False</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="cancel_btn">
|
||||
<property name="label">gtk-cancel</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="export_btn">
|
||||
<property name="label" translatable="yes">Export</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="pack_type">end</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
</object>
|
||||
</child>
|
||||
<child type="action">
|
||||
<object class="GtkButton" id="export_btn">
|
||||
<property name="label" translatable="yes">Export</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
</object>
|
||||
</child>
|
||||
<child internal-child="vbox">
|
||||
|
@ -664,43 +651,5 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child type="titlebar">
|
||||
<object class="GtkHeaderBar" id="Export_hb">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child type="title">
|
||||
<object class="GtkStackSwitcher" id="format_switcher">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="stack">export_stack</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="cancel_btn">
|
||||
<property name="label">gtk-cancel</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="export_btn">
|
||||
<property name="label" translatable="yes">Export</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="pack_type">end</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
|
|
|
@ -1,101 +1,137 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.22.1 -->
|
||||
<!-- Generated with glade 3.22.2 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.20"/>
|
||||
<object class="GtkPopover" id="export_menu">
|
||||
<requires lib="gtk+" version="3.20"/>
|
||||
<object class="GtkPopover" id="export_menu">
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin">12</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.save_as</property>
|
||||
<property name="text" translatable="yes">Save As...</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkSeparator">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin">12</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.save_as</property>
|
||||
<property name="text" translatable="yes">Save as...</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkSeparator">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.export</property>
|
||||
<property name="action_target">"pdf"</property>
|
||||
<property name="text" translatable="yes">Pdf</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.export</property>
|
||||
<property name="action_target">"html"</property>
|
||||
<property name="text" translatable="yes">Html</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">3</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.export</property>
|
||||
<property name="action_target">"odt"</property>
|
||||
<property name="text" translatable="yes">ODT</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">4</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.export</property>
|
||||
<property name="action_target">"advanced"</property>
|
||||
<property name="text" translatable="yes">Advanced</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">5</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.export</property>
|
||||
<property name="action_target">"pdf"</property>
|
||||
<property name="text" translatable="no">PDF</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.export</property>
|
||||
<property name="action_target">"html"</property>
|
||||
<property name="text" translatable="no">HTML</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">3</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.export</property>
|
||||
<property name="action_target">"odt"</property>
|
||||
<property name="text" translatable="no">ODT</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">4</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkSeparator">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">5</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.export</property>
|
||||
<property name="action_target">"advanced"</property>
|
||||
<property name="text" translatable="yes">Advanced Export...</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">6</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkSeparator">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">7</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkModelButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.copy_html</property>
|
||||
<property name="text" translatable="yes">Copy HTML</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">8</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
|
@ -127,7 +127,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin_right">6</property>
|
||||
<property name="label" translatable="yes">Sync views</property>
|
||||
<property name="label" translatable="yes">Sync Views</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.hemingway_mode</property>
|
||||
<property name="text" translatable="yes">Hemingway mode</property>
|
||||
<property name="text" translatable="yes">Hemingway Mode</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
@ -214,7 +214,7 @@
|
|||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.about</property>
|
||||
<property name="text" translatable="yes">About Uberwriter</property>
|
||||
<property name="text" translatable="yes">About Apostrophe</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
<info>
|
||||
<!-- This shows in the title bar so does not show [icon] -->
|
||||
<title type="text">UberWriter</title>
|
||||
<desc>The <app>UberWriter</app> help.</desc>
|
||||
<title type="text">Apostrophe</title>
|
||||
<desc>The <app>Apostrophe</app> help.</desc>
|
||||
<credit type="author">
|
||||
<name>Wolf Vollprecht</name>
|
||||
<email>w.vollprecht@gmail.com</email>
|
||||
|
@ -20,10 +20,10 @@
|
|||
<!-- This shows on the page in title font -->
|
||||
<!-- the icon only shows when installed -->
|
||||
<media type="image" mime="image/png" src="figures/icon_down.png" width="16">[icon]</media>
|
||||
<app>UberWriter</app> Help
|
||||
<app>Apostrophe</app> Help
|
||||
</title>
|
||||
|
||||
<p>Help Topics for UberWriter:</p>
|
||||
<p>Help Topics for Apostrophe:</p>
|
||||
|
||||
<!-- This is the visible index -->
|
||||
<section id="contents" style="2column">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</info>
|
||||
|
||||
<title>Pandoc's Markdown</title>
|
||||
<h1 id="markdown-tutorial-for-uberwriter">Markdown Tutorial for UberWriter</h1>
|
||||
<h1 id="markdown-tutorial-for-apostrophe">Markdown Tutorial for Apostrophe</h1>
|
||||
<p>I will try to give a short impressions on how I use markdown/pandocs capabilities to greatly reduce the time spent on formatting anything – from websites to PDF Documents.</p>
|
||||
<p>You can find a much more exhaustive documentation for all features pandoc offers on pandoc’s help page: <a href="http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown">Link</a></p>
|
||||
<h3 id="headers">Headers</h3>
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
<email>w.vollprecht@gmail.com</email>
|
||||
<years>2012</years>
|
||||
</credit>
|
||||
<desc>UberWriters preview functionalities</desc>
|
||||
<desc>Apostrophes preview functionalities</desc>
|
||||
</info>
|
||||
|
||||
<title>UberWriter Preview</title>
|
||||
<p>There are 2 different ways to preview your Markdown files in UberWriter and
|
||||
<title>Apostrophe Preview</title>
|
||||
<p>There are 2 different ways to preview your Markdown files in Apostrophe and
|
||||
quickly check, what you have written.
|
||||
</p>
|
||||
<section id="inline-preview">
|
||||
|
@ -28,7 +28,7 @@ quickly check, what you have written.
|
|||
<section>
|
||||
<title>Complete Preview</title>
|
||||
<p>If you want a complete Preview of your document, you just need to hit the
|
||||
preview Button on the statusbar at the bottom of the UberWriter window.
|
||||
preview Button on the statusbar at the bottom of the Apostrophe window.
|
||||
It will render the complete HTML Output of your Markdown file.</p>
|
||||
</section>
|
||||
</page>
|
||||
|
|
|
@ -5,18 +5,18 @@
|
|||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="author" content="John MacFarlane, Wolf Vollprecht" />
|
||||
<title>UberWriter & Pandoc User Guide</title>
|
||||
<link rel="stylesheet" href="file:////home/wolf/Programme/uberwriter/data/media/uberwriter.css" type="text/css" />
|
||||
<title>Apostrophe & Pandoc User Guide</title>
|
||||
<link rel="stylesheet" href="file:////home/wolf/Programme/apostrophe/data/media/apostrophe.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<h1 class="title">UberWriter & Pandoc User Guide</h1>
|
||||
<h1 class="title">Apostrophe & Pandoc User Guide</h1>
|
||||
<h2 class="author">John MacFarlane, Wolf Vollprecht</h2>
|
||||
<h3 class="date">01.08.2012</h3>
|
||||
</div>
|
||||
<h2 id="uberwriters-goals">UberWriter’s goals</h2>
|
||||
<p>UberWriter aims to make the writing process very easy and beautiful. The editor offers inline highlighting for a specific subset of markdown, which is used to do the formatting of your text.</p>
|
||||
<p>A short explanation of the core markdown features you’ll find below. Pandoc is used to generate PDF, HTML or RTF files from markdown. Please note that Pandoc’s syntax offers many, many more features which are well documented on the (pandoc homepage)[http://johnmacfarlane.net/pandoc/README.html].<br />However, please note that not all of the advanced features play well with inline highlighting of UberWriter.</p>
|
||||
<h2 id="apostrophes-goals">Apostrophe’s goals</h2>
|
||||
<p>Apostrophe aims to make the writing process very easy and beautiful. The editor offers inline highlighting for a specific subset of markdown, which is used to do the formatting of your text.</p>
|
||||
<p>A short explanation of the core markdown features you’ll find below. Pandoc is used to generate PDF, HTML or RTF files from markdown. Please note that Pandoc’s syntax offers many, many more features which are well documented on the (pandoc homepage)[http://johnmacfarlane.net/pandoc/README.html].<br />However, please note that not all of the advanced features play well with inline highlighting of Apostrophe.</p>
|
||||
<p>But for a quick start, this will be sufficient.</p>
|
||||
<h2 id="pandocs-markdown">Pandoc’s markdown</h2>
|
||||
<p>Pandoc understands an extended and slightly revised version of John Gruber’s [markdown] syntax. This document explains the syntax, noting differences from standard markdown.</p>
|
||||
|
@ -403,6 +403,6 @@ isn't indented.</code></pre>
|
|||
<p>Inline and regular footnotes may be mixed freely.</p>
|
||||
<h2 id="authors-of-this-documentation">Authors of this documentation</h2>
|
||||
<p>© 2006-2012 John MacFarlane (jgm at berkeley dot edu). Released under the [GPL], version 2 or greater. This software carries no warranty of any kind. (See COPYRIGHT for full copyright and warranty notices.) Other contributors include Recai Oktaş, Paulo Tanimoto, Peter Wang, Andrea Rossato, Eric Kow, infinity0x, Luke Plant, shreevatsa.public, Puneeth Chaganti, Paul Rivier, rodja.trappe, Bradley Kuhn, thsutton, Nathan Gass, Jonathan Daugherty, Jérémy Bobbio, Justin Bogner, qerub, Christopher Sawicki, Kelsey Hightower, Masayoshi Takahashi, Antoine Latter, Ralf Stephan, Eric Seidel, B. Scott Michel, Gavin Beatty, Sergey Astanin.</p>
|
||||
<p>© Reworked for UberWriter: Wolf Vollprecht</p>
|
||||
<p>© Reworked for Apostrophe: Wolf Vollprecht</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
% UberWriter & Pandoc User Guide
|
||||
% Apostrophe & Pandoc User Guide
|
||||
% John MacFarlane, Wolf Vollprecht
|
||||
% 01.08.2012
|
||||
|
||||
## UberWriter's goals
|
||||
## Apostrophe's goals
|
||||
|
||||
UberWriter aims to make the writing process very easy and beautiful. The editor offers inline highlighting for a specific subset of markdown, which is used to do the formatting of your text.
|
||||
Apostrophe aims to make the writing process very easy and beautiful. The editor offers inline highlighting for a specific subset of markdown, which is used to do the formatting of your text.
|
||||
|
||||
A short explanation of the core markdown features you'll find below. Pandoc is used to generate PDF, HTML or RTF files from markdown. Please note that Pandoc's syntax offers many, many more features which are well documented on the (pandoc homepage)[http://johnmacfarlane.net/pandoc/README.html].
|
||||
However, please note that not all of the advanced features play well with inline highlighting of UberWriter.
|
||||
However, please note that not all of the advanced features play well with inline highlighting of Apostrophe.
|
||||
|
||||
But for a quick start, this will be sufficient.
|
||||
|
||||
|
@ -607,4 +607,4 @@ Inline and regular footnotes may be mixed freely.
|
|||
|
||||
© 2006-2012 John MacFarlane (jgm at berkeley dot edu). Released under the [GPL], version 2 or greater. This software carries no warranty of any kind. (See COPYRIGHT for full copyright and warranty notices.) Other contributors include Recai Oktaş, Paulo Tanimoto, Peter Wang, Andrea Rossato, Eric Kow, infinity0x, Luke Plant, shreevatsa.public, Puneeth Chaganti, Paul Rivier, rodja.trappe, Bradley Kuhn, thsutton, Nathan Gass, Jonathan Daugherty, Jérémy Bobbio, Justin Bogner, qerub, Christopher Sawicki, Kelsey Hightower, Masayoshi Takahashi, Antoine Latter, Ralf Stephan, Eric Seidel, B. Scott Michel, Gavin Beatty, Sergey Astanin.
|
||||
|
||||
© Reworked for UberWriter: Wolf Vollprecht
|
||||
© Reworked for Apostrophe: Wolf Vollprecht
|
|
@ -4,7 +4,7 @@ asdja kdja dskj
|
|||
|
||||
$\frac{1}{2} + 1 12+2=14$ Testing more input whatt.
|
||||
|
||||
[](http://uberwriter.github.io/uberwriter)
|
||||
[](http://apostrophe.github.io/apostrophe)
|
||||
[](http://google.com)
|
||||
|
||||
![Insert image title here](/home/wolf/Pictures/IMG_20130901_152337.jpg)
|
||||
|
|
10
meson.build
|
@ -1,5 +1,5 @@
|
|||
project(
|
||||
'uberwriter',
|
||||
'apostrophe',
|
||||
version: '2.2.0',
|
||||
meson_version: '>= 0.50.0'
|
||||
)
|
||||
|
@ -50,7 +50,7 @@ pkgdatadir = datadir / meson.project_name()
|
|||
podir = meson.source_root() / 'po'
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set('PACKAGE_URL', 'http://uberwriter.github.io/uberwriter/')
|
||||
conf.set('PACKAGE_URL', 'http://apostrophe.github.io/apostrophe/')
|
||||
conf.set('DATA_DIR', datadir)
|
||||
conf.set('LOCALE_DIR', join_paths(get_option('prefix'), get_option('datadir'), 'locale'))
|
||||
conf.set('PYTHON_DIR', pythondir)
|
||||
|
@ -63,14 +63,14 @@ subdir('data')
|
|||
subdir('po')
|
||||
|
||||
install_subdir(
|
||||
'uberwriter',
|
||||
'apostrophe',
|
||||
install_dir: pythondir
|
||||
)
|
||||
|
||||
message('Preparing init file')
|
||||
configure_file(
|
||||
input: 'uberwriter.in',
|
||||
output: 'uberwriter',
|
||||
input: 'apostrophe.in',
|
||||
output: 'apostrophe',
|
||||
configuration: conf,
|
||||
install_dir: bindir
|
||||
)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
ca
|
||||
ca_ES
|
||||
cs
|
||||
de
|
||||
|
@ -9,12 +8,10 @@ fr
|
|||
hu
|
||||
it
|
||||
pl
|
||||
pt
|
||||
pt_BR
|
||||
ru
|
||||
si
|
||||
sv
|
||||
th
|
||||
tr
|
||||
vi
|
||||
zh_CN
|
||||
|
|