Revision: 22380
http://sourceforge.net/p/bibdesk/svn/22380
Author: hofman
Date: 2018-06-30 20:15:51 +0000 (Sat, 30 Jun 2018)
Log Message:
-----------
Add icon to help headers using css. Update copyright dates in help.
Modified Paths:
--------------
trunk/bibdesk/BibDesk.help/Contents/Resources/English.lproj/bibdesk.texi
trunk/bibdesk/BibDesk.help/Contents/Resources/English.lproj/sty/bibdeskhelp.css
trunk/bibdesk/BibDeskHelp/applehelp.init
Modified:
trunk/bibdesk/BibDesk.help/Contents/Resources/English.lproj/bibdesk.texi
===================================================================
--- trunk/bibdesk/BibDesk.help/Contents/Resources/English.lproj/bibdesk.texi
2018-06-30 12:14:30 UTC (rev 22379)
+++ trunk/bibdesk/BibDesk.help/Contents/Resources/English.lproj/bibdesk.texi
2018-06-30 20:15:51 UTC (rev 22380)
@@ -128,7 +128,7 @@
BibTeX editor, it is important to understand at least a few things
about the BibTeX file format.
-@enumerate
+@itemize
@item If you already have a BibTeX database and are moving from hand-editing
or another BibTeX editor, start at the @ref{Quick Start}.
@@ -136,7 +136,7 @@
@item If you are just getting started keeping track of references or are
moving from a program such as EndNote or
another reference manager, see the @ref{BibTeX Intro}.
-@end enumerate
+@end itemize
@heading Help Topics
@menu
@@ -183,7 +183,7 @@
Portions of BibDesk:
-Copyright @copyright{} 2001 - 2013 Michael O. McCracken@*
+Copyright @copyright{} 2001 - 2018 Michael O. McCracken@*
Copyright @copyright{} many others@*
@c
======================================================================================
Modified:
trunk/bibdesk/BibDesk.help/Contents/Resources/English.lproj/sty/bibdeskhelp.css
===================================================================
---
trunk/bibdesk/BibDesk.help/Contents/Resources/English.lproj/sty/bibdeskhelp.css
2018-06-30 12:14:30 UTC (rev 22379)
+++
trunk/bibdesk/BibDesk.help/Contents/Resources/English.lproj/sty/bibdeskhelp.css
2018-06-30 20:15:51 UTC (rev 22380)
@@ -31,6 +31,29 @@
font-size: 14px;
}
+h1.chapter:before, h1.appendix:before, h2.section:before, h2.subsection:before
{
+ content: "";
+ display: inline-block;
+ vertical-align: bottom;
+ background-image: url("../gfx/BibDeskIcon");
+ background-repeat: no-repeat;
+ background-size: 48px;
+ width: 48px;
+ height: 48px;
+ margin-right: 6px
+}
+
+@media only screen and (-webkit-min-device-pixel-ratio: 2),
+only screen and ( min--moz-device-pixel-ratio: 2),
+only screen and ( -o-min-device-pixel-ratio: 2/1),
+only screen and ( min-device-pixel-ratio: 2) {
+
+ h1.chapter:before, h1.appendix:before, h2.section:before,
h2.subsection:before {
+ background-image: url("../gfx/[email protected]");
+ }
+
+}
+
a {
font-weight: bold;
color: #3333cc;
Modified: trunk/bibdesk/BibDeskHelp/applehelp.init
===================================================================
--- trunk/bibdesk/BibDeskHelp/applehelp.init 2018-06-30 12:14:30 UTC (rev
22379)
+++ trunk/bibdesk/BibDeskHelp/applehelp.init 2018-06-30 20:15:51 UTC (rev
22380)
@@ -74,7 +74,7 @@
#$summary_letter = \&t2h_html32_summary_letter;
$protect_text = \&t2h_html32_protect_text;
-$heading = \&t2h_html32_heading;
+#$heading = \&t2h_html32_heading;
$preformatted = \&t2h_html32_preformatted;
$menu = \&t2h_html32_menu;
$foot_section = \&t2h_html32_foot_section;
@@ -119,7 +119,7 @@
my $preformatted = shift;
my $file_name = shift;
my $file_name_2x = "$file_name";
- $file_name_2x =~ s/(.*)\./$1\@2x\./;
+ $file_name_2x =~ s/(\.\w+)$/\@2x$1/;
return "[ $base ]" if ($preformatted);
return "<img src=\"$file_name\" srcset=\"$file_name 1x, $file_name_2x 2x\"
alt=\"$base\" />" if has_include_file("$file_name_2x");
return "<img src=\"$file_name\" alt=\"$base\" />";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit