Update all references of the app's name

from uberwriter to apostrophe, but the appIds
master
Manuel Genovés 2020-03-15 01:11:37 +01:00
parent af2975d48a
commit 29d2af97fa
98 changed files with 323 additions and 544 deletions

View File

@ -1,17 +1,17 @@
pkgname=uberwriter pkgname=apostrophe
_pkgname=uberwriter _pkgname=apostrophe
pkgver=2.1.3 pkgver=2.1.3
pkgrel=1 pkgrel=1
pkgdesc='A distraction free Markdown editor for GNU/Linux made with GTK+' pkgdesc='A distraction free Markdown editor for GNU/Linux made with GTK+'
arch=('any') arch=('any')
url='http://uberwriter.github.io/uberwriter/' url='http://apostrophe.github.io/apostrophe/'
license=('GPL3') license=('GPL3')
depends=('gtk3' 'pandoc' 'gspell') depends=('gtk3' 'pandoc' 'gspell')
makedepends=('python-setuptools') makedepends=('python-setuptools')
optdepends=('texlive-core' 'otf-fira-mono: Recommended font') optdepends=('texlive-core' 'otf-fira-mono: Recommended font')
provides=("$_pkgname") provides=("$_pkgname")
conflicts=("$_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') sha256sums=('SKIP')
pkgver() { pkgver() {

View File

@ -1,16 +1,16 @@
[![Please do not theme this app](https://stopthemingmy.app/badge.svg)](https://stopthemingmy.app) [![Please do not theme this app](https://stopthemingmy.app/badge.svg)](https://stopthemingmy.app)
# Uberwriter # Apostrophe
![](screenshots/main.png) ![](screenshots/main.png)
## About ## 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 ## Install
You can get UberWriter on Flathub! You can get Apostrophe on Flathub!
[Get it now](https://flathub.org/apps/details/de.wolfvollprecht.UberWriter) [Get it now](https://flathub.org/apps/details/de.wolfvollprecht.UberWriter)
## Contributions and localization ## Contributions and localization
@ -21,13 +21,13 @@ Any help is appreciated!
## Building from Git ## Building from Git
```bash ```bash
$ git clone https://github.com/UberWriter/uberwriter.git $ git clone https://github.com/Apostrophe/apostrophe.git
$ cd uberwriter $ cd apostrophe
$ meson builddir --prefix=/usr $ meson builddir --prefix=/usr
# sudo ninja -C builddir install # 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) - 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 - 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 ### 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: but you'll need to install and compile the schemas before:
```bash ```bash

View File

@ -31,33 +31,33 @@ from gi.repository import Gio
PROJECT_ROOT_DIRECTORY = os.path.abspath( PROJECT_ROOT_DIRECTORY = os.path.abspath(
os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0])))) 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 = [] 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): and PROJECT_ROOT_DIRECTORY not in sys.path):
python_path.insert(0, PROJECT_ROOT_DIRECTORY) python_path.insert(0, PROJECT_ROOT_DIRECTORY)
sys.path.insert(0, PROJECT_ROOT_DIRECTORY) sys.path.insert(0, PROJECT_ROOT_DIRECTORY)
if python_path: if python_path:
os.putenv('PYTHONPATH', "%s:%s" % (os.getenv('PYTHONPATH', ''), ':'.join(python_path))) # for subprocesses os.putenv('PYTHONPATH', "%s:%s" % (os.getenv('PYTHONPATH', ''), ':'.join(python_path))) # for subprocesses
import uberwriter import apostrophe
localedir = '@LOCALE_DIR@' localedir = '@LOCALE_DIR@'
pkgdatadir = '@DATA_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 # L10n
locale.textdomain('uberwriter') locale.textdomain('apostrophe')
locale.bindtextdomain('uberwriter', localedir) locale.bindtextdomain('apostrophe', localedir)
gettext.textdomain('uberwriter') gettext.textdomain('apostrophe')
gettext.bindtextdomain('uberwriter', localedir) 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) Gio.Resource._register(resource)
uberwriter.main() apostrophe.main()

View File

@ -19,10 +19,10 @@ import gi
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
from uberwriter import main_window from apostrophe import main_window
from uberwriter import application from apostrophe import application
from uberwriter.helpers import set_up_logging from apostrophe.helpers import set_up_logging
from uberwriter.config import get_version from apostrophe.config import get_version
def main(): def main():

View File

@ -15,16 +15,16 @@ from gettext import gettext as _
import gi 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 gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
from gi.repository import GLib, Gio, Gtk, GdkPixbuf from gi.repository import GLib, Gio, Gtk, GdkPixbuf
from uberwriter import main_window from apostrophe import main_window
from uberwriter.settings import Settings from apostrophe.settings import Settings
from uberwriter.helpers import set_up_logging from apostrophe.helpers import set_up_logging
from uberwriter.preferences_dialog import PreferencesDialog from apostrophe.preferences_dialog import PreferencesDialog
from uberwriter.helpers import get_media_path from apostrophe.helpers import get_media_path
class Application(Gtk.Application): class Application(Gtk.Application):
@ -161,7 +161,7 @@ class Application(Gtk.Application):
if not self.window: if not self.window:
# Windows are associated with the application # Windows are associated with the application
# when the last one is closed the application shuts down # 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) self.window = MainWindow(self)
if self.args: if self.args:
self.window.load_file(self.args[0]) self.window.load_file(self.args[0])
@ -173,7 +173,7 @@ class Application(Gtk.Application):
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument( parser.add_argument(
"-v", "--verbose", action="count", dest="verbose", "-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( parser.add_argument(
"-e", "--experimental-features", help=_("Use experimental features"), "-e", "--experimental-features", help=_("Use experimental features"),
action='store_true') action='store_true')
@ -263,7 +263,7 @@ class Application(Gtk.Application):
builder.get_object("shortcuts").show() builder.get_object("shortcuts").show()
def on_open_tutorial(self, _action, _value): def on_open_tutorial(self, _action, _value):
self.window.open_uberwriter_markdown() self.window.open_apostrophe_markdown()
def on_about(self, _action, _param): def on_about(self, _action, _param):
builder = Gtk.Builder() builder = Gtk.Builder()

View File

@ -1,5 +1,5 @@
# UberwriterAutoCorrect # ApostropheAutoCorrect
# The Uberwriter Auto Correct is a auto correction # The Apostrophe Auto Correct is a auto correction
# mechanism to prevent stupid typos # mechanism to prevent stupid typos
# CURRENTLY DISABLED # CURRENTLY DISABLED
@ -13,16 +13,16 @@ from gi.repository import Gtk, Gdk
import enchant import enchant
from uberwriter import pressagio from apostrophe import pressagio
# import uberwriter.pressagio.predictor # import apostrophe.pressagio.predictor
# import uberwriter.pressagio.tokenizer # import apostrophe.pressagio.tokenizer
# import uberwriter.pressagio.dbconnector # import apostrophe.pressagio.dbconnector
# import uberwriter.pressagio.context_tracker # import apostrophe.pressagio.context_tracker
# import uberwriter.pressagio.callback # import apostrophe.pressagio.callback
# from Levenshtein import distance # from Levenshtein import distance
from uberwriter.helpers import get_media_path from apostrophe.helpers import get_media_path
# Define and create PresageCallback object # Define and create PresageCallback object
class PressagioCallback(pressagio.callback.Callback): class PressagioCallback(pressagio.callback.Callback):

View File

@ -28,7 +28,7 @@ import gi
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
from gi.repository import GObject, Gtk # pylint: disable=E0611 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 # this module is big so uses some conventional prefixes and postfixes
# *s list, except self.widgets is a dictionary # *s list, except self.widgets is a dictionary

View File

