Quelle surprise ! C’est une excellente trouvaille – et bravo pour l’avoir mise en œuvre ! J’aurais versé l’encre bleue dans la cartouche noire et j’aurais continué comme d’habitude !
La façon la plus simple de faire cela depuis l’interface existante de PTXprint consiste à activer une feuille de style temporaire qui n’applique la propriété (bleue) \Color qu’aux styles \Marker utilisés dans votre texte biblique.
Cliquez sur l’onglet Advanced , puis activez Apply Stylesheet Overrides (ptxprint-mods.sty) , et cliquez sur le bouton Edit… .
Cela vous amènera à la page View+Edit où vous pouvez saisir (ou copier-coller) le code suivant :
\Marker p
\Color x1a5fb4
\Marker m
\Color x1a5fb4
\Marker q1
\Color x1a5fb4
\Marker q2
\Color x1a5fb4
\Marker ef
\Color x1a5fb4
\Marker x
\Color x1a5fb4
\Marker f
\Color x1a5fb4
Ajustez le code couleur selon vos besoins, et ajoutez tout autre Marker qui apparaît encore en noir (par exemple, le \h pour les en-têtes ici). Et c’est terminé !
Notez toutefois que vous ne pouvez pas changer la couleur des différentes lignes/règles.
Et lorsque votre nouvelle cartouche noire arrive, il suffit de désactiver ce paramètre Advanced et vous serez de retour à la normale en un clic. Et lorsque vous aurez besoin de passer à l’encre ROUGE, il vous suffira de faire une recherche et remplacement pour le code xColor et vous voilà parti…
Merci pour cette question amusante !
Well, I never! This is a great piece of ingenuity - and well done for pulling it off! I would have tipped the blue ink into the black cartridge and carried on as usual !
The easiest way to do this from within PTXprint’s existing UI is to enable a temporary stylesheet which only applies the (blue) \Color property to each of the \Marker styles you’ve used in your scripture text.
Click on the Advanced tab, then enable Apply Stylesheet Overrides (ptxprint-mods.sty) , and click the Edit… button.
This will take you to the View+Edit page where you can type in (or copy-paste) the following code:
\Marker p
\Color x1a5fb4
\Marker m
\Color x1a5fb4
\Marker q1
\Color x1a5fb4
\Marker q2
\Color x1a5fb4
\Marker ef
\Color x1a5fb4
\Marker x
\Color x1a5fb4
\Marker f
\Color x1a5fb4
Adjust the color code as needed, and add any other Markers that still appear black (for example, the \h for the headers here). Then you’re done!
Note, however, that you can’t change the color of the various lines/rules.
And when your new black cartridge arrives, just turn off that Advanced setting and you’ll be back to normal with one click. And when you need to switch to RED ink, all you have to do is a find-and-replace for the xColor code and away you go…
Thanks for a fun question!
Traduit automatiquement depuis English Afficher l'original