public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* putting stuff side by side
@ 2023-05-06 20:43 Mark Pinsley
       [not found] ` <d18bf8d8-6871-4087-aa1d-b48a5ad2af38n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Pinsley @ 2023-05-06 20:43 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1936 bytes --]

Hi,

I am brand new to Pandoc. I have been looking at writting some content that 
I wanted to present in multiple ways. it seems like Pandoc can help. 

A few things that I haven't been able to figure out.

1. I have attached a document that I created it is the Federalist Paper #1. 
I have been using this document to try different things including creating 
references etc. What I haven't been able to figure out is the best method 
of first defining different paragraphs and then being able to do something 
specific with them

In this case. I have created the "Old English" version (which i probably 
should have just called Original) and the "Modern English" version.

So as I am typing I write in {.ModernEnglish} and {.OldEnglish}

If I want to produce these so that they are side by side. Meaning the old 
English in on the Left and the ModernEnglish  is on the right. How can I do 
that, or should I be coming out this in a completely different way? As I am 
writing I want to be able to quickly identify one from an other.

If I want the OldEnlgih to appear and then the ModernEngilsh as a 
CodeBlodk, do I just find/replace all ModernEnglish and replace with ">"  ??

2. If I want to create a look and feel. I want to output this as HTML, PDF 
and PPT.

On each one I want a particular look/feel   How/where do I develop that 
look and feel (I am not a programmer so it would be easier if I could see 
what the output would look like - meaning moving colors around etc)

All help is appreciated. Thanks
Mark




 

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2563 bytes --]

[-- Attachment #2: Paper 1.1.md --]
[-- Type: text/markdown, Size: 17371 bytes --]


## Section 1 of 13

{.OldEnglish} AFTER an unequivocal experience of the inefficiency of the subsisting federal government, you are called upon to deliberate on a new Constitution for the United States of America.

{.ModernEnglish} After clearly experiencing that the current federal government isn't working well, you are asked to think about a new Constitution for the United States of America.

{.OldEnglish} The subject speaks its own importance; comprehending in  its consequences nothing less than the existence of the UNION, the safety and welfare of the parts of which it is composed, the fate of an empire in many respects the most interesting in the world.

{.ModernEnglish} This topic is very important; it involves consequences that affect the existence of the UNION, the safety and well-being of its parts, and the future of an empire that is interesting in many ways.

{.OldEnglish} It has been frequently remarked that it seems to have been reserved to the people of this country, by their conduct and example, to decide the important question, whether societies of men are really capable or not of establishing good government from reflection and choice, or whether they are forever destined to depend for their political constitutions on accident and force.

{.ModernEnglish} Many people have noted that it seems like it's up to the people of this country, through their actions and examples, to answer the big question: can people really create a good government by thinking carefully and making choices, or will they always have to rely on chance and force for their political systems?

{.OldEnglish} If there be any truth in the remark, the crisis at which we are arrived may with propriety be regarded as the era in which that decision is to be made; and a wrong election of the part we shall act may, in this view, deserve to be considered as the general misfortune of mankind.

{.ModernEnglish} If there's any truth to that idea, then the critical moment we're facing right now could be seen as the time when we'll make that decision. If we choose the wrong path, it might be seen as a huge misfortune for all people.

## Section 2 of 13

{.OldEnglish} This idea will add the inducements of philanthropy to those of patriotism, to heighten the solicitude which all considerate and good men must feel for the event. Happy will it be if our choice should be directed by a judicious estimate of our true interests, unperplexed and unbiased by considerations not connected with the public good. But this is a thing more ardently to be wished than seriously to be expected. The plan offered to our deliberations affects too many particular interests, innovates upon too many local institutions, not to involve in its discussion a variety of objects foreign to its merits, and of views, passions and prejudices little favorable to the discovery of truth.

{.ModernEnglish} This idea will make people more caring and patriotic, increasing their concern for what happens next. It would be great if our decisions were based on a wise understanding of what's best for us, without being influenced by things that aren't related to the common good. However, this is something we can hope for more than actually expect. The plan being discussed touches on many specific interests and changes a lot of local systems, which means that the conversation will include many topics unrelated to its merits, as well as opinions, emotions, and biases that don't help us find the truth.

## Section 3 of 13

{.OldEnglish} Among the most formidable of the obstacles which the new Constitution will have to encounter may readily be distinguished the obvious interest of a certain class of men in every State to resist all changes which may hazard a diminution of the power, emolument, and consequence of the offices they hold under the State establishments; and the perverted ambition of another class of men, who will either hope to aggrandize themselves by the confusions of their country, or will flatter themselves with fairer prospects of elevation from the subdivision of the empire into several partial confederacies than from its union under one government.

{.ModernEnglish} One of the biggest challenges the new Constitution will face is the clear interest of some people in every state who want to avoid changes that could reduce their power, money, and importance in the positions they hold within the state governments. Another group of people has a twisted ambition, and they either hope to gain more power by taking advantage of their country's confusion or believe they have better chances of rising up if the nation is divided into several smaller alliances instead of being united under one government.

## Section 4 of 13

{.OldEnglish} It is not, however, my design to dwell upon observations of this nature. I am well aware that it would be disingenuous to resolve indiscriminately the opposition of any set of men (merely because their situations might subject them to suspicion) into interested or ambitious views. Candor will oblige us to admit that even such men may be actuated by upright intentions; and it cannot be doubted that much of the opposition which has made its appearance, or may hereafter make its appearance, will spring from sources, blameless at least, if not respectable--the honest errors of minds led astray by preconceived jealousies and fears.

{.ModernEnglish} However, it's not my intention to focus on observations like these. I know it would be dishonest to assume that all people who oppose the new Constitution do so only because of their personal interests or ambitions. We must be fair and admit that even these people might have good intentions. It's undeniable that a lot of the opposition we've seen, or might see in the future, comes from sources that are at least innocent, if not admirable. These are honest mistakes made by people whose minds have been misled by their existing worries and fears.
## Section 5 of 13

{.OldEnglish} So numerous indeed and so powerful are the causes which serve to give a false bias to the judgment, that we, upon many occasions, see wise and good men on the wrong as well as on the right side of questions of the first magnitude to society. This circumstance, if duly attended to, would furnish a lesson of moderation to those who are ever so much persuaded of their being in the right in any controversy. And a further reason for caution, in this respect, might be drawn from the reflection that we are not always sure that those who advocate the truth are influenced by purer principles than their antagonists. Ambition, avarice, personal animosity, party opposition, and many other motives not more laudable than these, are apt to operate as well upon those who support as those who oppose the right side of a question. Were there not even these inducements to moderation, nothing could be more ill-judged than that intolerant spirit which has, at all times, characterized political parties. For in politics, as in religion, it is equally absurd to aim at making proselytes by fire and sword. Heresies in either can rarely be cured by persecution.

{.ModernEnglish} So many things can make people's judgments biased that sometimes we see smart and good people on the wrong side of important issues. If we pay attention to this, it can teach us to be more moderate in our opinions, even when we're sure we're right. Another reason to be careful is that we can't always be sure that people who support the truth have better intentions than their opponents. Ambition, greed, personal dislike, and other less-than-noble motives can influence both those who support and those who oppose the right side of an issue. Even without these reasons, being intolerant is a bad approach in politics, just as it is in religion. Trying to convert people by force doesn't work, and it's just as ridiculous in both areas. Persecuting people for their beliefs rarely changes their minds.

## Section 6 of 13

{.OldEnglish} And yet, however just these sentiments will be allowed to be, we have already sufficient indications that it will happen in this as in all former cases of great national discussion. A torrent of angry and malignant passions will be let loose. To judge from the conduct of the opposite parties, we shall be led to conclude that they will mutually hope to evince the justness of their opinions, and to increase the number of their converts by the loudness of their declamations and the bitterness of their invectives. An enlightened zeal for the energy and efficiency of government will be stigmatized as the offspring of a temper fond of despotic power and hostile to the principles of liberty. An over-scrupulous jealousy of danger to the rights of the people, which is more commonly the fault of the head than of the heart, will be represented as mere pretense and artifice, the stale bait for popularity at the expense of the public good. It will be forgotten, on the one hand, that jealousy is the usual concomitant of love, and that the noble enthusiasm of liberty is apt to be infected with a spirit of narrow and illiberal distrust.

{.ModernEnglish} Even though these thoughts are fair, we've already seen signs that this situation will be like past major national debates, with a flood of anger and hostility. Looking at how the opposing sides act, we can guess that they'll both try to prove they're right and win more supporters by shouting loudly and insulting each other. People who passionately want a strong and efficient government will be accused of loving tyrannical power and being against freedom. On the other hand, people who worry too much about threats to people's rights will be seen as faking concern just to become popular at the expense of the common good. People will forget that jealousy often comes with love, and that the excitement for freedom can sometimes lead to narrow-minded and ungenerous distrust.

## Section 7 of 13

{.OldEnglish} On the other hand, it will be equally forgotten that the vigor of government is essential to the security of liberty; that, in the contemplation of a sound and well-informed judgment, their interest can never be separated; and that a dangerous ambition more often lurks behind the specious mask of zeal for the rights of the people than under the forbidden appearance of zeal for the firmness and efficiency of government. History will teach us that the former has been found a much more certain road to the introduction of despotism than the latter, and that of those men who have overturned the liberties of republics, the greatest number have begun their career by paying an obsequious court to the people; commencing demagogues, and ending tyrants.

{.ModernEnglish} On the other hand, people will also forget that a strong government is necessary to protect freedom, and that these two things are actually connected. A dangerous ambition is often hidden behind the fake concern for people's rights rather than behind the desire for a strong and efficient government. History shows us that the first approach is more likely to lead to tyranny than the second. Most of the people who destroyed republics started out by pretending to be the people's champions, only to become dictators in the end.

## Section 8 of 13

{.OldEnglish} In the course of the preceding observations, I have had an eye, my fellow-citizens, to putting you upon your guard against all attempts, from whatever quarter, to influence your decision in a matter of the utmost moment to your welfare, by any impressions other than those which may result from the evidence of truth. You will, no doubt, at the same time, have collected from the general scope of them, that they proceed from a source not unfriendly to the new Constitution. Yes, my countrymen, I own to you that, after having given it an attentive consideration, I am clearly of opinion it is your interest to adopt it.

{.ModernEnglish} In the previous observations, my fellow citizens, I have been trying to warn you against any attempts from any source to influence your decision on this very important issue, except through the truth. You might have noticed that my overall perspective is in favor of the new Constitution. Yes, my fellow Americans, I admit that after carefully considering it, I strongly believe it is in your best interest to adopt it.

## Section 9 of 13

{.OldEnglish} I am convinced that this is the safest course for your liberty, your dignity, and your happiness. I affect not reserves which I do not feel. I will not amuse you with an appearance of deliberation when I have decided. I frankly acknowledge to you my convictions, and I will freely lay before you the reasons on which they are founded. The consciousness of good intentions disdains ambiguity. I shall not, however, multiply professions on this head. My motives must remain in the depository of my own breast. My arguments will be open to all, and may be judged of by all. They shall at least be offered in a spirit which will not disgrace the cause of truth.

{.ModernEnglish} I am convinced that this is the safest path for your freedom, your dignity, and your happiness. I won't pretend to be unsure when I am certain. I honestly admit my beliefs to you and will share the reasons behind them. Knowing I have good intentions, I won't be ambiguous. However, I won't keep repeating myself on this topic. My motives will stay within my own heart. My arguments will be available for everyone to examine and judge. At the very least, they will be presented in a way that won't discredit the pursuit of truth.

## Section 10 of 13

{.OldEnglish} I propose, in a series of papers, to discuss the following interesting particulars: THE UTILITY OF THE UNION TO YOUR POLITICAL PROSPERITY THE INSUFFICIENCY OF THE PRESENT CONFEDERATION TO PRESERVE THAT UNION THE NECESSITY OF A GOVERNMENT AT LEAST EQUALLY ENERGETIC WITH THE ONE PROPOSED, TO THE ATTAINMENT OF THIS OBJECT THE CONFORMITY OF THE PROPOSED CONSTITUTION TO THE TRUE PRINCIPLES OF REPUBLICAN GOVERNMENT ITS ANALOGY TO YOUR OWN STATE CONSTITUTION and lastly, THE ADDITIONAL SECURITY WHICH ITS ADOPTION WILL AFFORD TO THE PRESERVATION OF THAT SPECIES OF GOVERNMENT, TO LIBERTY, AND TO PROPERTY.

{.ModernEnglish} In a series of papers, I plan to discuss the following important points: The usefulness of the union for your political success; the inability of the current confederation to maintain that union; the need for a government at least as strong as the one proposed to achieve this goal; how the proposed constitution aligns with the true principles of a republican government; its similarity to your own state constitution; and finally, the extra protection that adopting it will provide for preserving this type of government, as well as for liberty and property.

## Section 11 of 13

{.OldEnglish} In the progress of this discussion I shall endeavor to give a satisfactory answer to all the objections which shall have made their appearance, that may seem to have any claim to your attention.

{.ModernEnglish} During this discussion, I will try to provide satisfying answers to all the objections that come up and seem worth paying attention to.

## Section 12 of 13

{.OldEnglish} It may perhaps be thought superfluous to offer arguments to prove the utility of the UNION, a point, no doubt, deeply engraved on the hearts of the great body of the people in every State, and one, which it may be imagined, has no adversaries. But the fact is, that we already hear it whispered in the private circles of those who oppose the new Constitution, that the thirteen States are of too great extent for any general system, and that we must of necessity resort to separate confederacies of distinct portions of the whole.

{.ModernEnglish} Some people might think it's unnecessary to give reasons to show the usefulness of the UNION, as it's probably something deeply valued by most people in every state and doesn't seem to have opponents. However, we've already heard whispers among those who oppose the new Constitution, saying that the thirteen states are too big for a single system and that we must inevitably create separate alliances for different parts of the whole country.

## Section 13 of 13

{.OldEnglish} This doctrine will, in all probability, be gradually propagated, till it has votaries enough to countenance an open avowal of it. For nothing can be more evident, to those who are able to take an enlarged view of the subject, than the alternative of an adoption of the new Constitution or a dismemberment of the Union. It will therefore be of use to begin by examining the advantages of that Union, the certain evils, and the probable dangers, to which every State will be exposed from its dissolution. This shall accordingly constitute the subject of my next address.

{.ModernEnglish} This idea will likely spread slowly until enough supporters openly endorse it. For those who can see the big picture, it's clear that the choice is between adopting the new Constitution or breaking apart the Union. So, it's helpful to start by looking at the benefits of the Union, the definite problems, and the possible risks each state will face if the Union dissolves. This will be the topic of my next message.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: putting stuff side by side
       [not found] ` <d18bf8d8-6871-4087-aa1d-b48a5ad2af38n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-05-07  5:58   ` S. Manning
       [not found]     ` <05319da3a66ab795d8d21777f19ed6f3-aFO/2INALiozYggVrLCuDg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: S. Manning @ 2023-05-07  5:58 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I would like to say that this is a classic problem which most rich text 