@ -24,7 +24,7 @@ __all__ = [
# Where your project will look for your data (for instance, images and ui # Where your project will look for your data (for instance, images and ui
# files). By default, this is ../data, relative your trunk layout # files). By default, this is ../data, relative your trunk layout
__uberwriter_data_directory__ = '../data/' __apostrophe_data_directory__ = '../data/'
__license__ = 'GPL-3' __license__ = 'GPL-3'
__version__ = 'VERSION' __version__ = 'VERSION'
@ -45,25 +45,25 @@ def get_data_file(*path_segments):
def get_data_path(): def get_data_path():
"""Retrieve uberwriter data path """Retrieve apostrophe data path
This path is by default <uberwriter_path>/../data/ in trunk This path is by default <apostrophe_path>/../data/ in trunk
and /opt/uberwriter/data in an installed version but this path and /opt/apostrophe/data in an installed version but this path
is specified at installation time. is specified at installation time.
""" """
# Get pathname absolute or relative. # Get pathname absolute or relative.
if os.path.isfile("/.flatpak-info"): if os.path.isfile("/.flatpak-info"):
return '/app/share/uberwriter/' return '/app/share/apostrophe/'
path = os.path.join( 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 # We try first if the data exists in the local folder and then
# in the system installation path # in the system installation path
abs_data_path = os.path.abspath(path) abs_data_path = os.path.abspath(path)
if not os.path.exists(abs_data_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): elif not os.path.exists(abs_data_path):
raise ProjectPathNotFound raise ProjectPathNotFound

View File

@ -26,10 +26,10 @@ import gi
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib from gi.repository import Gtk, GLib
from uberwriter import helpers from apostrophe import helpers
from uberwriter.theme import Theme from apostrophe.theme import Theme
LOGGER = logging.getLogger('uberwriter') LOGGER = logging.getLogger('apostrophe')
class Export: class Export:

View File

@ -4,7 +4,7 @@ gi.require_version('Gtk', '3.0')
from gi.repository import Gtk from gi.repository import Gtk
import logging import logging
logger = logging.getLogger('uberwriter') logger = logging.getLogger('apostrophe')
class FixTable(): class FixTable():

View File

@ -22,8 +22,8 @@ from gettext import gettext as _
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib from gi.repository import Gtk, GLib
from uberwriter.helpers import get_descendant from apostrophe.helpers import get_descendant
from uberwriter.settings import Settings from apostrophe.settings import Settings
class BaseHeaderbar: class BaseHeaderbar:

View File

@ -26,13 +26,13 @@ import gi
import pypandoc import pypandoc
from gi.overrides.Pango import Pango from gi.overrides.Pango import Pango
from uberwriter.settings import Settings from apostrophe.settings import Settings
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
from gi.repository import Gtk # pylint: disable=E0611 from gi.repository import Gtk # pylint: disable=E0611
from uberwriter.config import get_data_file from apostrophe.config import get_data_file
from uberwriter.builder import Builder from apostrophe.builder import Builder
@ -108,12 +108,12 @@ def set_up_logging(opts):
formatter = logging.Formatter( formatter = logging.Formatter(
"%(levelname)s:%(name)s: %(funcName)s() '%(message)s'") "%(levelname)s:%(name)s: %(funcName)s() '%(message)s'")
logger = logging.getLogger('uberwriter') logger = logging.getLogger('apostrophe')
logger_sh = logging.StreamHandler() logger_sh = logging.StreamHandler()
logger_sh.setFormatter(formatter) logger_sh.setFormatter(formatter)
logger.addHandler(logger_sh) logger.addHandler(logger_sh)
lib_logger = logging.getLogger('uberwriter') lib_logger = logging.getLogger('apostrophe')
lib_logger_sh = logging.StreamHandler() lib_logger_sh = logging.StreamHandler()
lib_logger_sh.setFormatter(formatter) lib_logger_sh.setFormatter(formatter)
lib_logger.addHandler(lib_logger_sh) lib_logger.addHandler(lib_logger_sh)
@ -133,7 +133,7 @@ def get_help_uri(page=None):
if not os.path.exists(help_uri): if not os.path.exists(help_uri):
# installed so use gnome help tree - user's language # installed so use gnome help tree - user's language
help_uri = 'uberwriter' help_uri = 'apostrophe'
# unspecified page is the index.page # unspecified page is the index.page
if page is not None: if page is not None:

View File

@ -26,8 +26,8 @@ gi.require_version("Gtk", "3.0")
gi.require_version("WebKit2", "4.0") gi.require_version("WebKit2", "4.0")
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib from gi.repository import Gtk, Gdk, GdkPixbuf, GLib
from gi.repository import WebKit2 from gi.repository import WebKit2
from uberwriter import latex_to_PNG, markup_regex from apostrophe import latex_to_PNG, markup_regex
from uberwriter.settings import Settings from apostrophe.settings import Settings
class DictAccessor: class DictAccessor:

View File

@ -23,22 +23,22 @@ from gettext import gettext as _
import gi import gi
from uberwriter.export_dialog import Export from apostrophe.export_dialog import Export
from uberwriter.preview_handler import PreviewHandler from apostrophe.preview_handler import PreviewHandler
from uberwriter.stats_handler import StatsHandler from apostrophe.stats_handler import StatsHandler
from uberwriter.styled_window import StyledWindow from apostrophe.styled_window import StyledWindow
from uberwriter.text_view import TextView from apostrophe.text_view import TextView
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk, GObject, GLib, Gio from gi.repository import Gtk, Gdk, GObject, GLib, Gio
import cairo import cairo
from uberwriter import helpers from apostrophe import helpers
from uberwriter.sidebar import Sidebar from apostrophe.sidebar import Sidebar
from uberwriter.search_and_replace import SearchAndReplace from apostrophe.search_and_replace import SearchAndReplace
from uberwriter.settings import Settings from apostrophe.settings import Settings
from . import headerbars from . import headerbars
@ -46,9 +46,9 @@ from . import headerbars
# TODO move them somewhere for better # TODO move them somewhere for better
# accesibility from other files # 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): class MainWindow(StyledWindow):
@ -65,9 +65,9 @@ class MainWindow(StyledWindow):
def __init__(self, app): def __init__(self, app):
"""Set up the main window""" """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 # Set UI
builder = Gtk.Builder() builder = Gtk.Builder()
@ -109,7 +109,7 @@ class MainWindow(StyledWindow):
root.reorder_overlay(self.dm_headerbar.hb_revealer, 0) root.reorder_overlay(self.dm_headerbar.hb_revealer, 0)
root.set_overlay_pass_through(self.dm_headerbar.hb_revealer, True) 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.set_headerbar_title("New File" + self.title_end)
self.accel_group = Gtk.AccelGroup() self.accel_group = Gtk.AccelGroup()
@ -531,13 +531,13 @@ class MainWindow(StyledWindow):
else: else:
LOGGER.warning("No File arg") 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 """open a markdown mini tutorial
""" """
if self.check_change() == Gtk.ResponseType.CANCEL: if self.check_change() == Gtk.ResponseType.CANCEL:
return 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): def open_search(self, replace=False):
"""toggle the search box """toggle the search box

View File

@ -6,7 +6,7 @@ from . import fuzzywuzzy
from .gi_composites import GtkTemplate 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): class BibTexItem(Gtk.Box):
__gtype_name__ = 'BibTexItem' __gtype_name__ = 'BibTexItem'
@ -68,7 +68,7 @@ class BibTex(object):
self.bib_db = bibtexparser.load(f) self.bib_db = bibtexparser.load(f)
builder = Gtk.Builder() 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 = builder.get_object('bibtex_window')
self.window.set_transient_for(self.app) self.window.set_transient_for(self.app)
self.window.set_modal(True) self.window.set_modal(True)

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 223 B

After

Width:  |  Height:  |  Size: 223 B

View File

@ -25,7 +25,7 @@ import gi
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Pango, GLib # pylint: disable=E0611 from gi.repository import Gtk, Pango, GLib # pylint: disable=E0611
import logging import logging
logger = logging.getLogger('uberwriter') logger = logging.getLogger('apostrophe')

View File

@ -4,8 +4,8 @@ import os
from gi.repository import GLib from gi.repository import GLib
from uberwriter import helpers from apostrophe import helpers
from uberwriter.theme import Theme from apostrophe.theme import Theme
class PreviewConverter: class PreviewConverter:

View File

@ -4,14 +4,14 @@ from enum import auto, IntEnum
import gi import gi
from uberwriter.preview_renderer import PreviewRenderer from apostrophe.preview_renderer import PreviewRenderer
from uberwriter.settings import Settings from apostrophe.settings import Settings
gi.require_version('WebKit2', '4.0') gi.require_version('WebKit2', '4.0')
from gi.repository import WebKit2, GLib, Gtk from gi.repository import WebKit2, GLib, Gtk
from uberwriter.preview_converter import PreviewConverter from apostrophe.preview_converter import PreviewConverter
from uberwriter.preview_web_view import PreviewWebView from apostrophe.preview_web_view import PreviewWebView
class Step(IntEnum): class Step(IntEnum):

View File

@ -2,9 +2,9 @@ from gettext import gettext as _
from gi.repository import Gtk, Gio, GLib from gi.repository import Gtk, Gio, GLib
from uberwriter import headerbars from apostrophe import headerbars
from uberwriter.settings import Settings from apostrophe.settings import Settings
from uberwriter.styled_window import StyledWindow from apostrophe.styled_window import StyledWindow
class PreviewRenderer: class PreviewRenderer:

View File

