Compare commits

..

1 Commits

Author SHA1 Message Date
sternenseemann 20bae0a89a
Add note about Nix package 2020-01-20 17:10:43 +01:00
177 changed files with 17115 additions and 16836 deletions

View File

@ -1,3 +1,12 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug, triage
assignees: somas95
---
**Describe the bug**
A clear and concise description of what the bug is.
@ -22,6 +31,3 @@ If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.
/label ~bug ~triage
/assign @somas

View File

@ -1,3 +1,12 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature Request]"
labels: feature request
assignees: somas95
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
@ -9,6 +18,3 @@ A clear and concise description of any alternative solutions or features you've
**Additional context**
Add any other context or screenshots about the feature request here.
/label ~"feature request"
/assign @somas

25
.gitignore vendored
View File

@ -1,11 +1,26 @@
build/lib.linux-x86_64-2.7
*.pyc
__pycache__/
_build/*
build/
*.*~
_build/
debian/uberwriter/DEBIAN
debian/uberwriter/opt
debian/uberwriter/usr
flatpak/*
!flatpak/uberwriter.json
!flatpak/de.wolfvollprecht.UberWriter.*
!flatpak/flatpak_texlive.json
!flatpak/texlive_install.sh
!flatpak/python3-enchant.json
!flatpak/python3-packages.json
*.py~
data/ui/shortcut_handlers
*.ui~
.vscode/
.idea/
*.glade~
dist/uberwriter-2.0b0-py3.7.egg
builddir/*
build-aux/flatpak/_build/*
build-aux/flatpak/.flatpak-builder/*
flatpak/*
dist/
uberwriter.egg-info
build-aux/flatpak/.flatpak-builder/*

View File

@ -1,5 +1,2 @@
Wolf Vollprecht <w.vollprecht@gmail.com>
Vova Kolobok <vovkkk@ya.ru>
Manuel Genovés <manuel.genoves@gmail.com>
Gonçalo Silva <goncalossilva@gmail.com>
Thomas Lavend <lavendthomas@outlook.be>
Copyright (C) 2019, Wolf Vollprecht <w.vollprecht@gmail.com>
Copyright (C) 2019, Vova Kolobok <vovkkk@ya.ru>

View File

View File

@ -1,17 +1,17 @@
pkgname=apostrophe
_pkgname=apostrophe
pkgname=uberwriter
_pkgname=uberwriter
pkgver=2.1.3
pkgrel=1
pkgdesc='A distraction free Markdown editor for GNU/Linux made with GTK+'
arch=('any')
url='http://apostrophe.github.io/apostrophe/'
url='http://uberwriter.github.io/uberwriter/'
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/Apostrophe/apostrophe.git#branch=refactoring')
source=('git+https://github.com/UberWriter/uberwriter.git#branch=refactoring')
sha256sums=('SKIP')
pkgver() {

View File

@ -1,17 +1,17 @@
[![Please do not theme this app](https://stopthemingmy.app/badge.svg)](https://stopthemingmy.app)
# Apostrophe
# Uberwriter
![](screenshots/main.png)
## About
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.
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.
## Install
You can get Apostrophe on Flathub!
[Get it now](https://flathub.org/apps/details/de.wolfvollprecht.UberWriter)
* Flatpak: [Get it on Flathub](https://flathub.org/apps/details/de.wolfvollprecht.UberWriter)
* Nix(OS): [`pkgs.uberwriter`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/uberwriter/default.nix#L47)
## Contributions and localization
@ -21,13 +21,13 @@ Any help is appreciated!
## Building from Git
```bash
$ git clone https://github.com/Apostrophe/apostrophe.git
$ cd apostrophe
$ git clone https://github.com/UberWriter/uberwriter.git
$ cd uberwriter
$ meson builddir --prefix=/usr
# sudo ninja -C builddir install
```
To use apostrophe, please make sure you have some dependencies installed:
To use uberwriter, 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 apostrophe, please make sure you have some dependencies installed:
### Running it without installing it
You can run Apostrophe with `./apostrophe.in` without installing it in the system,
You can run UberWriter with `./uberwriter.in` without installing it in the system,
but you'll need to install and compile the schemas before:
```bash

View File

@ -1,306 +0,0 @@
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
# BEGIN LICENSE
# Copyright (C) 2019, Wolf Vollprecht <w.vollprecht@gmail.com>
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranties of
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
# END LICENSE
"""Manage all the headerbars related stuff
"""
import gi
from gettext import gettext as _
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib
from apostrophe.helpers import get_descendant
from apostrophe.settings import Settings
class BaseHeaderbar:
"""Base class for all headerbars
"""
# preview modes
FULL_WIDTH = 0
HALF_WIDTH = 1
HALF_HEIGHT = 2
WINDOWED = 3
def __init__(self, app):
self.settings = Settings.new()
self.builder = Gtk.Builder()
self.builder.add_from_resource(
"/de/wolfvollprecht/UberWriter/ui/Headerbar.ui")
self.builder.add_from_resource(
"/de/wolfvollprecht/UberWriter/ui/ExportPopover.ui")
self.hb = self.builder.get_object(
"Headerbar")
self.hb_revealer = self.builder.get_object(
"titlebar_revealer")
self.preview_toggle_revealer = self.builder.get_object(
"preview_switch_revealer")
self.preview_switcher_icon = self.builder.get_object(
"preview_switch_toggle_icon")
self.__populate_layout_switcher_menu()
self.update_preview_layout_icon()
self.sync_scroll_switch = self.builder.get_object("sync_scroll_switch")
self.sync_scroll_switch.set_active(self.settings.get_value("sync-scroll"))
self.sync_scroll_switch.connect("state-set", self.__on_sync_scroll)
self.menu_button = self.builder.get_object("menu_button")
self.recents_button = self.builder.get_object("recents_button")
self.export_button = self.builder.get_object("export_button")
export_popover = self.builder.get_object("export_menu")
self.preview_switch_button = self.builder.get_object("preview_switch_button")
self.export_button.set_popover(export_popover)
add_menus(self, app)
settings = Gtk.Settings.get_default()
# TODO: use walrust operator whenever Python3.8 lands on SDK
# if global_dark:= settings.props.gtk_theme_name.endswith("-dark"):
global_dark = settings.props.gtk_theme_name.endswith("-dark")
if global_dark:
self.light_button.set_sensitive(False)
self.light_button.set_tooltip_text(_(
"Light mode isn't available while using a dark global theme"))
self.dark_button.set_active(self.settings.get_boolean("dark-mode") or global_dark)
self.light_button.connect("toggled", self.__on_dark_mode)
self.select_preview_layout_row()
def update_preview_layout_icon(self):
mode = self.settings.get_enum("preview-mode")
self.preview_switcher_icon.set_from_icon_name(
self.__get_icon_for_preview_mode(mode), 4)
def select_preview_layout_row(self):
mode = self.settings.get_enum("preview-mode")
row = self.preview_menu.get_row_at_index(mode)
self.preview_menu.select_row(row)
def __populate_layout_switcher_menu(self):
self.preview_menu = self.builder.get_object("preview_switch_options")
modes = self.settings.props.settings_schema.get_key("preview-mode").get_range()[1]
for i, mode in enumerate(modes):
item_builder = Gtk.Builder()
item_builder.add_from_resource(
"/de/wolfvollprecht/UberWriter/ui/PreviewLayoutSwitcherItem.ui")
menu_item = item_builder.get_object("switcherItem")
menu_item.label = item_builder.get_object("label")
menu_item.label.set_text(self.__get_text_for_preview_mode(i))
menu_item.icon = item_builder.get_object("icon")
menu_item.icon.set_from_icon_name(self.__get_icon_for_preview_mode(i), 16)
menu_item.set_action_name("app.preview_mode")
menu_item.set_action_target_value(GLib.Variant.new_string(mode))
menu_item.show_all()
self.preview_menu.insert(menu_item, -1)
def __get_text_for_preview_mode(self, mode):
if mode == self.FULL_WIDTH:
return _("Full-Width")
elif mode == self.HALF_WIDTH:
return _("Half-Width")
elif mode == self.HALF_HEIGHT:
return _("Half-Height")
elif mode == self.WINDOWED:
return _("Windowed")
else:
raise ValueError("Unknown preview mode {}".format(mode))
def __get_icon_for_preview_mode(self, mode):
if mode == self.FULL_WIDTH:
return "preview-layout-full-width-symbolic"
elif mode == self.HALF_WIDTH:
return "preview-layout-half-width-symbolic"
elif mode == self.HALF_HEIGHT:
return "preview-layout-half-height-symbolic"
elif mode == self.WINDOWED:
return "preview-layout-windowed-symbolic"
else:
raise ValueError("Unknown preview mode {}".format(mode))
def __on_sync_scroll(self, _, state):
self.settings.set_boolean("sync-scroll", state)
return False
def __on_dark_mode(self, _):
self.settings.set_boolean("dark-mode", self.dark_button.get_active())
class MainHeaderbar(BaseHeaderbar): # pylint: disable=too-few-public-methods
"""Sets up the main application headerbar
"""
def __init__(self, app):
BaseHeaderbar.__init__(self, app)
self.hb.set_show_close_button(True)
self.hb_revealer.props.transition_duration = 0
class FullscreenHeaderbar(BaseHeaderbar):
"""Sets up and manages the fullscreen headerbar and his events
"""
def __init__(self, fs_builder, app):
BaseHeaderbar.__init__(self, app)
self.hb.set_show_close_button(False)
self.exit_fs_button = self.builder.get_object("exit_fs_button")
self.exit_fs_button.set_visible(True)
self.events = fs_builder.get_object("FullscreenEventbox")
self.events.add(self.hb_revealer)
# this is a little tricky
# we show hb when the cursor enters an area of 1px at the top
# as the hb is shown the height of the eventbox grows to accomodate it
self.events.connect('enter_notify_event', self.show_fs_hb)
self.events.connect('leave_notify_event', self.hide_fs_hb)
self.menu_button.get_popover().connect('closed', self.hide_fs_hb)
self.recents_button.get_popover().connect('closed', self.hide_fs_hb)
self.export_button.get_popover().connect('closed', self.hide_fs_hb)
self.preview_switch_button.get_popover().connect('closed', self.hide_fs_hb)
def show_fs_hb(self, _widget=None, _data=None):
"""show headerbar of the fullscreen mode
"""
self.hb_revealer.set_reveal_child(True)
def hide_fs_hb(self, _widget=None, _data=None):
"""hide headerbar of the fullscreen mode
"""
if (self.menu_button.get_active() or
self.recents_button.get_active() or
self.export_button.get_active() or
self.preview_switch_button.get_active()):
pass
else:
self.hb_revealer.set_reveal_child(False)
class DummyHeaderbar(BaseHeaderbar):
"""Sets up and manages the dummy headerbar wich fades away when entering
the free-distracting mode
"""
def __init__(self, app):
BaseHeaderbar.__init__(self, app)
self.hb.set_show_close_button(True)
self.hb_revealer.set_transition_type(
Gtk.RevealerTransitionType.CROSSFADE)
self.hb_revealer.set_reveal_child(False)
self.hb_revealer.hide()
self.menu_button.set_sensitive(True)
self.recents_button.set_sensitive(True)
def show_dm_hb(self):
"""show dummy headerbar:
It appears instantly to inmediatly fade away
"""
self.hb_revealer.show()
self.hb_revealer.set_transition_duration(0)
self.hb_revealer.set_reveal_child(True)
self.hb_revealer.set_transition_duration(600)
self.hb_revealer.set_reveal_child(False)
def hide_dm_hb(self):
"""hide dummy headerbar
It appears slowly to inmediatly dissapear
"""
self.hb_revealer.set_transition_duration(400)
self.hb_revealer.set_reveal_child(True)
GLib.timeout_add(400, self.hide_dm_hb_with_wait)
def hide_dm_hb_with_wait(self):
self.hb_revealer.set_transition_duration(0)
self.hb_revealer.set_reveal_child(False)
self.hb_revealer.hide()
return False
class PreviewHeaderbar:
"""Sets up the preview headerbar
"""
def __init__(self):
self.hb = Gtk.HeaderBar().new()
self.hb.props.show_close_button = True
self.hb.get_style_context().add_class("titlebar")
self.hb_revealer = Gtk.Revealer(name="titlebar-revealer-pv")
self.hb_revealer.add(self.hb)
self.hb_revealer.props.transition_duration = 750
self.hb_revealer.set_transition_type(
Gtk.RevealerTransitionType.CROSSFADE)
self.hb_revealer.show()
self.hb_revealer.set_reveal_child(True)
self.hb_container = Gtk.Frame(name="titlebar-container")
self.hb_container.set_shadow_type(Gtk.ShadowType.NONE)
self.hb_container.add(self.hb_revealer)
self.hb_container.show()
self.hb.show_all()
def add_menus(headerbar, app):
""" Add menu models to hb buttons
"""
# Add menu model to the menu button
builder_window_menu = Gtk.Builder()
builder_window_menu.add_from_resource(
"/de/wolfvollprecht/UberWriter/ui/Menu.ui")
model = builder_window_menu.get_object("Menu")
headerbar.light_button = builder_window_menu.get_object("light_mode_button")
headerbar.dark_button = builder_window_menu.get_object("dark_mode_button")
headerbar.menu_button.set_popover(model)
# Add recents menu to the open recents button
recents_builder = Gtk.Builder()
recents_builder.add_from_resource(
"/de/wolfvollprecht/UberWriter/ui/Recents.ui")
recents = recents_builder.get_object("recent_md_popover")
recents_treeview = get_descendant(recents, "recent_view", level=0)
recents_treeview.set_activate_on_single_click(True)
recents_wd = recents_builder.get_object("recent_md_widget")
recents_wd.connect('item-activated', app.on_open_recent)
headerbar.recents_button.set_popover(recents)
headerbar.recents_button.set_sensitive(True)

View File

@ -1,503 +0,0 @@
### GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
### Preamble
The licenses for most software are designed to take away your freedom
to share and change it. By contrast, the GNU General Public Licenses
are intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations
below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that there
is no warranty for the free library. Also, if the library is modified
by someone else and passed on, the recipients should know that what
they have is not the original version, so that the original author's
reputation will not be affected by problems that might be introduced
by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using a
shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it
becomes a de-facto standard. To achieve this, non-free programs must
be allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
**0.** This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License"). Each
licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control
compilation and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does and
what the program that uses the Library does.
**1.** You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a
fee.
**2.** You may modify your copy or copies of the Library or any
portion of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
- **a)** The modified work must itself be a software library.
- **b)** You must cause the files modified to carry prominent
notices stating that you changed the files and the date of
any change.
- **c)** You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
- **d)** If a facility in the modified Library refers to a function
or a table of data to be supplied by an application program that
uses the facility, other than as an argument passed when the
facility is invoked, then you must make a good faith effort to
ensure that, in the event an application does not supply such
function or table, the facility still operates, and performs
whatever part of its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of
the application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
**3.** You may opt to apply the terms of the ordinary GNU General
Public License instead of this License to a given copy of the Library.
To do this, you must alter all the notices that refer to this License,
so that they refer to the ordinary GNU General Public License, version
2, instead of to this License. (If a newer version than version 2 of
the ordinary GNU General Public License has appeared, then you can
specify that version instead if you wish.) Do not make any other
change in these notices.
Once this change is made in a given copy, it is irreversible for that
copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of the
Library into a program that is not a library.
**4.** You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy from
a designated place, then offering equivalent access to copy the source
code from the same place satisfies the requirement to distribute the
source code, even though third parties are not compelled to copy the
source along with the object code.
**5.** A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a work,
in isolation, is not a derivative work of the Library, and therefore
falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License. Section
6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data structure
layouts and accessors, and small macros and small inline functions
(ten lines or less in length), then the use of the object file is
unrestricted, regardless of whether it is legally a derivative work.
(Executables containing this object code plus portions of the Library
will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
**6.** As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a work
containing portions of the Library, and distribute that work under
terms of your choice, provided that the terms permit modification of
the work for the customer's own use and reverse engineering for
debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
- **a)** Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood that
the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
- **b)** Use a suitable shared library mechanism for linking with
the Library. A suitable mechanism is one that (1) uses at run time
a copy of the library already present on the user's computer
system, rather than copying library functions into the executable,
and (2) will operate properly with a modified version of the
library, if the user installs one, as long as the modified version
is interface-compatible with the version that the work was
made with.
- **c)** Accompany the work with a written offer, valid for at least
three years, to give the same user the materials specified in
Subsection 6a, above, for a charge no more than the cost of
performing this distribution.
- **d)** If distribution of the work is made by offering access to
copy from a designated place, offer equivalent access to copy the
above specified materials from the same place.
- **e)** Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
**7.** You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
- **a)** Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other
library facilities. This must be distributed under the terms of
the Sections above.
- **b)** Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
**8.** You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
**9.** You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
**10.** Each time you redistribute the Library (or any work based on
the Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
**11.** If, as a consequence of a court judgment or allegation of
patent infringement or for any other reason (not limited to patent
issues), conditions are imposed on you (whether by court order,
agreement or otherwise) that contradict the conditions of this
License, they do not excuse you from the conditions of this License.
If you cannot distribute so as to satisfy simultaneously your
obligations under this License and any other pertinent obligations,
then as a consequence you may not distribute the Library at all. For
example, if a patent license would not permit royalty-free
redistribution of the Library by all those who receive copies directly
or indirectly through you, then the only way you could satisfy both it
and this License would be to refrain entirely from distribution of the
Library.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply, and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
**12.** If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
**13.** The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time. Such
new versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
**14.** If you wish to incorporate parts of the Library into other
free programs whose distribution conditions are incompatible with
these, write to the author to ask for permission. For software which
is copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
**NO WARRANTY**
**15.** BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
**16.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
### END OF TERMS AND CONDITIONS
### How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms
of the ordinary General Public License).
To apply these terms, attach the following notices to the library. It
is safest to attach them to the start of each source file to most
effectively convey the exclusion of warranty; and each file should
have at least the "copyright" line and a pointer to where the full
notice is found.
one line to give the library's name and an idea of what it does.
Copyright (C) year name of author
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper
mail.
You should also get your employer (if you work as a programmer) or
your school, if any, to sign a "copyright disclaimer" for the library,
if necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in
the library `Frob' (a library for tweaking knobs) written
by James Random Hacker.
signature of Ty Coon, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

View File

@ -1,22 +0,0 @@
import gi
from apostrophe import helpers
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib, Gio
class StyledWindow(Gtk.ApplicationWindow):
"""A window that will redraw itself upon theme changes."""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# Set theme css
css_provider_file = Gio.File.new_for_uri(
"resource:///de/wolfvollprecht/UberWriter/media/css/gtk/base.css")
style_provider = Gtk.CssProvider()
style_provider.load_from_file(css_provider_file)
Gtk.StyleContext.add_provider_for_screen(
self.get_screen(), style_provider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)

View File

@ -1,7 +1,7 @@
{
"app-id": "de.wolfvollprecht.UberWriter",
"runtime": "org.gnome.Platform",
"runtime-version": "3.36",
"runtime-version": "3.34",
"sdk": "org.gnome.Sdk",
"command": "uberwriter",
"finish-args": [
@ -26,8 +26,8 @@
"name":"gspell",
"sources":[{
"type":"archive",
"url":"https://download.gnome.org/sources/gspell/1.8/gspell-1.8.3.tar.xz",
"sha256":"5ae514dd0216be069176accf6d0049d6a01cfa6a50df4bc06be85f7080b62de8"
"url":"https://download.gnome.org/sources/gspell/1.8/gspell-1.8.1.tar.xz",
"sha256":"819a1d23c7603000e73f5e738bdd284342e0cd345fb0c7650999c31ec741bbe5"
}]
},
{
@ -42,26 +42,26 @@
],
"sources": [{
"type": "archive",
"url": "https://github.com/jgm/pandoc/releases/download/2.9.2/pandoc-2.9.2-linux-amd64.tar.gz",
"sha256": "039f155b6166c1e268479bcb06af2dba99eb7795cbff7b3c13b4875388195d08"
"url": "https://github.com/jgm/pandoc/releases/download/2.2/pandoc-2.2-linux.tar.gz",
"sha256": "06ecd882e42ef9b7390b1c82e1e71b3ea48679181289b9b810a8797825bed8ed"
}]
},
{
"name": "pipdeps",
"name": "pipdeps",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} regex pypandoc"
],
"sources": [{
"type": "file",
"url": "https://files.pythonhosted.org/packages/75/28/521c6dc7fef23a68368efefdcd682f5b3d1d58c2b90b06dc1d0b805b51ae/wheel-0.34.2.tar.gz",
"sha256": "8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96"
"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/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f/pip-20.0.2.tar.gz",
"sha256": "7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f"
},
"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",
@ -69,17 +69,17 @@
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/e8/76/8ac7f467617b9cfbafcef3c76df6f22b15de654a62bea719792b00a83195/regex-2020.2.20.tar.gz",
"sha256": "9e9624440d754733eddbcd4614378c18713d2d9d0dc647cf9c72f64e39671be5"
"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/14/4b/6f7a3f2bb1e2fa4d3007126578cae0b9910ff46c4957bef5bd4b92733011/pyenchant-3.0.1.tar.gz",
"sha256": "1bd26a644abf80196a9de3f2d820ebafb7e7f78385e392ce77cb1552f164d559"
"url": "https://files.pythonhosted.org/packages/9e/54/04d88a59efa33fefb88133ceb638cdf754319030c28aadc5a379d82140ed/pyenchant-2.0.0.tar.gz",
"sha256": "fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0"
}]
},
{
"name": "fonts",
"name": "fonts",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/share/fonts/",
@ -94,16 +94,13 @@
{
"name": "uberwriter",
"buildsystem": "meson",
"config-opts" : [
"-Dprofile=development"
],
"sources": [{
"type" : "dir",
"path" : "../../"
}],
"post-install": [
"install -d /app/extensions"
]
}
]
"post-install": [
"install -d /app/extensions"
]
}
]
}

View File

@ -32,4 +32,4 @@
"sha256": "fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0"
}
]
}
}

View File

@ -0,0 +1,121 @@
{
"id": "de.wolfvollprecht.UberWriter.Plugin.WebPhoto",
"runtime": "de.wolfvollprecht.UberWriter",
"branch": "stable",
"sdk": "org.gnome.Sdk//3.32",
"build-extension": true,
"separate-locales": false,
"appstream-compose": false,
"finish-args": [
],
"build-options" : {
"prefix": "/app/extensions/WebPhoto",
"env": {
"PATH": "/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/x86_64-linux:/app/bin:/usr/bin"
}
},
"cleanup": [],
"modules": [
{
"name": "Glib2",
"sources": [
{
"type": "archive",
"url": "http://ftp.gnome.org/pub/gnome/sources/glib/2.56/glib-2.56.1.tar.xz",
"sha256": "40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d"
}
]
},
{
"name": "LibIDL",
"buildsystem": "autotools",
"sources": [
{
"type": "git",
"url": "https://github.com/GNOME/libIDL/",
"tag": "LIBIDL_0_8_14",
"commit": "666fcbf086fb859738b67417c99a9895bb3d8ce5"
}
]
},
{
"name": "ORBit2",
"rm-configure": true,
"config-opts": ["--prefix=/app/extensions/WebPhoto"],
"build-options": {
"env":{
"PKG_CONFIG_PATH": "/app/extensions/WebPhoto/lib/pkgconfig",
"GNOME2_DIR": "/app/extensions/WebPhoto",
"LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib",
"PATH": "/app/extensions/WebPhoto/bin:/usr/bin"
}
},
"sources": [
{
"type": "archive",
"url": "http://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14/ORBit2-2.14.19.tar.bz2",
"sha256": "55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550"
},
{
"type": "patch",
"path": "ORBit2.patch"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -fi"
]
}
]
},
{
"name": "gconf",
"buildsystem": "autotools",
"config-opts": ["--prefix=/app/extensions/WebPhoto"],
"build-options": {
"env":{
"PKG_CONFIG_PATH": "/app/extensions/WebPhoto/lib/pkgconfig",
"GNOME2_DIR": "/app/extensions/WebPhoto",
"LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib",
"PATH": "/app/extensions/WebPhoto/bin:/usr/bin"
}
},
"sources": [
{
"type": "archive",
"url": "http://ftp.gnome.org/pub/GNOME/sources/GConf/3.2/GConf-3.2.6.tar.xz",
"sha256": "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c"
}
]
},
{
"name": "gnome-web-photo",
"buildsystem": "autotools",
"config-opts": [
"--with-gtk=3.0",
"--prefix=/app/extensions/WebPhoto"
],
"build-options": {
"env":{
"LD_LIBRARY_PATH": "/app/extensions/WebPhoto/lib",
"PATH": "/app/bin:/app/extensions/WebPhoto/bin:/usr/bin",
"ACLOCAL_PATH": "/app/extensions/WebPhoto/share/aclocal"
}
},
"sources": [
{
"type": "git",
"url": "https://github.com/GNOME/gnome-web-photo/",
"tag": "0.10.6",
"commit": "827d6b98c120b4dd8d689a1faf52450685ca6d46"
},
{
"type": "patch",
"path": "GnomeWebPhoto.patch"
}
]
}
]
}

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/de/wolfvollprecht/UberWriter/">
<file compressed="true" alias="icons/scalable/status/preview-layout-full-width-symbolic.svg">media/icons/preview-layout-full-width-symbolic.svg</file>
<file compressed="true" alias="icons/scalable/status/preview-layout-half-width-symbolic.svg">media/icons/preview-layout-half-width-symbolic.svg</file>
<file compressed="true" alias="icons/scalable/status/preview-layout-windowed-symbolic.svg">media/icons/preview-layout-windowed-symbolic.svg</file>
<file compressed="true" alias="icons/scalable/status/preview-layout-half-height-symbolic.svg">media/icons/preview-layout-half-height-symbolic.svg</file>
<file compressed="true">media/css/gtk/base.css</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Export.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/ExportPopover.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Menu.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Preferences.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Recents.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Shortcuts.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Window.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Headerbar.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/PreviewLayoutSwitcherItem.ui</file>
<file compressed="true" preprocess="xml-stripblanks">About.ui</file>
</gresource>
</gresources>

View File

@ -2,56 +2,36 @@
<component type="desktop-application">
<id>@app-id@</id>
<launchable type="desktop-id">@app-id@.desktop</launchable>
<name>Apostrophe</name>
<summary>An elegant, distraction-free GTK markdown editor</summary>
<name>UberWriter</name>
<summary>An elegant, free distraction GTK+ markdown editor</summary>
<description>
<p>Apostrophe is a GTK based distraction free Markdown editor, originally created by Wolf Vollprecht and maintained by Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.</p>
<p>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>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/apostrophe/master/screenshots/main.png</image>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/main-dark.png</image>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main-dark.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/formula.png</image>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/formula.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/preview.png</image>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/preview.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/apostrophe/master/screenshots/focus.png</image>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/focus.png</image>
</screenshot>
</screenshots>
<releases>
<release date="2020-03-19" version="2.2.0">
<release date="2019-04-17" version="2.2.0-beta1">
<description>
<p>UI/UX/Functionality</p>
<ul>
<li>New headerbar design</li>
<li>New preview modes, with the option to sync them to the edit view</li>
<li>New preview mode selector</li>
<li>New theme selector</li>
<li>Rework the autohiding mechanism; now the headerbar fades away when typing, only to reappear when the cursor moves to the top portion of the window</li>
<li>Now the content of the texview goes visually bellow the headerbar</li>
<li>Overall better styling</li>
<li>Added Hemingway mode, which disables the backspace key</li>
<li>Added Github Flavoured Markdow, MultiMarkdown, Pandoc's Markdown and Commonmark support, being CommonMark the default from now on</li>
<li>New stats counter, with the option to show count of characters/words/sentences/paragrafs/reading time</li>
<li>Better handling of DnD events</li>
<li>Export to A4 by default</li>
</ul>
<p>Technical improvements</p>
<ul>
<li>Port of the buildsystem to Meson. Now you can hit the "build" button on Builder and everything works as expected</li>
<li>Port to gspell</li>
<li>Partial port to gresources</li>
<li>Overall refactorization of the codebase</li>
<li>General bugfixes and improvements</li>
<li>...</li>
</ul>
</description>
</release>
@ -59,7 +39,7 @@
<description>
<ul>
<li>Added italian language</li>
<li>Initial themes support: now apostrophe adapts his colors to the current GTK theme</li>
<li>Initial themes support: now uberwriter 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>
@ -81,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 Apostrophe to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.</p>
<p>This release provides a fix to a bug that caused Uberwriter to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.</p>
</description>
</release>
<release date="2018-07-26" version="2.1.1">
@ -135,12 +115,12 @@
</releases>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<url type="homepage">http://apostrophe.github.io/apostrophe</url>
<url type="homepage">http://uberwriter.github.io/uberwriter</url>
<content_rating type="oars-1.1"/>
<developer_name>Wolf V., Manuel G.</developer_name>
<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="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="translate">https://poeditor.com/join/project/gxVzFyXb2x</url>
<update_contact>manuel.genoves_at_gmail.com</update_contact>
<translation type="gettext">@gettext-package@</translation>

View File

@ -1,10 +1,8 @@
[Desktop Entry]
Name=Apostrophe
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=uberwriter;UberWriter;apostrophe;markdown;editor;
Comment=Apostrophe, a simple and distraction free Markdown Editor
Name=UberWriter
Comment=UberWriter, a simple and distraction free Markdown Editor
Categories=GNOME;GTK;Office;
Exec=apostrophe %U
Exec=uberwriter %U
Icon=@icon@
Terminal=false
Type=Application

View File

@ -18,9 +18,17 @@
</enum>
<schema path="/de/wolfvollprecht/UberWriter/" id="de.wolfvollprecht.UberWriter">
<key name='dark-mode-auto' type='b'>
<default>true</default>
<summary>Set dark mode automatically</summary>
<description>
Whether dark mode depends on the system theme, or is set to what the user specifies.
</description>
</key>
<key name='dark-mode' type='b'>
<default>false</default>
<summary>Use dark mode</summary>
<summary>Force dark mode</summary>
<description>
Enable or disable the dark mode.
</description>
@ -32,6 +40,14 @@
Enable or disable spellchecking.
</description>
</key>
<key name='gradient-overlay' type='b'>
<default>false</default>
<summary>Draw scroll gradient</summary>
<description>
Show a gradient overlay over the text at the top anf bottom of the window.
It can cause performance problems to some users.
</description>
</key>
<key name='sync-scroll' type='b'>
<default>true</default>
<summary>Synchronize editor/preview scrolling</summary>
@ -46,11 +62,11 @@
Input format to use when previewing and exporting using Pandoc.
</description>
</key>
<key name='autohide-headerbar' type='b'>
<key name='poll-motion' type='b'>
<default>true</default>
<summary>Autohide Headerbar</summary>
<summary>Allow Uberwriter to poll cursor motion</summary>
<description>
Hide the header and status bars when typing.
Hide the header and status bars if the cursor is not moving.
</description>
</key>
<key name='open-file-path' type='s'>

View File

@ -1,211 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<defs>
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="11.999994" y1="254" x2="116" y2="254" gradientTransform="matrix(1.076923,0,0,1.066667,-4.428073,-187.428352)">
<stop offset="0" style="stop-color:rgb(60.392159%,60.000002%,58.823532%);stop-opacity:1;"/>
<stop offset="0.0384616" style="stop-color:rgb(75.294119%,74.901962%,73.725492%);stop-opacity:1;"/>
<stop offset="0.0769231" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
<stop offset="0.923077" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
<stop offset="0.961538" style="stop-color:rgb(75.294119%,74.901962%,73.725492%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(60.392159%,60.000002%,58.823532%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,233.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear2" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,309.495007,64.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear3" gradientUnits="userSpaceOnUse" x1="17" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,257.495007,64.504974)">
<stop offset="0" style="stop-color:rgb(68.235296%,67.843139%,67.058825%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(80.784315%,80.000001%,78.431374%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear4" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,253.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear5" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,273.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear6" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,293.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear7" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,313.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear8" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,243.495007,42.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear9" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,263.495007,42.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear10" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,283.495007,42.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear11" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,313.495007,42.504974)">
<stop offset="0" style="stop-color:rgb(90.196079%,38.039216%,0%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(100%,47.058824%,0%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear12" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,237.495007,64.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear13" gradientUnits="userSpaceOnUse" x1="11.999994" y1="254" x2="116" y2="254" gradientTransform="matrix(1.076923,0,0,1.066667,-4.428073,-187.428352)">
<stop offset="0" style="stop-color:rgb(60.392159%,60.000002%,58.823532%);stop-opacity:1;"/>
<stop offset="0.0384616" style="stop-color:rgb(75.294119%,74.901962%,73.725492%);stop-opacity:1;"/>
<stop offset="0.0769231" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
<stop offset="0.923077" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
<stop offset="0.961538" style="stop-color:rgb(75.294119%,74.901962%,73.725492%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(60.392159%,60.000002%,58.823532%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear14" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,233.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear15" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,309.495007,64.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear16" gradientUnits="userSpaceOnUse" x1="17" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,257.495007,64.504974)">
<stop offset="0" style="stop-color:rgb(68.235296%,67.843139%,67.058825%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(80.784315%,80.000001%,78.431374%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear17" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,253.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear18" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,273.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear19" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,293.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear20" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,313.495007,20.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear21" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,243.495007,42.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear22" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,263.495007,42.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear23" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,283.495007,42.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear24" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,313.495007,42.504974)">
<stop offset="0" style="stop-color:rgb(90.196079%,38.039216%,0%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(100%,47.058824%,0%);stop-opacity:1;"/>
</linearGradient>
<linearGradient id="linear25" gradientUnits="userSpaceOnUse" x1="19" y1="209" x2="31" y2="209" gradientTransform="matrix(0.000000000000000061,1,-1,0.000000000000000061,237.495007,64.504974)">
<stop offset="0" style="stop-color:rgb(36.862746%,36.078432%,39.215687%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(46.666667%,46.27451%,48.235294%);stop-opacity:1;"/>
</linearGradient>
<clipPath id="clip2">
<rect x="0" y="0" width="128" height="128"/>
</clipPath>
<g id="surface50195" clip-path="url(#clip2)">
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear13);" d="M 16.496094 51.503906 L 112.496094 51.503906 C 116.914062 51.503906 120.496094 55.085938 120.496094 59.503906 L 120.496094 107.503906 C 120.496094 111.921875 116.914062 115.503906 112.496094 115.503906 L 16.496094 115.503906 C 12.078125 115.503906 8.496094 111.921875 8.496094 107.503906 L 8.496094 59.503906 C 8.496094 55.085938 12.078125 51.503906 16.496094 51.503906 Z M 16.496094 51.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(96.470588%,96.078432%,95.686275%);fill-opacity:1;" d="M 16.496094 27.503906 L 112.496094 27.503906 C 116.914062 27.503906 120.496094 31.464844 120.496094 36.347656 L 120.496094 102.664062 C 120.496094 107.546875 116.914062 111.503906 112.496094 111.503906 L 16.496094 111.503906 C 12.078125 111.503906 8.496094 107.546875 8.496094 102.664062 L 8.496094 36.347656 C 8.496094 31.464844 12.078125 27.503906 16.496094 27.503906 Z M 16.496094 27.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 21.496094 39.503906 L 27.496094 39.503906 C 29.710938 39.503906 31.273438 41.300781 31.496094 43.503906 L 32.496094 53.503906 C 32.714844 55.710938 30.710938 57.503906 28.496094 57.503906 L 20.496094 57.503906 C 18.277344 57.503906 16.273438 55.710938 16.496094 53.503906 L 17.496094 43.503906 C 17.714844 41.300781 19.277344 39.503906 21.496094 39.503906 Z M 21.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear14);" d="M 31.496094 43.503906 L 31.496094 47.503906 C 31.496094 49.722656 29.710938 51.503906 27.496094 51.503906 L 21.496094 51.503906 C 19.277344 51.503906 17.496094 49.722656 17.496094 47.503906 L 17.496094 43.503906 C 17.496094 41.289062 19.277344 39.503906 21.496094 39.503906 L 27.496094 39.503906 C 29.710938 39.503906 31.496094 41.289062 31.496094 43.503906 Z M 31.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 41.496094 39.503906 L 47.496094 39.503906 C 49.710938 39.503906 51.273438 41.300781 51.496094 43.503906 L 52.496094 53.503906 C 52.714844 55.710938 50.710938 57.503906 48.496094 57.503906 L 40.496094 57.503906 C 38.277344 57.503906 36.273438 55.710938 36.496094 53.503906 L 37.496094 43.503906 C 37.714844 41.300781 39.277344 39.503906 41.496094 39.503906 Z M 41.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 61.496094 39.503906 L 67.496094 39.503906 C 69.710938 39.503906 71.273438 41.300781 71.496094 43.503906 L 72.496094 53.503906 C 72.714844 55.710938 70.710938 57.503906 68.496094 57.503906 L 60.496094 57.503906 C 58.277344 57.503906 56.273438 55.710938 56.496094 53.503906 L 57.496094 43.503906 C 57.714844 41.300781 59.277344 39.503906 61.496094 39.503906 Z M 61.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 81.496094 39.503906 L 87.496094 39.503906 C 89.710938 39.503906 91.273438 41.300781 91.496094 43.503906 L 92.496094 53.503906 C 92.714844 55.710938 90.710938 57.503906 88.496094 57.503906 L 80.496094 57.503906 C 78.277344 57.503906 76.273438 55.710938 76.496094 53.503906 L 77.496094 43.503906 C 77.714844 41.300781 79.277344 39.503906 81.496094 39.503906 Z M 81.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 101.496094 39.503906 L 107.496094 39.503906 C 109.710938 39.503906 111.273438 41.300781 111.496094 43.503906 L 112.496094 53.503906 C 112.714844 55.710938 110.710938 57.503906 108.496094 57.503906 L 100.496094 57.503906 C 98.277344 57.503906 96.273438 55.710938 96.496094 53.503906 L 97.496094 43.503906 C 97.714844 41.300781 99.277344 39.503906 101.496094 39.503906 Z M 101.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 31.496094 61.503906 L 37.496094 61.503906 C 39.710938 61.503906 41.273438 63.300781 41.496094 65.503906 L 42.496094 75.503906 C 42.714844 77.710938 40.710938 79.503906 38.496094 79.503906 L 30.496094 79.503906 C 28.277344 79.503906 26.273438 77.710938 26.496094 75.503906 L 27.496094 65.503906 C 27.714844 63.300781 29.277344 61.503906 31.496094 61.503906 Z M 31.496094 61.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 51.496094 61.503906 L 57.496094 61.503906 C 59.710938 61.503906 61.273438 63.300781 61.496094 65.503906 L 62.496094 75.503906 C 62.714844 77.710938 60.710938 79.503906 58.496094 79.503906 L 50.496094 79.503906 C 48.277344 79.503906 46.273438 77.710938 46.496094 75.503906 L 47.496094 65.503906 C 47.714844 63.300781 49.277344 61.503906 51.496094 61.503906 Z M 51.496094 61.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 71.496094 61.503906 L 77.496094 61.503906 C 79.710938 61.503906 81.273438 63.300781 81.496094 65.503906 L 82.496094 75.503906 C 82.714844 77.710938 80.710938 79.503906 78.496094 79.503906 L 70.496094 79.503906 C 68.277344 79.503906 66.273438 77.710938 66.496094 75.503906 L 67.496094 65.503906 C 67.714844 63.300781 69.277344 61.503906 71.496094 61.503906 Z M 71.496094 61.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(77.64706%,27.450982%,0%);fill-opacity:1;" d="M 91.496094 61.503906 L 98.496094 61.503906 C 100.710938 61.503906 102.273438 63.300781 102.496094 65.503906 L 103.496094 75.503906 C 103.714844 77.710938 101.710938 79.503906 99.496094 79.503906 L 90.496094 79.503906 C 88.277344 79.503906 86.273438 77.710938 86.496094 75.503906 L 87.496094 65.503906 C 87.714844 63.300781 89.277344 61.503906 91.496094 61.503906 Z M 91.496094 61.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 25.496094 83.503906 L 31.496094 83.503906 C 33.710938 83.503906 35.273438 85.300781 35.496094 87.503906 L 36.496094 97.503906 C 36.714844 99.710938 34.710938 101.503906 32.496094 101.503906 L 24.496094 101.503906 C 22.277344 101.503906 20.273438 99.710938 20.496094 97.503906 L 21.496094 87.503906 C 21.714844 85.300781 23.277344 83.503906 25.496094 83.503906 Z M 25.496094 83.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 97.496094 83.503906 L 103.496094 83.503906 C 105.710938 83.503906 107.273438 85.300781 107.496094 87.503906 L 108.496094 97.503906 C 108.714844 99.710938 106.710938 101.503906 104.496094 101.503906 L 96.496094 101.503906 C 94.277344 101.503906 92.273438 99.710938 92.496094 97.503906 L 93.496094 87.503906 C 93.714844 85.300781 95.277344 83.503906 97.496094 83.503906 Z M 97.496094 83.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear15);" d="M 107.496094 87.503906 L 107.496094 91.503906 C 107.496094 93.722656 105.710938 95.503906 103.496094 95.503906 L 97.496094 95.503906 C 95.277344 95.503906 93.496094 93.722656 93.496094 91.503906 L 93.496094 87.503906 C 93.496094 85.289062 95.277344 83.503906 97.496094 83.503906 L 103.496094 83.503906 C 105.710938 83.503906 107.496094 85.289062 107.496094 87.503906 Z M 107.496094 87.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(50.980395%,50.588238%,52.549022%);fill-opacity:1;" d="M 45.496094 83.503906 L 83.496094 83.503906 C 85.710938 83.503906 87.273438 85.300781 87.496094 87.503906 L 88.496094 97.503906 C 88.714844 99.710938 86.710938 101.503906 84.496094 101.503906 L 44.496094 101.503906 C 42.277344 101.503906 40.273438 99.710938 40.496094 97.503906 L 41.496094 87.503906 C 41.714844 85.300781 43.277344 83.503906 45.496094 83.503906 Z M 45.496094 83.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear16);" d="M 87.496094 87.503906 L 87.496094 91.503906 C 87.496094 93.722656 85.710938 95.503906 83.496094 95.503906 L 45.496094 95.503906 C 43.277344 95.503906 41.496094 93.722656 41.496094 91.503906 L 41.496094 87.503906 C 41.496094 85.289062 43.277344 83.503906 45.496094 83.503906 L 83.496094 83.503906 C 85.710938 83.503906 87.496094 85.289062 87.496094 87.503906 Z M 87.496094 87.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear17);" d="M 51.496094 43.503906 L 51.496094 47.503906 C 51.496094 49.722656 49.710938 51.503906 47.496094 51.503906 L 41.496094 51.503906 C 39.277344 51.503906 37.496094 49.722656 37.496094 47.503906 L 37.496094 43.503906 C 37.496094 41.289062 39.277344 39.503906 41.496094 39.503906 L 47.496094 39.503906 C 49.710938 39.503906 51.496094 41.289062 51.496094 43.503906 Z M 51.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear18);" d="M 71.496094 43.503906 L 71.496094 47.503906 C 71.496094 49.722656 69.710938 51.503906 67.496094 51.503906 L 61.496094 51.503906 C 59.277344 51.503906 57.496094 49.722656 57.496094 47.503906 L 57.496094 43.503906 C 57.496094 41.289062 59.277344 39.503906 61.496094 39.503906 L 67.496094 39.503906 C 69.710938 39.503906 71.496094 41.289062 71.496094 43.503906 Z M 71.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear19);" d="M 91.496094 43.503906 L 91.496094 47.503906 C 91.496094 49.722656 89.710938 51.503906 87.496094 51.503906 L 81.496094 51.503906 C 79.277344 51.503906 77.496094 49.722656 77.496094 47.503906 L 77.496094 43.503906 C 77.496094 41.289062 79.277344 39.503906 81.496094 39.503906 L 87.496094 39.503906 C 89.710938 39.503906 91.496094 41.289062 91.496094 43.503906 Z M 91.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear20);" d="M 111.496094 43.503906 L 111.496094 47.503906 C 111.496094 49.722656 109.710938 51.503906 107.496094 51.503906 L 101.496094 51.503906 C 99.277344 51.503906 97.496094 49.722656 97.496094 47.503906 L 97.496094 43.503906 C 97.496094 41.289062 99.277344 39.503906 101.496094 39.503906 L 107.496094 39.503906 C 109.710938 39.503906 111.496094 41.289062 111.496094 43.503906 Z M 111.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear21);" d="M 41.496094 65.503906 L 41.496094 69.503906 C 41.496094 71.722656 39.710938 73.503906 37.496094 73.503906 L 31.496094 73.503906 C 29.277344 73.503906 27.496094 71.722656 27.496094 69.503906 L 27.496094 65.503906 C 27.496094 63.289062 29.277344 61.503906 31.496094 61.503906 L 37.496094 61.503906 C 39.710938 61.503906 41.496094 63.289062 41.496094 65.503906 Z M 41.496094 65.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear22);" d="M 61.496094 65.503906 L 61.496094 69.503906 C 61.496094 71.722656 59.710938 73.503906 57.496094 73.503906 L 51.496094 73.503906 C 49.277344 73.503906 47.496094 71.722656 47.496094 69.503906 L 47.496094 65.503906 C 47.496094 63.289062 49.277344 61.503906 51.496094 61.503906 L 57.496094 61.503906 C 59.710938 61.503906 61.496094 63.289062 61.496094 65.503906 Z M 61.496094 65.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear23);" d="M 81.496094 65.503906 L 81.496094 69.503906 C 81.496094 71.722656 79.710938 73.503906 77.496094 73.503906 L 71.496094 73.503906 C 69.277344 73.503906 67.496094 71.722656 67.496094 69.503906 L 67.496094 65.503906 C 67.496094 63.289062 69.277344 61.503906 71.496094 61.503906 L 77.496094 61.503906 C 79.710938 61.503906 81.496094 63.289062 81.496094 65.503906 Z M 81.496094 65.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear24);" d="M 102.496094 65.503906 L 102.496094 69.503906 C 102.496094 71.722656 100.710938 73.503906 98.496094 73.503906 L 91.496094 73.503906 C 89.277344 73.503906 87.496094 71.722656 87.496094 69.503906 L 87.496094 65.503906 C 87.496094 63.289062 89.277344 61.503906 91.496094 61.503906 L 98.496094 61.503906 C 100.710938 61.503906 102.496094 63.289062 102.496094 65.503906 Z M 102.496094 65.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear25);" d="M 35.496094 87.503906 L 35.496094 91.503906 C 35.496094 93.722656 33.710938 95.503906 31.496094 95.503906 L 25.496094 95.503906 C 23.277344 95.503906 21.496094 93.722656 21.496094 91.503906 L 21.496094 87.503906 C 21.496094 85.289062 23.277344 83.503906 25.496094 83.503906 L 31.496094 83.503906 C 33.710938 83.503906 35.496094 85.289062 35.496094 87.503906 Z M 35.496094 87.503906 "/>
</g>
<clipPath id="clip1">
<rect x="0" y="0" width="128" height="128"/>
</clipPath>
<filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
<feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<g id="surface50198" clip-path="url(#clip1)" filter="url(#alpha)">
<use xlink:href="#surface50195"/>
</g>
<mask id="mask0">
<use xlink:href="#surface50198"/>
</mask>
<mask id="mask1">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.8;stroke:none;"/>
</g>
</mask>
<linearGradient id="linear26" gradientUnits="userSpaceOnUse" x1="300" y1="235" x2="428" y2="235" gradientTransform="matrix(0.000000000000000023,0.37,-0.98462,0.00000000000000006,295.38501,-30.360001)">
<stop offset="0" style="stop-color:rgb(97.647059%,94.117647%,41.960785%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(96.078432%,76.078433%,6.666667%);stop-opacity:1;"/>
</linearGradient>
<clipPath id="clip4">
<rect x="0" y="0" width="128" height="128"/>
</clipPath>
<g id="surface50192" clip-path="url(#clip4)">
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear26);" d="M 128 80.640625 L 128 128 L 0 128 L 0 80.640625 Z M 128 80.640625 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 13.308594 80.640625 L 60.664062 128 L 81.878906 128 L 34.519531 80.640625 Z M 55.730469 80.640625 L 103.09375 128 L 124.308594 128 L 76.945312 80.640625 Z M 98.160156 80.640625 L 128 110.480469 L 128 89.269531 L 119.371094 80.640625 Z M 0 88.546875 L 0 109.761719 L 18.238281 128 L 39.453125 128 Z M 0 88.546875 "/>
</g>
<clipPath id="clip3">
<rect x="0" y="0" width="128" height="128"/>
</clipPath>
<g id="surface50197" clip-path="url(#clip3)">
<use xlink:href="#surface50192" mask="url(#mask1)"/>
</g>
</defs>
<g id="surface50185">
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear0);" d="M 16.496094 51.503906 L 112.496094 51.503906 C 116.914062 51.503906 120.496094 55.085938 120.496094 59.503906 L 120.496094 107.503906 C 120.496094 111.921875 116.914062 115.503906 112.496094 115.503906 L 16.496094 115.503906 C 12.078125 115.503906 8.496094 111.921875 8.496094 107.503906 L 8.496094 59.503906 C 8.496094 55.085938 12.078125 51.503906 16.496094 51.503906 Z M 16.496094 51.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(96.470588%,96.078432%,95.686275%);fill-opacity:1;" d="M 16.496094 27.503906 L 112.496094 27.503906 C 116.914062 27.503906 120.496094 31.464844 120.496094 36.347656 L 120.496094 102.664062 C 120.496094 107.546875 116.914062 111.503906 112.496094 111.503906 L 16.496094 111.503906 C 12.078125 111.503906 8.496094 107.546875 8.496094 102.664062 L 8.496094 36.347656 C 8.496094 31.464844 12.078125 27.503906 16.496094 27.503906 Z M 16.496094 27.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 21.496094 39.503906 L 27.496094 39.503906 C 29.710938 39.503906 31.273438 41.300781 31.496094 43.503906 L 32.496094 53.503906 C 32.714844 55.710938 30.710938 57.503906 28.496094 57.503906 L 20.496094 57.503906 C 18.277344 57.503906 16.273438 55.710938 16.496094 53.503906 L 17.496094 43.503906 C 17.714844 41.300781 19.277344 39.503906 21.496094 39.503906 Z M 21.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear1);" d="M 31.496094 43.503906 L 31.496094 47.503906 C 31.496094 49.722656 29.710938 51.503906 27.496094 51.503906 L 21.496094 51.503906 C 19.277344 51.503906 17.496094 49.722656 17.496094 47.503906 L 17.496094 43.503906 C 17.496094 41.289062 19.277344 39.503906 21.496094 39.503906 L 27.496094 39.503906 C 29.710938 39.503906 31.496094 41.289062 31.496094 43.503906 Z M 31.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 41.496094 39.503906 L 47.496094 39.503906 C 49.710938 39.503906 51.273438 41.300781 51.496094 43.503906 L 52.496094 53.503906 C 52.714844 55.710938 50.710938 57.503906 48.496094 57.503906 L 40.496094 57.503906 C 38.277344 57.503906 36.273438 55.710938 36.496094 53.503906 L 37.496094 43.503906 C 37.714844 41.300781 39.277344 39.503906 41.496094 39.503906 Z M 41.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 61.496094 39.503906 L 67.496094 39.503906 C 69.710938 39.503906 71.273438 41.300781 71.496094 43.503906 L 72.496094 53.503906 C 72.714844 55.710938 70.710938 57.503906 68.496094 57.503906 L 60.496094 57.503906 C 58.277344 57.503906 56.273438 55.710938 56.496094 53.503906 L 57.496094 43.503906 C 57.714844 41.300781 59.277344 39.503906 61.496094 39.503906 Z M 61.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 81.496094 39.503906 L 87.496094 39.503906 C 89.710938 39.503906 91.273438 41.300781 91.496094 43.503906 L 92.496094 53.503906 C 92.714844 55.710938 90.710938 57.503906 88.496094 57.503906 L 80.496094 57.503906 C 78.277344 57.503906 76.273438 55.710938 76.496094 53.503906 L 77.496094 43.503906 C 77.714844 41.300781 79.277344 39.503906 81.496094 39.503906 Z M 81.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 101.496094 39.503906 L 107.496094 39.503906 C 109.710938 39.503906 111.273438 41.300781 111.496094 43.503906 L 112.496094 53.503906 C 112.714844 55.710938 110.710938 57.503906 108.496094 57.503906 L 100.496094 57.503906 C 98.277344 57.503906 96.273438 55.710938 96.496094 53.503906 L 97.496094 43.503906 C 97.714844 41.300781 99.277344 39.503906 101.496094 39.503906 Z M 101.496094 39.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 31.496094 61.503906 L 37.496094 61.503906 C 39.710938 61.503906 41.273438 63.300781 41.496094 65.503906 L 42.496094 75.503906 C 42.714844 77.710938 40.710938 79.503906 38.496094 79.503906 L 30.496094 79.503906 C 28.277344 79.503906 26.273438 77.710938 26.496094 75.503906 L 27.496094 65.503906 C 27.714844 63.300781 29.277344 61.503906 31.496094 61.503906 Z M 31.496094 61.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 51.496094 61.503906 L 57.496094 61.503906 C 59.710938 61.503906 61.273438 63.300781 61.496094 65.503906 L 62.496094 75.503906 C 62.714844 77.710938 60.710938 79.503906 58.496094 79.503906 L 50.496094 79.503906 C 48.277344 79.503906 46.273438 77.710938 46.496094 75.503906 L 47.496094 65.503906 C 47.714844 63.300781 49.277344 61.503906 51.496094 61.503906 Z M 51.496094 61.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 71.496094 61.503906 L 77.496094 61.503906 C 79.710938 61.503906 81.273438 63.300781 81.496094 65.503906 L 82.496094 75.503906 C 82.714844 77.710938 80.710938 79.503906 78.496094 79.503906 L 70.496094 79.503906 C 68.277344 79.503906 66.273438 77.710938 66.496094 75.503906 L 67.496094 65.503906 C 67.714844 63.300781 69.277344 61.503906 71.496094 61.503906 Z M 71.496094 61.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(77.64706%,27.450982%,0%);fill-opacity:1;" d="M 91.496094 61.503906 L 98.496094 61.503906 C 100.710938 61.503906 102.273438 63.300781 102.496094 65.503906 L 103.496094 75.503906 C 103.714844 77.710938 101.710938 79.503906 99.496094 79.503906 L 90.496094 79.503906 C 88.277344 79.503906 86.273438 77.710938 86.496094 75.503906 L 87.496094 65.503906 C 87.714844 63.300781 89.277344 61.503906 91.496094 61.503906 Z M 91.496094 61.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 25.496094 83.503906 L 31.496094 83.503906 C 33.710938 83.503906 35.273438 85.300781 35.496094 87.503906 L 36.496094 97.503906 C 36.714844 99.710938 34.710938 101.503906 32.496094 101.503906 L 24.496094 101.503906 C 22.277344 101.503906 20.273438 99.710938 20.496094 97.503906 L 21.496094 87.503906 C 21.714844 85.300781 23.277344 83.503906 25.496094 83.503906 Z M 25.496094 83.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(23.921569%,21.960784%,27.450982%);fill-opacity:1;" d="M 97.496094 83.503906 L 103.496094 83.503906 C 105.710938 83.503906 107.273438 85.300781 107.496094 87.503906 L 108.496094 97.503906 C 108.714844 99.710938 106.710938 101.503906 104.496094 101.503906 L 96.496094 101.503906 C 94.277344 101.503906 92.273438 99.710938 92.496094 97.503906 L 93.496094 87.503906 C 93.714844 85.300781 95.277344 83.503906 97.496094 83.503906 Z M 97.496094 83.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear2);" d="M 107.496094 87.503906 L 107.496094 91.503906 C 107.496094 93.722656 105.710938 95.503906 103.496094 95.503906 L 97.496094 95.503906 C 95.277344 95.503906 93.496094 93.722656 93.496094 91.503906 L 93.496094 87.503906 C 93.496094 85.289062 95.277344 83.503906 97.496094 83.503906 L 103.496094 83.503906 C 105.710938 83.503906 107.496094 85.289062 107.496094 87.503906 Z M 107.496094 87.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(50.980395%,50.588238%,52.549022%);fill-opacity:1;" d="M 45.496094 83.503906 L 83.496094 83.503906 C 85.710938 83.503906 87.273438 85.300781 87.496094 87.503906 L 88.496094 97.503906 C 88.714844 99.710938 86.710938 101.503906 84.496094 101.503906 L 44.496094 101.503906 C 42.277344 101.503906 40.273438 99.710938 40.496094 97.503906 L 41.496094 87.503906 C 41.714844 85.300781 43.277344 83.503906 45.496094 83.503906 Z M 45.496094 83.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear3);" d="M 87.496094 87.503906 L 87.496094 91.503906 C 87.496094 93.722656 85.710938 95.503906 83.496094 95.503906 L 45.496094 95.503906 C 43.277344 95.503906 41.496094 93.722656 41.496094 91.503906 L 41.496094 87.503906 C 41.496094 85.289062 43.277344 83.503906 45.496094 83.503906 L 83.496094 83.503906 C 85.710938 83.503906 87.496094 85.289062 87.496094 87.503906 Z M 87.496094 87.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear4);" d="M 51.496094 43.503906 L 51.496094 47.503906 C 51.496094 49.722656 49.710938 51.503906 47.496094 51.503906 L 41.496094 51.503906 C 39.277344 51.503906 37.496094 49.722656 37.496094 47.503906 L 37.496094 43.503906 C 37.496094 41.289062 39.277344 39.503906 41.496094 39.503906 L 47.496094 39.503906 C 49.710938 39.503906 51.496094 41.289062 51.496094 43.503906 Z M 51.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear5);" d="M 71.496094 43.503906 L 71.496094 47.503906 C 71.496094 49.722656 69.710938 51.503906 67.496094 51.503906 L 61.496094 51.503906 C 59.277344 51.503906 57.496094 49.722656 57.496094 47.503906 L 57.496094 43.503906 C 57.496094 41.289062 59.277344 39.503906 61.496094 39.503906 L 67.496094 39.503906 C 69.710938 39.503906 71.496094 41.289062 71.496094 43.503906 Z M 71.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear6);" d="M 91.496094 43.503906 L 91.496094 47.503906 C 91.496094 49.722656 89.710938 51.503906 87.496094 51.503906 L 81.496094 51.503906 C 79.277344 51.503906 77.496094 49.722656 77.496094 47.503906 L 77.496094 43.503906 C 77.496094 41.289062 79.277344 39.503906 81.496094 39.503906 L 87.496094 39.503906 C 89.710938 39.503906 91.496094 41.289062 91.496094 43.503906 Z M 91.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear7);" d="M 111.496094 43.503906 L 111.496094 47.503906 C 111.496094 49.722656 109.710938 51.503906 107.496094 51.503906 L 101.496094 51.503906 C 99.277344 51.503906 97.496094 49.722656 97.496094 47.503906 L 97.496094 43.503906 C 97.496094 41.289062 99.277344 39.503906 101.496094 39.503906 L 107.496094 39.503906 C 109.710938 39.503906 111.496094 41.289062 111.496094 43.503906 Z M 111.496094 43.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear8);" d="M 41.496094 65.503906 L 41.496094 69.503906 C 41.496094 71.722656 39.710938 73.503906 37.496094 73.503906 L 31.496094 73.503906 C 29.277344 73.503906 27.496094 71.722656 27.496094 69.503906 L 27.496094 65.503906 C 27.496094 63.289062 29.277344 61.503906 31.496094 61.503906 L 37.496094 61.503906 C 39.710938 61.503906 41.496094 63.289062 41.496094 65.503906 Z M 41.496094 65.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear9);" d="M 61.496094 65.503906 L 61.496094 69.503906 C 61.496094 71.722656 59.710938 73.503906 57.496094 73.503906 L 51.496094 73.503906 C 49.277344 73.503906 47.496094 71.722656 47.496094 69.503906 L 47.496094 65.503906 C 47.496094 63.289062 49.277344 61.503906 51.496094 61.503906 L 57.496094 61.503906 C 59.710938 61.503906 61.496094 63.289062 61.496094 65.503906 Z M 61.496094 65.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear10);" d="M 81.496094 65.503906 L 81.496094 69.503906 C 81.496094 71.722656 79.710938 73.503906 77.496094 73.503906 L 71.496094 73.503906 C 69.277344 73.503906 67.496094 71.722656 67.496094 69.503906 L 67.496094 65.503906 C 67.496094 63.289062 69.277344 61.503906 71.496094 61.503906 L 77.496094 61.503906 C 79.710938 61.503906 81.496094 63.289062 81.496094 65.503906 Z M 81.496094 65.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear11);" d="M 102.496094 65.503906 L 102.496094 69.503906 C 102.496094 71.722656 100.710938 73.503906 98.496094 73.503906 L 91.496094 73.503906 C 89.277344 73.503906 87.496094 71.722656 87.496094 69.503906 L 87.496094 65.503906 C 87.496094 63.289062 89.277344 61.503906 91.496094 61.503906 L 98.496094 61.503906 C 100.710938 61.503906 102.496094 63.289062 102.496094 65.503906 Z M 102.496094 65.503906 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear12);" d="M 35.496094 87.503906 L 35.496094 91.503906 C 35.496094 93.722656 33.710938 95.503906 31.496094 95.503906 L 25.496094 95.503906 C 23.277344 95.503906 21.496094 93.722656 21.496094 91.503906 L 21.496094 87.503906 C 21.496094 85.289062 23.277344 83.503906 25.496094 83.503906 L 31.496094 83.503906 C 33.710938 83.503906 35.496094 85.289062 35.496094 87.503906 Z M 35.496094 87.503906 "/>
<use xlink:href="#surface50197" mask="url(#mask0)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 137 KiB

View File

@ -1,6 +1,7 @@
install_data(
'@0@.svg'.format(application_id),
install_dir: datadir / 'icons' / 'hicolor' / 'scalable' / 'apps'
'de.wolfvollprecht.UberWriter.svg',
install_dir: datadir / 'icons' / 'hicolor' / 'scalable' / 'apps',
rename: '@0@.svg'.format(application_id)
)
install_data(

View File

@ -6,7 +6,7 @@ function fix_path (path)
if string.starts(path, "/") then
return path
else
return (pandoc.system.get_working_directory() or '') .. "/" .. path
return (os.getenv('PANDOC_PREFIX') or '') .. path
end
end

View File

@ -21,25 +21,12 @@
/* Main window and text colors */
.apostrophe-window {
.uberwriter-window {
background: @theme_base_color;
color: @theme_fg_color;
caret-color: @theme_fg_color;
}
.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;
}
.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;
}
.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;
}
#titlebar-revealer {
padding: 0;
}
@ -53,7 +40,7 @@
background: @theme_base_color;
}
.apostrophe-editor {
.uberwriter-editor {
-gtk-key-bindings: editor-bindings;
border: none;
background-color: transparent;
@ -62,44 +49,44 @@
font-size: 16px;
}
.apostrophe-editor.size14 {
.uberwriter-editor.size14 {
font-size: 14px;
}
.apostrophe-editor.size15 {
.uberwriter-editor.size15 {
font-size: 15px;
}
.apostrophe-editor.size16 {
.uberwriter-editor.size16 {
font-size: 16px;
}
.apostrophe-editor.size17 {
.uberwriter-editor.size17 {
font-size: 17px;
}
.apostrophe-editor.size18 {
.uberwriter-editor.size18 {
font-size: 18px;
}
.apostrophe-editor text {
.uberwriter-editor text {
background-color: @theme_base_color;
color: @theme_fg_color;
caret-color: @theme_fg_color;
}
.apostrophe-editor text selection {
.uberwriter-editor text selection {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
.apostrophe-editor button {
.uberwriter-editor button {
margin: 0;
padding: 0;
/*background: #CCC;*/
}
.apostrophe-editor toolbar {
.uberwriter-editor toolbar {
/*background: transparent;*/
border: none;
padding: 0;
@ -107,7 +94,6 @@
.inline-button {
color: alpha(@theme_fg_color, 0.6);
background-color: alpha(@theme_base_color, 0.9);
text-shadow: inherit;
box-shadow: initial;
background-clip: initial;
@ -131,7 +117,7 @@
background-color: mix(@theme_base_color, @theme_bg_color, 0.5);
}
.apostrophe-window treeview {
.uberwriter-window treeview {
padding: 4px 4px 4px 4px;
}
@ -171,48 +157,5 @@
}
.quick-preview-popup label {
color: @theme_fg_color;
}
.plain-listview {
background-color: @fg-color;
}
/* theme selector */
.color-button {
padding: 12px;
border-radius: 999px;
-gtk-outline-radius: 999px;
outline-offset: 1px;
border: none;
-gtk-icon-shadow: none;
min-width: 0px;
min-height: 0px;
color: transparent;
transition: all 200ms ease-out;
}
.color-light {
background: #ffffff;
box-shadow: inset 0 0 0 1px #2e3436;
}
.color-light:checked {
color: #2e3436;
box-shadow: inset 0 0 0 2px @theme_selected_bg_color;
}
.color-dark {
background: #2d2d2d;
box-shadow: inset 0 0 0 1px alpha(black, .35);
}
.color-dark:checked {
color: #eeeeec;
box-shadow: inset 0 0 0 2px @theme_selected_bg_color;
}
.color-button:disabled {
background: #929292;
box-shadow: inset 0 0 0 1px #2e3436;
color: @theme_fg_color;
}

View File

@ -15,23 +15,5 @@
--kbd-background-color: #f1f1f1;
--kbd-border-color: #bdc1c6;
--kbd-shadow-color: #8c939a;
}
@media (prefers-color-scheme: dark) {
:root {
--text-color: #eeeeec;
--background-color: #353535;
--alt-background-color: #3a3a3a;
--link-color: #b5daff;
--blockquote-text-color: #a8a8a6;
--blockquote-border-color: #525252;
--header-border-color: #474747;
--hr-background-color: #505050;
--table-tr-border-color: #696969;
--table-td-border-color: #525252;
--kbd-text-color: #cececc;
--kbd-background-color: #3c3c3c;
--kbd-border-color: #696969;
--kbd-shadow-color: #979797;
}
}
}

View File

@ -0,0 +1,18 @@
@import url("base.css");
:root {
--text-color: #eeeeec;
--background-color: #353535;
--alt-background-color: #3a3a3a;
--link-color: #b5daff;
--blockquote-text-color: #a8a8a6;
--blockquote-border-color: #525252;
--header-border-color: #474747;
--hr-background-color: #505050;
--table-tr-border-color: #696969;
--table-td-border-color: #525252;
--kbd-text-color: #cececc;
--kbd-background-color: #3c3c3c;
--kbd-border-color: #696969;
--kbd-shadow-color: #979797;
}

View File

@ -15,23 +15,4 @@
--kbd-background-color: #f0f2f4;
--kbd-border-color: #bcc2c9;
--kbd-shadow-color: #8b949d;
}
@media (prefers-color-scheme: dark) {
:root {
--text-color: #d3dae3;
--background-color: #383c4a;
--alt-background-color: #3d414f;
--link-color: #9ac6ff;
--blockquote-text-color: #8d949d;
--blockquote-border-color: #555967;
--header-border-color: #4a4e5c;
--hr-background-color: #535765;
--table-tr-border-color: #6c707e;
--table-td-border-color: #555967;
--kbd-text-color: #b3bac3;
--kbd-background-color: #3f4351;
--kbd-border-color: #6c707e;
--kbd-shadow-color: #9a9eac;
}
}
}

View File

@ -0,0 +1,18 @@
@import url("base.css");
:root {
--text-color: #d3dae3;
--background-color: #383c4a;
--alt-background-color: #3d414f;
--link-color: #9ac6ff;
--blockquote-text-color: #8d949d;
--blockquote-border-color: #555967;
--header-border-color: #4a4e5c;
--hr-background-color: #535765;
--table-tr-border-color: #6c707e;
--table-td-border-color: #555967;
--kbd-text-color: #b3bac3;
--kbd-background-color: #3f4351;
--kbd-border-color: #6c707e;
--kbd-shadow-color: #9a9eac;
}

View File

@ -0,0 +1 @@
@import url("arc.css");

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

View File

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
version="1.1"
id="svg8"
sodipodi:docname="preview-layout-full-width-symbolic.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1053"
id="namedview10"
showgrid="true"
inkscape:zoom="32"
inkscape:cx="7.7624248"
inkscape:cy="7.9170424"
inkscape:window-x="1280"
inkscape:window-y="484"
inkscape:window-maximized="1"
inkscape:current-layer="svg8">
<inkscape:grid
type="xygrid"
id="grid4526" />
</sodipodi:namedview>
<g
id="g873">
<rect
y="6"
x="2"
height="5.5"
width="11.5"
id="rect869"
style="opacity:0.5;fill:#474747;fill-opacity:1;stroke:none;stroke-width:1.2544198;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="sssssssssccccc"
inkscape:connector-curvature="0"
id="path4659-5"
d="M 15,6 C 15,5.057191 13.942809,4 13,4 H 2 C 1.057191,4 0,5.057191 0,6 v 5 c 0,0.942809 1.057191,2 2,2 h 11 c 0.942809,0 2,-1.057191 2,-2 z m -2,0 v 5 H 2 V 6 Z"
style="fill:#474747;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:label="path4659-5" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,72 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
version="1.1"
id="svg8"
sodipodi:docname="preview-layout-half-height-symbolic.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1053"
id="namedview10"
showgrid="true"
inkscape:zoom="22.627417"
inkscape:cx="-3.659756"
inkscape:cy="3.0846355"
inkscape:window-x="1280"
inkscape:window-y="484"
inkscape:window-maximized="1"
inkscape:current-layer="g873"
inkscape:snap-smooth-nodes="true">
<inkscape:grid
type="xygrid"
id="grid4526" />
</sodipodi:namedview>
<g
id="g873"
transform="matrix(0,1,1,0,-1,0)">
<rect
y="3.46875"
x="8"
height="9.53125"
width="4"
id="rect869"
style="opacity:0.5;fill:#474747;fill-opacity:1;stroke:none;stroke-width:1.2544198;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="ssssssssscccccccccc"
inkscape:connector-curvature="0"
id="path4659-5"
d="M 13,4 C 13,3.057191 11.942809,2 11,2 H 4 C 3.057191,2 2,3.057191 2,4 v 9 c 0,0.942809 1.057191,2 2,2 h 7 c 0.942809,0 2,-1.057191 2,-2 z m -2,0 v 9 H 8 V 4 Z M 7,4 v 9 H 4 V 4 Z"
style="fill:#474747;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
version="1.1"
id="svg8"
sodipodi:docname="ds-touchscreen-right.svg"
inkscape:version="0.92.2 2405546, 2018-03-11">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1376"
id="namedview10"
showgrid="true"
inkscape:zoom="64"
inkscape:cx="3.6767386"
inkscape:cy="8.1664307"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="svg8">
<inkscape:grid
type="xygrid"
id="grid4526" />
</sodipodi:namedview>
<g
id="g873">
<rect
y="5.5"
x="7.5"
height="6"
width="6"
id="rect869"
style="opacity:0.5;fill:#474747;fill-opacity:1;stroke:none;stroke-width:1.2544198;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="ssssssssscccccccccc"
inkscape:connector-curvature="0"
id="path4659-5"
d="M 15,6 C 15,5.057191 13.942809,4 13,4 H 2 C 1.057191,4 0,5.057191 0,6 v 5 c 0,0.942809 1.057191,2 2,2 h 11 c 0.942809,0 2,-1.057191 2,-2 z m -2,0 v 5 H 8 V 6 Z M 7,6 v 5 H 2 V 6 Z"
style="fill:#474747;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,66 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
version="1.1"
id="svg8"
sodipodi:docname="screen-layout-quick-switch-symbolic.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1016"
id="namedview10"
showgrid="true"
inkscape:zoom="32"
inkscape:cx="8.3953872"
inkscape:cy="9.5898251"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="svg8">
<inkscape:grid
type="xygrid"
id="grid4526" />
</sodipodi:namedview>
<path
style="opacity:0.5;fill:#474747;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 9,1 c 0.942809,0 1.999979,1.057191 2,2 V 4 H 9 V 3 H 3 v 6 h 1 v 2 H 3 C 2.057191,11 1.000021,9.942809 1,9 V 3 C 0.999979,2.057191 2.057191,1 3,1 Z"
id="path872"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sccccccccsccss" />
<path
sodipodi:nodetypes="sccssccssccccc"
inkscape:connector-curvature="0"
id="path817"
d="m 13,5 c 0.942809,0 1.999979,1.057191 2,2 v 6 c 2.1e-5,0.942809 -1.057191,2 -2,2 H 7 C 6.057191,15 5.000021,13.942809 5,13 V 7 C 4.999979,6.057191 6.057191,5 7,5 Z m 0,2 H 7 v 6 h 6 z"
style="fill:#474747;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -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/apostrophe/data/media/crh.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/crh.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/crh.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/crh.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/chr_a.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/chr_a.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/chr_a.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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/apostrophe/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/uberwriter/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

View File

@ -1,4 +1,4 @@
Markdown Tutorial for Apostrophe
Markdown Tutorial for UberWriter
================================
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

@ -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://apostrophe.github.io/apostrophe/')
ui_config.set('package_url', 'http://uberwriter.github.io/uberwriter/')
ui_preconfigured_files = files(
'ui/About.ui.in'
)

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/de/wolfvollprecht/UberWriter/">
<file compressed="true">media/css/gtk/base.css</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Export.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Menu.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Preferences.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Preview.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Recents.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Shortcuts.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/Window.ui</file>
<file compressed="true" preprocess="xml-stripblanks">About.ui</file>
</gresource>
</gresources>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.2 -->
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkAboutDialog" id="AboutDialog">
@ -7,17 +7,24 @@
<property name="modal">True</property>
<property name="window_position">center</property>
<property name="type_hint">dialog</property>
<property name="program_name">Apostrophe</property>
<property name="program_name">Uberwriter</property>
<property name="version">@version@</property>
<property name="copyright" translatable="yes">Copyright (C) 2020, Wolf Vollprecht</property>
<property name="copyright" translatable="yes">Copyright (C) 2018, Wolf Vollprecht</property>
<property name="website">@package_url@</property>
<property name="website_label" translatable="yes">Apostrophe website</property>
<property name="website_label" translatable="yes">Uberwriter website</property>
<property name="authors">Wolf Vollprecht &lt;w.vollprecht@gmail.com&gt;
Manuel Genovés &lt;manuel.genoves@gmail.com&gt;
Gonçalo Silva &lt;goncalossilva@gmail.com&gt;
Thomas Lavend &lt;lavendthomas@outlook.be&gt;
Vova Kolobok </property>
<property name="translator_credits" translatable="yes" comments="Put your name in here, like this:&#10;Manuel Genovés &lt;manuel.genoves@gmail.com&gt;">translator-credits</property>
Gonçalo Silva &lt;goncalossilva@gmail.com&gt;</property>
<property name="translator_credits">
Andrea Somaini (Italian)
Daniel Artfors (Swedish)
shorez (German)
TomBoss (French)
Adolfo Jayme Barrientos (Catalan)
Maxence Dubois (French)
naxuroqa (German)
Wolf
Manuel (Spanish, Catalan)</property>
<property name="artists">Tobias Bernard &lt;hi@tobiasbernard.com&gt;</property>
<property name="logo_icon_name">@app-id@</property>
<property name="license_type">gpl-3-0</property>
@ -71,13 +78,13 @@ Vova Kolobok </property>
</child>
<child>
<object class="GtkLinkButton" id="donations_link">
<property name="label" translatable="yes">Paypal</property>
<property name="label" translatable="yes">Liberapay</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="halign">start</property>
<property name="relief">none</property>
<property name="uri">https://paypal.me/manuelgenoves</property>
<property name="uri">https://liberapay.com/UberWriter/donate</property>
</object>
<packing>
<property name="left_attach">1</property>

View File

@ -584,9 +584,6 @@
<property name="position">1</property>
</packing>
</child>
<style>
<class name="linked"/>
</style>
</object>
<packing>
<property name="left_attach">0</property>
@ -594,32 +591,28 @@
</packing>
</child>
</object>
<object class="GtkFileFilter" id="html_filter">
<mime-types>
<mime-type>text/html</mime-type>
</mime-types>
</object>
<object class="GtkFileFilter" id="odt_filter">
<mime-types>
<mime-type>application/vnd.oasis.opendocument.text</mime-type>
</mime-types>
</object>
<object class="GtkFileFilter" id="pdf_filter">
<mime-types>
<mime-type>application/pdf</mime-type>
</mime-types>
</object>
<object class="GtkDialog" id="Export">
<property name="can_focus">False</property>
<property name="type_hint">dialog</property>
<property name="use-header-bar">1</property>
<action-widgets>
<action-widget response="cancel">cancel_btn</action-widget>
<action-widget response="accept" default="true">export_btn</action-widget>
<action-widget response="1" default="true">export_btn</action-widget>
</action-widgets>
<child type="action">
<object class="GtkButton" id="cancel_btn">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="export_btn">
<property name="label" translatable="yes">Export</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">True</property>
</object>
</child>
<child internal-child="vbox">
<object class="GtkBox" id="DialogBox">
<property name="can_focus">False</property>
@ -636,12 +629,58 @@
</packing>
</child>
<child>
<object class="GtkFileChooserWidget" id="advanced">
<object class="GtkStack" id="export_stack">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action">select-folder</property>
<property name="do_overwrite_confirmation">True</property>
<property name="extra_widget">advanced_export_options</property>
<property name="transition_type">crossfade</property>
<child>
<object class="GtkFileChooserWidget" id="html">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action">save</property>
<property name="filter">html_filter</property>
</object>
<packing>
<property name="name">html</property>
<property name="title" translatable="yes">HTML</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="pdf_disabled">
<property name="can_focus">False</property>
<property name="label" translatable="yes">label</property>
</object>
<packing>
<property name="name">pdf_disabled</property>
<property name="title" translatable="yes">PDF</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkFileChooserWidget" id="pdf">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action">save</property>
<property name="filter">pdf_filter</property>
</object>
<packing>
<property name="name">pdf</property>
<property name="title" translatable="yes">PDF</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkFileChooserWidget" id="advanced">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="extra_widget">advanced_export_options</property>
</object>
<packing>
<property name="name">advanced</property>
<property name="title" translatable="yes">Advanced</property>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
@ -651,5 +690,43 @@
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="Export_hb">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child type="title">
<object class="GtkStackSwitcher" id="format_switcher">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stack">export_stack</property>
</object>
</child>
<child>
<object class="GtkButton" id="cancel_btn">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="export_btn">
<property name="label" translatable="yes">Export</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">True</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -1,137 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.2 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkPopover" id="export_menu">
<property name="can_focus">False</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.save_as</property>
<property name="text" translatable="yes">Save As...</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.export</property>
<property name="action_target">"pdf"</property>
<property name="text" translatable="no">PDF</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.export</property>
<property name="action_target">"html"</property>
<property name="text" translatable="no">HTML</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.export</property>
<property name="action_target">"odt"</property>
<property name="text" translatable="no">ODT</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">5</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.export</property>
<property name="action_target">"advanced"</property>
<property name="text" translatable="yes">Advanced Export...</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">6</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">7</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.copy_html</property>
<property name="text" translatable="yes">Copy HTML</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">8</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -1,388 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkPopover">
<property name="can_focus">False</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
<object class="GtkImage" id="exit_fs_icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">view-restore-symbolic</property>
</object>
<object class="GtkImage" id="new_icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">document-new-symbolic</property>
</object>
<object class="GtkImage" id="preview_icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">view-dual-symbolic</property>
</object>
<object class="GtkPopover" id="preview_switcher">
<property name="can_focus">False</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkFrame">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">12</property>
<property name="margin_bottom">6</property>
<property name="hexpand">False</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
<object class="GtkListBox" id="preview_switch_options">
<property name="visible">True</property>
<property name="can_focus">False</property>
<style>
<class name="plain-listview"/>
</style>
</object>
</child>
<child type="label_item">
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="margin_right">12</property>
<property name="margin_top">10</property>
<property name="margin_bottom">12</property>
<property name="spacing">10</property>
<child>
<object class="GtkSwitch" id="sync_scroll_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_right">6</property>
<property name="label" translatable="yes">Sync Views</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
</object>
<object class="GtkImage" id="search_icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">system-search-symbolic</property>
</object>
<object class="GtkRevealer" id="titlebar_revealer">
<property name="name">titlebar-revealer</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="transition_duration">350</property>
<property name="reveal_child">True</property>
<signal name="size-allocate" handler="header_size_allocate" swapped="no"/>
<child>
<object class="GtkHeaderBar" id="Headerbar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">7</property>
<child>
<object class="GtkButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">New</property>
<property name="action_name">app.new</property>
<property name="image">new_icon</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">Open</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.open</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkMenuButton" id="recents_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Open Recent</property>
<property name="action_name">app.on_open_recent</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<style>
<class name="linked"/>
</style>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">Save</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.save</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkMenuButton" id="export_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Save as...</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<style>
<class name="linked"/>
</style>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkButton" id="exit_fs_button">
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
<property name="action_name">app.fullscreen</property>
<property name="image">exit_fs_icon</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkMenuButton" id="menu_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Menu</property>
<property name="icon_name">open-menu-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">2</property>
<child>
<object class="GtkToggleButton" id="preview_switch_toggle">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Preview</property>
<property name="action_name">app.preview</property>
<property name="image">preview_icon</property>
<property name="always_show_image">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkRevealer" id="preview_switch_revealer">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="transition_type">slide-right</property>
<child>
<object class="GtkMenuButton" id="preview_switch_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="popover">preview_switcher</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkImage" id="preview_switch_toggle_icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-copy</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">pan-down-symbolic</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</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="pack_type">end</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Find</property>
<property name="action_name">app.search</property>
<property name="image">search_icon</property>
<property name="always_show_image">True</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">4</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -1,228 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkPopover" id="Menu">
<property name="can_focus">False</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="margin_right">12</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="margin_left">12</property>
<property name="margin_right">12</property>
<property name="margin_bottom">6</property>
<property name="spacing">24</property>
<child>
<object class="GtkRadioButton" id="light_mode_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">center</property>
<property name="draw_indicator">False</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">emblem-ok-symbolic</property>
</object>
</child>
<style>
<class name="color-button"/>
<class name="color-light"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="dark_mode_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">center</property>
<property name="draw_indicator">False</property>
<property name="group">light_mode_button</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">emblem-ok-symbolic</property>
</object>
</child>
<style>
<class name="color-button"/>
<class name="color-dark"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.hemingway_mode</property>
<property name="text" translatable="yes">Hemingway Mode</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.focus_mode</property>
<property name="text" translatable="yes">Focus Mode</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.search_replace</property>
<property name="text" translatable="yes">Find and Replace</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">5</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">6</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.preferences</property>
<property name="text" translatable="yes">Preferences</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">7</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">8</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.open_tutorial</property>
<property name="text" translatable="yes">Open Tutorial</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">9</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.shortcuts</property>
<property name="text" translatable="yes">Keyboard Shortcuts</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">10</property>
</packing>
</child>
<child>
<object class="GtkModelButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">app.about</property>
<property name="text" translatable="yes">About Apostrophe</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">11</property>
</packing>
</child>
</object>
</child>
</object>
<interface domain="uberwriter">
<menu id="Menu">
<section>
<item>
<attribute name="label" translatable="yes">Focus Mode</attribute>
<attribute name="action">app.focus_mode</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Hemingway Mode</attribute>
<attribute name="action">app.hemingway_mode</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Preview</attribute>
<attribute name="action">app.preview</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Fullscreen</attribute>
<attribute name="action">app.fullscreen</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Save As</attribute>
<attribute name="action">app.save_as</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Export</attribute>
<attribute name="action">app.export</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Copy HTML</attribute>
<attribute name="action">app.copy_html</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Find and Replace</attribute>
<attribute name="action">app.search_replace</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
<item>
<attribute name="action">app.shortcuts</attribute>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Open Tutorial</attribute>
<attribute name="action">app.open_tutorial</attribute>
</item>
<item>
<attribute name="action">app.about</attribute>
<attribute name="label" translatable="yes">_About UberWriter</attribute>
</item>
</section>
</menu>
</interface>

View File

@ -41,6 +41,54 @@
<property name="margin_bottom">16</property>
<property name="row_spacing">8</property>
<property name="column_spacing">8</property>
<child>
<object class="GtkLabel" id="dark_mode_auto_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Set dark mode automatically</property>
<property name="justify">right</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="dark_mode_auto_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="dark_mode_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Force dark mode</property>
<property name="justify">right</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="dark_mode_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="spellcheck_label">
<property name="visible">True</property>
@ -51,7 +99,7 @@
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="top_attach">2</property>
</packing>
</child>
<child>
@ -62,7 +110,55 @@
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
<property name="top_attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="gradient_overlay_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Draw scroll gradient</property>
<property name="justify">right</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="gradient_overlay_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">3</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="sync_scroll_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Synchronize editor/preview scrolling</property>
<property name="justify">right</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">4</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="sync_scroll_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">4</property>
</packing>
</child>
<child>
@ -75,7 +171,7 @@
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
<property name="top_attach">5</property>
</packing>
</child>
<child>
@ -88,7 +184,7 @@
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">2</property>
<property name="top_attach">5</property>
</packing>
</child>
<child>
@ -100,33 +196,17 @@
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">2</property>
<property name="top_attach">5</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="autohide_headerbar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Autohide header and statusbars while typing</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Autohide headerbar</property>
<property name="justify">right</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
<placeholder/>
</child>
<child>
<object class="GtkSwitch" id="autohide_headerbar_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
</packing>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>

51
data/ui/Preview.ui 100644
View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkImage" id="pan-down">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">pan-down-symbolic</property>
<property name="icon_size">2</property>
</object>
<object class="GtkBox" id="preview">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
<child>
<placeholder/>
</child>
<child>
<object class="GtkRevealer" id="preview_mode_revealer">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="transition_type">crossfade</property>
<property name="transition_duration">750</property>
<property name="reveal_child">True</property>
<child>
<object class="GtkButton" id="preview_mode_button">
<property name="label" translatable="yes">Full-Width</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Switch Preview Mode</property>
<property name="halign">end</property>
<property name="image">pan-down</property>
<property name="image_position">right</property>
<property name="always_show_image">True</property>
<style>
<class name="inline-button"/>
</style>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
</interface>

View File

@ -1,47 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkListBoxRow" id="switcherItem">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="action_name">app.preview_mode</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">4</property>
<property name="margin_bottom">4</property>
<property name="spacing">10</property>
<child>
<object class="GtkImage" id="icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="pixel_size">16</property>
<property name="icon_name">preview-layout-full-width-symbolic</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="label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_right">12</property>
<property name="label" translatable="yes">Full-Width</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -17,10 +17,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="margin_left">6</property>
<property name="margin_right">6</property>
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<property name="filter">recent_md_filter</property>
<property name="limit">20</property>
<property name="show_icons">False</property>

View File

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.2 -->
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<!-- interface-local-resource-path ../media -->
<object class="GtkImage" id="edit-find-replace">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xpad">12</property>
<property name="icon_name">edit-find-replace-symbolic</property>
</object>
<object class="GtkImage" id="go-up">
@ -29,12 +30,12 @@
<property name="can_focus">False</property>
<property name="stock">gtk-spell-check</property>
</object>
<object class="GtkOverlay" id="AppOverlay">
<object class="GtkOverlay" id="FullscreenOverlay">
<property name="name">FullscreenOverlay</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkGrid" id="app_grid">
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
@ -70,9 +71,10 @@
<property name="can_focus">False</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkOverlay" id="editor">
<object class="GtkBox" id="editor">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow" id="editor_scrolledwindow">
<property name="visible">True</property>
@ -85,15 +87,15 @@
</child>
</object>
<packing>
<property name="index">-1</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child type="overlay">
<child>
<object class="GtkRevealer" id="editor_stats_revealer">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_ENTER_NOTIFY_MASK | GDK_STRUCTURE_MASK</property>
<property name="valign">end</property>
<property name="transition_type">crossfade</property>
<property name="transition_duration">750</property>
<property name="reveal_child">True</property>
@ -114,6 +116,11 @@
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
@ -229,7 +236,6 @@
<object class="GtkBox" id="searchtools_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkToggleButton" id="case_sensitive">
<property name="label" translatable="yes">aA</property>
@ -408,27 +414,27 @@
<child type="overlay">
<object class="GtkEventBox" id="FullscreenEventbox">
<property name="height_request">1</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<child>
<placeholder/>
<object class="GtkRevealer" id="FullscreenHbPlaceholder">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<child>
<object class="GtkHeaderBar" id="FullscreenHeaderbar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<child>
<placeholder/>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="overlay">
<object class="GtkEventBox" id="HeaderbarEventbox">
<property name="height_request">60</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="visible_window">False</property>
<property name="above_child">True</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="index">1</property>
</packing>
</child>
</object>
</interface>

View File

@ -4,8 +4,8 @@
<info>
<!-- This shows in the title bar so does not show [icon] -->
<title type="text">Apostrophe</title>
<desc>The <app>Apostrophe</app> help.</desc>
<title type="text">UberWriter</title>
<desc>The <app>UberWriter</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>Apostrophe</app> Help
<app>UberWriter</app> Help
</title>
<p>Help Topics for Apostrophe:</p>
<p>Help Topics for UberWriter:</p>
<!-- This is the visible index -->
<section id="contents" style="2column">

View File

@ -13,7 +13,7 @@
</info>
<title>Pandoc's Markdown</title>
<h1 id="markdown-tutorial-for-apostrophe">Markdown Tutorial for Apostrophe</h1>
<h1 id="markdown-tutorial-for-uberwriter">Markdown Tutorial for UberWriter</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 pandocs help page: <a href="http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown">Link</a></p>
<h3 id="headers">Headers</h3>

View File

@ -9,11 +9,11 @@
<email>w.vollprecht@gmail.com</email>
<years>2012</years>
</credit>
<desc>Apostrophes preview functionalities</desc>
<desc>UberWriters preview functionalities</desc>
</info>
<title>Apostrophe Preview</title>
<p>There are 2 different ways to preview your Markdown files in Apostrophe and
<title>UberWriter Preview</title>
<p>There are 2 different ways to preview your Markdown files in UberWriter 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 Apostrophe window.
preview Button on the statusbar at the bottom of the UberWriter window.
It will render the complete HTML Output of your Markdown file.</p>
</section>
</page>

View File

@ -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>Apostrophe &amp; Pandoc User Guide</title>
<link rel="stylesheet" href="file:////home/wolf/Programme/apostrophe/data/media/apostrophe.css" type="text/css" />
<title>UberWriter &amp; Pandoc User Guide</title>
<link rel="stylesheet" href="file:////home/wolf/Programme/uberwriter/data/media/uberwriter.css" type="text/css" />
</head>
<body>
<div id="header">
<h1 class="title">Apostrophe &amp; Pandoc User Guide</h1>
<h1 class="title">UberWriter &amp; Pandoc User Guide</h1>
<h2 class="author">John MacFarlane, Wolf Vollprecht</h2>
<h3 class="date">01.08.2012</h3>
</div>
<h2 id="apostrophes-goals">Apostrophes 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 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>
<h2 id="uberwriters-goals">UberWriters 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 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>But for a quick start, this will be sufficient.</p>
<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>
@ -403,6 +403,6 @@ isn&#39;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 Apostrophe: Wolf Vollprecht</p>
<p>© Reworked for UberWriter: Wolf Vollprecht</p>
</body>
</html>

View File

@ -1,13 +1,13 @@
% Apostrophe & Pandoc User Guide
% UberWriter & Pandoc User Guide
% John MacFarlane, Wolf Vollprecht
% 01.08.2012
## Apostrophe's goals
## UberWriter's goals
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.
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.
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 Apostrophe.
However, please note that not all of the advanced features play well with inline highlighting of UberWriter.
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 Apostrophe: Wolf Vollprecht
© Reworked for UberWriter: Wolf Vollprecht

View File

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

View File

@ -1,11 +1,11 @@
project(
'apostrophe',
'uberwriter',
version: '2.2.0',
meson_version: '>= 0.50.0'
)
if get_option('profile') == 'development'
profile = '.Devel'
profile = 'Devel'
name_suffix = ' (Development)'
vcs_tag = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
if vcs_tag == ''
@ -50,7 +50,7 @@ pkgdatadir = datadir / meson.project_name()
podir = meson.source_root() / 'po'
conf = configuration_data()
conf.set('PACKAGE_URL', 'http://apostrophe.github.io/apostrophe/')
conf.set('PACKAGE_URL', 'http://uberwriter.github.io/uberwriter/')
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(
'apostrophe',
'uberwriter',
install_dir: pythondir
)
message('Preparing init file')
configure_file(
input: 'apostrophe.in',
output: 'apostrophe',
input: 'uberwriter.in',
output: 'uberwriter',
configuration: conf,
install_dir: bindir
)

View File

@ -1,3 +1,4 @@
ca
ca_ES
cs
de
@ -8,10 +9,12 @@ fr
hu
it
pl
pt
pt_BR
ru
si
sv
th
tr
vi
zh_CN

1147
po/ca.po 100644

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

781
po/cs.po

File diff suppressed because it is too large Load Diff

956
po/de.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1153
po/es.po

File diff suppressed because it is too large Load Diff

815
po/eu.po

File diff suppressed because it is too large Load Diff

1205
po/fr.po

File diff suppressed because it is too large Load Diff

823
po/hu.po

File diff suppressed because it is too large Load Diff

838
po/it.po

File diff suppressed because it is too large Load Diff

939
po/pl.po

File diff suppressed because it is too large Load Diff

1102
po/pt.po 100644

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

840
po/ru.po

File diff suppressed because it is too large Load Diff

828
po/si.po

File diff suppressed because it is too large Load Diff

837
po/sv.po

File diff suppressed because it is too large Load Diff

859
po/th.po 100644
View File

@ -0,0 +1,859 @@
# Thai translation for uberwriter
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the uberwriter package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: uberwriter\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-18 19:28+0200\n"
"PO-Revision-Date: 2018-11-27 22:40+0100\n"
"Last-Translator: Tharawut Paripaiboon <Unknown>\n"
"Language-Team: Thai <th@li.org>\n"
"Language: th\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2014-09-12 00:12+0000\n"
"X-Generator: Poedit 2.2\n"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:5
#: data/de.wolfvollprecht.UberWriter.desktop:3
msgid "UberWriter"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:6
msgid "An elegant, free distraction GTK+ markdown editor"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:8
msgid ""
"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."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:9
msgid "You can install the recommended TexLive extension with the command:"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:10
msgid "flatpak install flathub de.wolfvollprecht.UberWriter.Plugin.TexLive"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:11
msgid "or from Gnome-Software"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:34
msgid "..."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:41
msgid "Added italian language"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:42
msgid ""
"Initial themes support: now uberwriter adapts his colors to the current GTK "
"theme"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:43
msgid "Disabled scroll gradient, can be enabled in the preferences dialog"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:44
msgid "Allow to disable headerbar autohidding in Dconf"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:45
msgid "Now a single click is enough to open files in the recent files popover"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:46
msgid "Spellchecking status is now saved between sessions"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:47
msgid "Minor UI fixes"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:48
msgid "Added -d flag to enable webdev tools"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:54
msgid "Updated css styles."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:59
msgid ""
"This release features a new logo, polishes the Appmenu, fixes usability bugs "
"and flatpak related bugs."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:64
msgid ""
"This release provides a fix to a bug that caused Uberwriter to not mark "
"properly **bold**, *cursive*, and ***bold and cursive*** words."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:69
msgid "This release solves two minor bugs:"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:71
msgid ""
"One on focus mode which caused the lines to be highlighted on edit rather "
"than on click"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:72
msgid "Non symbolic icons on the searchbar"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:78
msgid "This release features a ton of UX/UI improvements, like:"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:80
msgid "Drop AppMenu support"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:81
msgid ""
"HeaderBar and menus redesign, with a new unified menu and quick access "
"buttons on the headerbar"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:82
msgid ""
"Now the fullscreen view shows a headerbar when the cursor approaches the top "
"of the screen"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:83
msgid ""
"A new unified export dialog, with updated options, and quick access to pdf, "
"odt and html export"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:84
msgid "Bugfixes."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:90
msgid "Now the menu is a Popover instead a regular menu."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:91
msgid "The headerbar matches the theme selected for the application."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:92
msgid "Updated translations."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:97
msgid "Small bug fixes, updated links."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:102
msgid "Fix a bug with the preview mode."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:107
msgid "Don't use env variable to check if in flatpak."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:112
msgid "First re-release"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:120
msgid "Wolf V., Manuel G."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.desktop:4
msgid "UberWriter, a simple and distraction free Markdown Editor"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.desktop:7
msgid "de.wolfvollprecht.UberWriter"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:24 data/ui/Preferences.ui:49
msgid "Set dark mode automatically"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:25
msgid ""
"Whether dark mode depends on the system theme, or is set to what the user "
"specifies."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:31 data/ui/Preferences.ui:73
msgid "Force dark mode"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:32
msgid "Enable or disable the dark mode."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:38 data/ui/Preferences.ui:97
msgid "Check spelling while typing"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:39
msgid "Enable or disable spellchecking."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:45 data/ui/Preferences.ui:121
msgid "Draw scroll gradient"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:46
msgid ""
"Show a gradient overlay over the text at the top anf bottom of the window. "
"It can cause performance problems to some users."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:53 data/ui/Preferences.ui:145
msgid "Synchronize editor/preview scrolling"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:54
msgid "Keep the editor and preview scroll positions in sync."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:60 data/ui/Preferences.ui:169
msgid "Input format"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:61
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"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:68
msgid "Hide the header and status bars if the cursor is not moving."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:74
msgid "Open file base path"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:75
msgid "Open file paths of the current session"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:81
msgid "Default statistic"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:82
msgid "Which statistic is shown on the main window."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:88
msgid "Characters per line"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:89
msgid "Maximum number of characters per line within the editor."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:95
msgid "Preview mode"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:96
msgid "How to display the preview."
msgstr ""
#: data/ui/About.ui:12
msgid "Copyright (C) 2018, Wolf Vollprecht"
msgstr ""
#: data/ui/About.ui:14
#, fuzzy
msgid "Uberwriter website"
msgstr "UberWriter"
#: data/ui/About.ui:71
msgid "Donations:"
msgstr ""
#: data/ui/About.ui:80
msgid "Liberapay"
msgstr ""
#: data/ui/About.ui:111
msgid "Help to translate:"
msgstr ""
#: data/ui/About.ui:120
msgid "Poeditor"
msgstr ""
#: data/ui/Export.ui:45
msgid "Smart"
msgstr ""
#: data/ui/Export.ui:50
msgid "Pandoc can automatically make \"--\" to a long dash and more"
msgstr ""
#: data/ui/Export.ui:62
msgid "Table of Contents"
msgstr ""
#: data/ui/Export.ui:78
msgid "Standalone"
msgstr ""
#: data/ui/Export.ui:83
msgid ""
"Use a header and footer to include things like stylesheets and meta "
"information"
msgstr ""
#: data/ui/Export.ui:96
msgid "Number Sections"
msgstr ""
#: data/ui/Export.ui:112
msgid "Strict Markdown"
msgstr ""
#: data/ui/Export.ui:117
msgid "Use \"strict\" markdown instead of \"pandoc\" markdown"
msgstr ""
#: data/ui/Export.ui:129
msgid "Slideshow Incremental Bullets"
msgstr ""
#: data/ui/Export.ui:134
msgid "Show one bullet point after another in a slideshow"
msgstr ""
#: data/ui/Export.ui:152
msgid "<b>General Options</b>"
msgstr ""
#: data/ui/Export.ui:189
msgid "Highlight Syntax"
msgstr ""
#: data/ui/Export.ui:211 data/ui/Export.ui:225
msgid "Choose a color theme for syntax highlighting"
msgstr ""
#: data/ui/Export.ui:213
msgid "Highlight style "
msgstr ""
#: data/ui/Export.ui:262
msgid "<b>Syntax Highlighting</b> (HTML, LaTeX)"
msgstr ""
#: data/ui/Export.ui:294 data/ui/Export.ui:307
msgid "Choose a bibliography file"
msgstr ""
#: data/ui/Export.ui:295
msgid "File"
msgstr ""
#: data/ui/Export.ui:325
msgid "<b>Bibliography </b>"
msgstr ""
#: data/ui/Export.ui:365
msgid "Self-contained"
msgstr ""
#: data/ui/Export.ui:370
msgid ""
"Produces a HTML that has no external dependencies (all images and "
"stylesheets are included)"
msgstr ""
#: data/ui/Export.ui:382
msgid "HTML5"
msgstr ""
#: data/ui/Export.ui:387
msgid "Use HTML5 syntax"
msgstr ""
#: data/ui/Export.ui:406 data/ui/Export.ui:420
msgid "Choose a CSS File that you want to use"
msgstr ""
#: data/ui/Export.ui:408
msgid "CSS File"
msgstr ""
#: data/ui/Export.ui:445
msgid "<b>HTML Options</b>"
msgstr ""
#: data/ui/Export.ui:463
msgid "Commandline Reference"
msgstr ""
#: data/ui/Export.ui:557
msgid "Export"
msgstr ""
#: data/ui/Export.ui:599
msgid "HTML"
msgstr ""
#: data/ui/Export.ui:612 data/ui/Export.ui:622
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
msgid "label"
msgstr ""
#: data/ui/Export.ui:634
msgid "Advanced"
msgstr ""
#: data/ui/Menu.ui:6
msgid "Focus Mode"
msgstr ""
#: data/ui/Menu.ui:10
msgid "Hemingway Mode"
msgstr ""
#: data/ui/Menu.ui:14 uberwriter/preview_renderer.py:51
msgid "Preview"
msgstr ""
#: data/ui/Menu.ui:18
msgid "Fullscreen"
msgstr ""
#: data/ui/Menu.ui:24
msgid "Save _As"
msgstr ""
#: data/ui/Menu.ui:28
msgid "_Export"
msgstr ""
#: data/ui/Menu.ui:32
msgid "Copy HTML"
msgstr ""
#: data/ui/Menu.ui:38 data/ui/Preferences.ui:19
msgid "Preferences"
msgstr ""
#: data/ui/Menu.ui:43
msgid "_Keyboard Shortcuts"
msgstr ""
#: data/ui/Menu.ui:46
msgid "Open Tutorial"
msgstr ""
#: data/ui/Menu.ui:51
msgid "_About UberWriter"
msgstr ""
#: data/ui/Preview.ui:28 uberwriter/preview_renderer.py:166
msgid "Full-Width"
msgstr ""
#: data/ui/Preview.ui:32
msgid "Switch Preview Mode"
msgstr ""
#: data/ui/Shortcuts.ui:13
msgctxt "shortcut window"
msgid "General"
msgstr ""
#: data/ui/Shortcuts.ui:17
msgctxt "shortcut window"
msgid "New"
msgstr ""
#: data/ui/Shortcuts.ui:24
msgctxt "shortcut window"
msgid "Open"
msgstr ""
#: data/ui/Shortcuts.ui:31
msgctxt "shortcut window"
msgid "Save"
msgstr ""
#: data/ui/Shortcuts.ui:38
msgctxt "shortcut window"
msgid "Save as"
msgstr ""
#: data/ui/Shortcuts.ui:45
msgctxt "shortcut window"
msgid "Close document"
msgstr ""
#: data/ui/Shortcuts.ui:52
msgctxt "shortcut window"
msgid "Quit application"
msgstr ""
#: data/ui/Shortcuts.ui:61
msgctxt "shortcut window"
msgid "Modes"
msgstr ""
#: data/ui/Shortcuts.ui:65
msgctxt "shortcut window"
msgid "Focus mode"
msgstr ""
#: data/ui/Shortcuts.ui:72
msgctxt "shortcut window"
msgid "Hemingway mode"
msgstr ""
#: data/ui/Shortcuts.ui:79
msgctxt "shortcut window"
msgid "Preview"
msgstr ""
#: data/ui/Shortcuts.ui:86
msgctxt "shortcut window"
msgid "Fullscreen"
msgstr ""
#: data/ui/Shortcuts.ui:95 data/ui/Shortcuts.ui:99
msgctxt "shortcut window"
msgid "Search"
msgstr ""
#: data/ui/Shortcuts.ui:108
msgctxt "shortcut window"
msgid "Markdown"
msgstr ""
#: data/ui/Shortcuts.ui:112
msgctxt "shortcut window"
msgid "Separator"
msgstr ""
#: data/ui/Shortcuts.ui:119
msgctxt "shortcut window"
msgid "List item"
msgstr ""
#: data/ui/Shortcuts.ui:126
msgctxt "shortcut window"
msgid "Italic"
msgstr ""
#: data/ui/Shortcuts.ui:133
msgctxt "shortcut window"
msgid "Bold"
msgstr ""
#: data/ui/Shortcuts.ui:140
msgctxt "shortcut window"
msgid "Strikeout"
msgstr ""
#: data/ui/Shortcuts.ui:147
msgctxt "shortcut window"
msgid "Header"
msgstr ""
#: data/ui/Shortcuts.ui:154
msgctxt "shortcut window"
msgid "Select all"
msgstr ""
#: data/ui/Shortcuts.ui:163
msgctxt "shortcut window"
msgid "Copy and paste"
msgstr ""
#: data/ui/Shortcuts.ui:167
msgctxt "shortcut window"
msgid "Copy selected text to clipboard"
msgstr ""
#: data/ui/Shortcuts.ui:174
msgctxt "shortcut window"
msgid "Cut selected text to clipboard"
msgstr ""
#: data/ui/Shortcuts.ui:181
msgctxt "shortcut window"
msgid "Paste selected text from clipboard"
msgstr ""
#: data/ui/Shortcuts.ui:190
msgctxt "shortcut window"
msgid "Undo and redo"
msgstr ""
#: data/ui/Shortcuts.ui:194
msgctxt "shortcut window"
msgid "Undo previous command"
msgstr ""
#: data/ui/Shortcuts.ui:201
msgctxt "shortcut window"
msgid "Redo previous command"
msgstr ""
#: data/ui/Shortcuts.ui:210
msgctxt "shortcut window"
msgid "Selection"
msgstr ""
#: data/ui/Shortcuts.ui:214
msgctxt "shortcut window"
msgid "Select all text"
msgstr ""
#: data/ui/Window.ui:103
msgid "0 Words"
msgstr ""
#: data/ui/Window.ui:107
msgid "Show Statistics"
msgstr ""
#: data/ui/Window.ui:198
msgid "Previous Match"
msgstr ""
#: data/ui/Window.ui:212
msgid "Next Match"
msgstr ""
#: data/ui/Window.ui:240
msgid "aA"
msgstr ""
#: data/ui/Window.ui:244
msgid "Case Sensitive"
msgstr ""
#: data/ui/Window.ui:254
msgid "(.*)"
msgstr ""
#: data/ui/Window.ui:258
msgid "Regular Expression"
msgstr ""
#: data/ui/Window.ui:271
msgid "Open Replace"
msgstr ""
#: data/ui/Window.ui:349
msgid "Replace"
msgstr ""
#: data/ui/Window.ui:363
msgid "Replace all"
msgstr ""
#: uberwriter/application.py:171
msgid "Show debug messages (-vv debugs uberwriter also)"
msgstr ""
#: uberwriter/application.py:173
msgid "Use experimental features"
msgstr ""
#: uberwriter/export_dialog.py:159
msgid "Untitled document.md"
msgstr ""
#: uberwriter/export_dialog.py:340
msgid "Please, install the TexLive extension from Gnome Software or running\n"
msgstr ""
#: uberwriter/export_dialog.py:343
msgid "Please, install TexLive from your distribuiton repositories"
msgstr ""
#: uberwriter/format_shortcuts.py:95
msgid "emphasized text"
msgstr ""
#: uberwriter/format_shortcuts.py:97
msgid "strong text"
msgstr ""
#: uberwriter/format_shortcuts.py:99
msgid "striked out text"
msgstr ""
#: uberwriter/format_shortcuts.py:117
msgid "List item"
msgstr ""
#: uberwriter/format_shortcuts.py:177
msgid "Heading"
msgstr ""
#: uberwriter/headerbars.py:101
msgid "Exit Fullscreen"
msgstr ""
#: uberwriter/headerbars.py:137
msgid "New"
msgstr ""
#: uberwriter/headerbars.py:139
msgid "Save"
msgstr ""
#: uberwriter/headerbars.py:147
msgid "Open"
msgstr ""
#: uberwriter/headerbars.py:162
msgid "Open Recent"
msgstr ""
#: uberwriter/headerbars.py:169
msgid "Search and Replace"
msgstr ""
#: uberwriter/headerbars.py:170
msgid "Menu"
msgstr ""
#: uberwriter/inline_preview.py:184
msgid "Website is not available"
msgstr ""
#: uberwriter/inline_preview.py:186
msgid "Website is available"
msgstr ""
#: uberwriter/inline_preview.py:436
msgid "Open Link in Webbrowser"
msgstr "เปิด Link ในเว็บบราวเซอร์"
#: uberwriter/inline_preview.py:500
msgid "No matching footnote found"
msgstr ""
#: uberwriter/main_window.py:234
msgid "Save your File"
msgstr ""
#: uberwriter/main_window.py:334
msgid "Markdown Files"
msgstr ""
#: uberwriter/main_window.py:338
msgid "Plain Text Files"
msgstr ""
#: uberwriter/main_window.py:341
msgid "Open a .md file"
msgstr ""
#: uberwriter/main_window.py:367
msgid "You have not saved your changes."
msgstr ""
#: uberwriter/main_window.py:369
msgid "Close without saving"
msgstr ""
#: uberwriter/main_window.py:370
msgid "Cancel"
msgstr ""
#: uberwriter/main_window.py:371
msgid "Save now"
msgstr ""
#: uberwriter/main_window.py:400
msgid "New File"
msgstr ""
#: uberwriter/preview_renderer.py:168
msgid "Half-Width"
msgstr ""
#: uberwriter/preview_renderer.py:170
msgid "Half-Height"
msgstr ""
#: uberwriter/preview_renderer.py:172
msgid "Windowed"
msgstr ""
#: uberwriter/stats_handler.py:69
msgid "{:n} Characters"
msgstr ""
#: uberwriter/stats_handler.py:71
msgid "{:n} Words"
msgstr ""
#: uberwriter/stats_handler.py:73
msgid "{:n} Sentences"
msgstr ""
#: uberwriter/stats_handler.py:75
msgid "{:n} Paragraphs"
msgstr ""
#: uberwriter/stats_handler.py:77
msgid "{:d}:{:02d}:{:02d} Read Time"
msgstr ""
#: uberwriter/text_view_format_inserter.py:12
msgid "italic text"
msgstr ""
#: uberwriter/text_view_format_inserter.py:17
msgid "bold text"
msgstr ""
#: uberwriter/text_view_format_inserter.py:22
msgid "strikethrough text"
msgstr ""
#: uberwriter/text_view_format_inserter.py:45
msgid "Item"
msgstr ""
#: uberwriter/text_view_format_inserter.py:91
msgid "Header"
msgstr ""
#~ msgid "Add \"{}\" to Dictionary"
#~ msgstr "เพิ่ม \"{}\" ในพจนานุกรม"
#~ msgid "Ignore All"
#~ msgstr "เพิกเฉยทั้งหมด"
#~ msgid "Languages"
#~ msgstr "ภาษา"

1519
po/tr.po

File diff suppressed because it is too large Load Diff

BIN
po/uberwriter-es.mo 100644

Binary file not shown.

Binary file not shown.

View File

@ -8,300 +8,300 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-20 02:51+0100\n"
"POT-Creation-Date: 2019-05-18 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"X-Generator: Poedit 2.2.1\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SearchPath-0: apostrophe\n"
"X-Poedit-SearchPath-0: uberwriter\n"
"X-Poedit-SearchPath-1: data\n"
#: apostrophe/application.py:176
msgid "Show debug messages (-vv debugs apostrophe also)"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:5
#: data/de.wolfvollprecht.UberWriter.desktop:3
msgid "UberWriter"
msgstr ""
#: apostrophe/application.py:178
msgid "Use experimental features"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:6
msgid "An elegant, free distraction GTK+ markdown editor"
msgstr ""
#: apostrophe/export_dialog.py:184
msgid "Untitled document.md"
msgstr ""
#: apostrophe/export_dialog.py:199
#, python-brace-format
#: data/de.wolfvollprecht.UberWriter.appdata.xml:8
msgid ""
"An error happened while trying to export:\n"
"\n"
"{err_msg}"
"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."
msgstr ""
#: apostrophe/export_dialog.py:216
msgid "Oh, no!"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:9
msgid "You can install the recommended TexLive extension with the command:"
msgstr ""
#: apostrophe/export_dialog.py:219
msgid "Seems that you don't have TexLive installed.\n"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:10
msgid "flatpak install flathub de.wolfvollprecht.UberWriter.Plugin.TexLive"
msgstr ""
#: apostrophe/export_dialog.py:222 data/ui/Export.ui:616
msgid "Export"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:11
msgid "or from Gnome-Software"
msgstr ""
#: apostrophe/export_dialog.py:225
#, python-format
msgid "Export to %s"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:34
msgid "..."
msgstr ""
#: apostrophe/export_dialog.py:227 apostrophe/main_window.py:429
msgid "Cancel"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:41
msgid "Added italian language"
msgstr ""
#: apostrophe/export_dialog.py:285
msgid "A folder must be selected before proceeding"
msgstr ""
#: apostrophe/export_dialog.py:428
#: data/de.wolfvollprecht.UberWriter.appdata.xml:42
msgid ""
"Please, install the TexLive extension from Gnome Software or running\n"
"Initial themes support: now uberwriter adapts his colors to the current GTK "
"theme"
msgstr ""
#: apostrophe/export_dialog.py:431
msgid "Please, install TexLive from your distribuiton repositories"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:43
msgid "Disabled scroll gradient, can be enabled in the preferences dialog"
msgstr ""
#: apostrophe/headerbars.py:82
msgid "Light mode isn't available while using a dark global theme"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:44
msgid "Allow to disable headerbar autohidding in Dconf"
msgstr ""
#: apostrophe/headerbars.py:124 apostrophe/preview_renderer.py:128
#: data/ui/PreviewLayoutSwitcherItem.ui:36
msgid "Full-Width"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:45
msgid "Now a single click is enough to open files in the recent files popover"
msgstr ""
#: apostrophe/headerbars.py:126 apostrophe/preview_renderer.py:130
msgid "Half-Width"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:46
msgid "Spellchecking status is now saved between sessions"
msgstr ""
#: apostrophe/headerbars.py:128 apostrophe/preview_renderer.py:132
msgid "Half-Height"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:47
msgid "Minor UI fixes"
msgstr ""
#: apostrophe/headerbars.py:130 apostrophe/preview_renderer.py:134
msgid "Windowed"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:48
msgid "Added -d flag to enable webdev tools"
msgstr ""
#: apostrophe/inline_preview.py:191
msgid "Formula looks incorrect:"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:54
msgid "Updated css styles."
msgstr ""
#: apostrophe/inline_preview.py:226
msgid "No matching footnote found"
msgstr ""
#: apostrophe/inline_preview.py:246
msgid "noun"
msgstr ""
#: apostrophe/inline_preview.py:248
msgid "verb"
msgstr ""
#: apostrophe/inline_preview.py:250
msgid "adjective"
msgstr ""
#: apostrophe/inline_preview.py:252
msgid "adverb"
msgstr ""
#: apostrophe/main_window.py:284
msgid "Save your File"
msgstr ""
#: apostrophe/main_window.py:384
msgid "Markdown Files"
msgstr ""
#: apostrophe/main_window.py:388
msgid "Plain Text Files"
msgstr ""
#: apostrophe/main_window.py:391
msgid "Open a .md file"
msgstr ""
#: apostrophe/main_window.py:415 apostrophe/main_window.py:461
msgid "New File"
msgstr ""
#: apostrophe/main_window.py:422
#, python-format
msgid "Save changes to document “%s” before closing?"
msgstr ""
#: apostrophe/main_window.py:426
msgid "If you dont save, all your changes will be permanently lost."
msgstr ""
#: apostrophe/main_window.py:428
msgid "Close without saving"
msgstr ""
#: apostrophe/main_window.py:430
msgid "Save now"
msgstr ""
#: apostrophe/main_window.py:510
#: data/de.wolfvollprecht.UberWriter.appdata.xml:59
msgid ""
"The file you tried to open doesn't "
"exist. \n"
"A new file will be created in its place when you save the current one."
"This release features a new logo, polishes the Appmenu, fixes usability bugs "
"and flatpak related bugs."
msgstr ""
#: apostrophe/main_window.py:520
#, python-format
msgid "Error Reading File: %r"
msgstr ""
#: apostrophe/main_window.py:525
#, python-format
#: data/de.wolfvollprecht.UberWriter.appdata.xml:64
msgid ""
"Error reading file: \n"
"%r"
"This release provides a fix to a bug that caused Uberwriter to not mark "
"properly **bold**, *cursive*, and ***bold and cursive*** words."
msgstr ""
#: apostrophe/plugins/bibtex/bibtex_item.glade:18
#: apostrophe/plugins/bibtex/bibtex_item.glade:32
#: apostrophe/plugins/bibtex/bibtex_item.glade:45
msgid "label"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:69
msgid "This release solves two minor bugs:"
msgstr ""
#: apostrophe/preview_renderer.py:47 data/ui/Headerbar.ui:303
msgid "Preview"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:71
msgid ""
"One on focus mode which caused the lines to be highlighted on edit rather "
"than on click"
msgstr ""
#: apostrophe/stats_handler.py:67
msgid "{:n} Characters"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:72
msgid "Non symbolic icons on the searchbar"
msgstr ""
#: apostrophe/stats_handler.py:69
msgid "{:n} Words"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:78
msgid "This release features a ton of UX/UI improvements, like:"
msgstr ""
#: apostrophe/stats_handler.py:71
msgid "{:n} Sentences"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:80
msgid "Drop AppMenu support"
msgstr ""
#: apostrophe/stats_handler.py:73
msgid "{:n} Paragraphs"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:81
msgid ""
"HeaderBar and menus redesign, with a new unified menu and quick access "
"buttons on the headerbar"
msgstr ""
#: apostrophe/stats_handler.py:75
msgid "{:d}:{:02d}:{:02d} Read Time"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:82
msgid ""
"Now the fullscreen view shows a headerbar when the cursor approaches the top "
"of the screen"
msgstr ""
#: apostrophe/text_view_drag_drop_handler.py:72
#: apostrophe/text_view_drag_drop_handler.py:74
msgid "web page"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:83
msgid ""
"A new unified export dialog, with updated options, and quick access to pdf, "
"odt and html export"
msgstr ""
#: apostrophe/text_view_format_inserter.py:14
msgid "italic text"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:84
msgid "Bugfixes."
msgstr ""
#: apostrophe/text_view_format_inserter.py:19
msgid "bold text"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:90
msgid "Now the menu is a Popover instead a regular menu."
msgstr ""
#: apostrophe/text_view_format_inserter.py:24
msgid "strikethrough text"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:91
msgid "The headerbar matches the theme selected for the application."
msgstr ""
#: apostrophe/text_view_format_inserter.py:50
msgid "Item"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:92
msgid "Updated translations."
msgstr ""
#: apostrophe/text_view_format_inserter.py:97
msgid "Header"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:97
msgid "Small bug fixes, updated links."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:23
msgid "Use dark mode"
#: data/de.wolfvollprecht.UberWriter.appdata.xml:102
msgid "Fix a bug with the preview mode."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:24
#: data/de.wolfvollprecht.UberWriter.appdata.xml:107
msgid "Don't use env variable to check if in flatpak."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:112
msgid "First re-release"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.appdata.xml:120
msgid "Wolf V., Manuel G."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.desktop:4
msgid "UberWriter, a simple and distraction free Markdown Editor"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.desktop:7
msgid "de.wolfvollprecht.UberWriter"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:24 data/ui/Preferences.ui:49
msgid "Set dark mode automatically"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:25
msgid ""
"Whether dark mode depends on the system theme, or is set to what the user "
"specifies."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:31 data/ui/Preferences.ui:73
msgid "Force dark mode"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:32
msgid "Enable or disable the dark mode."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:30 data/ui/Preferences.ui:49
#: data/de.wolfvollprecht.UberWriter.gschema.xml:38 data/ui/Preferences.ui:97
msgid "Check spelling while typing"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:31
#: data/de.wolfvollprecht.UberWriter.gschema.xml:39
msgid "Enable or disable spellchecking."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:37
#: data/de.wolfvollprecht.UberWriter.gschema.xml:45 data/ui/Preferences.ui:121
msgid "Draw scroll gradient"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:46
msgid ""
"Show a gradient overlay over the text at the top anf bottom of the window. "
"It can cause performance problems to some users."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:53 data/ui/Preferences.ui:145
msgid "Synchronize editor/preview scrolling"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:38
#: data/de.wolfvollprecht.UberWriter.gschema.xml:54
msgid "Keep the editor and preview scroll positions in sync."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:44 data/ui/Preferences.ui:73
#: data/de.wolfvollprecht.UberWriter.gschema.xml:60 data/ui/Preferences.ui:169
msgid "Input format"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:45
#: data/de.wolfvollprecht.UberWriter.gschema.xml:61
msgid "Input format to use when previewing and exporting using Pandoc."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:51
msgid "Autohide Headerbar"
#: data/de.wolfvollprecht.UberWriter.gschema.xml:67
msgid "Allow Uberwriter to poll cursor motion"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:52
msgid "Hide the header and status bars when typing."
#: data/de.wolfvollprecht.UberWriter.gschema.xml:68
msgid "Hide the header and status bars if the cursor is not moving."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:58
#: data/de.wolfvollprecht.UberWriter.gschema.xml:74
msgid "Open file base path"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:59
#: data/de.wolfvollprecht.UberWriter.gschema.xml:75
msgid "Open file paths of the current session"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:65
#: data/de.wolfvollprecht.UberWriter.gschema.xml:81
msgid "Default statistic"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:66
#: data/de.wolfvollprecht.UberWriter.gschema.xml:82
msgid "Which statistic is shown on the main window."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:72
#: data/de.wolfvollprecht.UberWriter.gschema.xml:88
msgid "Characters per line"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:73
#: data/de.wolfvollprecht.UberWriter.gschema.xml:89
msgid "Maximum number of characters per line within the editor."
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:79
#: data/de.wolfvollprecht.UberWriter.gschema.xml:95
msgid "Preview mode"
msgstr ""
#: data/de.wolfvollprecht.UberWriter.gschema.xml:80
#: data/de.wolfvollprecht.UberWriter.gschema.xml:96
msgid "How to display the preview."
msgstr ""
#: data/ui/About.ui:12
msgid "Copyright (C) 2018, Wolf Vollprecht"
msgstr ""
#: data/ui/About.ui:14
msgid "Uberwriter website"
msgstr ""
#: data/ui/About.ui:71
msgid "Donations:"
msgstr ""
#: data/ui/About.ui:80
msgid "Liberapay"
msgstr ""
#: data/ui/About.ui:111
msgid "Help to translate:"
msgstr ""
#: data/ui/About.ui:120
msgid "Poeditor"
msgstr ""
#: data/ui/Export.ui:45
msgid "Smart"
msgstr ""
@ -376,130 +376,112 @@ msgstr ""
msgid "<b>Bibliography </b>"
msgstr ""
#: data/ui/Export.ui:370
#: data/ui/Export.ui:365
msgid "Self-contained"
msgstr ""
#: data/ui/Export.ui:375
#: data/ui/Export.ui:370
msgid ""
"Produces a HTML that has no external dependencies (all images and "
"stylesheets are included)"
msgstr ""
#: data/ui/Export.ui:387
#: data/ui/Export.ui:382
msgid "HTML5"
msgstr ""
#: data/ui/Export.ui:392
#: data/ui/Export.ui:387
msgid "Use HTML5 syntax"
msgstr ""
#: data/ui/Export.ui:411 data/ui/Export.ui:425
#: data/ui/Export.ui:406 data/ui/Export.ui:420
msgid "Choose a CSS File that you want to use"
msgstr ""
#: data/ui/Export.ui:413
#: data/ui/Export.ui:408
msgid "CSS File"
msgstr ""
#: data/ui/Export.ui:450
#: data/ui/Export.ui:445
msgid "<b>HTML Options</b>"
msgstr ""
#: data/ui/Export.ui:484 data/ui/Export.ui:520
msgid "Paper size"
msgstr ""
#: data/ui/Export.ui:501
msgid "A4"
msgstr ""
#: data/ui/Export.ui:502
msgid "US Letter"
msgstr ""
#: data/ui/Export.ui:546
#: data/ui/Export.ui:463
msgid "Commandline Reference"
msgstr ""
#: data/ui/ExportPopover.ui:19
msgid "Save As..."
#: data/ui/Export.ui:557
msgid "Export"
msgstr ""
#: data/ui/ExportPopover.ui:101
msgid "Advanced Export..."
#: data/ui/Export.ui:599
msgid "HTML"
msgstr ""
#: data/ui/ExportPopover.ui:126
msgid "Copy HTML"
#: data/ui/Export.ui:612 data/ui/Export.ui:622
msgid "PDF"
msgstr ""
#: data/ui/Headerbar.ui:130
msgid "Sync Views"
#: 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
msgid "label"
msgstr ""
#: data/ui/Headerbar.ui:171
msgid "New"
#: data/ui/Export.ui:634
msgid "Advanced"
msgstr ""
#: data/ui/Headerbar.ui:182
msgid "Open"
msgstr ""
#: data/ui/Headerbar.ui:199
msgid "Open Recent"
msgstr ""
#: data/ui/Headerbar.ui:225
msgid "Save"
msgstr ""
#: data/ui/Headerbar.ui:242
msgid "Save as..."
msgstr ""
#: data/ui/Headerbar.ui:283
msgid "Menu"
msgstr ""
#: data/ui/Headerbar.ui:375
msgid "Find"
msgstr ""
#: data/ui/Menu.ui:100
msgid "Hemingway Mode"
msgstr ""
#: data/ui/Menu.ui:114
#: data/ui/Menu.ui:6
msgid "Focus Mode"
msgstr ""
#: data/ui/Menu.ui:139
msgid "Find and Replace"
#: data/ui/Menu.ui:10
msgid "Hemingway Mode"
msgstr ""
#: data/ui/Menu.ui:164 data/ui/Preferences.ui:19
#: data/ui/Menu.ui:14 uberwriter/preview_renderer.py:51
msgid "Preview"
msgstr ""
#: data/ui/Menu.ui:18
msgid "Fullscreen"
msgstr ""
#: data/ui/Menu.ui:24
msgid "Save _As"
msgstr ""
#: data/ui/Menu.ui:28
msgid "_Export"
msgstr ""
#: data/ui/Menu.ui:32
msgid "Copy HTML"
msgstr ""
#: data/ui/Menu.ui:38 data/ui/Preferences.ui:19
msgid "Preferences"
msgstr ""
#: data/ui/Menu.ui:189
#: data/ui/Menu.ui:43
msgid "_Keyboard Shortcuts"
msgstr ""
#: data/ui/Menu.ui:46
msgid "Open Tutorial"
msgstr ""
#: data/ui/Menu.ui:203
msgid "Keyboard Shortcuts"
#: data/ui/Menu.ui:51
msgid "_About UberWriter"
msgstr ""
#: data/ui/Menu.ui:217
msgid "About Apostrophe"
#: data/ui/Preview.ui:28 uberwriter/preview_renderer.py:166
msgid "Full-Width"
msgstr ""
#: data/ui/Preferences.ui:110
msgid "Autohide header and statusbars while typing"
msgstr ""
#: data/ui/Preferences.ui:112
msgid "Autohide headerbar"
#: data/ui/Preview.ui:32
msgid "Switch Preview Mode"
msgstr ""
#: data/ui/Shortcuts.ui:13
@ -564,135 +546,306 @@ msgstr ""
#: data/ui/Shortcuts.ui:95 data/ui/Shortcuts.ui:99
msgctxt "shortcut window"
msgid "Find"
msgid "Search"
msgstr ""
#: data/ui/Shortcuts.ui:106
msgctxt "shortcut window"
msgid "Find and replace"
msgstr ""
#: data/ui/Shortcuts.ui:115
#: data/ui/Shortcuts.ui:108
msgctxt "shortcut window"
msgid "Markdown"
msgstr ""
#: data/ui/Shortcuts.ui:119
#: data/ui/Shortcuts.ui:112
msgctxt "shortcut window"
msgid "Separator"
msgstr ""
#: data/ui/Shortcuts.ui:126
#: data/ui/Shortcuts.ui:119
msgctxt "shortcut window"
msgid "List item"
msgstr ""
#: data/ui/Shortcuts.ui:133
#: data/ui/Shortcuts.ui:126
msgctxt "shortcut window"
msgid "Italic"
msgstr ""
#: data/ui/Shortcuts.ui:140
#: data/ui/Shortcuts.ui:133
msgctxt "shortcut window"
msgid "Bold"
msgstr ""
#: data/ui/Shortcuts.ui:147
#: data/ui/Shortcuts.ui:140
msgctxt "shortcut window"
msgid "Strikeout"
msgstr ""
#: data/ui/Shortcuts.ui:154
#: data/ui/Shortcuts.ui:147
msgctxt "shortcut window"
msgid "Header"
msgstr ""
#: data/ui/Shortcuts.ui:161
#: data/ui/Shortcuts.ui:154
msgctxt "shortcut window"
msgid "Select all"
msgstr ""
#: data/ui/Shortcuts.ui:170
#: data/ui/Shortcuts.ui:163
msgctxt "shortcut window"
msgid "Copy and paste"
msgstr ""
#: data/ui/Shortcuts.ui:174
#: data/ui/Shortcuts.ui:167
msgctxt "shortcut window"
msgid "Copy selected text to clipboard"
msgstr ""
#: data/ui/Shortcuts.ui:181
#: data/ui/Shortcuts.ui:174
msgctxt "shortcut window"
msgid "Cut selected text to clipboard"
msgstr ""
#: data/ui/Shortcuts.ui:188
#: data/ui/Shortcuts.ui:181
msgctxt "shortcut window"
msgid "Paste selected text from clipboard"
msgstr ""
#: data/ui/Shortcuts.ui:197
#: data/ui/Shortcuts.ui:190
msgctxt "shortcut window"
msgid "Undo and redo"
msgstr ""
#: data/ui/Shortcuts.ui:201
#: data/ui/Shortcuts.ui:194
msgctxt "shortcut window"
msgid "Undo previous command"
msgstr ""
#: data/ui/Shortcuts.ui:208
#: data/ui/Shortcuts.ui:201
msgctxt "shortcut window"
msgid "Redo previous command"
msgstr ""
#: data/ui/Shortcuts.ui:217
#: data/ui/Shortcuts.ui:210
msgctxt "shortcut window"
msgid "Selection"
msgstr ""
#: data/ui/Shortcuts.ui:221
#: data/ui/Shortcuts.ui:214
msgctxt "shortcut window"
msgid "Select all text"
msgstr ""
#: data/ui/Window.ui:102
#: data/ui/Window.ui:103
msgid "0 Words"
msgstr ""
#: data/ui/Window.ui:106
#: data/ui/Window.ui:107
msgid "Show Statistics"
msgstr ""
#: data/ui/Window.ui:192
#: data/ui/Window.ui:198
msgid "Previous Match"
msgstr ""
#: data/ui/Window.ui:206
#: data/ui/Window.ui:212
msgid "Next Match"
msgstr ""
#: data/ui/Window.ui:235
#: data/ui/Window.ui:240
msgid "aA"
msgstr ""
#: data/ui/Window.ui:239
#: data/ui/Window.ui:244
msgid "Case Sensitive"
msgstr ""
#: data/ui/Window.ui:249
#: data/ui/Window.ui:254
msgid "(.*)"
msgstr ""
#: data/ui/Window.ui:253
#: data/ui/Window.ui:258
msgid "Regular Expression"
msgstr ""
#: data/ui/Window.ui:266 data/ui/Window.ui:344
#: data/ui/Window.ui:271
msgid "Open Replace"
msgstr ""
#: data/ui/Window.ui:349
msgid "Replace"
msgstr ""
#: data/ui/Window.ui:358
msgid "Replace All"
#: data/ui/Window.ui:363
msgid "Replace all"
msgstr ""
#: uberwriter/application.py:171
msgid "Show debug messages (-vv debugs uberwriter also)"
msgstr ""
#: uberwriter/application.py:173
msgid "Use experimental features"
msgstr ""
#: uberwriter/export_dialog.py:159
msgid "Untitled document.md"
msgstr ""
#: uberwriter/export_dialog.py:340
msgid "Please, install the TexLive extension from Gnome Software or running\n"
msgstr ""
#: uberwriter/export_dialog.py:343
msgid "Please, install TexLive from your distribuiton repositories"
msgstr ""
#: uberwriter/format_shortcuts.py:95
msgid "emphasized text"
msgstr ""
#: uberwriter/format_shortcuts.py:97
msgid "strong text"
msgstr ""
#: uberwriter/format_shortcuts.py:99
msgid "striked out text"
msgstr ""
#: uberwriter/format_shortcuts.py:117
msgid "List item"
msgstr ""
#: uberwriter/format_shortcuts.py:177
msgid "Heading"
msgstr ""
#: uberwriter/headerbars.py:101
msgid "Exit Fullscreen"
msgstr ""
#: uberwriter/headerbars.py:137
msgid "New"
msgstr ""
#: uberwriter/headerbars.py:139
msgid "Save"
msgstr ""
#: uberwriter/headerbars.py:147
msgid "Open"
msgstr ""
#: uberwriter/headerbars.py:162
msgid "Open Recent"
msgstr ""
#: uberwriter/headerbars.py:169
msgid "Search and Replace"
msgstr ""
#: uberwriter/headerbars.py:170
msgid "Menu"
msgstr ""
#: uberwriter/inline_preview.py:184
msgid "Website is not available"
msgstr ""
#: uberwriter/inline_preview.py:186
msgid "Website is available"
msgstr ""
#: uberwriter/inline_preview.py:436
msgid "Open Link in Webbrowser"
msgstr ""
#: uberwriter/inline_preview.py:500
msgid "No matching footnote found"
msgstr ""
#: uberwriter/main_window.py:234
msgid "Save your File"
msgstr ""
#: uberwriter/main_window.py:334
msgid "Markdown Files"
msgstr ""
#: uberwriter/main_window.py:338
msgid "Plain Text Files"
msgstr ""
#: uberwriter/main_window.py:341
msgid "Open a .md file"
msgstr ""
#: uberwriter/main_window.py:367
msgid "You have not saved your changes."
msgstr ""
#: uberwriter/main_window.py:369
msgid "Close without saving"
msgstr ""
#: uberwriter/main_window.py:370
msgid "Cancel"
msgstr ""
#: uberwriter/main_window.py:371
msgid "Save now"
msgstr ""
#: uberwriter/main_window.py:400
msgid "New File"
msgstr ""
#: uberwriter/preview_renderer.py:168
msgid "Half-Width"
msgstr ""
#: uberwriter/preview_renderer.py:170
msgid "Half-Height"
msgstr ""
#: uberwriter/preview_renderer.py:172
msgid "Windowed"
msgstr ""
#: uberwriter/stats_handler.py:69
msgid "{:n} Characters"
msgstr ""
#: uberwriter/stats_handler.py:71
msgid "{:n} Words"
msgstr ""
#: uberwriter/stats_handler.py:73
msgid "{:n} Sentences"
msgstr ""
#: uberwriter/stats_handler.py:75
msgid "{:n} Paragraphs"
msgstr ""
#: uberwriter/stats_handler.py:77
msgid "{:d}:{:02d}:{:02d} Read Time"
msgstr ""
#: uberwriter/text_view_format_inserter.py:12
msgid "italic text"
msgstr ""
#: uberwriter/text_view_format_inserter.py:17
msgid "bold text"
msgstr ""
#: uberwriter/text_view_format_inserter.py:22
msgid "strikethrough text"
msgstr ""
#: uberwriter/text_view_format_inserter.py:45
msgid "Item"
msgstr ""
#: uberwriter/text_view_format_inserter.py:91
msgid "Header"
msgstr ""

View File

@ -1,7 +1,7 @@
function generate_po()
{
>LINGUAS
for po in *.po
for po in */LC_MESSAGES/*.po
do
msgmerge -N $po uberwriter.pot > /tmp/$$language_new.po
mv /tmp/$$language_new.po $po

723
po/vi.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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">Apostrophe helps your textediting workflow</tspan></tspan><tspan
id="tspan8217">UberWriter 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">Apostrophe.md - Apostrophe</tspan></text>
id="tspan8305">UberWriter.md - UberWriter</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 Apostrophe it's his <tspan
id="tspan8398">feature of UberWriter 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 - Apostrophe</tspan></text>
id="tspan8406">Dark Mode.md - UberWriter</tspan></text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -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/Apostrophe/apostrophe/screenshots/mockups.svg.png"
inkscape:export-filename="/home/manu/Documentos/Programacion/Uberwriter/uberwriter/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">Apostrophe helps your textediting workflow</tspan></tspan><tspan
id="tspan8217">UberWriter 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">Apostrophe.md - Apostrophe</tspan></text>
id="tspan8305">UberWriter.md - UberWriter</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 Apostrophe it's his <tspan
id="tspan8398">feature of UberWriter 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 - Apostrophe</tspan></text>
id="tspan8406">Dark Mode.md - UberWriter</tspan></text>
</g>
</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
#
# The light variant is based on GitHub's style, while the dark variant is based on pre-existing Apostrophe styles.
# The light variant is based on GitHub's style, while the dark variant is based on pre-existing UberWriter styles.
#
# 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>'
}
generate_resource > ../data/apostrophe.gresource.xml
generate_resource > ../data/uberwriter.gresource.xml

View File

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

View File

@ -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', 'apostrophe'])
return_code = subprocess.call(["pylint", '-E', 'uberwriter'])
# 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", 'apostrophe'])
#~ return_code = subprocess.call(["pylint", 'uberwriter'])
if __name__ == '__main__':
'you will get better results with nosetests'

View File

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

View File

@ -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 apostrophe to run without installing it :)
# Set the path if needed. This allows uberwriter to run without installing it :)
python_path = []
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'apostrophe'))
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'uberwriter'))
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 apostrophe
import uberwriter
localedir = '@LOCALE_DIR@'
pkgdatadir = '@DATA_DIR@'
#locale_dir = os.path.abspath(os.path.join(os.path.dirname(apostrophe.__file__),'../po/'))
#locale_dir = os.path.abspath(os.path.join(os.path.dirname(uberwriter.__file__),'../po/'))
# L10n
locale.textdomain('apostrophe')
locale.bindtextdomain('apostrophe', localedir)
gettext.textdomain('apostrophe')
gettext.bindtextdomain('apostrophe', localedir)
locale.textdomain('uberwriter')
locale.bindtextdomain('uberwriter', localedir)
gettext.textdomain('uberwriter')
gettext.bindtextdomain('uberwriter', localedir)
resource = Gio.resource_load(os.path.join(pkgdatadir, 'apostrophe/apostrophe.gresource'))
resource = Gio.resource_load(os.path.join(pkgdatadir, 'uberwriter/uberwriter.gresource'))
Gio.Resource._register(resource)
apostrophe.main()
uberwriter.main()

View File

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

View File

@ -15,16 +15,16 @@ from gettext import gettext as _
import gi
from apostrophe.main_window import MainWindow
from uberwriter.main_window import MainWindow
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
from gi.repository import GLib, Gio, Gtk, GdkPixbuf
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
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
class Application(Gtk.Application):
@ -41,7 +41,6 @@ class Application(Gtk.Application):
Gtk.Application.do_startup(self)
self.settings.connect("changed", self.on_settings_changed)
self._set_dark_mode ()
# Header bar
@ -66,6 +65,7 @@ class Application(Gtk.Application):
self.add_action(action)
# App Menu
action = Gio.SimpleAction.new_stateful(
"focus_mode", None, GLib.Variant.new_boolean(False))
action.connect("change-state", self.on_focus_mode)
@ -90,7 +90,7 @@ class Application(Gtk.Application):
action.connect("activate", self.on_save_as)
self.add_action(action)
action = Gio.SimpleAction.new("export", GLib.VariantType("s"))
action = Gio.SimpleAction.new("export", None)
action.connect("activate", self.on_export)
self.add_action(action)
@ -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="Apostrophe")
# self.window = Window(application=self, title="UberWriter")
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 apostrophe also)"))
help=_("Show debug messages (-vv debugs uberwriter also)"))
parser.add_argument(
"-e", "--experimental-features", help=_("Use experimental features"),
action='store_true')
@ -184,22 +184,13 @@ class Application(Gtk.Application):
self.activate()
return 0
def _set_dark_mode (self):
dark = self.settings.get_value("dark-mode")
settings = Gtk.Settings.get_default()
settings.props.gtk_application_prefer_dark_theme = dark
if settings.props.gtk_theme_name == "HighContrast" and dark:
settings.props.gtk_theme_name = "HighContrastInverse"
elif settings.props.gtk_theme_name == "HighContrastInverse" and not dark:
settings.props.gtk_theme_name = "HighContrast"
def on_settings_changed(self, settings, key):
if key == "dark-mode":
self._set_dark_mode ()
if key == "dark-mode-auto" or key == "dark-mode":
self.window.apply_current_theme()
elif key == "spellcheck":
self.window.toggle_spellcheck(settings.get_value(key))
elif key == "gradient-overlay":
self.window.toggle_gradient_overlay(settings.get_value(key))
elif key == "input-format":
self.window.reload_preview()
elif key == "sync-scroll":
@ -246,8 +237,8 @@ class Application(Gtk.Application):
def on_save_as(self, _action, _value):
self.window.save_document_as()
def on_export(self, _action, value):
self.window.open_advanced_export(value.get_string())
def on_export(self, _action, _value):
self.window.open_advanced_export()
def on_copy_html(self, _action, _value):
self.window.copy_html_to_clipboard()
@ -263,7 +254,7 @@ class Application(Gtk.Application):
builder.get_object("shortcuts").show()
def on_open_tutorial(self, _action, _value):
self.window.open_apostrophe_markdown()
self.window.open_uberwriter_markdown()
def on_about(self, _action, _param):
builder = Gtk.Builder()

View File

@ -1,7 +1,7 @@
# ApostropheAutoCorrect
# The Apostrophe Auto Correct is a auto correction
# UberwriterAutoCorrect
# The Uberwriter Auto Correct is a auto correction
# mechanism to prevent stupid typos
# CURRENTLY DISABLED
# import presage
import os
import pickle
@ -13,16 +13,16 @@ from gi.repository import Gtk, Gdk
import enchant
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 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 Levenshtein import distance
from apostrophe.helpers import get_media_path
from uberwriter.helpers import get_media_path
# Define and create PresageCallback object
class PressagioCallback(pressagio.callback.Callback):

View File

@ -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('apostrophe')
LOGGER = logging.getLogger('uberwriter')
# this module is big so uses some conventional prefixes and postfixes
# *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
# files). By default, this is ../data, relative your trunk layout
__apostrophe_data_directory__ = '../data/'
__uberwriter_data_directory__ = '../data/'
__license__ = 'GPL-3'
__version__ = 'VERSION'
@ -45,25 +45,25 @@ def get_data_file(*path_segments):
def get_data_path():
"""Retrieve apostrophe data path
"""Retrieve uberwriter data path
This path is by default <apostrophe_path>/../data/ in trunk
and /opt/apostrophe/data in an installed version but this path
This path is by default <uberwriter_path>/../data/ in trunk
and /opt/uberwriter/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/apostrophe/'
return '/app/share/uberwriter/'
path = os.path.join(
os.path.dirname(__file__), __apostrophe_data_directory__)
os.path.dirname(__file__), __uberwriter_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/apostrophe/'
abs_data_path = '/usr/share/uberwriter/'
elif not os.path.exists(abs_data_path):
raise ProjectPathNotFound

View File

@ -24,12 +24,12 @@ from gettext import gettext as _
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib
from gi.repository import Gtk
from apostrophe import helpers
from apostrophe.theme import Theme
from uberwriter import helpers
from uberwriter.theme import Theme
LOGGER = logging.getLogger('apostrophe')
LOGGER = logging.getLogger('uberwriter')
class Export:
@ -147,102 +147,42 @@ class Export:
}
]
def __init__(self, filename, export_format, text):
"""Set up the export dialog"""
self.export_menu = {
"pdf":
{
"extension": "pdf",
"name": "PDF",
"mimetype": "application/pdf",
"dialog": self.regular_export_dialog
},
"html":
{
"extension": "html",
"name": "HTML",
"mimetype": "text/html",
"dialog": self.regular_export_dialog
},
"odt":
{
"extension": "odt",
"name": "ODT",
"mimetype": "application/vnd.oasis.opendocument.text",
"dialog": self.regular_export_dialog
},
"advanced":
{
"extension": "",
"name": "",
"mimetype": "",
"dialog": self.advanced_export_dialog
}
}
self.filename = filename or _("Untitled document.md")
self.export_format = export_format
self.dialog = self.export_menu[export_format]["dialog"]()
response = self.dialog.run()
if response == Gtk.ResponseType.ACCEPT:
try:
self.export(export_format, text)
except (NotADirectoryError, RuntimeError) as e:
dialog = Gtk.MessageDialog(None,
Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT,
Gtk.MessageType.ERROR,
Gtk.ButtonsType.CLOSE,
_("An error happened while trying to export:\n\n{err_msg}")
.format(err_msg= str(e).encode().decode("unicode-escape"))
)
dialog.run()
dialog.destroy()
self.dialog.destroy()
def regular_export_dialog(self):
texlive_installed = helpers.exist_executable("pdftex")
if (self.export_menu[self.export_format]["extension"] == "pdf" and
not texlive_installed):
dialog = Gtk.MessageDialog(None,
Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT,
Gtk.MessageType.INFO,
Gtk.ButtonsType.CLOSE,
_("Oh, no!")
)
dialog.props.secondary_text = _("Seems that you don't have TexLive installed.\n" +
disabled_text())
else:
dialog = Gtk.FileChooserNative.new(_("Export"),
None,
Gtk.FileChooserAction.SAVE,
_("Export to %s") %
self.export_menu[self.export_format]["extension"],
_("Cancel"))
dialog_filter = Gtk.FileFilter.new()
dialog_filter.set_name(self.export_menu[self.export_format]["name"])
dialog_filter.add_mime_type(self.export_menu[self.export_format]["mimetype"])
dialog.add_filter(dialog_filter)
dialog.set_do_overwrite_confirmation(True)
dialog.set_current_folder(os.path.dirname(self.filename))
dialog.set_current_name(os.path.basename(self.filename)[:-2] +
self.export_menu[self.export_format]["extension"])
return dialog
def advanced_export_dialog(self):
def __init__(self, filename):
"""Set up the about dialog"""
self.builder = Gtk.Builder()
self.builder.add_from_resource(
"/de/wolfvollprecht/UberWriter/ui/Export.ui")
self.dialog = self.builder.get_object("Export")
self.stack = self.builder.get_object("export_stack")
self.stack_switcher = self.builder.get_object("format_switcher")
self.paper_size = self.builder.get_object("combobox_paper_size")
stack_pdf_disabled = self.builder.get_object("pdf_disabled")
filename = filename or _("Untitled document.md")
self.filechoosers = {export_format: self.stack.get_child_by_name(export_format)
for export_format in ["pdf", "html", "advanced"]}
for export_format, filechooser in self.filechoosers.items():
filechooser.set_do_overwrite_confirmation(True)
filechooser.set_current_folder(os.path.dirname(filename))
if export_format == "advanced":
self.adv_export_name = self.builder.get_object("advanced_export_name")
self.adv_export_name.set_text(os.path.basename(filename)[:-3])
else:
filechooser.set_current_name(os.path.basename(filename)[:-2] + export_format)
# Disable pdf if Texlive not installed
texlive_installed = helpers.exist_executable("pdftex")
if not texlive_installed:
self.filechoosers["pdf"].set_visible(False)
stack_pdf_disabled.set_visible(True)
stack_pdf_disabled.set_text(disabled_text())
stack_pdf_disabled.set_justify(Gtk.Justification.CENTER)
self.stack.connect('notify', self.allow_export, 'visible_child_name')
self.builder.get_object("highlight_style").set_active(0)
self.builder.get_object("css_filechooser").set_uri(
helpers.path_to_file(Theme.get_current().web_css_path))
@ -257,15 +197,7 @@ class Export:
self.format_field.add_attribute(format_renderer, "text", 1)
self.format_field.set_active(0)
self.adv_export_folder = self.builder.get_object("advanced")
self.adv_export_name = self.builder.get_object("advanced_export_name")
self.adv_export_name.set_text(os.path.basename(self.filename)[:-3])
self.paper_size = self.builder.get_object("combobox_paper_size")
return self.builder.get_object("Export")
def export(self, export_type, text=""):
def export(self, text=""):
"""Export the given text using the specified format.
For advanced export, this includes special flags for the enabled options.
@ -273,16 +205,11 @@ class Export:
text {str} -- Text to export (default: {""})
"""
export_type = self.stack.get_visible_child_name()
args = []
if export_type == "advanced":
filename = self.adv_export_name.get_text()
# TODO: use walrust operator
output_uri = self.adv_export_folder.get_uri()
if output_uri:
output_dir = GLib.filename_from_uri(output_uri)[0]
else:
raise NotADirectoryError(_("A folder must be selected before proceeding"))
output_dir = os.path.abspath(self.filechoosers["advanced"].get_current_folder())
basename = os.path.basename(filename)
fmt = self.formats[self.format_field.get_active()]
@ -300,7 +227,7 @@ class Export:
args = [
"--variable=papersize:a4"
]
filename = self.dialog.get_filename()
filename = self.filechoosers[export_type].get_filename()
if filename.endswith("." + export_type):
filename = filename[:-len(export_type)-1]
output_dir = os.path.abspath(os.path.join(filename, os.path.pardir))
@ -311,7 +238,7 @@ class Export:
if export_type == "html":
to = "html5"
args.append("--self-contained")
args.append("--standalone")
args.append("--css=%s" % Theme.get_current().web_css_path)
args.append("--mathjax")
args.append("--lua-filter=%s" % helpers.get_script_path('relative_to_absolute.lua'))
@ -417,6 +344,19 @@ class Export:
return paper_formats[paper_size]
def allow_export(self, widget, data, signal):
"""Disable export button if the visible child is "pdf_disabled"
"""
del widget, data, signal
export_btn = self.builder.get_object("export_btn")
if self.stack.get_visible_child_name() == "pdf_disabled":
export_btn.set_sensitive(False)
else:
export_btn.set_sensitive(True)
def disabled_text():
"""Return the TexLive installation instructions

View File

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

Some files were not shown because too many files have changed in this diff Show More