file formats (eg. DOCX or ODT) are not well set up to handle because its 
typical in a religious or academic context but not a business or 
government context.  Parallel texts in several languages are a very 
common and important use case in layout but one which most digital tools 
neglect because they were designed for business and bureaucratic 
writing.

I'm not aware of a way to handle this in any flavour of Markdown, in 
HTML I usually use tables but Markdown tables are awkward and not 
standardized.

Sean

On 2023-05-06 13:43, Mark Pinsley wrote:
> Hi,
> 
> I am brand new to Pandoc. I have been looking at writting some content
> that I wanted to present in multiple ways. it seems like Pandoc can
> help.
> 
> A few things that I haven't been able to figure out.
> 
> 1. I have attached a document that I created it is the Federalist
> Paper #1. I have been using this document to try different things
> including creating references etc. What I haven't been able to figure
> out is the best method of first defining different paragraphs and then
> being able to do something specific with them
> 
> In this case. I have created the "Old English" version (which i
> probably should have just called Original) and the "Modern English"
> version.
> 
> So as I am typing I write in {.ModernEnglish} and {.OldEnglish}
> 
> If I want to produce these so that they are side by side. Meaning the
> old English in on the Left and the ModernEnglish  is on the right. How
> can I do that, or should I be coming out this in a completely
> different way? As I am writing I want to be able to quickly identify
> one from an other.
> 
> If I want the OldEnlgih to appear and then the ModernEngilsh as a
> CodeBlodk, do I just find/replace all ModernEnglish and replace with
> ">"  ??
> 
> 2. If I want to create a look and feel. I want to output this as HTML,
> PDF and PPT.
> 
> On each one I want a particular look/feel   How/where do I develop
> that look and feel (I am not a programmer so it would be easier if I
> could see what the output would look like - meaning moving colors
> around etc)
> 
> All help is appreciated. Thanks
> Mark
> 
>  --
> You received this message because you are subscribed to the Google
> Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com
> [1].
> 
> 
> Links:
> ------
> [1] 
> https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com?utm_medium=email&utm_source=footer


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: putting stuff side by side
       [not found]     ` <05319da3a66ab795d8d21777f19ed6f3-aFO/2INALiozYggVrLCuDg@public.gmane.org>
@ 2023-05-07  9:13       ` 'William Lupton' via pandoc-discuss
       [not found]         ` <CAEe_xxjKjk+rsUUuj82_+eSt6rz4tLLMFPawc4JermZH6fVSJA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: 'William Lupton' via pandoc-discuss @ 2023-05-07  9:13 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


[-- Attachment #1.1: Type: text/plain, Size: 5555 bytes --]

Perhaps you could use list-tables (https://github.com/pandoc-ext/list-table
)?

I've attached your markdown with the first section updated to use a
list-table, and with the other sections removed. The changes are rather
minimal, e.g., here are the start of the fenced div and the first row (you
can see that I converted your {.OldEnglish} (etc.) to []{.OldEnglish},
i.e., to an empty span with class OldEnglish, which is carried over to the
table cell).

::: {.list-table header-rows=0}

- - []{.OldEnglish} AFTER an unequivocal experience of the inefficiency of
the subsisting federal government, you are called upon to deliberate on a
new Constitution for the United States of America.

  - []{.ModernEnglish} After clearly experiencing that the current federal
government isn't working well, you are asked to think about a new
Constitution for the United States of America.

I also attach the HTML generated via this command:

% pandoc -L list-table.lua Paper\ 1.1\ list-table.md > Paper\ 1.1\
list-table.html

Here's the HTML for the first row.

<tr class="odd">
<td class="OldEnglish"><p> AFTER an unequivocal experience of the
inefficiency of the subsisting federal government, you are called upon
to deliberate on a new Constitution for the United States of
America.</p></td>
<td class="ModernEnglish"><p> After clearly experiencing that the
current federal government isn’t working well, you are asked to think
about a new Constitution for the United States of America.</p></td>
</tr>

Hope this helps.

Cheers,
William

On Sun, 7 May 2023 at 06:58, S. Manning <scriptor-aFO/2INALiozYggVrLCuDg@public.gmane.org> wrote:

> I would like to say that this is a classic problem which most rich text
> file formats (eg. DOCX or ODT) are not well set up to handle because its
> typical in a religious or academic context but not a business or
> government context.  Parallel texts in several languages are a very
> common and important use case in layout but one which most digital tools
> neglect because they were designed for business and bureaucratic
> writing.
>
> I'm not aware of a way to handle this in any flavour of Markdown, in
> HTML I usually use tables but Markdown tables are awkward and not
> standardized.
>
> Sean
>
> On 2023-05-06 13:43, Mark Pinsley wrote:
> > Hi,
> >
> > I am brand new to Pandoc. I have been looking at writting some content
> > that I wanted to present in multiple ways. it seems like Pandoc can
> > help.
> >
> > A few things that I haven't been able to figure out.
> >
> > 1. I have attached a document that I created it is the Federalist
> > Paper #1. I have been using this document to try different things
> > including creating references etc. What I haven't been able to figure
> > out is the best method of first defining different paragraphs and then
> > being able to do something specific with them
> >
> > In this case. I have created the "Old English" version (which i
> > probably should have just called Original) and the "Modern English"
> > version.
> >
> > So as I am typing I write in {.ModernEnglish} and {.OldEnglish}
> >
> > If I want to produce these so that they are side by side. Meaning the
> > old English in on the Left and the ModernEnglish  is on the right. How
> > can I do that, or should I be coming out this in a completely
> > different way? As I am writing I want to be able to quickly identify
> > one from an other.
> >
> > If I want the OldEnlgih to appear and then the ModernEngilsh as a
> > CodeBlodk, do I just find/replace all ModernEnglish and replace with
> > ">"  ??
> >
> > 2. If I want to create a look and feel. I want to output this as HTML,
> > PDF and PPT.
> >
> > On each one I want a particular look/feel   How/where do I develop
> > that look and feel (I am not a programmer so it would be easier if I
> > could see what the output would look like - meaning moving colors
> > around etc)
> >
> > All help is appreciated. Thanks
> > Mark
> >
> >  --
> > You received this message because you are subscribed to the Google
> > Groups "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com
> > [1].
> >
> >
> > Links:
> > ------
> > [1]
> >
> https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com?utm_medium=email&utm_source=footer
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/05319da3a66ab795d8d21777f19ed6f3%40ageofdatini.info
> .
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxjKjk%2BrsUUuj82_%2BeSt6rz4tLLMFPawc4JermZH6fVSJA%40mail.gmail.com.

[-- Attachment #1.2: Type: text/html, Size: 7791 bytes --]

[-- Attachment #2: Paper 1.1 list-table.html --]
[-- Type: text/html, Size: 2526 bytes --]

[-- Attachment #3: Paper 1.1 list-table.md --]
[-- Type: text/markdown, Size: 2280 bytes --]


## Section 1 of 13

::: {.list-table header-rows=0}

- - []{.OldEnglish} AFTER an unequivocal experience of the inefficiency of the subsisting federal government, you are called upon to deliberate on a new Constitution for the United States of America.

  - []{.ModernEnglish} After clearly experiencing that the current federal government isn't working well, you are asked to think about a new Constitution for the United States of America.

- - []{.OldEnglish} The subject speaks its own importance; comprehending in  its consequences nothing less than the existence of the UNION, the safety and welfare of the parts of which it is composed, the fate of an empire in many respects the most interesting in the world.

  - []{.ModernEnglish} This topic is very important; it involves consequences that affect the existence of the UNION, the safety and well-being of its parts, and the future of an empire that is interesting in many ways.

- - []{.OldEnglish} It has been frequently remarked that it seems to have been reserved to the people of this country, by their conduct and example, to decide the important question, whether societies of men are really capable or not of establishing good government from reflection and choice, or whether they are forever destined to depend for their political constitutions on accident and force.

  - []{.ModernEnglish} Many people have noted that it seems like it's up to the people of this country, through their actions and examples, to answer the big question: can people really create a good government by thinking carefully and making choices, or will they always have to rely on chance and force for their political systems?

- - []{.OldEnglish} If there be any truth in the remark, the crisis at which we are arrived may with propriety be regarded as the era in which that decision is to be made; and a wrong election of the part we shall act may, in this view, deserve to be considered as the general misfortune of mankind.

  - []{.ModernEnglish} If there's any truth to that idea, then the critical moment we're facing right now could be seen as the time when we'll make that decision. If we choose the wrong path, it might be seen as a huge misfortune for all people.

:::

## Remainder removed...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: putting stuff side by side
       [not found]         ` <CAEe_xxjKjk+rsUUuj82_+eSt6rz4tLLMFPawc4JermZH6fVSJA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-05-07 22:28           ` 'William Lupton' via pandoc-discuss
       [not found]             ` <CAEe_xxjsy_bvFkpMCP2qe2jHx7Wg5DzE0uEa=HCEN6TsrjLrAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: 'William Lupton' via pandoc-discuss @ 2023-05-07 22:28 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