@ -19,20 +19,20 @@ import re
import gi import gi
from uberwriter.helpers import user_action from apostrophe.helpers import user_action
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
from gi.repository import Gdk from gi.repository import Gdk
# from plugins import plugins # from plugins import plugins
LOGGER = logging.getLogger('uberwriter') LOGGER = logging.getLogger('apostrophe')
class SearchAndReplace: class SearchAndReplace:
""" """
Adds (regex) search and replace functionality to Adds (regex) search and replace functionality to
uberwriter apostrophe
""" """
def __init__(self, parentwindow, textview, builder): def __init__(self, parentwindow, textview, builder):

View File

@ -18,7 +18,7 @@ from gi.repository import Gio
class Settings(Gio.Settings): class Settings(Gio.Settings):
""" """
UberWriter Settings Apostrophe Settings
""" """
def __init__(self): def __init__(self):

View File

@ -23,7 +23,7 @@ from gi.repository import Gtk, Gdk
# from plugins import plugins # from plugins import plugins
import logging import logging
logger = logging.getLogger('uberwriter') logger = logging.getLogger('apostrophe')
class Shelve(): class Shelve():
""" """

View File

@ -3,7 +3,7 @@ from multiprocessing import Process, Pipe
from gi.repository import GLib 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, \ HORIZONTAL_RULE, LIST, MATH, TABLE, CODE_BLOCK, HEADER_UNDER, HEADER, BLOCK_QUOTE, ORDERED_LIST, \
FOOTNOTE_ID, FOOTNOTE FOOTNOTE_ID, FOOTNOTE

View File

@ -2,8 +2,8 @@ from gettext import gettext as _
from gi.repository import GLib, Gio, Gtk from gi.repository import GLib, Gio, Gtk
from uberwriter.settings import Settings from apostrophe.settings import Settings
from uberwriter.stats_counter import StatsCounter from apostrophe.stats_counter import StatsCounter
class StatsHandler: class StatsHandler:

View File

@ -1,6 +1,6 @@
import gi import gi
from uberwriter import helpers from apostrophe import helpers
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib, Gio from gi.repository import Gtk, GLib, Gio

View File

@ -1,12 +1,12 @@
import gi import gi
from uberwriter.helpers import user_action from apostrophe.helpers import user_action
from uberwriter.inline_preview import InlinePreview from apostrophe.inline_preview import InlinePreview
from uberwriter.text_view_drag_drop_handler import DragDropHandler, TARGET_URI, TARGET_TEXT from apostrophe.text_view_drag_drop_handler import DragDropHandler, TARGET_URI, TARGET_TEXT
from uberwriter.text_view_format_inserter import FormatInserter from apostrophe.text_view_format_inserter import FormatInserter
from uberwriter.text_view_markup_handler import MarkupHandler from apostrophe.text_view_markup_handler import MarkupHandler
from uberwriter.text_view_scroller import TextViewScroller from apostrophe.text_view_scroller import TextViewScroller
from uberwriter.text_view_undo_redo_handler import UndoRedoHandler from apostrophe.text_view_undo_redo_handler import UndoRedoHandler
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
gi.require_version('Gspell', '1') gi.require_version('Gspell', '1')
@ -14,11 +14,11 @@ from gi.repository import Gtk, Gdk, GObject, GLib, Gspell
import logging import logging
LOGGER = logging.getLogger('uberwriter') LOGGER = logging.getLogger('apostrophe')
class TextView(Gtk.TextView): class TextView(Gtk.TextView):
"""UberwriterTextView encapsulates all the features around the editor. """ApostropheTextView encapsulates all the features around the editor.
It combines the following: It combines the following:
- Undo / redo (via TextBufferUndoRedoHandler) - Undo / redo (via TextBufferUndoRedoHandler)
@ -27,7 +27,7 @@ class TextView(Gtk.TextView):
- Preview popover (via TextBufferMarkupHandler) - Preview popover (via TextBufferMarkupHandler)
- Drag and drop (via TextViewDragDropHandler) - Drag and drop (via TextViewDragDropHandler)
- Scrolling (via TextViewScroller) - 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__ = { __gsignals__ = {
@ -52,7 +52,7 @@ class TextView(Gtk.TextView):
self.set_pixels_above_lines(4) self.set_pixels_above_lines(4)
self.set_pixels_below_lines(4) self.set_pixels_below_lines(4)
self.set_pixels_inside_wrap(8) 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_left(8)
self.set_margin_right(8) self.set_margin_right(8)

View File

@ -2,7 +2,7 @@ import mimetypes
import urllib import urllib
from gettext import gettext as _ from gettext import gettext as _
from os.path import basename from os.path import basename
from uberwriter.settings import Settings from apostrophe.settings import Settings
from gi.repository import Gtk from gi.repository import Gtk

View File

@ -1,6 +1,6 @@
from gettext import gettext as _ from gettext import gettext as _
from uberwriter.helpers import user_action from apostrophe.helpers import user_action
class FormatInserter: class FormatInserter:

View File

@ -19,8 +19,8 @@ from multiprocessing import Pipe, Process
import gi import gi
from uberwriter import helpers, markup_regex from apostrophe import helpers, markup_regex
from uberwriter.markup_regex import STRIKETHROUGH, BOLD_ITALIC, BOLD, ITALIC_ASTERISK, ITALIC_UNDERSCORE, IMAGE, LINK,\ 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, \ LINK_ALT, HORIZONTAL_RULE, LIST, ORDERED_LIST, BLOCK_QUOTE, HEADER, HEADER_UNDER, TABLE, MATH, \
CODE CODE

View File

@ -1,6 +1,6 @@
import logging import logging
LOGGER = logging.getLogger('uberwriter') LOGGER = logging.getLogger('apostrophe')
class UndoableInsert: class UndoableInsert:

View File

@ -1,7 +1,7 @@
from gi.repository import Gtk from gi.repository import Gtk
from uberwriter.settings import Settings from apostrophe.settings import Settings
from uberwriter.helpers import get_css_path from apostrophe.helpers import get_css_path
class Theme: class Theme:

View File

@ -0,0 +1,35 @@
{
"name": "pipdeps",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyenchant 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"
}
]
}

View File

@ -2,29 +2,29 @@
<component type="desktop-application"> <component type="desktop-application">
<id>@app-id@</id> <id>@app-id@</id>
<launchable type="desktop-id">@app-id@.desktop</launchable> <launchable type="desktop-id">@app-id@.desktop</launchable>
<name>UberWriter</name> <name>Apostrophe</name>
<summary>An elegant, distraction-free GTK+ markdown editor</summary> <summary>An elegant, distraction-free GTK+ markdown editor</summary>
<description> <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, 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>You can install the recommended TexLive extension with the command:</p> <p>You can install the recommended TexLive extension with the command:</p>
<p>flatpak install flathub de.wolfvollprecht.UberWriter.Plugin.TexLive</p> <p>flatpak install flathub de.wolfvollprecht.UberWriter.Plugin.TexLive</p>
<p>or from Gnome-Software</p> <p>or from Gnome-Software</p>
</description> </description>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main.png</image> <image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/main.png</image>
</screenshot> </screenshot>
<screenshot> <screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main-dark.png</image> <image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/main-dark.png</image>
</screenshot> </screenshot>
<screenshot> <screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/formula.png</image> <image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/formula.png</image>
</screenshot> </screenshot>
<screenshot> <screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/preview.png</image> <image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/preview.png</image>
</screenshot> </screenshot>
<screenshot> <screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/focus.png</image> <image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/focus.png</image>
</screenshot> </screenshot>
</screenshots> </screenshots>
<releases> <releases>
@ -39,7 +39,7 @@
<description> <description>
<ul> <ul>
<li>Added italian language</li> <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>Disabled scroll gradient, can be enabled in the preferences dialog</li>
<li>Allow to disable headerbar autohidding in Dconf</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> <li>Now a single click is enough to open files in the recent files popover</li>
@ -61,7 +61,7 @@
</release> </release>
<release date="2018-07-27" version="2.1.2"> <release date="2018-07-27" version="2.1.2">
<description> <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> </description>
</release> </release>
<release date="2018-07-26" version="2.1.1"> <release date="2018-07-26" version="2.1.1">
@ -115,12 +115,12 @@
</releases> </releases>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_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"/> <content_rating type="oars-1.1"/>
<developer_name>Wolf V., Manuel G.</developer_name> <developer_name>Wolf V., Manuel G.</developer_name>
<url type="bugtracker">https://github.com/UberWriter/uberwriter/issues</url> <url type="bugtracker">https://github.com/Apostrophe/apostrophe/issues</url>
<url type="donation">https://liberapay.com/UberWriter/donate</url> <url type="donation">https://liberapay.com/Apostrophe/donate</url>
<url type="help">http://uberwriter.github.io/uberwriter</url> <url type="help">http://apostrophe.github.io/apostrophe</url>
<url type="translate">https://poeditor.com/join/project/gxVzFyXb2x</url> <url type="translate">https://poeditor.com/join/project/gxVzFyXb2x</url>
<update_contact>manuel.genoves_at_gmail.com</update_contact> <update_contact>manuel.genoves_at_gmail.com</update_contact>
<translation type="gettext">@gettext-package@</translation> <translation type="gettext">@gettext-package@</translation>

