Update all references of the app's name
from uberwriter to apostrophe, but the appIdsmaster
8
PKGBUILD
|
@ -1,17 +1,17 @@
|
|||
pkgname=uberwriter
|
||||
_pkgname=uberwriter
|
||||
pkgname=apostrophe
|
||||
_pkgname=apostrophe
|
||||
pkgver=2.1.3
|
||||
pkgrel=1
|
||||
pkgdesc='A distraction free Markdown editor for GNU/Linux made with GTK+'
|
||||
arch=('any')
|
||||
url='http://uberwriter.github.io/uberwriter/'
|
||||
url='http://apostrophe.github.io/apostrophe/'
|
||||
license=('GPL3')
|
||||
depends=('gtk3' 'pandoc' 'gspell')
|
||||
makedepends=('python-setuptools')
|
||||
optdepends=('texlive-core' 'otf-fira-mono: Recommended font')
|
||||
provides=("$_pkgname")
|
||||
conflicts=("$_pkgname")
|
||||
source=('git+https://github.com/UberWriter/uberwriter.git#branch=refactoring')
|
||||
source=('git+https://github.com/Apostrophe/apostrophe.git#branch=refactoring')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
|
|
14
README.md
|
@ -1,16 +1,16 @@
|
|||
[![Please do not theme this app](https://stopthemingmy.app/badge.svg)](https://stopthemingmy.app)
|
||||
|
||||
# Uberwriter
|
||||
# Apostrophe
|
||||
|
||||
![](screenshots/main.png)
|
||||
|
||||
## About
|
||||
|
||||
Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.
|
||||
Apostrophe is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.
|
||||
|
||||
## Install
|
||||
|
||||
You can get UberWriter on Flathub!
|
||||
You can get Apostrophe on Flathub!
|
||||
[Get it now](https://flathub.org/apps/details/de.wolfvollprecht.UberWriter)
|
||||
|
||||
## Contributions and localization
|
||||
|
@ -21,13 +21,13 @@ Any help is appreciated!
|
|||
## Building from Git
|
||||
|
||||
```bash
|
||||
$ git clone https://github.com/UberWriter/uberwriter.git
|
||||
$ cd uberwriter
|
||||
$ git clone https://github.com/Apostrophe/apostrophe.git
|
||||
$ cd apostrophe
|
||||
$ meson builddir --prefix=/usr
|
||||
# sudo ninja -C builddir install
|
||||
```
|
||||
|
||||
To use uberwriter, please make sure you have some dependencies installed:
|
||||
To use apostrophe, please make sure you have some dependencies installed:
|
||||
|
||||
- Pandoc, the program used to convert Markdown to basically anything else (the package name should be pandoc in most distributions)
|
||||
- Of course, gtk3 etc. needs to be installed as well since this is a gtk application
|
||||
|
@ -37,7 +37,7 @@ To use uberwriter, please make sure you have some dependencies installed:
|
|||
|
||||
### Running it without installing it
|
||||
|
||||
You can run UberWriter with `./uberwriter.in` without installing it in the system,
|
||||
You can run Apostrophe with `./apostrophe.in` without installing it in the system,
|
||||
but you'll need to install and compile the schemas before:
|
||||
|
||||
```bash
|
||||
|
|
|
@ -31,33 +31,33 @@ from gi.repository import Gio
|
|||
PROJECT_ROOT_DIRECTORY = os.path.abspath(
|
||||
os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0]))))
|
||||
|
||||
# Set the path if needed. This allows uberwriter to run without installing it :)
|
||||
# Set the path if needed. This allows apostrophe to run without installing it :)
|
||||
python_path = []
|
||||
|
||||
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'uberwriter'))
|
||||
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'apostrophe'))
|
||||
and PROJECT_ROOT_DIRECTORY not in sys.path):
|
||||
python_path.insert(0, PROJECT_ROOT_DIRECTORY)
|
||||
sys.path.insert(0, PROJECT_ROOT_DIRECTORY)
|
||||
if python_path:
|
||||
os.putenv('PYTHONPATH', "%s:%s" % (os.getenv('PYTHONPATH', ''), ':'.join(python_path))) # for subprocesses
|
||||
|
||||
import uberwriter
|
||||
import apostrophe
|
||||
|
||||
|
||||
localedir = '@LOCALE_DIR@'
|
||||
pkgdatadir = '@DATA_DIR@'
|
||||
|
||||
|
||||
#locale_dir = os.path.abspath(os.path.join(os.path.dirname(uberwriter.__file__),'../po/'))
|
||||
#locale_dir = os.path.abspath(os.path.join(os.path.dirname(apostrophe.__file__),'../po/'))
|
||||
|
||||
# L10n
|
||||
locale.textdomain('uberwriter')
|
||||
locale.bindtextdomain('uberwriter', localedir)
|
||||
gettext.textdomain('uberwriter')
|
||||
gettext.bindtextdomain('uberwriter', localedir)
|
||||
locale.textdomain('apostrophe')
|
||||
locale.bindtextdomain('apostrophe', localedir)
|
||||
gettext.textdomain('apostrophe')
|
||||
gettext.bindtextdomain('apostrophe', localedir)
|
||||
|
||||
resource = Gio.resource_load(os.path.join(pkgdatadir, 'uberwriter/uberwriter.gresource'))
|
||||
resource = Gio.resource_load(os.path.join(pkgdatadir, 'apostrophe/apostrophe.gresource'))
|
||||
Gio.Resource._register(resource)
|
||||
|
||||
|
||||
uberwriter.main()
|
||||
apostrophe.main()
|
|
@ -19,10 +19,10 @@ import gi
|
|||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
|
||||
from uberwriter import main_window
|
||||
from uberwriter import application
|
||||
from uberwriter.helpers import set_up_logging
|
||||
from uberwriter.config import get_version
|
||||
from apostrophe import main_window
|
||||
from apostrophe import application
|
||||
from apostrophe.helpers import set_up_logging
|
||||
from apostrophe.config import get_version
|
||||
|
||||
|
||||
def main():
|
|
@ -15,16 +15,16 @@ from gettext import gettext as _
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter.main_window import MainWindow
|
||||
from apostrophe.main_window import MainWindow
|
||||
|
||||
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
|
||||
from gi.repository import GLib, Gio, Gtk, GdkPixbuf
|
||||
|
||||
from uberwriter import main_window
|
||||
from uberwriter.settings import Settings
|
||||
from uberwriter.helpers import set_up_logging
|
||||
from uberwriter.preferences_dialog import PreferencesDialog
|
||||
from uberwriter.helpers import get_media_path
|
||||
from apostrophe import main_window
|
||||
from apostrophe.settings import Settings
|
||||
from apostrophe.helpers import set_up_logging
|
||||
from apostrophe.preferences_dialog import PreferencesDialog
|
||||
from apostrophe.helpers import get_media_path
|
||||
|
||||
|
||||
class Application(Gtk.Application):
|
||||
|
@ -161,7 +161,7 @@ class Application(Gtk.Application):
|
|||
if not self.window:
|
||||
# Windows are associated with the application
|
||||
# when the last one is closed the application shuts down
|
||||
# self.window = Window(application=self, title="UberWriter")
|
||||
# self.window = Window(application=self, title="Apostrophe")
|
||||
self.window = MainWindow(self)
|
||||
if self.args:
|
||||
self.window.load_file(self.args[0])
|
||||
|
@ -173,7 +173,7 @@ class Application(Gtk.Application):
|
|||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
"-v", "--verbose", action="count", dest="verbose",
|
||||
help=_("Show debug messages (-vv debugs uberwriter also)"))
|
||||
help=_("Show debug messages (-vv debugs apostrophe also)"))
|
||||
parser.add_argument(
|
||||
"-e", "--experimental-features", help=_("Use experimental features"),
|
||||
action='store_true')
|
||||
|
@ -263,7 +263,7 @@ class Application(Gtk.Application):
|
|||
builder.get_object("shortcuts").show()
|
||||
|
||||
def on_open_tutorial(self, _action, _value):
|
||||
self.window.open_uberwriter_markdown()
|
||||
self.window.open_apostrophe_markdown()
|
||||
|
||||
def on_about(self, _action, _param):
|
||||
builder = Gtk.Builder()
|
|
@ -1,5 +1,5 @@
|
|||
# UberwriterAutoCorrect
|
||||
# The Uberwriter Auto Correct is a auto correction
|
||||
# ApostropheAutoCorrect
|
||||
# The Apostrophe Auto Correct is a auto correction
|
||||
# mechanism to prevent stupid typos
|
||||
# CURRENTLY DISABLED
|
||||
|
||||
|
@ -13,16 +13,16 @@ from gi.repository import Gtk, Gdk
|
|||
|
||||
import enchant
|
||||
|
||||
from uberwriter import pressagio
|
||||
# import uberwriter.pressagio.predictor
|
||||
# import uberwriter.pressagio.tokenizer
|
||||
# import uberwriter.pressagio.dbconnector
|
||||
# import uberwriter.pressagio.context_tracker
|
||||
# import uberwriter.pressagio.callback
|
||||
from apostrophe import pressagio
|
||||
# import apostrophe.pressagio.predictor
|
||||
# import apostrophe.pressagio.tokenizer
|
||||
# import apostrophe.pressagio.dbconnector
|
||||
# import apostrophe.pressagio.context_tracker
|
||||
# import apostrophe.pressagio.callback
|
||||
|
||||
# from Levenshtein import distance
|
||||
|
||||
from uberwriter.helpers import get_media_path
|
||||
from apostrophe.helpers import get_media_path
|
||||
|
||||
# Define and create PresageCallback object
|
||||
class PressagioCallback(pressagio.callback.Callback):
|
|
@ -28,7 +28,7 @@ import gi
|
|||
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
|
||||
from gi.repository import GObject, Gtk # pylint: disable=E0611
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
# this module is big so uses some conventional prefixes and postfixes
|
||||
# *s list, except self.widgets is a dictionary
|
|
@ -24,7 +24,7 @@ __all__ = [
|
|||
|
||||
# Where your project will look for your data (for instance, images and ui
|
||||
# files). By default, this is ../data, relative your trunk layout
|
||||
__uberwriter_data_directory__ = '../data/'
|
||||
__apostrophe_data_directory__ = '../data/'
|
||||
__license__ = 'GPL-3'
|
||||
__version__ = 'VERSION'
|
||||
|
||||
|
@ -45,25 +45,25 @@ def get_data_file(*path_segments):
|
|||
|
||||
|
||||
def get_data_path():
|
||||
"""Retrieve uberwriter data path
|
||||
"""Retrieve apostrophe data path
|
||||
|
||||
This path is by default <uberwriter_path>/../data/ in trunk
|
||||
and /opt/uberwriter/data in an installed version but this path
|
||||
This path is by default <apostrophe_path>/../data/ in trunk
|
||||
and /opt/apostrophe/data in an installed version but this path
|
||||
is specified at installation time.
|
||||
"""
|
||||
|
||||
# Get pathname absolute or relative.
|
||||
if os.path.isfile("/.flatpak-info"):
|
||||
return '/app/share/uberwriter/'
|
||||
return '/app/share/apostrophe/'
|
||||
|
||||
path = os.path.join(
|
||||
os.path.dirname(__file__), __uberwriter_data_directory__)
|
||||
os.path.dirname(__file__), __apostrophe_data_directory__)
|
||||
|
||||
# We try first if the data exists in the local folder and then
|
||||
# in the system installation path
|
||||
abs_data_path = os.path.abspath(path)
|
||||
if not os.path.exists(abs_data_path):
|
||||
abs_data_path = '/usr/share/uberwriter/'
|
||||
abs_data_path = '/usr/share/apostrophe/'
|
||||
elif not os.path.exists(abs_data_path):
|
||||
raise ProjectPathNotFound
|
||||
|
|
@ -26,10 +26,10 @@ import gi
|
|||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, GLib
|
||||
|
||||
from uberwriter import helpers
|
||||
from uberwriter.theme import Theme
|
||||
from apostrophe import helpers
|
||||
from apostrophe.theme import Theme
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
class Export:
|
|
@ -4,7 +4,7 @@ gi.require_version('Gtk', '3.0')
|
|||
from gi.repository import Gtk
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger('uberwriter')
|
||||
logger = logging.getLogger('apostrophe')
|
||||
|
||||
class FixTable():
|
||||
|
|
@ -22,8 +22,8 @@ from gettext import gettext as _
|
|||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, GLib
|
||||
from uberwriter.helpers import get_descendant
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.helpers import get_descendant
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
|
||||
class BaseHeaderbar:
|
|
@ -26,13 +26,13 @@ import gi
|
|||
import pypandoc
|
||||
from gi.overrides.Pango import Pango
|
||||
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk # pylint: disable=E0611
|
||||
|
||||
from uberwriter.config import get_data_file
|
||||
from uberwriter.builder import Builder
|
||||
from apostrophe.config import get_data_file
|
||||
from apostrophe.builder import Builder
|
||||
|
||||
|
||||
|
||||
|
@ -108,12 +108,12 @@ def set_up_logging(opts):
|
|||
formatter = logging.Formatter(
|
||||
"%(levelname)s:%(name)s: %(funcName)s() '%(message)s'")
|
||||
|
||||
logger = logging.getLogger('uberwriter')
|
||||
logger = logging.getLogger('apostrophe')
|
||||
logger_sh = logging.StreamHandler()
|
||||
logger_sh.setFormatter(formatter)
|
||||
logger.addHandler(logger_sh)
|
||||
|
||||
lib_logger = logging.getLogger('uberwriter')
|
||||
lib_logger = logging.getLogger('apostrophe')
|
||||
lib_logger_sh = logging.StreamHandler()
|
||||
lib_logger_sh.setFormatter(formatter)
|
||||
lib_logger.addHandler(lib_logger_sh)
|
||||
|
@ -133,7 +133,7 @@ def get_help_uri(page=None):
|
|||
|
||||
if not os.path.exists(help_uri):
|
||||
# installed so use gnome help tree - user's language
|
||||
help_uri = 'uberwriter'
|
||||
help_uri = 'apostrophe'
|
||||
|
||||
# unspecified page is the index.page
|
||||
if page is not None:
|
|
@ -26,8 +26,8 @@ gi.require_version("Gtk", "3.0")
|
|||
gi.require_version("WebKit2", "4.0")
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib
|
||||
from gi.repository import WebKit2
|
||||
from uberwriter import latex_to_PNG, markup_regex
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe import latex_to_PNG, markup_regex
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
|
||||
class DictAccessor:
|
|
@ -23,22 +23,22 @@ from gettext import gettext as _
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter.export_dialog import Export
|
||||
from uberwriter.preview_handler import PreviewHandler
|
||||
from uberwriter.stats_handler import StatsHandler
|
||||
from uberwriter.styled_window import StyledWindow
|
||||
from uberwriter.text_view import TextView
|
||||
from apostrophe.export_dialog import Export
|
||||
from apostrophe.preview_handler import PreviewHandler
|
||||
from apostrophe.stats_handler import StatsHandler
|
||||
from apostrophe.styled_window import StyledWindow
|
||||
from apostrophe.text_view import TextView
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, Gdk, GObject, GLib, Gio
|
||||
|
||||
import cairo
|
||||
|
||||
from uberwriter import helpers
|
||||
from apostrophe import helpers
|
||||
|
||||
from uberwriter.sidebar import Sidebar
|
||||
from uberwriter.search_and_replace import SearchAndReplace
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.sidebar import Sidebar
|
||||
from apostrophe.search_and_replace import SearchAndReplace
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
from . import headerbars
|
||||
|
||||
|
@ -46,9 +46,9 @@ from . import headerbars
|
|||
# TODO move them somewhere for better
|
||||
# accesibility from other files
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
CONFIG_PATH = os.path.expanduser("~/.config/uberwriter/")
|
||||
CONFIG_PATH = os.path.expanduser("~/.config/apostrophe/")
|
||||
|
||||
|
||||
class MainWindow(StyledWindow):
|
||||
|
@ -65,9 +65,9 @@ class MainWindow(StyledWindow):
|
|||
def __init__(self, app):
|
||||
"""Set up the main window"""
|
||||
|
||||
super().__init__(application=Gio.Application.get_default(), title="Uberwriter")
|
||||
super().__init__(application=Gio.Application.get_default(), title="Apostrophe")
|
||||
|
||||
self.get_style_context().add_class('uberwriter-window')
|
||||
self.get_style_context().add_class('apostrophe-window')
|
||||
|
||||
# Set UI
|
||||
builder = Gtk.Builder()
|
||||
|
@ -109,7 +109,7 @@ class MainWindow(StyledWindow):
|
|||
root.reorder_overlay(self.dm_headerbar.hb_revealer, 0)
|
||||
root.set_overlay_pass_through(self.dm_headerbar.hb_revealer, True)
|
||||
|
||||
self.title_end = " – UberWriter"
|
||||
self.title_end = " – Apostrophe"
|
||||
self.set_headerbar_title("New File" + self.title_end)
|
||||
|
||||
self.accel_group = Gtk.AccelGroup()
|
||||
|
@ -531,13 +531,13 @@ class MainWindow(StyledWindow):
|
|||
else:
|
||||
LOGGER.warning("No File arg")
|
||||
|
||||
def open_uberwriter_markdown(self, _widget=None, _data=None):
|
||||
def open_apostrophe_markdown(self, _widget=None, _data=None):
|
||||
"""open a markdown mini tutorial
|
||||
"""
|
||||
if self.check_change() == Gtk.ResponseType.CANCEL:
|
||||
return
|
||||
|
||||
self.load_file(helpers.get_media_file('uberwriter_markdown.md'))
|
||||
self.load_file(helpers.get_media_file('apostrophe_markdown.md'))
|
||||
|
||||
def open_search(self, replace=False):
|
||||
"""toggle the search box
|
|
@ -6,7 +6,7 @@ from . import fuzzywuzzy
|
|||
from .gi_composites import GtkTemplate
|
||||
|
||||
|
||||
@GtkTemplate(ui='/home/wolfv/Programs/uberwriter/uberwriter/plugins/bibtex/bibtex_item.glade')
|
||||
@GtkTemplate(ui='/home/wolfv/Programs/apostrophe/apostrophe/plugins/bibtex/bibtex_item.glade')
|
||||
class BibTexItem(Gtk.Box):
|
||||
|
||||
__gtype_name__ = 'BibTexItem'
|
||||
|
@ -68,7 +68,7 @@ class BibTex(object):
|
|||
self.bib_db = bibtexparser.load(f)
|
||||
|
||||
builder = Gtk.Builder()
|
||||
builder.add_from_file('/home/wolfv/Programs/uberwriter/uberwriter/plugins/bibtex/bibtex.glade')
|
||||
builder.add_from_file('/home/wolfv/Programs/apostrophe/apostrophe/plugins/bibtex/bibtex.glade')
|
||||
self.window = builder.get_object('bibtex_window')
|
||||
self.window.set_transient_for(self.app)
|
||||
self.window.set_modal(True)
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
|
@ -25,7 +25,7 @@ import gi
|
|||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, Pango, GLib # pylint: disable=E0611
|
||||
import logging
|
||||
logger = logging.getLogger('uberwriter')
|
||||
logger = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
|
|
@ -4,8 +4,8 @@ import os
|
|||
|
||||
from gi.repository import GLib
|
||||
|
||||
from uberwriter import helpers
|
||||
from uberwriter.theme import Theme
|
||||
from apostrophe import helpers
|
||||
from apostrophe.theme import Theme
|
||||
|
||||
|
||||
class PreviewConverter:
|
|
@ -4,14 +4,14 @@ from enum import auto, IntEnum
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter.preview_renderer import PreviewRenderer
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.preview_renderer import PreviewRenderer
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
gi.require_version('WebKit2', '4.0')
|
||||
from gi.repository import WebKit2, GLib, Gtk
|
||||
|
||||
from uberwriter.preview_converter import PreviewConverter
|
||||
from uberwriter.preview_web_view import PreviewWebView
|
||||
from apostrophe.preview_converter import PreviewConverter
|
||||
from apostrophe.preview_web_view import PreviewWebView
|
||||
|
||||
|
||||
class Step(IntEnum):
|
|
@ -2,9 +2,9 @@ from gettext import gettext as _
|
|||
|
||||
from gi.repository import Gtk, Gio, GLib
|
||||
|
||||
from uberwriter import headerbars
|
||||
from uberwriter.settings import Settings
|
||||
from uberwriter.styled_window import StyledWindow
|
||||
from apostrophe import headerbars
|
||||
from apostrophe.settings import Settings
|
||||
from apostrophe.styled_window import StyledWindow
|
||||
|
||||
|
||||
class PreviewRenderer:
|
|
@ -19,20 +19,20 @@ import re
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter.helpers import user_action
|
||||
from apostrophe.helpers import user_action
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gdk
|
||||
|
||||
# from plugins import plugins
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
class SearchAndReplace:
|
||||
"""
|
||||
Adds (regex) search and replace functionality to
|
||||
uberwriter
|
||||
apostrophe
|
||||
"""
|
||||
|
||||
def __init__(self, parentwindow, textview, builder):
|
|
@ -18,7 +18,7 @@ from gi.repository import Gio
|
|||
class Settings(Gio.Settings):
|
||||
|
||||
"""
|
||||
UberWriter Settings
|
||||
Apostrophe Settings
|
||||
"""
|
||||
|
||||
def __init__(self):
|
|
@ -23,7 +23,7 @@ from gi.repository import Gtk, Gdk
|
|||
# from plugins import plugins
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger('uberwriter')
|
||||
logger = logging.getLogger('apostrophe')
|
||||
|
||||
class Shelve():
|
||||
"""
|
|
@ -3,7 +3,7 @@ from multiprocessing import Process, Pipe
|
|||
|
||||
from gi.repository import GLib
|
||||
|
||||
from uberwriter.markup_regex import ITALIC_ASTERISK, ITALIC_UNDERSCORE, BOLD_ITALIC, BOLD, STRIKETHROUGH, IMAGE, LINK, LINK_ALT,\
|
||||
from apostrophe.markup_regex import ITALIC_ASTERISK, ITALIC_UNDERSCORE, BOLD_ITALIC, BOLD, STRIKETHROUGH, IMAGE, LINK, LINK_ALT,\
|
||||
HORIZONTAL_RULE, LIST, MATH, TABLE, CODE_BLOCK, HEADER_UNDER, HEADER, BLOCK_QUOTE, ORDERED_LIST, \
|
||||
FOOTNOTE_ID, FOOTNOTE
|
||||
|
|
@ -2,8 +2,8 @@ from gettext import gettext as _
|
|||
|
||||
from gi.repository import GLib, Gio, Gtk
|
||||
|
||||
from uberwriter.settings import Settings
|
||||
from uberwriter.stats_counter import StatsCounter
|
||||
from apostrophe.settings import Settings
|
||||
from apostrophe.stats_counter import StatsCounter
|
||||
|
||||
|
||||
class StatsHandler:
|
|
@ -1,6 +1,6 @@
|
|||
import gi
|
||||
|
||||
from uberwriter import helpers
|
||||
from apostrophe import helpers
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, GLib, Gio
|
|
@ -1,12 +1,12 @@
|
|||
import gi
|
||||
|
||||
from uberwriter.helpers import user_action
|
||||
from uberwriter.inline_preview import InlinePreview
|
||||
from uberwriter.text_view_drag_drop_handler import DragDropHandler, TARGET_URI, TARGET_TEXT
|
||||
from uberwriter.text_view_format_inserter import FormatInserter
|
||||
from uberwriter.text_view_markup_handler import MarkupHandler
|
||||
from uberwriter.text_view_scroller import TextViewScroller
|
||||
from uberwriter.text_view_undo_redo_handler import UndoRedoHandler
|
||||
from apostrophe.helpers import user_action
|
||||
from apostrophe.inline_preview import InlinePreview
|
||||
from apostrophe.text_view_drag_drop_handler import DragDropHandler, TARGET_URI, TARGET_TEXT
|
||||
from apostrophe.text_view_format_inserter import FormatInserter
|
||||
from apostrophe.text_view_markup_handler import MarkupHandler
|
||||
from apostrophe.text_view_scroller import TextViewScroller
|
||||
from apostrophe.text_view_undo_redo_handler import UndoRedoHandler
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
gi.require_version('Gspell', '1')
|
||||
|
@ -14,11 +14,11 @@ from gi.repository import Gtk, Gdk, GObject, GLib, Gspell
|
|||
|
||||
import logging
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
class TextView(Gtk.TextView):
|
||||
"""UberwriterTextView encapsulates all the features around the editor.
|
||||
"""ApostropheTextView encapsulates all the features around the editor.
|
||||
|
||||
It combines the following:
|
||||
- Undo / redo (via TextBufferUndoRedoHandler)
|
||||
|
@ -27,7 +27,7 @@ class TextView(Gtk.TextView):
|
|||
- Preview popover (via TextBufferMarkupHandler)
|
||||
- Drag and drop (via TextViewDragDropHandler)
|
||||
- Scrolling (via TextViewScroller)
|
||||
- The various modes supported by UberWriter (eg. Focus Mode, Hemingway Mode)
|
||||
- The various modes supported by Apostrophe (eg. Focus Mode, Hemingway Mode)
|
||||
"""
|
||||
|
||||
__gsignals__ = {
|
||||
|
@ -52,7 +52,7 @@ class TextView(Gtk.TextView):
|
|||
self.set_pixels_above_lines(4)
|
||||
self.set_pixels_below_lines(4)
|
||||
self.set_pixels_inside_wrap(8)
|
||||
self.get_style_context().add_class('uberwriter-editor')
|
||||
self.get_style_context().add_class('apostrophe-editor')
|
||||
|
||||
self.set_margin_left(8)
|
||||
self.set_margin_right(8)
|
|
@ -2,7 +2,7 @@ import mimetypes
|
|||
import urllib
|
||||
from gettext import gettext as _
|
||||
from os.path import basename
|
||||
from uberwriter.settings import Settings
|
||||
from apostrophe.settings import Settings
|
||||
|
||||
from gi.repository import Gtk
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
from gettext import gettext as _
|
||||
|
||||
from uberwriter.helpers import user_action
|
||||
from apostrophe.helpers import user_action
|
||||
|
||||
|
||||
class FormatInserter:
|
|
@ -19,8 +19,8 @@ from multiprocessing import Pipe, Process
|
|||
|
||||
import gi
|
||||
|
||||
from uberwriter import helpers, markup_regex
|
||||
from uberwriter.markup_regex import STRIKETHROUGH, BOLD_ITALIC, BOLD, ITALIC_ASTERISK, ITALIC_UNDERSCORE, IMAGE, LINK,\
|
||||
from apostrophe import helpers, markup_regex
|
||||
from apostrophe.markup_regex import STRIKETHROUGH, BOLD_ITALIC, BOLD, ITALIC_ASTERISK, ITALIC_UNDERSCORE, IMAGE, LINK,\
|
||||
LINK_ALT, HORIZONTAL_RULE, LIST, ORDERED_LIST, BLOCK_QUOTE, HEADER, HEADER_UNDER, TABLE, MATH, \
|
||||
CODE
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
|
||||
LOGGER = logging.getLogger('uberwriter')
|
||||
LOGGER = logging.getLogger('apostrophe')
|
||||
|
||||
|
||||
class UndoableInsert:
|
|
@ -1,7 +1,7 @@
|
|||
from gi.repository import Gtk
|
||||
|
||||
from uberwriter.settings import Settings
|
||||
from uberwriter.helpers import get_css_path
|
||||
from apostrophe.settings import Settings
|
||||
from apostrophe.helpers import get_css_path
|
||||
|
||||
|
||||
class Theme:
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -2,29 +2,29 @@
|
|||
<component type="desktop-application">
|
||||
<id>@app-id@</id>
|
||||
<launchable type="desktop-id">@app-id@.desktop</launchable>
|
||||
<name>UberWriter</name>
|
||||
<name>Apostrophe</name>
|
||||
<summary>An elegant, distraction-free GTK+ markdown editor</summary>
|
||||
<description>
|
||||
<p>Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.</p>
|
||||
<p>Apostrophe is a GTK+ based distraction free Markdown editor, 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>flatpak install flathub de.wolfvollprecht.UberWriter.Plugin.TexLive</p>
|
||||
<p>or from Gnome-Software</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/main.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main-dark.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/main-dark.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/formula.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/formula.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/preview.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/preview.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/focus.png</image>
|
||||
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/focus.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<description>
|
||||
<ul>
|
||||
<li>Added italian language</li>
|
||||
<li>Initial themes support: now uberwriter adapts his colors to the current GTK theme</li>
|
||||
<li>Initial themes support: now apostrophe adapts his colors to the current GTK theme</li>
|
||||
<li>Disabled scroll gradient, can be enabled in the preferences dialog</li>
|
||||
<li>Allow to disable headerbar autohidding in Dconf</li>
|
||||
<li>Now a single click is enough to open files in the recent files popover</li>
|
||||
|
@ -61,7 +61,7 @@
|
|||
</release>
|
||||
<release date="2018-07-27" version="2.1.2">
|
||||
<description>
|
||||
<p>This release provides a fix to a bug that caused Uberwriter to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.</p>
|
||||
<p>This release provides a fix to a bug that caused Apostrophe to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.</p>
|
||||
</description>
|
||||
</release>
|
||||
<release date="2018-07-26" version="2.1.1">
|
||||
|
@ -115,12 +115,12 @@
|
|||
</releases>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0+</project_license>
|
||||
<url type="homepage">http://uberwriter.github.io/uberwriter</url>
|
||||
<url type="homepage">http://apostrophe.github.io/apostrophe</url>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<developer_name>Wolf V., Manuel G.</developer_name>
|
||||
<url type="bugtracker">https://github.com/UberWriter/uberwriter/issues</url>
|
||||
<url type="donation">https://liberapay.com/UberWriter/donate</url>
|
||||
<url type="help">http://uberwriter.github.io/uberwriter</url>
|
||||
<url type="bugtracker">https://github.com/Apostrophe/apostrophe/issues</url>
|
||||
<url type="donation">https://liberapay.com/Apostrophe/donate</url>
|
||||
<url type="help">http://apostrophe.github.io/apostrophe</url>
|
||||
<url type="translate">https://poeditor.com/join/project/gxVzFyXb2x</url>
|
||||
<update_contact>manuel.genoves_at_gmail.com</update_contact>
|
||||
<translation type="gettext">@gettext-package@</translation>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Name=UberWriter
|
||||
Comment=UberWriter, a simple and distraction free Markdown Editor
|
||||
Name=Apostrophe
|
||||
Comment=Apostrophe, a simple and distraction free Markdown Editor
|
||||
Categories=GNOME;GTK;Office;
|
||||
Exec=uberwriter %U
|
||||
Exec=apostrophe %U
|
||||
Icon=@icon@
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 137 KiB |
|
@ -1,4 +1,4 @@
|
|||
Markdown Tutorial for UberWriter
|
||||
Markdown Tutorial for Apostrophe
|
||||
================================
|
||||
|
||||
I will try to give a short impressions on how I use markdown/pandocs capabilities to greatly reduce the time spent on formatting anything -- from websites to PDF Documents.
|
|
@ -21,22 +21,22 @@
|
|||
|
||||
/* Main window and text colors */
|
||||
|
||||
.uberwriter-window {
|
||||
.apostrophe-window {
|
||||
background: @theme_base_color;
|
||||
color: @theme_fg_color;
|
||||
caret-color: @theme_fg_color;
|
||||
}
|
||||
|
||||
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen) {
|
||||
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen) {
|
||||
border-top-left-radius: 8px;
|
||||
border-top-right-radius: 8px;
|
||||
}
|
||||
|
||||
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(ltr) scrollbar {
|
||||
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(ltr) scrollbar {
|
||||
border-top-right-radius: 8px;
|
||||
}
|
||||
|
||||
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(rtl) scrollbar {
|
||||
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(rtl) scrollbar {
|
||||
border-top-left-radius: 8px;
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
|||
background: @theme_base_color;
|
||||
}
|
||||
|
||||
.uberwriter-editor {
|
||||
.apostrophe-editor {
|
||||
-gtk-key-bindings: editor-bindings;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
|
@ -62,44 +62,44 @@
|
|||
font-size: 16px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size14 {
|
||||
.apostrophe-editor.size14 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size15 {
|
||||
.apostrophe-editor.size15 {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size16 {
|
||||
.apostrophe-editor.size16 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size17 {
|
||||
.apostrophe-editor.size17 {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.uberwriter-editor.size18 {
|
||||
.apostrophe-editor.size18 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.uberwriter-editor text {
|
||||
.apostrophe-editor text {
|
||||
background-color: @theme_base_color;
|
||||
color: @theme_fg_color;
|
||||
caret-color: @theme_fg_color;
|
||||
}
|
||||
|
||||
.uberwriter-editor text selection {
|
||||
.apostrophe-editor text selection {
|
||||
background-color: @theme_selected_bg_color;
|
||||
color: @theme_selected_fg_color;
|
||||
}
|
||||
|
||||
.uberwriter-editor button {
|
||||
.apostrophe-editor button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/*background: #CCC;*/
|
||||
}
|
||||
|
||||
.uberwriter-editor toolbar {
|
||||
.apostrophe-editor toolbar {
|
||||
/*background: transparent;*/
|
||||
border: none;
|
||||
padding: 0;
|
||||
|
@ -131,7 +131,7 @@
|
|||
background-color: mix(@theme_base_color, @theme_bg_color, 0.5);
|
||||
}
|
||||
|
||||
.uberwriter-window treeview {
|
||||
.apostrophe-window treeview {
|
||||
padding: 4px 4px 4px 4px;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
sodipodi:ry="42.445595"
|
||||
d="m 209.95411,89.756706 a 42.445595,42.445595 0 1 1 -84.89119,0 42.445595,42.445595 0 1 1 84.89119,0 z"
|
||||
transform="matrix(0.1557609,0,0,0.15394422,115.30017,191.85093)"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
|
||||
inkscape:export-xdpi="82.699997"
|
||||
inkscape:export-ydpi="82.699997" />
|
||||
<path
|
||||
|
@ -69,7 +69,7 @@
|
|||
d="m 141.39145,199.33354 0,12.97357"
|
||||
id="path3755"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
|
||||
inkscape:export-xdpi="82.699997"
|
||||
inkscape:export-ydpi="82.699997" />
|
||||
<path
|
||||
|
@ -77,7 +77,7 @@
|
|||
d="m 135.02567,205.66846 12.95106,0"
|
||||
id="path3757"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
|
||||
inkscape:export-xdpi="82.699997"
|
||||
inkscape:export-ydpi="82.699997" />
|
||||
<rect
|
||||
|
@ -89,7 +89,7 @@
|
|||
y="202.56609"
|
||||
rx="0.26064596"
|
||||
ry="0.2316401"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
|
||||
inkscape:export-xdpi="82.699997"
|
||||
inkscape:export-ydpi="82.699997" />
|
||||
<path
|
||||
|
@ -102,7 +102,7 @@
|
|||
sodipodi:ry="42.445595"
|
||||
d="m 209.95411,89.756706 a 42.445595,42.445595 0 1 1 -84.89119,0 42.445595,42.445595 0 1 1 84.89119,0 z"
|
||||
transform="matrix(0.15576089,0,0,0.15394424,208.14569,194.21576)"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
|
||||
inkscape:export-xdpi="83.678238"
|
||||
inkscape:export-ydpi="83.678238" />
|
||||
<path
|
||||
|
@ -110,7 +110,7 @@
|
|||
d="m 234.23697,201.69837 0,12.97357"
|
||||
id="path3755-9"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
|
||||
inkscape:export-xdpi="83.678238"
|
||||
inkscape:export-ydpi="83.678238" />
|
||||
<path
|
||||
|
@ -118,7 +118,7 @@
|
|||
d="m 227.87119,208.03329 12.95106,0"
|
||||
id="path3757-2"
|
||||
inkscape:connector-curvature="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
|
||||
inkscape:export-xdpi="83.678238"
|
||||
inkscape:export-ydpi="83.678238" />
|
||||
<rect
|
||||
|
@ -130,7 +130,7 @@
|
|||
y="234.54805"
|
||||
rx="0.17244641"
|
||||
ry="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
|
||||
inkscape:export-xdpi="85.970146"
|
||||
inkscape:export-ydpi="85.970146" />
|
||||
<path
|
||||
|
@ -139,7 +139,7 @@
|
|||
id="path3810"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
|
||||
inkscape:export-xdpi="85.970146"
|
||||
inkscape:export-ydpi="85.970146" />
|
||||
<rect
|
||||
|
@ -172,7 +172,7 @@
|
|||
id="path5190"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
|
||||
inkscape:export-xdpi="85.970146"
|
||||
inkscape:export-ydpi="85.970146" />
|
||||
<path
|
||||
|
@ -181,7 +181,7 @@
|
|||
id="path5190-2"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
|
||||
inkscape:export-xdpi="85.970146"
|
||||
inkscape:export-ydpi="85.970146" />
|
||||
<rect
|
||||
|
@ -193,7 +193,7 @@
|
|||
y="237.6228"
|
||||
rx="0.097152509"
|
||||
ry="0"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
<path
|
||||
|
@ -207,7 +207,7 @@
|
|||
id="path5190-5"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
<path
|
||||
|
@ -216,7 +216,7 @@
|
|||
id="path5190-2-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
<path
|
||||
|
@ -225,7 +225,7 @@
|
|||
id="path5190-5-7"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
<path
|
||||
|
@ -234,7 +234,7 @@
|
|||
id="path5190-5-7-5"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
|
||||
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
|
||||
inkscape:export-xdpi="90.311836"
|
||||
inkscape:export-ydpi="90.311836" />
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.9 KiB |
|
@ -62,7 +62,7 @@ install_data(
|
|||
ui_config = configuration_data()
|
||||
ui_config.set('app-id', application_id)
|
||||
ui_config.set('version', meson.project_version() + version_suffix)
|
||||
ui_config.set('package_url', 'http://uberwriter.github.io/uberwriter/')
|
||||
ui_config.set('package_url', 'http://apostrophe.github.io/apostrophe/')
|
||||
ui_preconfigured_files = files(
|
||||
'ui/About.ui.in'
|
||||
)
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
<property name="modal">True</property>
|
||||
<property name="window_position">center</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<property name="program_name">Uberwriter</property>
|
||||
<property name="program_name">Apostrophe</property>
|
||||
<property name="version">@version@</property>
|
||||
<property name="copyright" translatable="yes">Copyright (C) 2018, Wolf Vollprecht</property>
|
||||
<property name="website">@package_url@</property>
|
||||
<property name="website_label" translatable="yes">Uberwriter website</property>
|
||||
<property name="website_label" translatable="yes">Apostrophe website</property>
|
||||
<property name="authors">Wolf Vollprecht <w.vollprecht@gmail.com>
|
||||
Manuel Genovés <manuel.genoves@gmail.com>
|
||||
Gonçalo Silva <goncalossilva@gmail.com></property>
|
||||
|
@ -84,7 +84,7 @@ Manuel (Spanish, Catalan)</property>
|
|||
<property name="receives_default">True</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="relief">none</property>
|
||||
<property name="uri">https://liberapay.com/UberWriter/donate</property>
|
||||
<property name="uri">https://liberapay.com/Apostrophe/donate</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="action_name">app.about</property>
|
||||
<property name="text" translatable="yes">About Uberwriter</property>
|
||||
<property name="text" translatable="yes">About Apostrophe</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
<info>
|
||||
<!-- This shows in the title bar so does not show [icon] -->
|
||||
<title type="text">UberWriter</title>
|
||||
<desc>The <app>UberWriter</app> help.</desc>
|
||||
<title type="text">Apostrophe</title>
|
||||
<desc>The <app>Apostrophe</app> help.</desc>
|
||||
<credit type="author">
|
||||
<name>Wolf Vollprecht</name>
|
||||
<email>w.vollprecht@gmail.com</email>
|
||||
|
@ -20,10 +20,10 @@
|
|||
<!-- This shows on the page in title font -->
|
||||
<!-- the icon only shows when installed -->
|
||||
<media type="image" mime="image/png" src="figures/icon_down.png" width="16">[icon]</media>
|
||||
<app>UberWriter</app> Help
|
||||
<app>Apostrophe</app> Help
|
||||
</title>
|
||||
|
||||
<p>Help Topics for UberWriter:</p>
|
||||
<p>Help Topics for Apostrophe:</p>
|
||||
|
||||
<!-- This is the visible index -->
|
||||
<section id="contents" style="2column">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</info>
|
||||
|
||||
<title>Pandoc's Markdown</title>
|
||||
<h1 id="markdown-tutorial-for-uberwriter">Markdown Tutorial for UberWriter</h1>
|
||||
<h1 id="markdown-tutorial-for-apostrophe">Markdown Tutorial for Apostrophe</h1>
|
||||
<p>I will try to give a short impressions on how I use markdown/pandocs capabilities to greatly reduce the time spent on formatting anything – from websites to PDF Documents.</p>
|
||||
<p>You can find a much more exhaustive documentation for all features pandoc offers on pandoc’s help page: <a href="http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown">Link</a></p>
|
||||
<h3 id="headers">Headers</h3>
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
<email>w.vollprecht@gmail.com</email>
|
||||
<years>2012</years>
|
||||
</credit>
|
||||
<desc>UberWriters preview functionalities</desc>
|
||||
<desc>Apostrophes preview functionalities</desc>
|
||||
</info>
|
||||
|
||||
<title>UberWriter Preview</title>
|
||||
<p>There are 2 different ways to preview your Markdown files in UberWriter and
|
||||
<title>Apostrophe Preview</title>
|
||||
<p>There are 2 different ways to preview your Markdown files in Apostrophe and
|
||||
quickly check, what you have written.
|
||||
</p>
|
||||
<section id="inline-preview">
|
||||
|
@ -28,7 +28,7 @@ quickly check, what you have written.
|
|||
<section>
|
||||
<title>Complete Preview</title>
|
||||
<p>If you want a complete Preview of your document, you just need to hit the
|
||||
preview Button on the statusbar at the bottom of the UberWriter window.
|
||||
preview Button on the statusbar at the bottom of the Apostrophe window.
|
||||
It will render the complete HTML Output of your Markdown file.</p>
|
||||
</section>
|
||||
</page>
|
||||
|
|
|
@ -5,18 +5,18 @@
|
|||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="author" content="John MacFarlane, Wolf Vollprecht" />
|
||||
<title>UberWriter & Pandoc User Guide</title>
|
||||
<link rel="stylesheet" href="file:////home/wolf/Programme/uberwriter/data/media/uberwriter.css" type="text/css" />
|
||||
<title>Apostrophe & Pandoc User Guide</title>
|
||||
<link rel="stylesheet" href="file:////home/wolf/Programme/apostrophe/data/media/apostrophe.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<h1 class="title">UberWriter & Pandoc User Guide</h1>
|
||||
<h1 class="title">Apostrophe & Pandoc User Guide</h1>
|
||||
<h2 class="author">John MacFarlane, Wolf Vollprecht</h2>
|
||||
<h3 class="date">01.08.2012</h3>
|
||||
</div>
|
||||
<h2 id="uberwriters-goals">UberWriter’s goals</h2>
|
||||
<p>UberWriter aims to make the writing process very easy and beautiful. The editor offers inline highlighting for a specific subset of markdown, which is used to do the formatting of your text.</p>
|
||||
<p>A short explanation of the core markdown features you’ll find below. Pandoc is used to generate PDF, HTML or RTF files from markdown. Please note that Pandoc’s syntax offers many, many more features which are well documented on the (pandoc homepage)[http://johnmacfarlane.net/pandoc/README.html].<br />However, please note that not all of the advanced features play well with inline highlighting of UberWriter.</p>
|
||||
<h2 id="apostrophes-goals">Apostrophe’s goals</h2>
|
||||
<p>Apostrophe aims to make the writing process very easy and beautiful. The editor offers inline highlighting for a specific subset of markdown, which is used to do the formatting of your text.</p>
|
||||
<p>A short explanation of the core markdown features you’ll find below. Pandoc is used to generate PDF, HTML or RTF files from markdown. Please note that Pandoc’s syntax offers many, many more features which are well documented on the (pandoc homepage)[http://johnmacfarlane.net/pandoc/README.html].<br />However, please note that not all of the advanced features play well with inline highlighting of Apostrophe.</p>
|
||||
<p>But for a quick start, this will be sufficient.</p>
|
||||
<h2 id="pandocs-markdown">Pandoc’s markdown</h2>
|
||||
<p>Pandoc understands an extended and slightly revised version of John Gruber’s [markdown] syntax. This document explains the syntax, noting differences from standard markdown.</p>
|
||||
|
@ -403,6 +403,6 @@ isn't indented.</code></pre>
|
|||
<p>Inline and regular footnotes may be mixed freely.</p>
|
||||
<h2 id="authors-of-this-documentation">Authors of this documentation</h2>
|
||||
<p>© 2006-2012 John MacFarlane (jgm at berkeley dot edu). Released under the [GPL], version 2 or greater. This software carries no warranty of any kind. (See COPYRIGHT for full copyright and warranty notices.) Other contributors include Recai Oktaş, Paulo Tanimoto, Peter Wang, Andrea Rossato, Eric Kow, infinity0x, Luke Plant, shreevatsa.public, Puneeth Chaganti, Paul Rivier, rodja.trappe, Bradley Kuhn, thsutton, Nathan Gass, Jonathan Daugherty, Jérémy Bobbio, Justin Bogner, qerub, Christopher Sawicki, Kelsey Hightower, Masayoshi Takahashi, Antoine Latter, Ralf Stephan, Eric Seidel, B. Scott Michel, Gavin Beatty, Sergey Astanin.</p>
|
||||
<p>© Reworked for UberWriter: Wolf Vollprecht</p>
|
||||
<p>© Reworked for Apostrophe: Wolf Vollprecht</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
% UberWriter & Pandoc User Guide
|
||||
% Apostrophe & Pandoc User Guide
|
||||
% John MacFarlane, Wolf Vollprecht
|
||||
% 01.08.2012
|
||||
|
||||
## UberWriter's goals
|
||||
## Apostrophe's goals
|
||||
|
||||
UberWriter aims to make the writing process very easy and beautiful. The editor offers inline highlighting for a specific subset of markdown, which is used to do the formatting of your text.
|
||||
Apostrophe aims to make the writing process very easy and beautiful. The editor offers inline highlighting for a specific subset of markdown, which is used to do the formatting of your text.
|
||||
|
||||
A short explanation of the core markdown features you'll find below. Pandoc is used to generate PDF, HTML or RTF files from markdown. Please note that Pandoc's syntax offers many, many more features which are well documented on the (pandoc homepage)[http://johnmacfarlane.net/pandoc/README.html].
|
||||
However, please note that not all of the advanced features play well with inline highlighting of UberWriter.
|
||||
However, please note that not all of the advanced features play well with inline highlighting of Apostrophe.
|
||||
|
||||
But for a quick start, this will be sufficient.
|
||||
|
||||
|
@ -607,4 +607,4 @@ Inline and regular footnotes may be mixed freely.
|
|||
|
||||
© 2006-2012 John MacFarlane (jgm at berkeley dot edu). Released under the [GPL], version 2 or greater. This software carries no warranty of any kind. (See COPYRIGHT for full copyright and warranty notices.) Other contributors include Recai Oktaş, Paulo Tanimoto, Peter Wang, Andrea Rossato, Eric Kow, infinity0x, Luke Plant, shreevatsa.public, Puneeth Chaganti, Paul Rivier, rodja.trappe, Bradley Kuhn, thsutton, Nathan Gass, Jonathan Daugherty, Jérémy Bobbio, Justin Bogner, qerub, Christopher Sawicki, Kelsey Hightower, Masayoshi Takahashi, Antoine Latter, Ralf Stephan, Eric Seidel, B. Scott Michel, Gavin Beatty, Sergey Astanin.
|
||||
|
||||
© Reworked for UberWriter: Wolf Vollprecht
|
||||
© Reworked for Apostrophe: Wolf Vollprecht
|
|
@ -4,7 +4,7 @@ asdja kdja dskj
|
|||
|
||||
$\frac{1}{2} + 1 12+2=14$ Testing more input whatt.
|
||||
|
||||
[](http://uberwriter.github.io/uberwriter)
|
||||
[](http://apostrophe.github.io/apostrophe)
|
||||
[](http://google.com)
|
||||
|
||||
![Insert image title here](/home/wolf/Pictures/IMG_20130901_152337.jpg)
|
||||
|
|
10
meson.build
|
@ -1,5 +1,5 @@
|
|||
project(
|
||||
'uberwriter',
|
||||
'apostrophe',
|
||||
version: '2.2.0',
|
||||
meson_version: '>= 0.50.0'
|
||||
)
|
||||
|
@ -50,7 +50,7 @@ pkgdatadir = datadir / meson.project_name()
|
|||
podir = meson.source_root() / 'po'
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set('PACKAGE_URL', 'http://uberwriter.github.io/uberwriter/')
|
||||
conf.set('PACKAGE_URL', 'http://apostrophe.github.io/apostrophe/')
|
||||
conf.set('DATA_DIR', datadir)
|
||||
conf.set('LOCALE_DIR', join_paths(get_option('prefix'), get_option('datadir'), 'locale'))
|
||||
conf.set('PYTHON_DIR', pythondir)
|
||||
|
@ -63,14 +63,14 @@ subdir('data')
|
|||
subdir('po')
|
||||
|
||||
install_subdir(
|
||||
'uberwriter',
|
||||
'apostrophe',
|
||||
install_dir: pythondir
|
||||
)
|
||||
|
||||
message('Preparing init file')
|
||||
configure_file(
|
||||
input: 'uberwriter.in',
|
||||
output: 'uberwriter',
|
||||
input: 'apostrophe.in',
|
||||
output: 'apostrophe',
|
||||
configuration: conf,
|
||||
install_dir: bindir
|
||||
)
|
||||
|
|
|
@ -17,12 +17,12 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.2.1\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"X-Poedit-SearchPath-0: uberwriter\n"
|
||||
"X-Poedit-SearchPath-0: apostrophe\n"
|
||||
"X-Poedit-SearchPath-1: data\n"
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.appdata.xml:5
|
||||
#: data/de.wolfvollprecht.UberWriter.desktop:3
|
||||
msgid "UberWriter"
|
||||
msgid "Apostrophe"
|
||||
msgstr ""
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.appdata.xml:6
|
||||
|
@ -31,7 +31,7 @@ msgstr ""
|
|||
|
||||
#: data/de.wolfvollprecht.UberWriter.appdata.xml:8
|
||||
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 "
|
||||
"for markdown parsing and offers a very clean and sleek user interface."
|
||||
msgstr ""
|
||||
|
@ -58,7 +58,7 @@ msgstr ""
|
|||
|
||||
#: data/de.wolfvollprecht.UberWriter.appdata.xml:42
|
||||
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"
|
||||
msgstr ""
|
||||
|
||||
|
@ -98,7 +98,7 @@ msgstr ""
|
|||
|
||||
#: data/de.wolfvollprecht.UberWriter.appdata.xml:64
|
||||
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."
|
||||
msgstr ""
|
||||
|
||||
|
@ -179,7 +179,7 @@ msgid "Wolf V., Manuel G."
|
|||
msgstr ""
|
||||
|
||||
#: 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 ""
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.desktop:7
|
||||
|
@ -239,7 +239,7 @@ msgid "Input format to use when previewing and exporting using Pandoc."
|
|||
msgstr ""
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:67
|
||||
msgid "Allow Uberwriter to poll cursor motion"
|
||||
msgid "Allow Apostrophe to poll cursor motion"
|
||||
msgstr ""
|
||||
|
||||
#: data/de.wolfvollprecht.UberWriter.gschema.xml:68
|
||||
|
@ -283,7 +283,7 @@ msgid "Copyright (C) 2018, Wolf Vollprecht"
|
|||
msgstr ""
|
||||
|
||||
#: data/ui/About.ui:14
|
||||
msgid "Uberwriter website"
|
||||
msgid "Apostrophe website"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/About.ui:71
|
||||
|
@ -422,9 +422,9 @@ msgstr ""
|
|||
msgid "PDF"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Export.ui:618 uberwriter/plugins/bibtex/bibtex_item.glade:18
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:32
|
||||
#: uberwriter/plugins/bibtex/bibtex_item.glade:45
|
||||
#: data/ui/Export.ui:618 apostrophe/plugins/bibtex/bibtex_item.glade:18
|
||||
#: apostrophe/plugins/bibtex/bibtex_item.glade:32
|
||||
#: apostrophe/plugins/bibtex/bibtex_item.glade:45
|
||||
msgid "label"
|
||||
msgstr ""
|
||||
|
||||
|
@ -440,7 +440,7 @@ msgstr ""
|
|||
msgid "Hemingway Mode"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:14 uberwriter/preview_renderer.py:51
|
||||
#: data/ui/Menu.ui:14 apostrophe/preview_renderer.py:51
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
|
@ -473,10 +473,10 @@ msgid "Open Tutorial"
|
|||
msgstr ""
|
||||
|
||||
#: data/ui/Menu.ui:51
|
||||
msgid "_About UberWriter"
|
||||
msgid "_About Apostrophe"
|
||||
msgstr ""
|
||||
|
||||
#: data/ui/Preview.ui:28 uberwriter/preview_renderer.py:166
|
||||
#: data/ui/Preview.ui:28 apostrophe/preview_renderer.py:166
|
||||
msgid "Full-Width"
|
||||
msgstr ""
|
||||
|
||||
|
@ -678,174 +678,174 @@ msgstr ""
|
|||
msgid "Replace all"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/application.py:171
|
||||
msgid "Show debug messages (-vv debugs uberwriter also)"
|
||||
#: apostrophe/application.py:171
|
||||
msgid "Show debug messages (-vv debugs apostrophe also)"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/application.py:173
|
||||
#: apostrophe/application.py:173
|
||||
msgid "Use experimental features"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/export_dialog.py:159
|
||||
#: apostrophe/export_dialog.py:159
|
||||
msgid "Untitled document.md"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/export_dialog.py:340
|
||||
#: apostrophe/export_dialog.py:340
|
||||
msgid "Please, install the TexLive extension from Gnome Software or running\n"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/export_dialog.py:343
|
||||
#: apostrophe/export_dialog.py:343
|
||||
msgid "Please, install TexLive from your distribuiton repositories"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/format_shortcuts.py:95
|
||||
#: apostrophe/format_shortcuts.py:95
|
||||
msgid "emphasized text"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/format_shortcuts.py:97
|
||||
#: apostrophe/format_shortcuts.py:97
|
||||
msgid "strong text"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/format_shortcuts.py:99
|
||||
#: apostrophe/format_shortcuts.py:99
|
||||
msgid "striked out text"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/format_shortcuts.py:117
|
||||
#: apostrophe/format_shortcuts.py:117
|
||||
msgid "List item"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/format_shortcuts.py:177
|
||||
#: apostrophe/format_shortcuts.py:177
|
||||
msgid "Heading"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:101
|
||||
#: apostrophe/headerbars.py:101
|
||||
msgid "Exit Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:137
|
||||
#: apostrophe/headerbars.py:137
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:139
|
||||
#: apostrophe/headerbars.py:139
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:147
|
||||
#: apostrophe/headerbars.py:147
|
||||
msgid "Open"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:162
|
||||
#: apostrophe/headerbars.py:162
|
||||
msgid "Open Recent"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:169
|
||||
#: apostrophe/headerbars.py:169
|
||||
msgid "Search and Replace"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/headerbars.py:170
|
||||
#: apostrophe/headerbars.py:170
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/inline_preview.py:184
|
||||
#: apostrophe/inline_preview.py:184
|
||||
msgid "Website is not available"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/inline_preview.py:186
|
||||
#: apostrophe/inline_preview.py:186
|
||||
msgid "Website is available"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/inline_preview.py:436
|
||||
#: apostrophe/inline_preview.py:436
|
||||
msgid "Open Link in Webbrowser"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/inline_preview.py:500
|
||||
#: apostrophe/inline_preview.py:500
|
||||
msgid "No matching footnote found"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:234
|
||||
#: apostrophe/main_window.py:234
|
||||
msgid "Save your File"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:334
|
||||
#: apostrophe/main_window.py:334
|
||||
msgid "Markdown Files"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:338
|
||||
#: apostrophe/main_window.py:338
|
||||
msgid "Plain Text Files"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:341
|
||||
#: apostrophe/main_window.py:341
|
||||
msgid "Open a .md file"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:367
|
||||
#: apostrophe/main_window.py:367
|
||||
msgid "You have not saved your changes."
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:369
|
||||
#: apostrophe/main_window.py:369
|
||||
msgid "Close without saving"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:370
|
||||
#: apostrophe/main_window.py:370
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:371
|
||||
#: apostrophe/main_window.py:371
|
||||
msgid "Save now"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/main_window.py:400
|
||||
#: apostrophe/main_window.py:400
|
||||
msgid "New File"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/preview_renderer.py:168
|
||||
#: apostrophe/preview_renderer.py:168
|
||||
msgid "Half-Width"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/preview_renderer.py:170
|
||||
#: apostrophe/preview_renderer.py:170
|
||||
msgid "Half-Height"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/preview_renderer.py:172
|
||||
#: apostrophe/preview_renderer.py:172
|
||||
msgid "Windowed"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/stats_handler.py:69
|
||||
#: apostrophe/stats_handler.py:69
|
||||
msgid "{:n} Characters"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/stats_handler.py:71
|
||||
#: apostrophe/stats_handler.py:71
|
||||
msgid "{:n} Words"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/stats_handler.py:73
|
||||
#: apostrophe/stats_handler.py:73
|
||||
msgid "{:n} Sentences"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/stats_handler.py:75
|
||||
#: apostrophe/stats_handler.py:75
|
||||
msgid "{:n} Paragraphs"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/stats_handler.py:77
|
||||
#: apostrophe/stats_handler.py:77
|
||||
msgid "{:d}:{:02d}:{:02d} Read Time"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/text_view_format_inserter.py:12
|
||||
#: apostrophe/text_view_format_inserter.py:12
|
||||
msgid "italic text"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/text_view_format_inserter.py:17
|
||||
#: apostrophe/text_view_format_inserter.py:17
|
||||
msgid "bold text"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/text_view_format_inserter.py:22
|
||||
#: apostrophe/text_view_format_inserter.py:22
|
||||
msgid "strikethrough text"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/text_view_format_inserter.py:45
|
||||
#: apostrophe/text_view_format_inserter.py:45
|
||||
msgid "Item"
|
||||
msgstr ""
|
||||
|
||||
#: uberwriter/text_view_format_inserter.py:91
|
||||
#: apostrophe/text_view_format_inserter.py:91
|
||||
msgid "Header"
|
||||
msgstr ""
|
||||
|
|
|
@ -3,13 +3,13 @@ function generate_po()
|
|||
>LINGUAS
|
||||
for po in */LC_MESSAGES/*.po
|
||||
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
|
||||
language=${po%.po}
|
||||
echo $language >>LINGUAS
|
||||
done
|
||||
|
||||
find . -name \*.po -execdir sh -c 'msgfmt "$0" -o uberwriter.mo' '{}' \;
|
||||
find . -name \*.po -execdir sh -c 'msgfmt "$0" -o apostrophe.mo' '{}' \;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -683,7 +683,7 @@
|
|||
font-size="21.3333px"
|
||||
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"
|
||||
id="tspan8217">UberWriter helps your textediting workflow</tspan></tspan><tspan
|
||||
id="tspan8217">Apostrophe helps your textediting workflow</tspan></tspan><tspan
|
||||
x="178.98633"
|
||||
y="161.24852"
|
||||
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-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"
|
||||
id="tspan8305">UberWriter.md - UberWriter</tspan></text>
|
||||
id="tspan8305">Apostrophe.md - Apostrophe</tspan></text>
|
||||
<g
|
||||
id="g2137"
|
||||
transform="translate(0.58517456)">
|
||||
|
@ -1705,7 +1705,7 @@
|
|||
y="371.00919"
|
||||
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"
|
||||
id="tspan8398">feature of UberWriter it's his <tspan
|
||||
id="tspan8398">feature of Apostrophe it's his <tspan
|
||||
font-style="italic"
|
||||
id="tspan8396"
|
||||
style="font-style:italic">*Inline Preview*</tspan></tspan><tspan
|
||||
|
@ -1729,6 +1729,6 @@
|
|||
font-size="16px"
|
||||
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"
|
||||
id="tspan8406">Dark Mode.md - UberWriter</tspan></text>
|
||||
id="tspan8406">Dark Mode.md - Apostrophe</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
|
@ -17,7 +17,7 @@
|
|||
id="svg8720"
|
||||
sodipodi:docname="mockups_text.svg"
|
||||
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-ydpi="90">
|
||||
<sodipodi:namedview
|
||||
|
@ -718,7 +718,7 @@
|
|||
font-size="21.3333px"
|
||||
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"
|
||||
id="tspan8217">UberWriter helps your textediting workflow</tspan></tspan><tspan
|
||||
id="tspan8217">Apostrophe helps your textediting workflow</tspan></tspan><tspan
|
||||
x="178.98633"
|
||||
y="161.24852"
|
||||
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-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"
|
||||
id="tspan8305">UberWriter.md - UberWriter</tspan></text>
|
||||
id="tspan8305">Apostrophe.md - Apostrophe</tspan></text>
|
||||
<g
|
||||
transform="translate(750.32102,2.8991699e-4)"
|
||||
style="display:inline"
|
||||
|
@ -1609,7 +1609,7 @@
|
|||
font-size="16px"
|
||||
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"
|
||||
id="tspan8305-7">UberWriter.md - UberWriter</tspan></text>
|
||||
id="tspan8305-7">Apostrophe.md - Apostrophe</tspan></text>
|
||||
<text
|
||||
x="397.89084"
|
||||
y="38.447578"
|
||||
|
@ -1627,7 +1627,7 @@
|
|||
font-size="16px"
|
||||
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"
|
||||
id="tspan8305-7-4">~/Documents/examples/UberWriter.md</tspan></text>
|
||||
id="tspan8305-7-4">~/Documents/examples/Apostrophe.md</tspan></text>
|
||||
<text
|
||||
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"
|
||||
|
@ -2912,7 +2912,7 @@
|
|||
y="1011.7719"
|
||||
x="174.00011"
|
||||
sodipodi:role="line"
|
||||
style="line-height:300%">About UberWriter</tspan><tspan
|
||||
style="line-height:300%">About Apostrophe</tspan><tspan
|
||||
id="tspan15648-6"
|
||||
y="1049.5719"
|
||||
x="174.00011"
|
||||
|
@ -3355,7 +3355,7 @@
|
|||
y="371.00919"
|
||||
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"
|
||||
id="tspan8398">feature of UberWriter it's his <tspan
|
||||
id="tspan8398">feature of Apostrophe it's his <tspan
|
||||
font-style="italic"
|
||||
id="tspan8396"
|
||||
style="font-style:italic">*Inline Preview*</tspan></tspan><tspan
|
||||
|
@ -3379,6 +3379,6 @@
|
|||
font-size="16px"
|
||||
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"
|
||||
id="tspan8406">Dark Mode.md - UberWriter</tspan></text>
|
||||
id="tspan8406">Dark Mode.md - Apostrophe</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 177 KiB |
|
@ -17,7 +17,7 @@
|
|||
id="svg8720"
|
||||
sodipodi:docname="mockups_text2.svg"
|
||||
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-ydpi="90">
|
||||
<sodipodi:namedview
|
||||
|
@ -705,7 +705,7 @@
|
|||
font-size="21.3333px"
|
||||
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"
|
||||
id="tspan8217">UberWriter helps your textediting workflow</tspan></tspan><tspan
|
||||
id="tspan8217">Apostrophe helps your textediting workflow</tspan></tspan><tspan
|
||||
x="178.98633"
|
||||
y="161.24852"
|
||||
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-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"
|
||||
id="tspan8305">UberWriter.md - UberWriter</tspan></text>
|
||||
id="tspan8305">Apostrophe.md - Apostrophe</tspan></text>
|
||||
<g
|
||||
transform="translate(750.32102,2.8991699e-4)"
|
||||
style="display:inline"
|
||||
|
@ -1644,7 +1644,7 @@
|
|||
y="371.00919"
|
||||
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"
|
||||
id="tspan8398">feature of UberWriter it's his <tspan
|
||||
id="tspan8398">feature of Apostrophe it's his <tspan
|
||||
font-style="italic"
|
||||
id="tspan8396"
|
||||
style="font-style:italic">*Inline Preview*</tspan></tspan><tspan
|
||||
|
@ -1668,6 +1668,6 @@
|
|||
font-size="16px"
|
||||
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"
|
||||
id="tspan8406">Dark Mode.md - UberWriter</tspan></text>
|
||||
id="tspan8406">Dark Mode.md - Apostrophe</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# 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/
|
||||
|
||||
|
|
|
@ -24,5 +24,5 @@ function generate_resource()
|
|||
echo '</gresources>'
|
||||
}
|
||||
|
||||
generate_resource > ../data/uberwriter.gresource.xml
|
||||
generate_resource > ../data/apostrophe.gresource.xml
|
||||
|
||||
|
|
|
@ -20,18 +20,18 @@ import os.path
|
|||
import unittest
|
||||
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):
|
||||
def setUp(self):
|
||||
self.AboutUberwriterDialog_members = [
|
||||
'AboutDialog', 'AboutUberwriterDialog', 'gettext', 'logger', 'logging']
|
||||
self.AboutApostropheDialog_members = [
|
||||
'AboutDialog', 'AboutApostropheDialog', 'gettext', 'logger', 'logging']
|
||||
|
||||
def test_AboutUberwriterDialog_members(self):
|
||||
all_members = dir(AboutUberwriterDialog)
|
||||
def test_AboutApostropheDialog_members(self):
|
||||
all_members = dir(AboutApostropheDialog)
|
||||
public_members = [x for x in all_members if not x.startswith('_')]
|
||||
public_members.sort()
|
||||
self.assertEqual(self.AboutUberwriterDialog_members, public_members)
|
||||
self.assertEqual(self.AboutApostropheDialog_members, public_members)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
|
@ -24,7 +24,7 @@ class TestPylint(unittest.TestCase):
|
|||
|
||||
your code may well work even with pylint errors
|
||||
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
|
||||
#self.assertEqual(return_code, 0)
|
||||
|
||||
|
@ -34,7 +34,7 @@ class TestPylint(unittest.TestCase):
|
|||
#~
|
||||
#~ you will have to make judgement calls about your code standards
|
||||
#~ that differ from the norm'''
|
||||
#~ return_code = subprocess.call(["pylint", 'uberwriter'])
|
||||
#~ return_code = subprocess.call(["pylint", 'apostrophe'])
|
||||
|
||||
if __name__ == '__main__':
|
||||
'you will get better results with nosetests'
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
import unittest
|
||||
import re
|
||||
|
||||
from uberwriter import markup_regex
|
||||
from apostrophe import markup_regex
|
||||
|
||||
|
||||
class TestRegex(unittest.TestCase):
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|