[-- Attachment #1.1: Type: text/plain, Size: 6861 bytes --]

For completeness, I should mention that (for HTML or for PDF created via
HTML) you can use the CSS 'float' property. However I think that the
list-table approach is probably better.

You can structure the markdown like this (here I've put the necessary CSS
in the header includes). See the attached .md and .html files.

---
title: Paper 1.1

header-includes: |
  <style>
  div.left {
    width: 49%;
    float: left;
  }

  div.right {
    width: 49%;
    float: right;
  }

  div.clear {
    clear: both;
  }
  </style>
...

## Section 1 of 13

::: {.left .OldEnglish}

AFTER an unequivocal experience of the inefficiency of the subsisting
federal government, you are called upon to deliberate on a new Constitution
for the United States of America.

:::

::: {.right .ModernEnglish}

After clearly experiencing that the current federal government isn't
working well, you are asked to think about a new Constitution for the
United States of America.

:::

::: clear
:::

<etc.>

On Sun, 7 May 2023 at 10:13, William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org>
wrote:

> Perhaps you could use list-tables (
> https://github.com/pandoc-ext/list-table)?
>
> I've attached your markdown with the first section updated to use a
> list-table, and with the other sections removed. The changes are rather
> minimal, e.g., here are the start of the fenced div and the first row (you
> can see that I converted your {.OldEnglish} (etc.) to []{.OldEnglish},
> i.e., to an empty span with class OldEnglish, which is carried over to
> the table cell).
>
> ::: {.list-table header-rows=0}
>
> - - []{.OldEnglish} AFTER an unequivocal experience of the inefficiency of
> the subsisting federal government, you are called upon to deliberate on a
> new Constitution for the United States of America.
>
>   - []{.ModernEnglish} After clearly experiencing that the current federal
> government isn't working well, you are asked to think about a new
> Constitution for the United States of America.
>
> I also attach the HTML generated via this command:
>
> % pandoc -L list-table.lua Paper\ 1.1\ list-table.md > Paper\ 1.1\
> list-table.html
>
> Here's the HTML for the first row.
>
> <tr class="odd">
> <td class="OldEnglish"><p> AFTER an unequivocal experience of the
> inefficiency of the subsisting federal government, you are called upon
> to deliberate on a new Constitution for the United States of
> America.</p></td>
> <td class="ModernEnglish"><p> After clearly experiencing that the
> current federal government isn’t working well, you are asked to think
> about a new Constitution for the United States of America.</p></td>
> </tr>
>
> Hope this helps.
>
> Cheers,
> William
>
> On Sun, 7 May 2023 at 06:58, S. Manning <scriptor-aFO/2INALiozYggVrLCuDg@public.gmane.org> wrote:
>
>> I would like to say that this is a classic problem which most rich text
>> file formats (eg. DOCX or ODT) are not well set up to handle because its
>> typical in a religious or academic context but not a business or
>> government context.  Parallel texts in several languages are a very
>> common and important use case in layout but one which most digital tools
>> neglect because they were designed for business and bureaucratic
>> writing.
>>
>> I'm not aware of a way to handle this in any flavour of Markdown, in
>> HTML I usually use tables but Markdown tables are awkward and not
>> standardized.
>>
>> Sean
>>
>> On 2023-05-06 13:43, Mark Pinsley wrote:
>> > Hi,
>> >
>> > I am brand new to Pandoc. I have been looking at writting some content
>> > that I wanted to present in multiple ways. it seems like Pandoc can
>> > help.
>> >
>> > A few things that I haven't been able to figure out.
>> >
>> > 1. I have attached a document that I created it is the Federalist
>> > Paper #1. I have been using this document to try different things
>> > including creating references etc. What I haven't been able to figure
>> > out is the best method of first defining different paragraphs and then
>> > being able to do something specific with them
>> >
>> > In this case. I have created the "Old English" version (which i
>> > probably should have just called Original) and the "Modern English"
>> > version.
>> >
>> > So as I am typing I write in {.ModernEnglish} and {.OldEnglish}
>> >
>> > If I want to produce these so that they are side by side. Meaning the
>> > old English in on the Left and the ModernEnglish  is on the right. How
>> > can I do that, or should I be coming out this in a completely
>> > different way? As I am writing I want to be able to quickly identify
>> > one from an other.
>> >
>> > If I want the OldEnlgih to appear and then the ModernEngilsh as a
>> > CodeBlodk, do I just find/replace all ModernEnglish and replace with
>> > ">"  ??
>> >
>> > 2. If I want to create a look and feel. I want to output this as HTML,
>> > PDF and PPT.
>> >
>> > On each one I want a particular look/feel   How/where do I develop
>> > that look and feel (I am not a programmer so it would be easier if I
>> > could see what the output would look like - meaning moving colors
>> > around etc)
>> >
>> > All help is appreciated. Thanks
>> > Mark
>> >
>> >  --
>> > You received this message because you are subscribed to the Google
>> > Groups "pandoc-discuss" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > To view this discussion on the web visit
>> >
>> https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com
>> > [1].
>> >
>> >
>> > Links:
>> > ------
>> > [1]
>> >
>> https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com?utm_medium=email&utm_source=footer
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/05319da3a66ab795d8d21777f19ed6f3%40ageofdatini.info
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxjsy_bvFkpMCP2qe2jHx7Wg5DzE0uEa%3DHCEN6TsrjLrAw%40mail.gmail.com.

[-- Attachment #1.2: Type: text/html, Size: 9461 bytes --]

[-- Attachment #2: Paper 1.1 left-and-right.html --]
[-- Type: text/html, Size: 6620 bytes --]

[-- Attachment #3: Paper 1.1 left-and-right.md --]
[-- Type: text/markdown, Size: 2651 bytes --]

---
title: Paper 1.1

header-includes: |
  <style>
  div.left {
    width: 49%;
    float: left;
  }

  div.right {
    width: 49%;
    float: right;
  }

  div.clear {
    clear: both;
  }
  </style>
...

## Section 1 of 13

::: {.left .OldEnglish}

AFTER an unequivocal experience of the inefficiency of the subsisting federal government, you are called upon to deliberate on a new Constitution for the United States of America.

:::

::: {.right .ModernEnglish}

After clearly experiencing that the current federal government isn't working well, you are asked to think about a new Constitution for the United States of America.

:::

::: clear
:::

::: {.left .OldEnglish}

The subject speaks its own importance; comprehending in  its consequences nothing less than the existence of the UNION, the safety and welfare of the parts of which it is composed, the fate of an empire in many respects the most interesting in the world.

:::

::: {.right .ModernEnglish}

This topic is very important; it involves consequences that affect the existence of the UNION, the safety and well-being of its parts, and the future of an empire that is interesting in many ways.

:::

::: clear
:::

::: {.left .OldEnglish}

It has been frequently remarked that it seems to have been reserved to the people of this country, by their conduct and example, to decide the important question, whether societies of men are really capable or not of establishing good government from reflection and choice, or whether they are forever destined to depend for their political constitutions on accident and force.

:::

::: {.right .ModernEnglish}

Many people have noted that it seems like it's up to the people of this country, through their actions and examples, to answer the big question: can people really create a good government by thinking carefully and making choices, or will they always have to rely on chance and force for their political systems?

:::

::: clear
:::

::: {.left .OldEnglish}

If there be any truth in the remark, the crisis at which we are arrived may with propriety be regarded as the era in which that decision is to be made; and a wrong election of the part we shall act may, in this view, deserve to be considered as the general misfortune of mankind.

:::

::: {.right .ModernEnglish}

If there's any truth to that idea, then the critical moment we're facing right now could be seen as the time when we'll make that decision. If we choose the wrong path, it might be seen as a huge misfortune for all people.

:::

::: clear
:::

## Remainder removed...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: putting stuff side by side
       [not found]             ` <CAEe_xxjsy_bvFkpMCP2qe2jHx7Wg5DzE0uEa=HCEN6TsrjLrAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-05-08 12:13               ` Mark Pinsley
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Pinsley @ 2023-05-08 12:13 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 7980 bytes --]

This is great!  Thank you.
Mark


On Sun, May 7, 2023 at 6:29 PM 'William Lupton' via pandoc-discuss <
pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:

> For completeness, I should mention that (for HTML or for PDF created via
> HTML) you can use the CSS 'float' property. However I think that the
> list-table approach is probably better.
>
> You can structure the markdown like this (here I've put the necessary CSS
> in the header includes). See the attached .md and .html files.
>
> ---
> title: Paper 1.1
>
> header-includes: |
>   <style>
>   div.left {
>     width: 49%;
>     float: left;
>   }
>
>   div.right {
>     width: 49%;
>     float: right;
>   }
>
>   div.clear {
>     clear: both;
>   }
>   </style>
> ...
>
> ## Section 1 of 13
>
> ::: {.left .OldEnglish}
>
> AFTER an unequivocal experience of the inefficiency of the subsisting
> federal government, you are called upon to deliberate on a new Constitution
> for the United States of America.
>
> :::
>
> ::: {.right .ModernEnglish}
>
> After clearly experiencing that the current federal government isn't
> working well, you are asked to think about a new Constitution for the
> United States of America.
>
> :::
>
> ::: clear
> :::
>
> <etc.>
>
> On Sun, 7 May 2023 at 10:13, William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org>
> wrote:
>
>> Perhaps you could use list-tables (
>> https://github.com/pandoc-ext/list-table)?
>>
>> I've attached your markdown with the first section updated to use a
>> list-table, and with the other sections removed. The changes are rather
>> minimal, e.g., here are the start of the fenced div and the first row (you
>> can see that I converted your {.OldEnglish} (etc.) to []{.OldEnglish},
>> i.e., to an empty span with class OldEnglish, which is carried over to
>> the table cell).
>>
>> ::: {.list-table header-rows=0}
>>
>> - - []{.OldEnglish} AFTER an unequivocal experience of the inefficiency
>> of the subsisting federal government, you are called upon to deliberate on
>> a new Constitution for the United States of America.
>>
>>   - []{.ModernEnglish} After clearly experiencing that the current
>> federal government isn't working well, you are asked to think about a new
>> Constitution for the United States of America.
>>
>> I also attach the HTML generated via this command:
>>
>> % pandoc -L list-table.lua Paper\ 1.1\ list-table.md > Paper\ 1.1\
>> list-table.html
>>
>> Here's the HTML for the first row.
>>
>> <tr class="odd">
>> <td class="OldEnglish"><p> AFTER an unequivocal experience of the
>> inefficiency of the subsisting federal government, you are called upon
>> to deliberate on a new Constitution for the United States of
>> America.</p></td>
>> <td class="ModernEnglish"><p> After clearly experiencing that the
>> current federal government isn’t working well, you are asked to think
>> about a new Constitution for the United States of America.</p></td>
>> </tr>
>>
>> Hope this helps.
>>
>> Cheers,
>> William
>>
>> On Sun, 7 May 2023 at 06:58, S. Manning <scriptor-aFO/2INALiozYggVrLCuDg@public.gmane.org>
>> wrote:
>>
>>> I would like to say that this is a classic problem which most rich text
>>> file formats (eg. DOCX or ODT) are not well set up to handle because its
>>> typical in a religious or academic context but not a business or
>>> government context.  Parallel texts in several languages are a very
>>> common and important use case in layout but one which most digital tools
>>> neglect because they were designed for business and bureaucratic
>>> writing.
>>>
>>> I'm not aware of a way to handle this in any flavour of Markdown, in
>>> HTML I usually use tables but Markdown tables are awkward and not
>>> standardized.
>>>
>>> Sean
>>>
>>> On 2023-05-06 13:43, Mark Pinsley wrote:
>>> > Hi,
>>> >
>>> > I am brand new to Pandoc. I have been looking at writting some content
>>> > that I wanted to present in multiple ways. it seems like Pandoc can
>>> > help.
>>> >
>>> > A few things that I haven't been able to figure out.
>>> >
>>> > 1. I have attached a document that I created it is the Federalist
>>> > Paper #1. I have been using this document to try different things
>>> > including creating references etc. What I haven't been able to figure
>>> > out is the best method of first defining different paragraphs and then
>>> > being able to do something specific with them
>>> >
>>> > In this case. I have created the "Old English" version (which i
>>> > probably should have just called Original) and the "Modern English"
>>> > version.
>>> >
>>> > So as I am typing I write in {.ModernEnglish} and {.OldEnglish}
>>> >
>>> > If I want to produce these so that they are side by side. Meaning the
>>> > old English in on the Left and the ModernEnglish  is on the right. How
>>> > can I do that, or should I be coming out this in a completely
>>> > different way? As I am writing I want to be able to quickly identify
>>> > one from an other.
>>> >
>>> > If I want the OldEnlgih to appear and then the ModernEngilsh as a
>>> > CodeBlodk, do I just find/replace all ModernEnglish and replace with
>>> > ">"  ??
>>> >
>>> > 2. If I want to create a look and feel. I want to output this as HTML,
>>> > PDF and PPT.
>>> >
>>> > On each one I want a particular look/feel   How/where do I develop
>>> > that look and feel (I am not a programmer so it would be easier if I
>>> > could see what the output would look like - meaning moving colors
>>> > around etc)
>>> >
>>> > All help is appreciated. Thanks
>>> > Mark
>>> >
>>> >  --
>>> > You received this message because you are subscribed to the Google
>>> > Groups "pandoc-discuss" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> > To view this discussion on the web visit
>>> >
>>> https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com
>>> > [1].
>>> >
>>> >
>>> > Links:
>>> > ------
>>> > [1]
>>> >
>>> https://groups.google.com/d/msgid/pandoc-discuss/d18bf8d8-6871-4087-aa1d-b48a5ad2af38n%40googlegroups.com?utm_medium=email&utm_source=footer
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "pandoc-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/pandoc-discuss/05319da3a66ab795d8d21777f19ed6f3%40ageofdatini.info
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pandoc-discuss/B-lBwFzJD1Q/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxjsy_bvFkpMCP2qe2jHx7Wg5DzE0uEa%3DHCEN6TsrjLrAw%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxjsy_bvFkpMCP2qe2jHx7Wg5DzE0uEa%3DHCEN6TsrjLrAw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAOtJyj609sF5hOeDPW_FP_JZud7p-qJTxkz94BfR-XN5A8TvzA%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 11168 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-08 12:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-06 20:43 putting stuff side by side Mark Pinsley
     [not found] ` <d18bf8d8-6871-4087-aa1d-b48a5ad2af38n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-05-07  5:58   ` S. Manning
     [not found]     ` <05319da3a66ab795d8d21777f19ed6f3-aFO/2INALiozYggVrLCuDg@public.gmane.org>
2023-05-07  9:13       ` 'William Lupton' via pandoc-discuss
     [not found]         ` <CAEe_xxjKjk+rsUUuj82_+eSt6rz4tLLMFPawc4JermZH6fVSJA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-07 22:28           ` 'William Lupton' via pandoc-discuss
     [not found]             ` <CAEe_xxjsy_bvFkpMCP2qe2jHx7Wg5DzE0uEa=HCEN6TsrjLrAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-08 12:13               ` Mark Pinsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).