View File

@ -1,8 +1,8 @@
[Desktop Entry] [Desktop Entry]
Name=UberWriter Name=Apostrophe
Comment=UberWriter, a simple and distraction free Markdown Editor Comment=Apostrophe, a simple and distraction free Markdown Editor
Categories=GNOME;GTK;Office; Categories=GNOME;GTK;Office;
Exec=uberwriter %U Exec=apostrophe %U
Icon=@icon@ Icon=@icon@
Terminal=false Terminal=false
Type=Application Type=Application

View File

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 137 KiB

View File

@ -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. 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.

View File

@ -21,22 +21,22 @@
/* Main window and text colors */ /* Main window and text colors */
.uberwriter-window { .apostrophe-window {
background: @theme_base_color; background: @theme_base_color;
color: @theme_fg_color; color: @theme_fg_color;
caret-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-left-radius: 8px;
border-top-right-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; 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; border-top-left-radius: 8px;
} }
@ -53,7 +53,7 @@
background: @theme_base_color; background: @theme_base_color;
} }
.uberwriter-editor { .apostrophe-editor {
-gtk-key-bindings: editor-bindings; -gtk-key-bindings: editor-bindings;
border: none; border: none;
background-color: transparent; background-color: transparent;
@ -62,44 +62,44 @@
font-size: 16px; font-size: 16px;
} }
.uberwriter-editor.size14 { .apostrophe-editor.size14 {
font-size: 14px; font-size: 14px;
} }
.uberwriter-editor.size15 { .apostrophe-editor.size15 {
font-size: 15px; font-size: 15px;
} }
.uberwriter-editor.size16 { .apostrophe-editor.size16 {
font-size: 16px; font-size: 16px;
} }
.uberwriter-editor.size17 { .apostrophe-editor.size17 {
font-size: 17px; font-size: 17px;
} }
.uberwriter-editor.size18 { .apostrophe-editor.size18 {
font-size: 18px; font-size: 18px;
} }
.uberwriter-editor text { .apostrophe-editor text {
background-color: @theme_base_color; background-color: @theme_base_color;
color: @theme_fg_color; color: @theme_fg_color;
caret-color: @theme_fg_color; caret-color: @theme_fg_color;
} }
.uberwriter-editor text selection { .apostrophe-editor text selection {
background-color: @theme_selected_bg_color; background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color; color: @theme_selected_fg_color;
} }
.uberwriter-editor button { .apostrophe-editor button {
margin: 0; margin: 0;
padding: 0; padding: 0;
/*background: #CCC;*/ /*background: #CCC;*/
} }
.uberwriter-editor toolbar { .apostrophe-editor toolbar {
/*background: transparent;*/ /*background: transparent;*/
border: none; border: none;
padding: 0; padding: 0;
@ -131,7 +131,7 @@
background-color: mix(@theme_base_color, @theme_bg_color, 0.5); background-color: mix(@theme_base_color, @theme_bg_color, 0.5);
} }
.uberwriter-window treeview { .apostrophe-window treeview {
padding: 4px 4px 4px 4px; padding: 4px 4px 4px 4px;
} }

View File

@ -61,7 +61,7 @@
sodipodi:ry="42.445595" 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" 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)" 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-xdpi="82.699997"
inkscape:export-ydpi="82.699997" /> inkscape:export-ydpi="82.699997" />
<path <path
@ -69,7 +69,7 @@
d="m 141.39145,199.33354 0,12.97357" d="m 141.39145,199.33354 0,12.97357"
id="path3755" id="path3755"
inkscape:connector-curvature="0" 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-xdpi="82.699997"
inkscape:export-ydpi="82.699997" /> inkscape:export-ydpi="82.699997" />
<path <path
@ -77,7 +77,7 @@
d="m 135.02567,205.66846 12.95106,0" d="m 135.02567,205.66846 12.95106,0"
id="path3757" id="path3757"
inkscape:connector-curvature="0" 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-xdpi="82.699997"
inkscape:export-ydpi="82.699997" /> inkscape:export-ydpi="82.699997" />
<rect <rect
@ -89,7 +89,7 @@
y="202.56609" y="202.56609"
rx="0.26064596" rx="0.26064596"
ry="0.2316401" 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-xdpi="82.699997"
inkscape:export-ydpi="82.699997" /> inkscape:export-ydpi="82.699997" />
<path <path
@ -102,7 +102,7 @@
sodipodi:ry="42.445595" 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" 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)" 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-xdpi="83.678238"
inkscape:export-ydpi="83.678238" /> inkscape:export-ydpi="83.678238" />
<path <path
@ -110,7 +110,7 @@
d="m 234.23697,201.69837 0,12.97357" d="m 234.23697,201.69837 0,12.97357"
id="path3755-9" id="path3755-9"
inkscape:connector-curvature="0" 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-xdpi="83.678238"
inkscape:export-ydpi="83.678238" /> inkscape:export-ydpi="83.678238" />
<path <path
@ -118,7 +118,7 @@
d="m 227.87119,208.03329 12.95106,0" d="m 227.87119,208.03329 12.95106,0"
id="path3757-2" id="path3757-2"
inkscape:connector-curvature="0" 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-xdpi="83.678238"
inkscape:export-ydpi="83.678238" /> inkscape:export-ydpi="83.678238" />
<rect <rect
@ -130,7 +130,7 @@
y="234.54805" y="234.54805"
rx="0.17244641" rx="0.17244641"
ry="0" 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-xdpi="85.970146"
inkscape:export-ydpi="85.970146" /> inkscape:export-ydpi="85.970146" />
<path <path
@ -139,7 +139,7 @@
id="path3810" id="path3810"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" 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-xdpi="85.970146"
inkscape:export-ydpi="85.970146" /> inkscape:export-ydpi="85.970146" />
<rect <rect
@ -172,7 +172,7 @@
id="path5190" id="path5190"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" 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-xdpi="85.970146"
inkscape:export-ydpi="85.970146" /> inkscape:export-ydpi="85.970146" />
<path <path
@ -181,7 +181,7 @@
id="path5190-2" id="path5190-2"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" 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-xdpi="85.970146"
inkscape:export-ydpi="85.970146" /> inkscape:export-ydpi="85.970146" />
<rect <rect
@ -193,7 +193,7 @@
y="237.6228" y="237.6228"
rx="0.097152509" rx="0.097152509"
ry="0" 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-xdpi="90.311836"
inkscape:export-ydpi="90.311836" /> inkscape:export-ydpi="90.311836" />
<path <path
@ -207,7 +207,7 @@
id="path5190-5" id="path5190-5"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" 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-xdpi="90.311836"
inkscape:export-ydpi="90.311836" /> inkscape:export-ydpi="90.311836" />
<path <path
@ -216,7 +216,7 @@
id="path5190-2-0" id="path5190-2-0"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" 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-xdpi="90.311836"
inkscape:export-ydpi="90.311836" /> inkscape:export-ydpi="90.311836" />
<path <path
@ -225,7 +225,7 @@
id="path5190-5-7" id="path5190-5-7"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" 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-xdpi="90.311836"
inkscape:export-ydpi="90.311836" /> inkscape:export-ydpi="90.311836" />
<path <path
@ -234,7 +234,7 @@
id="path5190-5-7-5" id="path5190-5-7-5"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" 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-xdpi="90.311836"
inkscape:export-ydpi="90.311836" /> inkscape:export-ydpi="90.311836" />
</g> </g>

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

@ -62,7 +62,7 @@ install_data(
ui_config = configuration_data() ui_config = configuration_data()
ui_config.set('app-id', application_id) ui_config.set('app-id', application_id)
ui_config.set('version', meson.project_version() + version_suffix) 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_preconfigured_files = files(
'ui/About.ui.in' 'ui/About.ui.in'
) )

View File

@ -7,11 +7,11 @@
<property name="modal">True</property> <property name="modal">True</property>
<property name="window_position">center</property> <property name="window_position">center</property>
<property name="type_hint">dialog</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="version">@version@</property>
<property name="copyright" translatable="yes">Copyright (C) 2018, Wolf Vollprecht</property> <property name="copyright" translatable="yes">Copyright (C) 2018, Wolf Vollprecht</property>
<property name="website">@package_url@</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 &lt;w.vollprecht@gmail.com&gt; <property name="authors">Wolf Vollprecht &lt;w.vollprecht@gmail.com&gt;
Manuel Genovés &lt;manuel.genoves@gmail.com&gt; Manuel Genovés &lt;manuel.genoves@gmail.com&gt;
Gonçalo Silva &lt;goncalossilva@gmail.com&gt;</property> Gonçalo Silva &lt;goncalossilva@gmail.com&gt;</property>
@ -84,7 +84,7 @@ Manuel (Spanish, Catalan)</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="uri">https://liberapay.com/UberWriter/donate</property> <property name="uri">https://liberapay.com/Apostrophe/donate</property>
</object> </object>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>

View File

@ -214,7 +214,7 @@
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="action_name">app.about</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> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

View File

@ -4,8 +4,8 @@
<info> <info>
<!-- This shows in the title bar so does not show [icon] --> <!-- This shows in the title bar so does not show [icon] -->
<title type="text">UberWriter</title> <title type="text">Apostrophe</title>
<desc>The <app>UberWriter</app> help.</desc> <desc>The <app>Apostrophe</app> help.</desc>
<credit type="author"> <credit type="author">
<name>Wolf Vollprecht</name> <name>Wolf Vollprecht</name>
<email>w.vollprecht@gmail.com</email> <email>w.vollprecht@gmail.com</email>
@ -20,10 +20,10 @@
<!-- This shows on the page in title font --> <!-- This shows on the page in title font -->
<!-- the icon only shows when installed --> <!-- the icon only shows when installed -->
<media type="image" mime="image/png" src="figures/icon_down.png" width="16">[icon]</media> <media type="image" mime="image/png" src="figures/icon_down.png" width="16">[icon]</media>
<app>UberWriter</app> Help <app>Apostrophe</app> Help
</title> </title>
<p>Help Topics for UberWriter:</p> <p>Help Topics for Apostrophe:</p>
<!-- This is the visible index --> <!-- This is the visible index -->
<section id="contents" style="2column"> <section id="contents" style="2column">

View File

@ -13,7 +13,7 @@
</info> </info>
<title>Pandoc's Markdown</title> <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>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 pandocs help page: <a href="http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown">Link</a></p> <p>You can find a much more exhaustive documentation for all features pandoc offers on pandocs help page: <a href="http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown">Link</a></p>
<h3 id="headers">Headers</h3> <h3 id="headers">Headers</h3>

View File

@ -9,11 +9,11 @@
<email>w.vollprecht@gmail.com</email> <email>w.vollprecht@gmail.com</email>
<years>2012</years> <years>2012</years>
</credit> </credit>
<desc>UberWriters preview functionalities</desc> <desc>Apostrophes preview functionalities</desc>
</info> </info>
<title>UberWriter Preview</title> <title>Apostrophe Preview</title>
<p>There are 2 different ways to preview your Markdown files in UberWriter and <p>There are 2 different ways to preview your Markdown files in Apostrophe and
quickly check, what you have written. quickly check, what you have written.
</p> </p>
<section id="inline-preview"> <section id="inline-preview">
@ -28,7 +28,7 @@ quickly check, what you have written.
<section> <section>
<title>Complete Preview</title> <title>Complete Preview</title>
<p>If you want a complete Preview of your document, you just need to hit the <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> It will render the complete HTML Output of your Markdown file.</p>
</section> </section>
</page> </page>

View File

@ -5,18 +5,18 @@
<meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" /> <meta name="generator" content="pandoc" />
<meta name="author" content="John MacFarlane, Wolf Vollprecht" /> <meta name="author" content="John MacFarlane, Wolf Vollprecht" />
<title>UberWriter &amp; Pandoc User Guide</title> <title>Apostrophe &amp; Pandoc User Guide</title>
<link rel="stylesheet" href="file:////home/wolf/Programme/uberwriter/data/media/uberwriter.css" type="text/css" /> <link rel="stylesheet" href="file:////home/wolf/Programme/apostrophe/data/media/apostrophe.css" type="text/css" />
</head> </head>
<body> <body>
<div id="header"> <div id="header">
<h1 class="title">UberWriter &amp; Pandoc User Guide</h1> <h1 class="title">Apostrophe &amp; Pandoc User Guide</h1>
<h2 class="author">John MacFarlane, Wolf Vollprecht</h2> <h2 class="author">John MacFarlane, Wolf Vollprecht</h2>
<h3 class="date">01.08.2012</h3> <h3 class="date">01.08.2012</h3>
</div> </div>
<h2 id="uberwriters-goals">UberWriters goals</h2> <h2 id="apostrophes-goals">Apostrophes 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>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 youll find below. Pandoc is used to generate PDF, HTML or RTF files from markdown. Please note that Pandocs 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> <p>A short explanation of the core markdown features youll find below. Pandoc is used to generate PDF, HTML or RTF files from markdown. Please note that Pandocs 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> <p>But for a quick start, this will be sufficient.</p>
<h2 id="pandocs-markdown">Pandocs markdown</h2> <h2 id="pandocs-markdown">Pandocs markdown</h2>
<p>Pandoc understands an extended and slightly revised version of John Grubers [markdown] syntax. This document explains the syntax, noting differences from standard markdown.</p> <p>Pandoc understands an extended and slightly revised version of John Grubers [markdown] syntax. This document explains the syntax, noting differences from standard markdown.</p>
@ -403,6 +403,6 @@ isn&#39;t indented.</code></pre>
<p>Inline and regular footnotes may be mixed freely.</p> <p>Inline and regular footnotes may be mixed freely.</p>
<h2 id="authors-of-this-documentation">Authors of this documentation</h2> <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>© 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> </body>
</html> </html>

View File

@ -1,13 +1,13 @@
% UberWriter & Pandoc User Guide % Apostrophe & Pandoc User Guide
% John MacFarlane, Wolf Vollprecht % John MacFarlane, Wolf Vollprecht
% 01.08.2012 % 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]. 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. 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. © 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

View File

@ -4,7 +4,7 @@ asdja kdja dskj
$\frac{1}{2} + 1 12+2=14$ Testing more input whatt. $\frac{1}{2} + 1 12+2=14$ Testing more input whatt.
[](http://uberwriter.github.io/uberwriter) [](http://apostrophe.github.io/apostrophe)
[](http://google.com) [](http://google.com)
![Insert image title here](/home/wolf/Pictures/IMG_20130901_152337.jpg) ![Insert image title here](/home/wolf/Pictures/IMG_20130901_152337.jpg)

View File

@ -1,5 +1,5 @@
project( project(
'uberwriter', 'apostrophe',
version: '2.2.0', version: '2.2.0',
meson_version: '>= 0.50.0' meson_version: '>= 0.50.0'
) )
@ -50,7 +50,7 @@ pkgdatadir = datadir / meson.project_name()
podir = meson.source_root() / 'po' podir = meson.source_root() / 'po'
conf = configuration_data() 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('DATA_DIR', datadir)
conf.set('LOCALE_DIR', join_paths(get_option('prefix'), get_option('datadir'), 'locale')) conf.set('LOCALE_DIR', join_paths(get_option('prefix'), get_option('datadir'), 'locale'))
conf.set('PYTHON_DIR', pythondir) conf.set('PYTHON_DIR', pythondir)
@ -63,14 +63,14 @@ subdir('data')
subdir('po') subdir('po')
install_subdir( install_subdir(
'uberwriter', 'apostrophe',
install_dir: pythondir install_dir: pythondir
) )
message('Preparing init file') message('Preparing init file')
configure_file( configure_file(
input: 'uberwriter.in', input: 'apostrophe.in',
output: 'uberwriter', output: 'apostrophe',
configuration: conf, configuration: conf,
install_dir: bindir install_dir: bindir
) )

View File

@ -17,12 +17,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.1\n" "X-Generator: Poedit 2.2.1\n"
"X-Poedit-Basepath: ..\n" "X-Poedit-Basepath: ..\n"
"X-Poedit-SearchPath-0: uberwriter\n" "X-Poedit-SearchPath-0: apostrophe\n"
"X-Poedit-SearchPath-1: data\n" "X-Poedit-SearchPath-1: data\n"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:5 #: data/de.wolfvollprecht.UberWriter.appdata.xml:5
#: data/de.wolfvollprecht.UberWriter.desktop:3 #: data/de.wolfvollprecht.UberWriter.desktop:3
msgid "UberWriter" msgid "Apostrophe"
msgstr "" msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:6 #: data/de.wolfvollprecht.UberWriter.appdata.xml:6
@ -31,7 +31,7 @@ msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:8 #: data/de.wolfvollprecht.UberWriter.appdata.xml:8
msgid "" msgid ""
"Uberwriter is a GTK+ based distraction free Markdown editor, mainly " "Apostrophe is a GTK+ based distraction free Markdown editor, mainly "
"developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend " "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." "for markdown parsing and offers a very clean and sleek user interface."
msgstr "" msgstr ""
@ -58,7 +58,7 @@ msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:42 #: data/de.wolfvollprecht.UberWriter.appdata.xml:42
msgid "" msgid ""
"Initial themes support: now uberwriter adapts his colors to the current GTK " "Initial themes support: now apostrophe adapts his colors to the current GTK "
"theme" "theme"
msgstr "" msgstr ""
@ -98,7 +98,7 @@ msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:64 #: data/de.wolfvollprecht.UberWriter.appdata.xml:64
msgid "" msgid ""
"This release provides a fix to a bug that caused Uberwriter to not mark " "This release provides a fix to a bug that caused Apostrophe to not mark "
"properly **bold**, *cursive*, and ***bold and cursive*** words." "properly **bold**, *cursive*, and ***bold and cursive*** words."
msgstr "" msgstr ""
@ -179,7 +179,7 @@ msgid "Wolf V., Manuel G."
msgstr "" msgstr ""
#: data/de.wolfvollprecht.UberWriter.desktop:4 #: data/de.wolfvollprecht.UberWriter.desktop:4
msgid "UberWriter, a simple and distraction free Markdown Editor" msgid "Apostrophe, a simple and distraction free Markdown Editor"
msgstr "" msgstr ""
#: data/de.wolfvollprecht.UberWriter.desktop:7 #: data/de.wolfvollprecht.UberWriter.desktop:7
@ -239,7 +239,7 @@ msgid "Input format to use when previewing and exporting using Pandoc."
msgstr "" msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:67 #: data/de.wolfvollprecht.UberWriter.gschema.xml:67
msgid "Allow Uberwriter to poll cursor motion" msgid "Allow Apostrophe to poll cursor motion"
msgstr "" msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:68 #: data/de.wolfvollprecht.UberWriter.gschema.xml:68
@ -283,7 +283,7 @@ msgid "Copyright (C) 2018, Wolf Vollprecht"
msgstr "" msgstr ""
#: data/ui/About.ui:14 #: data/ui/About.ui:14
msgid "Uberwriter website" msgid "Apostrophe website"
msgstr "" msgstr ""
#: data/ui/About.ui:71 #: data/ui/About.ui:71
@ -422,9 +422,9 @@ msgstr ""
msgid "PDF" msgid "PDF"
msgstr "" msgstr ""
#: data/ui/Export.ui:618 uberwriter/plugins/bibtex/bibtex_item.glade:18 #: data/ui/Export.ui:618 apostrophe/plugins/bibtex/bibtex_item.glade:18
#: uberwriter/plugins/bibtex/bibtex_item.glade:32 #: apostrophe/plugins/bibtex/bibtex_item.glade:32
#: uberwriter/plugins/bibtex/bibtex_item.glade:45 #: apostrophe/plugins/bibtex/bibtex_item.glade:45
msgid "label" msgid "label"
msgstr "" msgstr ""
@ -440,7 +440,7 @@ msgstr ""
msgid "Hemingway Mode" msgid "Hemingway Mode"
msgstr "" msgstr ""
#: data/ui/Menu.ui:14 uberwriter/preview_renderer.py:51 #: data/ui/Menu.ui:14 apostrophe/preview_renderer.py:51
msgid "Preview" msgid "Preview"
msgstr "" msgstr ""
@ -473,10 +473,10 @@ msgid "Open Tutorial"
msgstr "" msgstr ""
#: data/ui/Menu.ui:51 #: data/ui/Menu.ui:51
msgid "_About UberWriter" msgid "_About Apostrophe"
msgstr "" msgstr ""
#: data/ui/Preview.ui:28 uberwriter/preview_renderer.py:166 #: data/ui/Preview.ui:28 apostrophe/preview_renderer.py:166
msgid "Full-Width" msgid "Full-Width"
msgstr "" msgstr ""
@ -678,174 +678,174 @@ msgstr ""
msgid "Replace all" msgid "Replace all"
msgstr "" msgstr ""
#: uberwriter/application.py:171 #: apostrophe/application.py:171
msgid "Show debug messages (-vv debugs uberwriter also)" msgid "Show debug messages (-vv debugs apostrophe also)"
msgstr "" msgstr ""
#: uberwriter/application.py:173 #: apostrophe/application.py:173
msgid "Use experimental features" msgid "Use experimental features"
msgstr "" msgstr ""
#: uberwriter/export_dialog.py:159 #: apostrophe/export_dialog.py:159
msgid "Untitled document.md" msgid "Untitled document.md"
msgstr "" msgstr ""
#: uberwriter/export_dialog.py:340 #: apostrophe/export_dialog.py:340
msgid "Please, install the TexLive extension from Gnome Software or running\n" msgid "Please, install the TexLive extension from Gnome Software or running\n"
msgstr "" msgstr ""
#: uberwriter/export_dialog.py:343 #: apostrophe/export_dialog.py:343
msgid "Please, install TexLive from your distribuiton repositories" msgid "Please, install TexLive from your distribuiton repositories"
msgstr "" msgstr ""
#: uberwriter/format_shortcuts.py:95 #: apostrophe/format_shortcuts.py:95
msgid "emphasized text" msgid "emphasized text"
msgstr "" msgstr ""
#: uberwriter/format_shortcuts.py:97 #: apostrophe/format_shortcuts.py:97
msgid "strong text" msgid "strong text"
msgstr "" msgstr ""
#: uberwriter/format_shortcuts.py:99 #: apostrophe/format_shortcuts.py:99
msgid "striked out text" msgid "striked out text"
msgstr "" msgstr ""
#: uberwriter/format_shortcuts.py:117 #: apostrophe/format_shortcuts.py:117
msgid "List item" msgid "List item"
msgstr "" msgstr ""
#: uberwriter/format_shortcuts.py:177 #: apostrophe/format_shortcuts.py:177
msgid "Heading" msgid "Heading"
msgstr "" msgstr ""
#: uberwriter/headerbars.py:101 #: apostrophe/headerbars.py:101
msgid "Exit Fullscreen" msgid "Exit Fullscreen"
msgstr "" msgstr ""
#: uberwriter/headerbars.py:137 #: apostrophe/headerbars.py:137
msgid "New" msgid "New"
msgstr "" msgstr ""
#: uberwriter/headerbars.py:139 #: apostrophe/headerbars.py:139
msgid "Save" msgid "Save"
msgstr "" msgstr ""
#: uberwriter/headerbars.py:147 #: apostrophe/headerbars.py:147
msgid "Open" msgid "Open"
msgstr "" msgstr ""
#: uberwriter/headerbars.py:162 #: apostrophe/headerbars.py:162
msgid "Open Recent" msgid "Open Recent"
msgstr "" msgstr ""
#: uberwriter/headerbars.py:169 #: apostrophe/headerbars.py:169
msgid "Search and Replace" msgid "Search and Replace"
msgstr "" msgstr ""
#: uberwriter/headerbars.py:170 #: apostrophe/headerbars.py:170
msgid "Menu" msgid "Menu"
msgstr "" msgstr ""
#: uberwriter/inline_preview.py:184 #: apostrophe/inline_preview.py:184
msgid "Website is not available" msgid "Website is not available"
msgstr "" msgstr ""
#: uberwriter/inline_preview.py:186 #: apostrophe/inline_preview.py:186
msgid "Website is available" msgid "Website is available"
msgstr "" msgstr ""
#: uberwriter/inline_preview.py:436 #: apostrophe/inline_preview.py:436
msgid "Open Link in Webbrowser" msgid "Open Link in Webbrowser"
msgstr "" msgstr ""
#: uberwriter/inline_preview.py:500 #: apostrophe/inline_preview.py:500
msgid "No matching footnote found" msgid "No matching footnote found"
msgstr "" msgstr ""
#: uberwriter/main_window.py:234 #: apostrophe/main_window.py:234
msgid "Save your File" msgid "Save your File"
msgstr "" msgstr ""
#: uberwriter/main_window.py:334 #: apostrophe/main_window.py:334
msgid "Markdown Files" msgid "Markdown Files"
msgstr "" msgstr ""
#: uberwriter/main_window.py:338 #: apostrophe/main_window.py:338
msgid "Plain Text Files" msgid "Plain Text Files"
msgstr "" msgstr ""
#: uberwriter/main_window.py:341 #: apostrophe/main_window.py:341
msgid "Open a .md file" msgid "Open a .md file"
msgstr "" msgstr ""
#: uberwriter/main_window.py:367 #: apostrophe/main_window.py:367
msgid "You have not saved your changes." msgid "You have not saved your changes."
msgstr "" msgstr ""
#: uberwriter/main_window.py:369 #: apostrophe/main_window.py:369
msgid "Close without saving" msgid "Close without saving"
msgstr "" msgstr ""
#: uberwriter/main_window.py:370 #: apostrophe/main_window.py:370
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: uberwriter/main_window.py:371 #: apostrophe/main_window.py:371
msgid "Save now" msgid "Save now"
msgstr "" msgstr ""
#: uberwriter/main_window.py:400 #: apostrophe/main_window.py:400
msgid "New File" msgid "New File"
msgstr "" msgstr ""
#: uberwriter/preview_renderer.py:168 #: apostrophe/preview_renderer.py:168
msgid "Half-Width" msgid "Half-Width"
msgstr "" msgstr ""
#: uberwriter/preview_renderer.py:170 #: apostrophe/preview_renderer.py:170
msgid "Half-Height" msgid "Half-Height"
msgstr "" msgstr ""
#: uberwriter/preview_renderer.py:172 #: apostrophe/preview_renderer.py:172
msgid "Windowed" msgid "Windowed"
msgstr "" msgstr ""
#: uberwriter/stats_handler.py:69 #: apostrophe/stats_handler.py:69
msgid "{:n} Characters" msgid "{:n} Characters"
msgstr "" msgstr ""
#: uberwriter/stats_handler.py:71 #: apostrophe/stats_handler.py:71
msgid "{:n} Words" msgid "{:n} Words"
msgstr "" msgstr ""
#: uberwriter/stats_handler.py:73 #: apostrophe/stats_handler.py:73
msgid "{:n} Sentences" msgid "{:n} Sentences"
msgstr "" msgstr ""
#: uberwriter/stats_handler.py:75 #: apostrophe/stats_handler.py:75
msgid "{:n} Paragraphs" msgid "{:n} Paragraphs"
msgstr "" msgstr ""
#: uberwriter/stats_handler.py:77 #: apostrophe/stats_handler.py:77
msgid "{:d}:{:02d}:{:02d} Read Time" msgid "{:d}:{:02d}:{:02d} Read Time"
msgstr "" msgstr ""
#: uberwriter/text_view_format_inserter.py:12 #: apostrophe/text_view_format_inserter.py:12
msgid "italic text" msgid "italic text"
msgstr "" msgstr ""
#: uberwriter/text_view_format_inserter.py:17 #: apostrophe/text_view_format_inserter.py:17
msgid "bold text" msgid "bold text"
msgstr "" msgstr ""
#: uberwriter/text_view_format_inserter.py:22 #: apostrophe/text_view_format_inserter.py:22
msgid "strikethrough text" msgid "strikethrough text"
msgstr "" msgstr ""
#: uberwriter/text_view_format_inserter.py:45 #: apostrophe/text_view_format_inserter.py:45
msgid "Item" msgid "Item"
msgstr "" msgstr ""
#: uberwriter/text_view_format_inserter.py:91 #: apostrophe/text_view_format_inserter.py:91
msgid "Header" msgid "Header"
msgstr "" msgstr ""

View File

@ -3,13 +3,13 @@ function generate_po()
>LINGUAS >LINGUAS
for po in */LC_MESSAGES/*.po for po in */LC_MESSAGES/*.po
do do
msgmerge -N $po uberwriter.pot > /tmp/$$language_new.po msgmerge -N $po apostrophe.pot > /tmp/$$language_new.po
mv /tmp/$$language_new.po $po mv /tmp/$$language_new.po $po
language=${po%.po} language=${po%.po}
echo $language >>LINGUAS echo $language >>LINGUAS
done done
find . -name \*.po -execdir sh -c 'msgfmt "$0" -o uberwriter.mo' '{}' \; find . -name \*.po -execdir sh -c 'msgfmt "$0" -o apostrophe.mo' '{}' \;
} }

View File

@ -683,7 +683,7 @@
font-size="21.3333px" font-size="21.3333px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:21.33329964px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-weight:bold;font-size:21.33329964px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
id="tspan8217">UberWriter helps your textediting workflow</tspan></tspan><tspan id="tspan8217">Apostrophe helps your textediting workflow</tspan></tspan><tspan
x="178.98633" x="178.98633"
y="161.24852" y="161.24852"
style="font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
@ -870,7 +870,7 @@
font-size="16px" font-size="16px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#2e3436" style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#2e3436"
id="tspan8305">UberWriter.md - UberWriter</tspan></text> id="tspan8305">Apostrophe.md - Apostrophe</tspan></text>
<g <g
id="g2137" id="g2137"
transform="translate(0.58517456)"> transform="translate(0.58517456)">
@ -1705,7 +1705,7 @@
y="371.00919" y="371.00919"
font-size="18.6667px" font-size="18.6667px"
style="font-size:18.66670036px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-size:18.66670036px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
id="tspan8398">feature of UberWriter it's his <tspan id="tspan8398">feature of Apostrophe it's his <tspan
font-style="italic" font-style="italic"
id="tspan8396" id="tspan8396"
style="font-style:italic">*Inline Preview*</tspan></tspan><tspan style="font-style:italic">*Inline Preview*</tspan></tspan><tspan
@ -1729,6 +1729,6 @@
font-size="16px" font-size="16px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#ededeb" style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#ededeb"
id="tspan8406">Dark Mode.md - UberWriter</tspan></text> id="tspan8406">Dark Mode.md - Apostrophe</tspan></text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -17,7 +17,7 @@
id="svg8720" id="svg8720"
sodipodi:docname="mockups_text.svg" sodipodi:docname="mockups_text.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14" inkscape:version="0.92.4 5da689c313, 2019-01-14"
inkscape:export-filename="/home/manu/Documentos/Programacion/Uberwriter/uberwriter/screenshots/mockups.svg.png" inkscape:export-filename="/home/manu/Documentos/Programacion/Apostrophe/apostrophe/screenshots/mockups.svg.png"
inkscape:export-xdpi="90" inkscape:export-xdpi="90"
inkscape:export-ydpi="90"> inkscape:export-ydpi="90">
<sodipodi:namedview <sodipodi:namedview
@ -718,7 +718,7 @@
font-size="21.3333px" font-size="21.3333px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:21.33329964px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-weight:bold;font-size:21.33329964px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
id="tspan8217">UberWriter helps your textediting workflow</tspan></tspan><tspan id="tspan8217">Apostrophe helps your textediting workflow</tspan></tspan><tspan
x="178.98633" x="178.98633"
y="161.24852" y="161.24852"
style="font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
@ -905,7 +905,7 @@
font-size="16px" font-size="16px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#2e3436" style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#2e3436"
id="tspan8305">UberWriter.md - UberWriter</tspan></text> id="tspan8305">Apostrophe.md - Apostrophe</tspan></text>
<g <g
transform="translate(750.32102,2.8991699e-4)" transform="translate(750.32102,2.8991699e-4)"
style="display:inline" style="display:inline"
@ -1609,7 +1609,7 @@
font-size="16px" font-size="16px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#2e3436" style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#2e3436"
id="tspan8305-7">UberWriter.md - UberWriter</tspan></text> id="tspan8305-7">Apostrophe.md - Apostrophe</tspan></text>
<text <text
x="397.89084" x="397.89084"
y="38.447578" y="38.447578"
@ -1627,7 +1627,7 @@
font-size="16px" font-size="16px"
font-weight="bold" font-weight="bold"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.33333302px;font-family:Cantarell;-inkscape-font-specification:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#77767b" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.33333302px;font-family:Cantarell;-inkscape-font-specification:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#77767b"
id="tspan8305-7-4">~/Documents/examples/UberWriter.md</tspan></text> id="tspan8305-7-4">~/Documents/examples/Apostrophe.md</tspan></text>
<text <text
xml:space="preserve" xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none" style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
@ -2912,7 +2912,7 @@
y="1011.7719" y="1011.7719"
x="174.00011" x="174.00011"
sodipodi:role="line" sodipodi:role="line"
style="line-height:300%">About UberWriter</tspan><tspan style="line-height:300%">About Apostrophe</tspan><tspan
id="tspan15648-6" id="tspan15648-6"
y="1049.5719" y="1049.5719"
x="174.00011" x="174.00011"
@ -3355,7 +3355,7 @@
y="371.00919" y="371.00919"
font-size="18.6667px" font-size="18.6667px"
style="font-size:18.66670036px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-size:18.66670036px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
id="tspan8398">feature of UberWriter it's his <tspan id="tspan8398">feature of Apostrophe it's his <tspan
font-style="italic" font-style="italic"
id="tspan8396" id="tspan8396"
style="font-style:italic">*Inline Preview*</tspan></tspan><tspan style="font-style:italic">*Inline Preview*</tspan></tspan><tspan
@ -3379,6 +3379,6 @@
font-size="16px" font-size="16px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#ededeb" style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#ededeb"
id="tspan8406">Dark Mode.md - UberWriter</tspan></text> id="tspan8406">Dark Mode.md - Apostrophe</tspan></text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 177 KiB

View File

@ -17,7 +17,7 @@
id="svg8720" id="svg8720"
sodipodi:docname="mockups_text2.svg" sodipodi:docname="mockups_text2.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14" inkscape:version="0.92.4 5da689c313, 2019-01-14"
inkscape:export-filename="/home/manu/Documentos/Programacion/Uberwriter/uberwriter/screenshots/mockups.svg.png" inkscape:export-filename="/home/manu/Documentos/Programacion/Apostrophe/apostrophe/screenshots/mockups.svg.png"
inkscape:export-xdpi="90" inkscape:export-xdpi="90"
inkscape:export-ydpi="90"> inkscape:export-ydpi="90">
<sodipodi:namedview <sodipodi:namedview
@ -705,7 +705,7 @@
font-size="21.3333px" font-size="21.3333px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:21.33329964px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-weight:bold;font-size:21.33329964px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
id="tspan8217">UberWriter helps your textediting workflow</tspan></tspan><tspan id="tspan8217">Apostrophe helps your textediting workflow</tspan></tspan><tspan
x="178.98633" x="178.98633"
y="161.24852" y="161.24852"
style="font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
@ -892,7 +892,7 @@
font-size="16px" font-size="16px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#2e3436" style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#2e3436"
id="tspan8305">UberWriter.md - UberWriter</tspan></text> id="tspan8305">Apostrophe.md - Apostrophe</tspan></text>
<g <g
transform="translate(750.32102,2.8991699e-4)" transform="translate(750.32102,2.8991699e-4)"
style="display:inline" style="display:inline"
@ -1644,7 +1644,7 @@
y="371.00919" y="371.00919"
font-size="18.6667px" font-size="18.6667px"
style="font-size:18.66670036px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal" style="font-size:18.66670036px;font-family:'Fira Mono';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal"
id="tspan8398">feature of UberWriter it's his <tspan id="tspan8398">feature of Apostrophe it's his <tspan
font-style="italic" font-style="italic"
id="tspan8396" id="tspan8396"
style="font-style:italic">*Inline Preview*</tspan></tspan><tspan style="font-style:italic">*Inline Preview*</tspan></tspan><tspan
@ -1668,6 +1668,6 @@
font-size="16px" font-size="16px"
font-weight="bold" font-weight="bold"
style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#ededeb" style="font-weight:bold;font-size:16px;font-family:Cantarell;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;fill:#ededeb"
id="tspan8406">Dark Mode.md - UberWriter</tspan></text> id="tspan8406">Dark Mode.md - Apostrophe</tspan></text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -4,7 +4,7 @@
# #
# Usage: python color_palette_generator.py #fg_hex #bg_hex light|dark # Usage: python color_palette_generator.py #fg_hex #bg_hex light|dark
# #
# The light variant is based on GitHub's style, while the dark variant is based on pre-existing UberWriter styles. # The light variant is based on GitHub's style, while the dark variant is based on pre-existing Apostrophe styles.
# #
# Accessibility is not accounted for, so make sure to verify contrast: https://webaim.org/resources/contrastchecker/ # Accessibility is not accounted for, so make sure to verify contrast: https://webaim.org/resources/contrastchecker/

View File

@ -24,5 +24,5 @@ function generate_resource()
echo '</gresources>' echo '</gresources>'
} }
generate_resource > ../data/uberwriter.gresource.xml generate_resource > ../data/apostrophe.gresource.xml

View File

@ -20,18 +20,18 @@ import os.path
import unittest import unittest
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), ".."))) sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), "..")))
from uberwriter import AboutUberwriterDialog from apostrophe import AboutApostropheDialog
class TestExample(unittest.TestCase): class TestExample(unittest.TestCase):
def setUp(self): def setUp(self):
self.AboutUberwriterDialog_members = [ self.AboutApostropheDialog_members = [
'AboutDialog', 'AboutUberwriterDialog', 'gettext', 'logger', 'logging'] 'AboutDialog', 'AboutApostropheDialog', 'gettext', 'logger', 'logging']
def test_AboutUberwriterDialog_members(self): def test_AboutApostropheDialog_members(self):
all_members = dir(AboutUberwriterDialog) all_members = dir(AboutApostropheDialog)
public_members = [x for x in all_members if not x.startswith('_')] public_members = [x for x in all_members if not x.startswith('_')]
public_members.sort() public_members.sort()
self.assertEqual(self.AboutUberwriterDialog_members, public_members) self.assertEqual(self.AboutApostropheDialog_members, public_members)
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()

View File

@ -24,7 +24,7 @@ class TestPylint(unittest.TestCase):
your code may well work even with pylint errors your code may well work even with pylint errors
but have some unusual code''' but have some unusual code'''
return_code = subprocess.call(["pylint", '-E', 'uberwriter']) return_code = subprocess.call(["pylint", '-E', 'apostrophe'])
# not needed because nosetests displays pylint console output # not needed because nosetests displays pylint console output
#self.assertEqual(return_code, 0) #self.assertEqual(return_code, 0)
@ -34,7 +34,7 @@ class TestPylint(unittest.TestCase):
#~ #~
#~ you will have to make judgement calls about your code standards #~ you will have to make judgement calls about your code standards
#~ that differ from the norm''' #~ that differ from the norm'''
#~ return_code = subprocess.call(["pylint", 'uberwriter']) #~ return_code = subprocess.call(["pylint", 'apostrophe'])
if __name__ == '__main__': if __name__ == '__main__':
'you will get better results with nosetests' 'you will get better results with nosetests'

View File

@ -18,7 +18,7 @@
import unittest import unittest
import re import re
from uberwriter import markup_regex from apostrophe import markup_regex
class TestRegex(unittest.TestCase): class TestRegex(unittest.TestCase):

View File

@ -1,99 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.19.0 -->
<interface>
<requires lib="gtk+" version="3.16"/>
<object class="GtkWindow" id="bibtex_window">
<property name="can_focus">False</property>
<property name="modal">True</property>
<property name="window_position">center-on-parent</property>
<property name="gravity">center</property>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkSearchEntry" id="searchentry1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="primary_icon_name">edit-find-symbolic</property>
<property name="primary_icon_activatable">False</property>
<property name="primary_icon_sensitive">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkViewport" id="viewport1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkListBox" id="listbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="activate_on_single_click">False</property>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
<template class="item_template" parent="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="title_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">This is the title</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="author_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">label</property>
<property name="lines">1</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="other_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</template>
</interface>

View File

@ -1,48 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.19.0 -->
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="BibTexItem" parent="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="title_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="author_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="vexpand">False</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="other_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</template>
</interface>

View File

@ -1,109 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkMenu" id="menu1">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<object class="GtkTextBuffer" id="textbuffer1">
<signal name="changed" handler="recompile_image" swapped="no"/>
</object>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<signal name="delete-event" handler="onDeleteWindow" swapped="no"/>
<child>
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="stock">gtk-justify-center</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">3</property>
</packing>
</child>
<child>
<object class="GtkTextView" id="textview1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="buffer">textbuffer1</property>
<signal name="key-press-event" handler="textview_after_key_pressed" after="yes" swapped="no"/>
<signal name="key-press-event" handler="textview_key_pressed" swapped="no"/>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
<property name="width">3</property>
</packing>
</child>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkSearchEntry" id="searchentry1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="margin_bottom">5</property>
<property name="primary_icon_name">edit-find-symbolic</property>
<property name="primary_icon_activatable">False</property>
<property name="primary_icon_sensitive">False</property>
<signal name="search-changed" handler="searchentry_changed" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkViewport" id="viewport1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkListBox" id="listbox">
<property name="name">listbox</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="vexpand">True</property>
<property name="activate_on_single_click">False</property>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">3</property>
</packing>
</child>
</object>
</child>
</object>
</interface>